Message ID | 20230118123019.3041303-2-dev@kicherer.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | hwmon: add initial NXP MC34VR500 PMIC monitoring support | expand |
On 18/01/2023 13:30, Mario Kicherer wrote: > Add dt-bindings for the NXP MC34VR500 PMIC. > > Signed-off-by: Mario Kicherer <dev@kicherer.org> > --- > .../bindings/hwmon/nxp,mc34vr500.yaml | 36 +++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Wed, Jan 18, 2023 at 01:30:17PM +0100, Mario Kicherer wrote: > Add dt-bindings for the NXP MC34VR500 PMIC. > > Signed-off-by: Mario Kicherer <dev@kicherer.org> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Applied th hwmon-next. Thanks, Guenter > --- > .../bindings/hwmon/nxp,mc34vr500.yaml | 36 +++++++++++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml > new file mode 100644 > index 000000000000..306f67315835 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml > @@ -0,0 +1,36 @@ > +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/nxp,mc34vr500.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP MC34VR500 hwmon sensor > + > +maintainers: > + - Mario Kicherer <dev@kicherer.org> > + > +properties: > + compatible: > + enum: > + - nxp,mc34vr500 > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + pmic@8 { > + compatible = "nxp,mc34vr500"; > + reg = <0x08>; > + }; > + };
diff --git a/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml new file mode 100644 index 000000000000..306f67315835 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/nxp,mc34vr500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP MC34VR500 hwmon sensor + +maintainers: + - Mario Kicherer <dev@kicherer.org> + +properties: + compatible: + enum: + - nxp,mc34vr500 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@8 { + compatible = "nxp,mc34vr500"; + reg = <0x08>; + }; + };
Add dt-bindings for the NXP MC34VR500 PMIC. Signed-off-by: Mario Kicherer <dev@kicherer.org> --- .../bindings/hwmon/nxp,mc34vr500.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml