* [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC
@ 2020-12-14 14:01 Aswath Govindraju
2020-12-14 20:21 ` Rob Herring
2020-12-14 20:48 ` Rob Herring
0 siblings, 2 replies; 4+ messages in thread
From: Aswath Govindraju @ 2020-12-14 14:01 UTC (permalink / raw)
Cc: Vignesh Raghavendra, Sekhar Nori, Aswath Govindraju,
Greg Kroah-Hartman, Rob Herring, Roger Quadros, linux-usb,
devicetree, linux-kernel
Add compatible string in j721e-usb binding file as the same USB subsystem
is present in AM64.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
Changes since v4:
- used oneOf instead of enum, as the schema has to convey that the strings
ti,j721e-usb and ti,am64-usb can be used combined or seperately in the
DT nodes.
Changes since v3:
- used enum instead of anyOf.
Changes since v2:
- added changes done over the versions.
Changes since v1:
- replaced the '\t' at the beginning of the lines with spaces as it was
causing the dt_binding_check to fail.
Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
index 388245b91a55..21e51ceca293 100644
--- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
+++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
@@ -11,8 +11,12 @@ maintainers:
properties:
compatible:
- items:
+ oneOf:
- const: ti,j721e-usb
+ - const: ti,am64-usb
+ - items:
+ - ti,j721e-usb
+ - ti,am64-usb
reg:
description: module registers
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC
2020-12-14 14:01 [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC Aswath Govindraju
@ 2020-12-14 20:21 ` Rob Herring
2020-12-14 20:48 ` Rob Herring
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2020-12-14 20:21 UTC (permalink / raw)
To: Aswath Govindraju
Cc: Vignesh Raghavendra, Sekhar Nori, linux-usb, Rob Herring,
Greg Kroah-Hartman, devicetree, linux-kernel, Roger Quadros
On Mon, 14 Dec 2020 19:31:09 +0530, Aswath Govindraju wrote:
> Add compatible string in j721e-usb binding file as the same USB subsystem
> is present in AM64.
>
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> ---
>
> Changes since v4:
> - used oneOf instead of enum, as the schema has to convey that the strings
> ti,j721e-usb and ti,am64-usb can be used combined or seperately in the
> DT nodes.
>
> Changes since v3:
> - used enum instead of anyOf.
>
> Changes since v2:
> - added changes done over the versions.
>
> Changes since v1:
> - replaced the '\t' at the beginning of the lines with spaces as it was
> causing the dt_binding_check to fail.
>
> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml: properties:compatible:oneOf:2:items: 'anyOf' conditional failed, one must be fixed:
['ti,j721e-usb', 'ti,am64-usb'] is not of type 'object', 'boolean'
'ti,j721e-usb' is not of type 'object', 'boolean'
'ti,am64-usb' is not of type 'object', 'boolean'
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml: ignoring, error in schema: properties: compatible: oneOf: 2: items
warning: no schema found in file: ./Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
See https://patchwork.ozlabs.org/patch/1415942
This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC
2020-12-14 14:01 [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC Aswath Govindraju
2020-12-14 20:21 ` Rob Herring
@ 2020-12-14 20:48 ` Rob Herring
2020-12-15 4:30 ` Aswath Govindraju
1 sibling, 1 reply; 4+ messages in thread
From: Rob Herring @ 2020-12-14 20:48 UTC (permalink / raw)
To: Aswath Govindraju
Cc: Vignesh Raghavendra, Sekhar Nori, Greg Kroah-Hartman,
Roger Quadros, linux-usb, devicetree, linux-kernel
On Mon, Dec 14, 2020 at 07:31:09PM +0530, Aswath Govindraju wrote:
> Add compatible string in j721e-usb binding file as the same USB subsystem
> is present in AM64.
>
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
> ---
>
> Changes since v4:
> - used oneOf instead of enum, as the schema has to convey that the strings
> ti,j721e-usb and ti,am64-usb can be used combined or seperately in the
> DT nodes.
>
> Changes since v3:
> - used enum instead of anyOf.
>
> Changes since v2:
> - added changes done over the versions.
>
> Changes since v1:
> - replaced the '\t' at the beginning of the lines with spaces as it was
> causing the dt_binding_check to fail.
>
> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> index 388245b91a55..21e51ceca293 100644
> --- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> @@ -11,8 +11,12 @@ maintainers:
>
> properties:
> compatible:
> - items:
> + oneOf:
> - const: ti,j721e-usb
> + - const: ti,am64-usb
> + - items:
> + - ti,j721e-usb
> + - ti,am64-usb
^
const needed before the strings
>
> reg:
> description: module registers
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC
2020-12-14 20:48 ` Rob Herring
@ 2020-12-15 4:30 ` Aswath Govindraju
0 siblings, 0 replies; 4+ messages in thread
From: Aswath Govindraju @ 2020-12-15 4:30 UTC (permalink / raw)
To: Rob Herring
Cc: Vignesh Raghavendra, Sekhar Nori, Greg Kroah-Hartman,
Roger Quadros, linux-usb, devicetree, linux-kernel
Hi Rob,
On 15/12/20 2:18 am, Rob Herring wrote:
> On Mon, Dec 14, 2020 at 07:31:09PM +0530, Aswath Govindraju wrote:
>> Add compatible string in j721e-usb binding file as the same USB subsystem
>> is present in AM64.
>>
>> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
>> ---
>>
>> Changes since v4:
>> - used oneOf instead of enum, as the schema has to convey that the strings
>> ti,j721e-usb and ti,am64-usb can be used combined or seperately in the
>> DT nodes.
>>
>> Changes since v3:
>> - used enum instead of anyOf.
>>
>> Changes since v2:
>> - added changes done over the versions.
>>
>> Changes since v1:
>> - replaced the '\t' at the beginning of the lines with spaces as it was
>> causing the dt_binding_check to fail.
>>
>> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
>> index 388245b91a55..21e51ceca293 100644
>> --- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
>> +++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
>> @@ -11,8 +11,12 @@ maintainers:
>>
>> properties:
>> compatible:
>> - items:
>> + oneOf:
>> - const: ti,j721e-usb
>> + - const: ti,am64-usb
>> + - items:
>> + - ti,j721e-usb
>> + - ti,am64-usb
>
> ^
>
> const needed before the strings
>
Thank you for the comments. I am very sorry for this error, I forgot to
add my changes to the commit before creating the patch. I have sent a
respin (v6).
Thanks,
Aswath
>>
>> reg:
>> description: module registers
>> --
>> 2.17.1
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-15 4:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14 14:01 [PATCH v5] dt-bindings: usb: Add new compatible string for AM64 SoC Aswath Govindraju
2020-12-14 20:21 ` Rob Herring
2020-12-14 20:48 ` Rob Herring
2020-12-15 4:30 ` Aswath Govindraju
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.