← Documents Documentation/devicetree/bindings/mfd/sky81452.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Skyworks SKY81452

SKY81452의 backlight·regulator 자식과 전류·전압 구성 바인딩입니다.

Source pathDocumentation/devicetree/bindings/mfd/sky81452.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

sky81452.txt:1-35

LED source와 PWM policy, 4.5V~8.0V LOUT regulator 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 SKY81452 bindings
2
3 Required properties:
4 - compatible : Must be "skyworks,sky81452"
5 - reg : I2C slave address
6
7 Required child nodes:
8 - backlight : container node for backlight following the binding
9 in leds/backlight/sky81452-backlight.txt
10 - regulator : container node for regulators following the binding
11 in regulator/sky81452-regulator.txt
12
13 Example:
14
15 sky81452@2c {
16 compatible = "skyworks,sky81452";
17 reg = <0x2c>;
18
19 backlight {
20 compatible = "skyworks,sky81452-backlight";
21 name = "pwm-backlight";
22 led-sources = <0 1 2 3 6>;
23 skyworks,ignore-pwm;
24 skyworks,phase-shift;
25 skyworks,current-limit = <2300>;
26 };
27
28 regulator {
29 lout {
30 regulator-name = "sky81452-lout";
31 regulator-min-microvolt = <4500000>;
32 regulator-max-microvolt = <8000000>;
33 };
34 };
35 };
36

3. 한국어 전문 번역

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

SKY81452와 필수 자식

1-12

`compatible`은 반드시 `skyworks,sky81452`이고 `reg`는 I2C slave address입니다.

필수 자식 `backlight`는 `leds/backlight/sky81452-backlight.txt` 바인딩을 따르는 backlight container이며, `regulator`는 `regulator/sky81452-regulator.txt`를 따르는 regulator container입니다.

SKY81452 자식 구조
SKY81452 I2C devicebacklight child
backlight childLED sources and PWM policy
SKY81452 I2C deviceregulator child
regulator childlout voltage range

I2C MFD 아래에 backlight와 regulator 기능을 각각 배치합니다.

Backlight와 LOUT 예제

13-35

예제는 I2C 주소 `0x2c`를 사용합니다. backlight 자식은 LED source 0·1·2·3·6, PWM 무시, phase shift, current limit 2300을 지정합니다. regulator의 `lout`은 4.5V부터 8.0V까지의 범위를 갖습니다.

sky81452@2c {
        compatible = "skyworks,sky81452";
        reg = <0x2c>;

        backlight {
                compatible = "skyworks,sky81452-backlight";
                name = "pwm-backlight";
                led-sources = <0 1 2 3 6>;
                skyworks,ignore-pwm;
                skyworks,phase-shift;
                skyworks,current-limit = <2300>;
        };

        regulator {
                lout {
                        regulator-name = "sky81452-lout";
                        regulator-min-microvolt = <4500000>;
                        regulator-max-microvolt = <8000000>;
                };
        };
};