From: Mario Kicherer Date: Wed, 18 Jan 2023 12:30:17 +0000 (+0100) Subject: dt-bindings: hwmon: add nxp,mc34vr500 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=363ab25324754ed77dbc50aad77e16c67f829c08;p=users%2Fwilly%2Flinux.git dt-bindings: hwmon: add nxp,mc34vr500 Add dt-bindings for the NXP MC34VR500 PMIC. Signed-off-by: Mario Kicherer Reviewed-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20230118123019.3041303-2-dev@kicherer.org Signed-off-by: Guenter Roeck --- diff --git a/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml new file mode 100644 index 0000000000000..306f673158355 --- /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 + +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>; + }; + };