← Documents Documentation/devicetree/bindings/hwmon/nsa320-mcu.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Zyxel NSA320 Monitor MCU

Fan/temperature MCU의 data, clock, active GPIO 바인딩입니다.

Source pathDocumentation/devicetree/bindings/hwmon/nsa320-mcu.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

nsa320-mcu.txt:1-20

세 GPIO line과 polarity를 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Bindings for the fan / temperature monitor microcontroller used on
2 the Zyxel NSA 320 and several subsequent models.
3
4 Required 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
10 Example:
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 };
21

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Zyxel NSA320 fan/temperature MCU

1-9

Zyxel NSA320과 이후 여러 model에서 사용하는 fan/temperature monitor microcontroller binding입니다. 필수 `compatible`은 `zyxel,nsa320-mcu`입니다.

`data-gpios`는 MCU data line, `clk-gpios`는 clock line, `act-gpios`는 active line에 연결된 GPIO pin입니다.

NSA320 MCU serial GPIO
data-gpiosBidirectional/serial data
clk-gpiosTransfer clock
act-gpiosActive-low transaction control
NSA320 MCUFan + temperature monitoring

Host가 data, clock, active 세 GPIO로 monitor MCU와 통신합니다.

NSA320 MCU 예제

10-20

예제는 GPIO0 line 14를 active-high data, line 16을 active-high clock, line 17을 active-low active signal로 사용하고 default pinctrl state를 선언합니다.

hwmon {
        compatible = "zyxel,nsa320-mcu";
        pinctrl-0 = <&pmx_mcu_data &pmx_mcu_clk &pmx_mcu_act>;
        pinctrl-names = "default";

        data-gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
        clk-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
        act-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
};