[lkml]   [2017]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/4] phy: rcar-gen3-usb2: check dr_mode for otg mode

On 8/31/2017 10:31 AM, Yoshihiro Shimoda wrote:

> The previous code assumed a channel has otg capability if a channel
> has interrupt property. But, it is not good because:
> - Battery charging feature also needs interrupt property.
> - Some R-Car Gen3 SoCs (e.g. R-Car D3) doesn't have OTG capability.


> So, this patch checks whether usb 2.0 host node has dr_mode property or
> not. If it has 'dr_mode = "otg";', this driver enables otg capability.
> Signed-off-by: Yoshihiro Shimoda <>

MBR, Sergei

 \ /
  Last update: 2017-08-31 11:41    [W:0.157 / U:17.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site