[PATCH 3/6] dt-bindings: mtu3: add devicetree bindings

Alan Cooper alcooperx at gmail.com
Thu May 12 16:02:36 PDT 2016


On Thu, May 12, 2016 at 3:24 AM, chunfeng yun <chunfeng.yun at mediatek.com> wrote:
>> > + - mediatek,enable-manual-drd : supports manual dual-role switch by sysfs
>> > +   interface; only used when receptacle is TYPE-A and also wants to support
>> > +   dual-role mode.
>>
>> sysfs is a Linux detail that doesn't apply to the binding. Does the
>> property mean "the IP block supports or doesn't support switching"  or
>> "I want to enable switching feature". Only the former belongs in DT.
>>
> It is the former case, and has little relation with sysfs interface.
> I will modify it later, sorry for my unclear description.

Could the property name be just "enable-manual-drd" instead of
"mediatek,enable-manual-drd"? I expect to have to add this
functionality to our USB driver in the near future.



More information about the Linux-mediatek mailing list