요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Hisilicon PWM controller
Required properties:
-compatible: should contain one SoC specific compatible string
The SoC specific strings supported including:
"hisilicon,hi3516cv300-pwm"
"hisilicon,hi3519v100-pwm"
"hisilicon,hi3559v100-shub-pwm"
"hisilicon,hi3559v100-pwm
- reg: physical base address and length of the controller's registers.
- clocks: phandle and clock specifier of the PWM reference clock.
- resets: phandle and reset specifier for the PWM controller reset.
- #pwm-cells: Should be 3. See pwm.yaml in this directory for a description of
the cells format.
Example:
pwm: pwm@12130000 {
compatible = "hisilicon,hi3516cv300-pwm";
reg = <0x12130000 0x10000>;
clocks = <&crg_ctrl HI3516CV300_PWM_CLK>;
resets = <&crg_ctrl 0x38 0>;
#pwm-cells = <3>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
필수·선택 property
1-15Hisilicon PWM controller는 `hisilicon,hi3516cv300-pwm`, `hisilicon,hi3519v100-pwm`, `hisilicon,hi3559v100-shub-pwm`, `hisilicon,hi3559v100-pwm` 중 SoC별 compatible 하나를 사용합니다. `reg`, reference `clocks`, controller `resets`가 필수이며 `#pwm-cells`는 3입니다.
원문 9행의 `hisilicon,hi3559v100-pwm` string에는 닫는 따옴표가 없습니다. 번역 설명에서는 식별자를 명확히 표기하되 접힌 원문은 그대로 보존합니다.
Device-tree 예제
16-23HI3516CV300 예제는 0x12130000 register, PWM clock과 reset specifier를 연결합니다.
pwm: pwm@12130000 {
compatible = "hisilicon,hi3516cv300-pwm";
reg = <0x12130000 0x10000>;
clocks = <&crg_ctrl HI3516CV300_PWM_CLK>;
resets = <&crg_ctrl 0x38 0>;
#pwm-cells = <3>;
};
요약과 해설
pwm-hibvt.txt:1-23Controller별 필수 property와 실제 device-tree 예제를 함께 설명합니다.