요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
PXA LCD Controller
------------------
Required properties:
- compatible : one of these
"marvell,pxa2xx-lcdc",
"marvell,pxa270-lcdc",
"marvell,pxa300-lcdc"
- reg : should contain 1 register range (address and length).
- interrupts : framebuffer controller interrupt.
- clocks: phandle to input clocks
Optional properties:
- lcd-supply: A phandle to a power regulator that controls the LCD voltage.
Required nodes:
- port: connection to the LCD panel (see video-interfaces.txt)
This node must have its properties bus-width and remote-endpoint set.
If the panel is not a TFT color panel, then a "lcd-type" property in
the panel should specify the panel type.
This panel node should be in the board dts.
Example:
lcd-controller@40500000 {
compatible = "marvell,pxa2xx-lcdc";
reg = <0x44000000 0x10000>;
interrupts = <17>;
clocks = <&clks CLK_LCD>;
port {
lcdc_out: endpoint {
remote-endpoint = <&panel_in>;
bus-width = <16>;
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
PXA LCD controller와 panel graph
1-22PXA LCD Controller 바인딩입니다. 필수 `compatible`은 `marvell,pxa2xx-lcdc`, `marvell,pxa270-lcdc`, `marvell,pxa300-lcdc` 중 하나입니다. `reg`는 address와 length로 이루어진 register range 하나, `interrupts`는 framebuffer controller interrupt, `clocks`는 input clock의 phandle을 담습니다.
선택 속성 `lcd-supply`는 LCD voltage를 제어하는 power regulator의 phandle입니다.
필수 `port` node는 `video-interfaces.txt`에 따라 LCD panel과 연결하며 `bus-width`와 `remote-endpoint`를 반드시 설정해야 합니다. Panel이 TFT color panel이 아니면 panel의 `lcd-type` 속성으로 panel type을 지정해야 합니다. 이 panel node는 board DTS에 두어야 합니다.
Controller endpoint가 명시된 bus width로 board DTS의 panel endpoint에 연결됩니다.
16-bit PXA2xx LCD bus 예제
23-36예제 controller는 `marvell,pxa2xx-lcdc`, register 영역, interrupt 17과 `CLK_LCD`를 사용합니다. `lcdc_out` endpoint는 board panel의 `panel_in`을 가리키고 16-bit bus를 선언합니다. Node 이름의 unit address와 `reg` address가 서로 다르지만 원문 그대로 보존합니다.
lcd-controller@40500000 {
compatible = "marvell,pxa2xx-lcdc";
reg = <0x44000000 0x10000>;
interrupts = <17>;
clocks = <&clks CLK_LCD>;
port {
lcdc_out: endpoint {
remote-endpoint = <&panel_in>;
bus-width = <16>;
};
};
};
요약과 해설
marvell,pxa2xx-lcdc.txt:1-36Panel endpoint, bus width와 non-TFT lcd-type 요구를 설명합니다.