[PATCH v6 06/15] of: add helper for getting endpoint node of specific identifiers

2015-06-23 Thread Inki Dae
On 2015년 06월 23일 09:19, Dave Airlie wrote: > On 12 June 2015 at 22:59, Hyungwon Hwang wrote: >> When there are multiple ports or multiple endpoints in a port, they have to >> be >> distinguished by the value of reg property. It is common. The drivers can get >> the specific endpoint in the

[PATCH v6 06/15] of: add helper for getting endpoint node of specific identifiers

2015-06-23 Thread Dave Airlie
On 12 June 2015 at 22:59, Hyungwon Hwang wrote: > When there are multiple ports or multiple endpoints in a port, they have to be > distinguished by the value of reg property. It is common. The drivers can get > the specific endpoint in the specific port via this function. Now the drivers > have

[PATCH v6 06/15] of: add helper for getting endpoint node of specific identifiers

2015-06-12 Thread Hyungwon Hwang
When there are multiple ports or multiple endpoints in a port, they have to be distinguished by the value of reg property. It is common. The drivers can get the specific endpoint in the specific port via this function. Now the drivers have to implement this code in themselves or have to force the