Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Bindings for the fan / temperature monitor microcontroller used on
2the Zyxel NSA 320 and several subsequent models.
3
4Required properties:
5- compatible : "zyxel,nsa320-mcu"
6- data-gpios : The GPIO pin connected to the data line on the MCU
7- clk-gpios : The GPIO pin connected to the clock line on the MCU
8- act-gpios : The GPIO pin connected to the active line on the MCU
9
10Example:
11
12 hwmon {
13 compatible = "zyxel,nsa320-mcu";
14 pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
15 pinctrl-names = "default";
16
17 data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
18 clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
19 act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
20 };