aboutsummaryrefslogtreecommitdiffstats
path: root/dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-01-21 11:36:09 -0600
committerTom Rini <trini@konsulko.com>2025-01-21 12:59:14 -0600
commit9b42a5ba874ddb3c90fd7c44fc41b07539e8e31d (patch)
tree0c7e39c5eb554a76724288d46563873cc7b2312c /dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml
parent82d262ae162d859d3b0bbcd40a9464e890b009da (diff)
parentf4c645f9e65c4c40b1c66d2eed4e1e4d29994bb4 (diff)
downloadu-boot-WIP/21Jan2025.tar.gz
Subtree merge tag 'v6.13-dts' of dts repo [1] into dts/upstreamWIP/21Jan2025
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git [rockchip fixes from Jonas Karlman via IRC]
Diffstat (limited to 'dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml')
-rw-r--r--dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml66
1 files changed, 66 insertions, 0 deletions
diff --git a/dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml b/dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml
new file mode 100644
index 00000000000..c1e5dedc2f6
--- /dev/null
+++ b/dts/upstream/Bindings/hwmon/nuvoton,nct7363.yaml
@@ -0,0 +1,66 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+
+$id: http://devicetree.org/schemas/hwmon/nuvoton,nct7363.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuvoton NCT7363Y Hardware Monitoring IC
+
+maintainers:
+ - Ban Feng <kcfeng0@nuvoton.com>
+
+description: |
+ The NCT7363Y is a fan controller which provides up to 16 independent
+ FAN input monitors, and up to 16 independent PWM outputs with SMBus interface.
+
+ Datasheets: Available from Nuvoton upon request
+
+properties:
+ compatible:
+ enum:
+ - nuvoton,nct7363
+ - nuvoton,nct7362
+
+ reg:
+ maxItems: 1
+
+ "#pwm-cells":
+ const: 2
+
+patternProperties:
+ "^fan-[0-9]+$":
+ $ref: fan-common.yaml#
+ unevaluatedProperties: false
+ required:
+ - pwms
+ - tach-ch
+
+required:
+ - compatible
+ - reg
+ - "#pwm-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ hwmon: hwmon@22 {
+ compatible = "nuvoton,nct7363";
+ reg = <0x22>;
+ #pwm-cells = <2>;
+
+ fan-0 {
+ pwms = <&hwmon 0 50000>;
+ tach-ch = /bits/ 8 <0x00>;
+ };
+ fan-1 {
+ pwms = <&hwmon 1 50000>;
+ tach-ch = /bits/ 8 <0x01>;
+ };
+ };
+ };