Message ID | 20230424123522.18302-25-nikita.shubin@maquefel.me |
---|---|
State | Changes Requested, archived |
Headers | show |
Series | ep93xx device tree conversion | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 4/24/23 21:34, Nikita Shubin wrote: > Add YAML bindings ep93xx SoC. > > Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> > --- > .../bindings/ata/cirrus,ep93xx-pata.yaml | 40 +++++++++++++++++++ > 1 file changed, 40 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml > > diff --git a/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml b/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml > new file mode 100644 > index 000000000000..24ed64cfa6d1 > --- /dev/null > +++ b/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/ata/cirrus,ep93xx-pata.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: EP9312 PATA controller driver > + > +maintainers: > + - Damien Le Moal <damien.lemoal@opensource.wdc.com> Wrong email address. Please use dlemoal@kernel.org as mentioned in the MAINTAINERS file. (other schema files need to be changed as well. Will send a patch for that) > + > +properties: > + compatible: > + const: cirrus,ep9312-pata > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + ide: ide@800a0000 { > + compatible = "cirrus,ep9312-pata"; > + reg = <0x800a0000 0x38>; > + interrupt-parent = <&vic1>; > + interrupts = <8>; > + pinctrl-names = "default"; > + pinctrl-0 = <&ide_default_pins>; > + }; > + > +...
diff --git a/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml b/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml new file mode 100644 index 000000000000..24ed64cfa6d1 --- /dev/null +++ b/Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ata/cirrus,ep93xx-pata.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EP9312 PATA controller driver + +maintainers: + - Damien Le Moal <damien.lemoal@opensource.wdc.com> + +properties: + compatible: + const: cirrus,ep9312-pata + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + ide: ide@800a0000 { + compatible = "cirrus,ep9312-pata"; + reg = <0x800a0000 0x38>; + interrupt-parent = <&vic1>; + interrupts = <8>; + pinctrl-names = "default"; + pinctrl-0 = <&ide_default_pins>; + }; + +...
Add YAML bindings ep93xx SoC. Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> --- .../bindings/ata/cirrus,ep93xx-pata.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/cirrus,ep93xx-pata.yaml