Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: adc: add NCT7201 ADCs

Add a binding specification for the Nuvoton NCT7201/NCT7202 up to 12-bit
ADCs with I2C interface.

Signed-off-by: Eason Yang <j2anfernee@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250512083156.3300006-2-j2anfernee@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Eason Yang and committed by
Jonathan Cameron
c8c2db39 d524b3e0

+76
+70
Documentation/devicetree/bindings/iio/adc/nuvoton,nct7201.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/adc/nuvoton,nct7201.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Nuvoton nct7201 and similar ADCs 8 + 9 + maintainers: 10 + - Eason Yang <j2anfernee@gmail.com> 11 + 12 + description: | 13 + The NCT7201/NCT7202 is a Nuvoton Hardware Monitor IC, contains up to 12 14 + voltage monitoring channels, with SMBus interface, and up to 4 sets SMBus 15 + address selection by ADDR connection. It also provides ALERT# signal for 16 + event notification and reset input RSTIN# to recover it from a fault 17 + condition. 18 + 19 + NCT7201 contains 8 voltage monitor inputs (VIN1~VIN8). 20 + NCT7202 contains 12 voltage monitor inputs (VIN1~VIN12). 21 + 22 + properties: 23 + compatible: 24 + enum: 25 + - nuvoton,nct7201 26 + - nuvoton,nct7202 27 + 28 + reg: 29 + maxItems: 1 30 + 31 + vdd-supply: 32 + description: 33 + A 3.3V to supply that powers the chip. 34 + 35 + vref-supply: 36 + description: 37 + The regulator supply for the ADC reference voltage. 38 + 39 + interrupts: 40 + maxItems: 1 41 + 42 + reset-gpios: 43 + maxItems: 1 44 + 45 + required: 46 + - compatible 47 + - reg 48 + 49 + additionalProperties: false 50 + 51 + examples: 52 + - | 53 + #include <dt-bindings/gpio/gpio.h> 54 + #include <dt-bindings/interrupt-controller/irq.h> 55 + 56 + i2c { 57 + #address-cells = <1>; 58 + #size-cells = <0>; 59 + 60 + adc@1d { 61 + compatible = "nuvoton,nct7202"; 62 + reg = <0x1d>; 63 + vdd-supply = <&vdd>; 64 + vref-supply = <&vref>; 65 + interrupt-parent = <&gpio3>; 66 + interrupts = <30 IRQ_TYPE_LEVEL_LOW>; 67 + reset-gpios = <&gpio3 28 GPIO_ACTIVE_LOW>; 68 + }; 69 + }; 70 + ...
+6
MAINTAINERS
··· 17336 17336 F: include/linux/nubus.h 17337 17337 F: include/uapi/linux/nubus.h 17338 17338 17339 + NUVOTON NCT7201 IIO DRIVER 17340 + M: Eason Yang <j2anfernee@gmail.com> 17341 + L: linux-iio@vger.kernel.org 17342 + S: Maintained 17343 + F: Documentation/devicetree/bindings/iio/adc/nuvoton,nct7201.yaml 17344 + 17339 17345 NVIDIA (rivafb and nvidiafb) FRAMEBUFFER DRIVER 17340 17346 M: Antonino Daplas <adaplas@gmail.com> 17341 17347 L: linux-fbdev@vger.kernel.org