* [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 6:39 ` Chunfeng Yun 0 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-28 6:39 UTC (permalink / raw) To: Greg Kroah-Hartman, Rob Herring Cc: devicetree, linux-usb, linux-kernel, Chunfeng Yun, linux-mediatek, Matthias Brugger, linux-arm-kernel Add some optional properties which are needed for hard wired devices Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml index 7263b7f2b510..1194a82887e7 100644 --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml @@ -22,6 +22,17 @@ properties: description: Name specifier for the USB PHY + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^hub|device@[0-9a-f]+$": + type: object + description: The hard wired USB devices. See usb/usb-device.txt + examples: - | usb { -- 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 6:39 ` Chunfeng Yun 0 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-28 6:39 UTC (permalink / raw) To: Greg Kroah-Hartman, Rob Herring Cc: devicetree, linux-usb, linux-kernel, Chunfeng Yun, linux-mediatek, Matthias Brugger, linux-arm-kernel Add some optional properties which are needed for hard wired devices Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml index 7263b7f2b510..1194a82887e7 100644 --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml @@ -22,6 +22,17 @@ properties: description: Name specifier for the USB PHY + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^hub|device@[0-9a-f]+$": + type: object + description: The hard wired USB devices. See usb/usb-device.txt + examples: - | usb { -- 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 6:39 ` Chunfeng Yun 0 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-28 6:39 UTC (permalink / raw) To: Greg Kroah-Hartman, Rob Herring Cc: Matthias Brugger, linux-usb, devicetree, linux-kernel, linux-arm-kernel, linux-mediatek, Chunfeng Yun Add some optional properties which are needed for hard wired devices Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml index 7263b7f2b510..1194a82887e7 100644 --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml @@ -22,6 +22,17 @@ properties: description: Name specifier for the USB PHY + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + +patternProperties: + "^hub|device@[0-9a-f]+$": + type: object + description: The hard wired USB devices. See usb/usb-device.txt + examples: - | usb { -- 2.18.0 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices 2020-09-28 6:39 ` Chunfeng Yun (?) @ 2020-09-28 18:12 ` Rob Herring -1 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:12 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > index 7263b7f2b510..1194a82887e7 100644 > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > @@ -22,6 +22,17 @@ properties: > description: > Name specifier for the USB PHY > > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^hub|device@[0-9a-f]+$": Could be any class of device, so '@[0-9a-f]+$' > + type: object > + description: The hard wired USB devices. See usb/usb-device.txt Ideally, we'd convert usb-device.txt to schema and reference it here. > + > examples: > - | > usb { > -- > 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 18:12 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:12 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > index 7263b7f2b510..1194a82887e7 100644 > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > @@ -22,6 +22,17 @@ properties: > description: > Name specifier for the USB PHY > > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^hub|device@[0-9a-f]+$": Could be any class of device, so '@[0-9a-f]+$' > + type: object > + description: The hard wired USB devices. See usb/usb-device.txt Ideally, we'd convert usb-device.txt to schema and reference it here. > + > examples: > - | > usb { > -- > 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 18:12 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:12 UTC (permalink / raw) To: Chunfeng Yun Cc: Greg Kroah-Hartman, Matthias Brugger, linux-usb, devicetree, linux-kernel, linux-arm-kernel, linux-mediatek On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > index 7263b7f2b510..1194a82887e7 100644 > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > @@ -22,6 +22,17 @@ properties: > description: > Name specifier for the USB PHY > > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 0 > + > +patternProperties: > + "^hub|device@[0-9a-f]+$": Could be any class of device, so '@[0-9a-f]+$' > + type: object > + description: The hard wired USB devices. See usb/usb-device.txt Ideally, we'd convert usb-device.txt to schema and reference it here. > + > examples: > - | > usb { > -- > 2.18.0 ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices 2020-09-28 18:12 ` Rob Herring (?) @ 2020-09-29 6:06 ` Chunfeng Yun -1 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-29 6:06 UTC (permalink / raw) To: Rob Herring Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > Add some optional properties which are needed for hard wired devices > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > --- > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > index 7263b7f2b510..1194a82887e7 100644 > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > @@ -22,6 +22,17 @@ properties: > > description: > > Name specifier for the USB PHY > > > > + "#address-cells": > > + const: 1 > > + > > + "#size-cells": > > + const: 0 > > + > > +patternProperties: > > + "^hub|device@[0-9a-f]+$": > > Could be any class of device, so '@[0-9a-f]+$' You mean we will use different standard node name for each usb class? e.g. Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a usb camera sensor? > > > + type: object > > + description: The hard wired USB devices. See usb/usb-device.txt > > Ideally, we'd convert usb-device.txt to schema and reference it here. Ok, I'll try to do it. BTW: Does the compatible support pattern? Is there any example I can refer to? Thanks > > > + > > examples: > > - | > > usb { > > -- > > 2.18.0 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-29 6:06 ` Chunfeng Yun 0 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-29 6:06 UTC (permalink / raw) To: Rob Herring Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > Add some optional properties which are needed for hard wired devices > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > --- > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > index 7263b7f2b510..1194a82887e7 100644 > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > @@ -22,6 +22,17 @@ properties: > > description: > > Name specifier for the USB PHY > > > > + "#address-cells": > > + const: 1 > > + > > + "#size-cells": > > + const: 0 > > + > > +patternProperties: > > + "^hub|device@[0-9a-f]+$": > > Could be any class of device, so '@[0-9a-f]+$' You mean we will use different standard node name for each usb class? e.g. Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a usb camera sensor? > > > + type: object > > + description: The hard wired USB devices. See usb/usb-device.txt > > Ideally, we'd convert usb-device.txt to schema and reference it here. Ok, I'll try to do it. BTW: Does the compatible support pattern? Is there any example I can refer to? Thanks > > > + > > examples: > > - | > > usb { > > -- > > 2.18.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-29 6:06 ` Chunfeng Yun 0 siblings, 0 replies; 15+ messages in thread From: Chunfeng Yun @ 2020-09-29 6:06 UTC (permalink / raw) To: Rob Herring Cc: Greg Kroah-Hartman, Matthias Brugger, linux-usb, devicetree, linux-kernel, linux-arm-kernel, linux-mediatek On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > Add some optional properties which are needed for hard wired devices > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > --- > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > index 7263b7f2b510..1194a82887e7 100644 > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > @@ -22,6 +22,17 @@ properties: > > description: > > Name specifier for the USB PHY > > > > + "#address-cells": > > + const: 1 > > + > > + "#size-cells": > > + const: 0 > > + > > +patternProperties: > > + "^hub|device@[0-9a-f]+$": > > Could be any class of device, so '@[0-9a-f]+$' You mean we will use different standard node name for each usb class? e.g. Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a usb camera sensor? > > > + type: object > > + description: The hard wired USB devices. See usb/usb-device.txt > > Ideally, we'd convert usb-device.txt to schema and reference it here. Ok, I'll try to do it. BTW: Does the compatible support pattern? Is there any example I can refer to? Thanks > > > + > > examples: > > - | > > usb { > > -- > > 2.18.0 ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices 2020-09-29 6:06 ` Chunfeng Yun (?) @ 2020-09-29 13:56 ` Rob Herring -1 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-29 13:56 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, Linux USB List, linux-kernel@vger.kernel.org, moderated list:ARM/Mediatek SoC support, Matthias Brugger, linux-arm-kernel On Tue, Sep 29, 2020 at 1:09 AM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote: > > On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > > Add some optional properties which are needed for hard wired devices > > > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > > --- > > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > > 1 file changed, 11 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > index 7263b7f2b510..1194a82887e7 100644 > > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > @@ -22,6 +22,17 @@ properties: > > > description: > > > Name specifier for the USB PHY > > > > > > + "#address-cells": > > > + const: 1 > > > + > > > + "#size-cells": > > > + const: 0 > > > + > > > +patternProperties: > > > + "^hub|device@[0-9a-f]+$": > > > > Could be any class of device, so '@[0-9a-f]+$' > You mean we will use different standard node name for each usb class? > e.g. > Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a > usb camera sensor? Yes. > > > + type: object > > > + description: The hard wired USB devices. See usb/usb-device.txt > > > > Ideally, we'd convert usb-device.txt to schema and reference it here. > Ok, I'll try to do it. > > BTW: Does the compatible support pattern? Is there any example I can > refer to? Yes, use 'pattern' keyword. Rob _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-29 13:56 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-29 13:56 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, Linux USB List, linux-kernel@vger.kernel.org, moderated list:ARM/Mediatek SoC support, Matthias Brugger, linux-arm-kernel On Tue, Sep 29, 2020 at 1:09 AM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote: > > On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > > Add some optional properties which are needed for hard wired devices > > > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > > --- > > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > > 1 file changed, 11 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > index 7263b7f2b510..1194a82887e7 100644 > > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > @@ -22,6 +22,17 @@ properties: > > > description: > > > Name specifier for the USB PHY > > > > > > + "#address-cells": > > > + const: 1 > > > + > > > + "#size-cells": > > > + const: 0 > > > + > > > +patternProperties: > > > + "^hub|device@[0-9a-f]+$": > > > > Could be any class of device, so '@[0-9a-f]+$' > You mean we will use different standard node name for each usb class? > e.g. > Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a > usb camera sensor? Yes. > > > + type: object > > > + description: The hard wired USB devices. See usb/usb-device.txt > > > > Ideally, we'd convert usb-device.txt to schema and reference it here. > Ok, I'll try to do it. > > BTW: Does the compatible support pattern? Is there any example I can > refer to? Yes, use 'pattern' keyword. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-29 13:56 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-29 13:56 UTC (permalink / raw) To: Chunfeng Yun Cc: Greg Kroah-Hartman, Matthias Brugger, Linux USB List, devicetree, linux-kernel@vger.kernel.org, linux-arm-kernel, moderated list:ARM/Mediatek SoC support On Tue, Sep 29, 2020 at 1:09 AM Chunfeng Yun <chunfeng.yun@mediatek.com> wrote: > > On Mon, 2020-09-28 at 13:12 -0500, Rob Herring wrote: > > On Mon, Sep 28, 2020 at 02:39:50PM +0800, Chunfeng Yun wrote: > > > Add some optional properties which are needed for hard wired devices > > > > > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > > > --- > > > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > > > 1 file changed, 11 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > index 7263b7f2b510..1194a82887e7 100644 > > > --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml > > > @@ -22,6 +22,17 @@ properties: > > > description: > > > Name specifier for the USB PHY > > > > > > + "#address-cells": > > > + const: 1 > > > + > > > + "#size-cells": > > > + const: 0 > > > + > > > +patternProperties: > > > + "^hub|device@[0-9a-f]+$": > > > > Could be any class of device, so '@[0-9a-f]+$' > You mean we will use different standard node name for each usb class? > e.g. > Use 'ethernet@*' for a usb ethernet adapter, and use 'camera@*' for a > usb camera sensor? Yes. > > > + type: object > > > + description: The hard wired USB devices. See usb/usb-device.txt > > > > Ideally, we'd convert usb-device.txt to schema and reference it here. > Ok, I'll try to do it. > > BTW: Does the compatible support pattern? Is there any example I can > refer to? Yes, use 'pattern' keyword. Rob ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices 2020-09-28 6:39 ` Chunfeng Yun (?) @ 2020-09-28 18:13 ` Rob Herring -1 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:13 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, Rob Herring, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, 28 Sep 2020 14:39:50 +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #address-cells:0:0: 1 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.example.dt.yaml: usb@ffe09000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml See https://patchwork.ozlabs.org/patch/1372394 If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure dt-schema is up to date: pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade Please check and re-submit. _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 18:13 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:13 UTC (permalink / raw) To: Chunfeng Yun Cc: devicetree, Greg Kroah-Hartman, linux-usb, linux-kernel, Rob Herring, linux-mediatek, Matthias Brugger, linux-arm-kernel On Mon, 28 Sep 2020 14:39:50 +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #address-cells:0:0: 1 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.example.dt.yaml: usb@ffe09000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml See https://patchwork.ozlabs.org/patch/1372394 If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure dt-schema is up to date: pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade Please check and re-submit. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [PATCH] dt-bindings: usb: add properties for hard wired devices @ 2020-09-28 18:13 ` Rob Herring 0 siblings, 0 replies; 15+ messages in thread From: Rob Herring @ 2020-09-28 18:13 UTC (permalink / raw) To: Chunfeng Yun Cc: Matthias Brugger, devicetree, linux-usb, linux-mediatek, Rob Herring, Greg Kroah-Hartman, linux-arm-kernel, linux-kernel On Mon, 28 Sep 2020 14:39:50 +0800, Chunfeng Yun wrote: > Add some optional properties which are needed for hard wired devices > > Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #address-cells:0:0: 1 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/qcom,dwc3.example.dt.yaml: usb@a6f8800: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/amlogic,meson-g12a-usb-ctrl.example.dt.yaml: usb@ffe09000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3ss-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/socionext,uniphier-usb3hs-phy.example.dt.yaml: usb-glue@65b00000: #size-cells:0:0: 0 was expected From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/usb-hcd.yaml See https://patchwork.ozlabs.org/patch/1372394 If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure dt-schema is up to date: pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade Please check and re-submit. ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2020-09-29 13:58 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-09-28 6:39 [PATCH] dt-bindings: usb: add properties for hard wired devices Chunfeng Yun 2020-09-28 6:39 ` Chunfeng Yun 2020-09-28 6:39 ` Chunfeng Yun 2020-09-28 18:12 ` Rob Herring 2020-09-28 18:12 ` Rob Herring 2020-09-28 18:12 ` Rob Herring 2020-09-29 6:06 ` Chunfeng Yun 2020-09-29 6:06 ` Chunfeng Yun 2020-09-29 6:06 ` Chunfeng Yun 2020-09-29 13:56 ` Rob Herring 2020-09-29 13:56 ` Rob Herring 2020-09-29 13:56 ` Rob Herring 2020-09-28 18:13 ` Rob Herring 2020-09-28 18:13 ` Rob Herring 2020-09-28 18:13 ` Rob Herring
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.