diff options
author | Mario Kicherer <dev@kicherer.org> | 2023-01-18 15:30:17 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-02-03 18:30:10 +0300 |
commit | 363ab25324754ed77dbc50aad77e16c67f829c08 (patch) | |
tree | ff60d67b43ef8f864ac51e2d870e52e3d876e765 /Documentation | |
parent | b361a1cf624546c9ce71c68066b809b9490e0267 (diff) | |
download | linux-363ab25324754ed77dbc50aad77e16c67f829c08.tar.xz |
dt-bindings: hwmon: add nxp,mc34vr500
Add dt-bindings for the NXP MC34VR500 PMIC.
Signed-off-by: Mario Kicherer <dev@kicherer.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230118123019.3041303-2-dev@kicherer.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
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>; + }; + }; |