Message ID | 20200423180545.13707-2-grygorii.strashko@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | soc: ti: add k3 platforms chipid module driver | expand |
Hi Rob, On 23/04/2020 21:05, Grygorii Strashko wrote: > Add DT binding for Texas Instruments K3 Multicore SoC platforms chipid > module which is represented by CTRLMMR_xxx_JTAGID register and contains > information about SoC id and revision. > > Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> > Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com> > --- > .../bindings/soc/ti/k3-socinfo.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml > > diff --git a/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml b/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml > new file mode 100644 > index 000000000000..a1a8423b2e2e > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/ti/k3-socinfo.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Texas Instruments K3 Multicore SoC platforms chipid module > + > +maintainers: > + - Tero Kristo <t-kristo@ti.com> > + - Nishanth Menon <nm@ti.com> > + > +description: | > + Texas Instruments (ARM64) K3 Multicore SoC platforms chipid module is > + represented by CTRLMMR_xxx_JTAGID register which contains information about > + SoC id and revision. > + > +properties: > + $nodename: > + pattern: "^chipid@[0-9a-f]+$" > + > + compatible: > + items: > + - const: ti,am654-chipid > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + chipid@43000014 { > + compatible = "ti,am654-chipid"; > + reg = <0x43000014 0x4>; > + }; > Do you have any comments here?
diff --git a/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml b/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml new file mode 100644 index 000000000000..a1a8423b2e2e --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/k3-socinfo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments K3 Multicore SoC platforms chipid module + +maintainers: + - Tero Kristo <t-kristo@ti.com> + - Nishanth Menon <nm@ti.com> + +description: | + Texas Instruments (ARM64) K3 Multicore SoC platforms chipid module is + represented by CTRLMMR_xxx_JTAGID register which contains information about + SoC id and revision. + +properties: + $nodename: + pattern: "^chipid@[0-9a-f]+$" + + compatible: + items: + - const: ti,am654-chipid + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chipid@43000014 { + compatible = "ti,am654-chipid"; + reg = <0x43000014 0x4>; + };