/* * Copyright (C) 2013 Texas Instruments * Author: Tomi Valkeinen <tomi.valkeinen@ti.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #include <linux/device.h> #include <linux/err.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_graph.h> #include <linux/seq_file.h> #include "omapdss.h"
struct device_node *dss_of_port_get_parent_device(struct device_node *port) { struct device_node *np; int i; if (!port) return NULL; np = of_get_parent(port); for (i = 0; i < 2 && np; ++i) { struct property *prop; prop = of_find_property(np, "compatible", NULL); if (prop) return np; np = of_get_next_parent(np); } return NULL; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Tomi Valkeinen | 79 | 92.94% | 1 | 33.33% |
Archit Taneja | 5 | 5.88% | 1 | 33.33% |
Jyri Sarha | 1 | 1.18% | 1 | 33.33% |
Total | 85 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Archit Taneja | 39 | 100.00% | 1 | 100.00% |
Total | 39 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tomi Valkeinen | 77 | 74.04% | 1 | 33.33% |
Archit Taneja | 21 | 20.19% | 1 | 33.33% |
Rob Herring | 6 | 5.77% | 1 | 33.33% |
Total | 104 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Tomi Valkeinen | 189 | 71.32% | 2 | 33.33% |
Archit Taneja | 65 | 24.53% | 1 | 16.67% |
Rob Herring | 9 | 3.40% | 1 | 16.67% |
Jyri Sarha | 1 | 0.38% | 1 | 16.67% |
Peter Ujfalusi | 1 | 0.38% | 1 | 16.67% |
Total | 265 | 100.00% | 6 | 100.00% |