Message ID | 20200515080518.26870-4-rogerq@ti.com |
---|---|
State | Rejected, archived |
Headers | show |
Series | phy: omap-usb2: add quirk to disable charger detection | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/dt-meta-schema | success |
Hi, On 15/05/2020 11:05, Roger Quadros wrote: > Add "ti,dis-chg-det-quirk" property to disable the USB2_PHY Charger Detect > logic. On second thoughts I think it is better to use soc_device_match instead of DT property as we are not going to have separate DT for SR1.0 vs SR2.0. cheers, -roger > > Signed-off-by: Roger Quadros <rogerq@ti.com> > --- > Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml b/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml > index ecfb28f714ea..ec3e85a17bfa 100644 > --- a/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml > +++ b/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml > @@ -54,6 +54,11 @@ properties: > (deprecated) phandle of the control module used by PHY driver > to power on the PHY. Use syscon-phy-power instead. > > + ti,dis-chg-det-quirk: > + description: > + if present, driver will disable charger detection logic. > + type: boolean > + > required: > - compatible > - reg >
diff --git a/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml b/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml index ecfb28f714ea..ec3e85a17bfa 100644 --- a/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml +++ b/Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml @@ -54,6 +54,11 @@ properties: (deprecated) phandle of the control module used by PHY driver to power on the PHY. Use syscon-phy-power instead. + ti,dis-chg-det-quirk: + description: + if present, driver will disable charger detection logic. + type: boolean + required: - compatible - reg
Add "ti,dis-chg-det-quirk" property to disable the USB2_PHY Charger Detect logic. Signed-off-by: Roger Quadros <rogerq@ti.com> --- Documentation/devicetree/bindings/phy/ti,omap-usb2.yaml | 5 +++++ 1 file changed, 5 insertions(+)