요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Binding for ISSI IS31FL32xx and Si-En SN32xx LED Drivers
The IS31FL32xx/SN32xx family of LED drivers are I2C devices with multiple
constant-current channels, each with independent 256-level PWM control.
Each LED is represented as a sub-node of the device.
Required properties:
- compatible: one of
issi,is31fl3236
issi,is31fl3235
issi,is31fl3218
issi,is31fl3216
si-en,sn3218
si-en,sn3216
- reg: I2C slave address
- address-cells : must be 1
- size-cells : must be 0
LED sub-node properties:
- reg : LED channel number (1..N)
- label : (optional)
see Documentation/devicetree/bindings/leds/common.txt
- linux,default-trigger : (optional)
see Documentation/devicetree/bindings/leds/common.txt
Example:
is31fl3236: led-controller@3c {
compatible = "issi,is31fl3236";
reg = <0x3c>;
#address-cells = <1>;
#size-cells = <0>;
led@1 {
reg = <1>;
label = "EB:blue:usr0";
};
led@2 {
reg = <2>;
label = "EB:blue:usr1";
};
...
led@36 {
reg = <36>;
label = "EB:blue:usr35";
};
};
For more product information please see the links below:
http://www.issi.com/US/product-analog-fxled-driver.shtml
http://www.si-en.com/product.asp?parentid=890
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
IS31FL32xx/SN32xx 속성
1-26ISSI IS31FL32xx와 Si-En SN32xx LED driver 계열은 여러 constant-current channel을 제공하는 I2C 장치이며 각 channel은 독립적인 256-level PWM 제어를 가집니다. LED마다 장치의 하위 node 하나로 표현합니다.
`compatible`은 `issi,is31fl3236`, `issi,is31fl3235`, `issi,is31fl3218`, `issi,is31fl3216`, `si-en,sn3218`, `si-en,sn3216` 중 하나입니다. `reg`는 I2C slave 주소이고 `#address-cells`는 1, `#size-cells`는 0입니다.
LED 하위 node의 `reg`는 1부터 장치별 최대 N까지의 channel 번호입니다. 선택 `label`과 `linux,default-trigger`는 `Documentation/devicetree/bindings/leds/common.txt`를 따릅니다.
I2C controller 아래 각 LED node가 독립 constant-current 및 PWM channel을 선택합니다.
IS31FL3236 36-channel 예제
27-52예제는 I2C 주소 `0x3c`의 IS31FL3236에서 channel 1과 2를 `usr0`, `usr1`로 표시하고, 같은 방식으로 channel 36까지 `usr35`를 배치합니다.
is31fl3236: led-controller@3c {
compatible = "issi,is31fl3236";
reg = <0x3c>;
#address-cells = <1>;
#size-cells = <0>;
led@1 {
reg = <1>;
label = "EB:blue:usr0";
};
led@2 {
reg = <2>;
label = "EB:blue:usr1";
};
...
led@36 {
reg = <36>;
label = "EB:blue:usr35";
};
};
제품 정보는 다음 제조사 링크를 참조하십시오.
요약과 해설
leds-is31fl32xx.txt:1-52지원 chip과 36-channel 예제를 설명합니다.