[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220510003156.GA1561729@roeck-us.net>
Date: Mon, 9 May 2022 17:31:56 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Zev Weiss <zev@...ilderbeest.net>
Cc: Jean Delvare <jdelvare@...e.com>, linux-hwmon@...r.kernel.org,
Rob Herring <robh+dt@...nel.org>, devicetree@...r.kernel.org,
Renze Nicolai <renze@...lus.nl>,
Oleksandr Natalenko <oleksandr@...alenko.name>,
openbmc@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzk@...nel.org>
Subject: Re: [PATCH v5 1/2] dt-bindings: hwmon: Add nuvoton,nct6775
On Wed, Apr 27, 2022 at 06:27:06PM -0700, Zev Weiss wrote:
> These Super I/O chips have an i2c interface that some systems expose
> to a BMC; the BMC's device tree can now describe that via this
> binding.
>
> Signed-off-by: Zev Weiss <zev@...ilderbeest.net>
> Reviewed-by: Rob Herring <robh@...nel.org>
Applied.
Thanks,
Guenter
> ---
> .../bindings/hwmon/nuvoton,nct6775.yaml | 57 +++++++++++++++++++
> 1 file changed, 57 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
> new file mode 100644
> index 000000000000..358b262431fc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
> @@ -0,0 +1,57 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +
> +$id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Nuvoton NCT6775 and compatible Super I/O chips
> +
> +maintainers:
> + - Zev Weiss <zev@...ilderbeest.net>
> +
> +properties:
> + compatible:
> + enum:
> + - nuvoton,nct6106
> + - nuvoton,nct6116
> + - nuvoton,nct6775
> + - nuvoton,nct6776
> + - nuvoton,nct6779
> + - nuvoton,nct6791
> + - nuvoton,nct6792
> + - nuvoton,nct6793
> + - nuvoton,nct6795
> + - nuvoton,nct6796
> + - nuvoton,nct6797
> + - nuvoton,nct6798
> +
> + reg:
> + maxItems: 1
> +
> + nuvoton,tsi-channel-mask:
> + description:
> + Bitmask indicating which TSI temperature sensor channels are
> + active. LSB is TSI0, bit 1 is TSI1, etc.
> + $ref: /schemas/types.yaml#/definitions/uint32
> + maximum: 0xff
> + default: 0
> +
> +required:
> + - compatible
> + - reg
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + superio@4d {
> + compatible = "nuvoton,nct6779";
> + reg = <0x4d>;
> + nuvoton,tsi-channel-mask = <0x03>;
> + };
> + };
Powered by blists - more mailing lists