Documentation/devicetree/bindings/regulator/pbias-regulator.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

OMAP PBIAS regulator

OMAP SD card dual-voltage I/O pad용 PBIAS의 호환성과 register 설정을 설명합니다.

Source pathDocumentation/devicetree/bindings/regulator/pbias-regulator.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

pbias-regulator.txt:1-32

필수 property와 수치 제약을 먼저 확인한 뒤, 접을 수 있는 영어 원문과 줄 범위별 한국어 전문을 함께 대조할 수 있습니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 PBIAS internal regulator for SD card dual voltage i/o pads on OMAP SoCs.
2
3 Required properties:
4 - compatible:
5 - should be "ti,pbias-dra7" for DRA7
6 - should be "ti,pbias-omap2" for OMAP2
7 - should be "ti,pbias-omap3" for OMAP3
8 - should be "ti,pbias-omap4" for OMAP4
9 - should be "ti,pbias-omap5" for OMAP5
10 - "ti,pbias-omap" is deprecated
11 - reg: pbias register offset from syscon base and size of pbias register.
12 - syscon : phandle of the system control module
13 - regulator-name : should be
14 pbias_mmc_omap2430 for OMAP2430, OMAP3 SoCs
15 pbias_sim_omap3 for OMAP3 SoCs
16 pbias_mmc_omap4 for OMAP4 SoCs
17 pbias_mmc_omap5 for OMAP5 and DRA7 SoC
18
19 Optional properties:
20 - Any optional property defined in bindings/regulator/regulator.txt
21
22 Example:
23
24 pbias_regulator: pbias_regulator {
25 compatible = "ti,pbias-omap";
26 reg = <0 0x4>;
27 syscon = <&omap5_padconf_global>;
28 pbias_mmc_reg: pbias_mmc_omap5 {
29 regulator-name = "pbias_mmc_omap5";
30 regulator-min-microvolt = <1800000>;
31 regulator-max-microvolt = <3000000>;
32 };
33

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

OMAP PBIAS 내부 regulator

1-2

이 binding은 OMAP SoC의 SD card dual-voltage I/O pad를 위한 PBIAS 내부 regulator를 설명합니다.

필수 property와 이름

3-18

`compatible`은 DRA7에서 `ti,pbias-dra7`, OMAP2에서 `ti,pbias-omap2`, OMAP3에서 `ti,pbias-omap3`, OMAP4에서 `ti,pbias-omap4`, OMAP5에서 `ti,pbias-omap5`를 사용해야 합니다. `ti,pbias-omap`은 deprecated입니다.

`reg`에는 syscon base 기준 PBIAS register offset과 PBIAS register 크기를 지정하고, `syscon`에는 system control module의 phandle을 지정합니다.

`regulator-name`은 OMAP2430·OMAP3 SoC용 `pbias_mmc_omap2430`, OMAP3 SoC용 `pbias_sim_omap3`, OMAP4 SoC용 `pbias_mmc_omap4`, OMAP5·DRA7 SoC용 `pbias_mmc_omap5` 가운데 해당 이름이어야 합니다.

선택 property

19-21

`bindings/regulator/regulator.txt`에 정의된 모든 선택 property를 사용할 수 있습니다.

PBIAS 예제

22-32

예제는 deprecated 호환 문자열 `ti,pbias-omap`을 사용해 PBIAS register와 `omap5_padconf_global` syscon을 연결하고, `pbias_mmc_omap5`를 1,800,000~3,000,000 microvolt 범위로 선언합니다.

pbias_regulator: pbias_regulator {
        compatible = "ti,pbias-omap";
        reg = <0 0x4>;
        syscon = <&omap5_padconf_global>;
        pbias_mmc_reg: pbias_mmc_omap5 {
                regulator-name = "pbias_mmc_omap5";
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3000000>;
        };