Skip to content

Commit 15cae9c

Browse files
KCFENG0groeck
authored andcommitted
dt-bindings: hwmon: Add NCT7363Y documentation
Add bindings for the Nuvoton NCT7363Y Fan Controller Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Paul Menzel <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Ban Feng <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent c20a783 commit 15cae9c

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
5+
$id: http://devicetree.org/schemas/hwmon/nuvoton,nct7363.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Nuvoton NCT7363Y Hardware Monitoring IC
9+
10+
maintainers:
11+
- Ban Feng <[email protected]>
12+
13+
description: |
14+
The NCT7363Y is a fan controller which provides up to 16 independent
15+
FAN input monitors, and up to 16 independent PWM outputs with SMBus interface.
16+
17+
Datasheets: Available from Nuvoton upon request
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- nuvoton,nct7363
23+
- nuvoton,nct7362
24+
25+
reg:
26+
maxItems: 1
27+
28+
"#pwm-cells":
29+
const: 2
30+
31+
patternProperties:
32+
"^fan-[0-9]+$":
33+
$ref: fan-common.yaml#
34+
unevaluatedProperties: false
35+
required:
36+
- pwms
37+
- tach-ch
38+
39+
required:
40+
- compatible
41+
- reg
42+
- "#pwm-cells"
43+
44+
additionalProperties: false
45+
46+
examples:
47+
- |
48+
i2c {
49+
#address-cells = <1>;
50+
#size-cells = <0>;
51+
52+
hwmon: hwmon@22 {
53+
compatible = "nuvoton,nct7363";
54+
reg = <0x22>;
55+
#pwm-cells = <2>;
56+
57+
fan-0 {
58+
pwms = <&hwmon 0 50000>;
59+
tach-ch = /bits/ 8 <0x00>;
60+
};
61+
fan-1 {
62+
pwms = <&hwmon 1 50000>;
63+
tach-ch = /bits/ 8 <0x01>;
64+
};
65+
};
66+
};

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15950,6 +15950,12 @@ S: Maintained
1595015950
F: Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml
1595115951
F: drivers/hwmon/nct6775-i2c.c
1595215952

15953+
NCT7363 HARDWARE MONITOR DRIVER
15954+
M: Ban Feng <[email protected]>
15955+
15956+
S: Maintained
15957+
F: Documentation/devicetree/bindings/hwmon/nuvoton,nct7363.yaml
15958+
1595315959
NETCONSOLE
1595415960
M: Breno Leitao <[email protected]>
1595515961
S: Maintained

0 commit comments

Comments
 (0)