* [PATCH v6] dt-bindings: usb: Add new compatible string for AM64 SoC
@ 2020-12-15 4:25 Aswath Govindraju
2020-12-15 18:18 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Aswath Govindraju @ 2020-12-15 4:25 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 v5:
- Added const as the type for objects in items.
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..148b3fb4ceaf 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:
+ - const: ti,j721e-usb
+ - const: ti,am64-usb
reg:
description: module registers
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v6] dt-bindings: usb: Add new compatible string for AM64 SoC
2020-12-15 4:25 [PATCH v6] dt-bindings: usb: Add new compatible string for AM64 SoC Aswath Govindraju
@ 2020-12-15 18:18 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-12-15 18:18 UTC (permalink / raw)
To: Aswath Govindraju
Cc: Greg Kroah-Hartman, Sekhar Nori, Vignesh Raghavendra, Rob Herring,
Roger Quadros, devicetree, linux-kernel, linux-usb
On Tue, 15 Dec 2020 09:55:49 +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 v5:
> - Added const as the type for objects in items.
>
> 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(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-15 18:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-15 4:25 [PATCH v6] dt-bindings: usb: Add new compatible string for AM64 SoC Aswath Govindraju
2020-12-15 18:18 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).