Message ID | 20200309141422.10999-3-alexandru.tachici@analog.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | hwmon: pmbus: adm1266: add initial support | expand |
On Mon, Mar 09, 2020 at 04:14:22PM +0200, Alexandru Tachici wrote: > Add bindings for the Analog Devices ADM1266 sequencer. > Unless there are more bindings expected in the future, this could be added as trivial device. If there _are_ more bindings expected in the future, they should be part of this patch. Thanks, Guenter > Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> > --- > .../bindings/hwmon/adi,adm1266.yaml | 47 +++++++++++++++++++ > 1 file changed, 47 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml > new file mode 100644 > index 000000000000..1e83883a4661 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml > @@ -0,0 +1,47 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/pmbus/adi,adm1266.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Analog Devices ADM1266 Cascadable Super Sequencer with Margin > +Control and Fault Recording > + > +maintainers: > + - Alexandru Tachici <alexandru.tachici@analog.com> > + > +description: | > + Analog Devices ADM1266 Cascadable Super Sequencer with Margin > + Control and Fault Recording > + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1266.pdf > + > +properties: > + compatible: > + enum: > + - adi,adm1266 > + > + reg: > + maxItems: 1 > + > + avcc-supply: > + description: > + Phandle to the Avcc power supply > + > +required: > + - compatible > + - reg > + > +examples: > + - | > + i2c0 { > + #address-cells = <1>; > + #size-cells = <0>; > + > + adm1266@40 { > + compatible = "adi,adm1266"; > + reg = <0x40>; > + #address-cells = <1>; > + #size-cells = <0>; > + }; > + }; > +... > -- > 2.20.1 >
diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml new file mode 100644 index 000000000000..1e83883a4661 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/pmbus/adi,adm1266.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices ADM1266 Cascadable Super Sequencer with Margin +Control and Fault Recording + +maintainers: + - Alexandru Tachici <alexandru.tachici@analog.com> + +description: | + Analog Devices ADM1266 Cascadable Super Sequencer with Margin + Control and Fault Recording + https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1266.pdf + +properties: + compatible: + enum: + - adi,adm1266 + + reg: + maxItems: 1 + + avcc-supply: + description: + Phandle to the Avcc power supply + +required: + - compatible + - reg + +examples: + - | + i2c0 { + #address-cells = <1>; + #size-cells = <0>; + + adm1266@40 { + compatible = "adi,adm1266"; + reg = <0x40>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; +...
Add bindings for the Analog Devices ADM1266 sequencer. Signed-off-by: Alexandru Tachici <alexandru.tachici@analog.com> --- .../bindings/hwmon/adi,adm1266.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml