Re: [RFC v2 2/5] OMAPDSS: DT: Get source endpoint by matching reg-id

2014-05-27 Thread Tomi Valkeinen
On 26/05/14 12:28, Archit Taneja wrote: In omapdss_of_find_source_for_first_ep, we retrieve a source endpoint's DT node, and then see what omapdss output has the matching device_node pointer in omap_dss_find_output_by_node. For all DPI and SDI outputs, the device_node pointer is set as the

Re: [RFC v2 2/5] OMAPDSS: DT: Get source endpoint by matching reg-id

2014-05-27 Thread Archit Taneja
On Tuesday 27 May 2014 02:04 PM, Tomi Valkeinen wrote: On 26/05/14 12:28, Archit Taneja wrote: In omapdss_of_find_source_for_first_ep, we retrieve a source endpoint's DT node, and then see what omapdss output has the matching device_node pointer in omap_dss_find_output_by_node. For all DPI and

Re: [RFC v2 2/5] OMAPDSS: DT: Get source endpoint by matching reg-id

2014-05-27 Thread Tomi Valkeinen
On 27/05/14 12:49, Archit Taneja wrote: On Tuesday 27 May 2014 02:04 PM, Tomi Valkeinen wrote: Hmm, maybe the above function, and the helper functions, should be changed a bit more, so that this function would do: ep = omapdss_of_get_first_endpoint(node); src_port =

Re: [RFC v2 2/5] OMAPDSS: DT: Get source endpoint by matching reg-id

2014-05-27 Thread Archit Taneja
On Tuesday 27 May 2014 03:54 PM, Tomi Valkeinen wrote: On 27/05/14 12:49, Archit Taneja wrote: On Tuesday 27 May 2014 02:04 PM, Tomi Valkeinen wrote: Hmm, maybe the above function, and the helper functions, should be changed a bit more, so that this function would do: ep =

[RFC v2 2/5] OMAPDSS: DT: Get source endpoint by matching reg-id

2014-05-26 Thread Archit Taneja
In omapdss_of_find_source_for_first_ep, we retrieve a source endpoint's DT node, and then see what omapdss output has the matching device_node pointer in omap_dss_find_output_by_node. For all DPI and SDI outputs, the device_node pointer is set as the parent's DSS device_node pointer. If the