요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Multi-Inno MI0283QT display panel
Required properties:
- compatible: "multi-inno,mi0283qt".
The node for this driver must be a child node of a SPI controller, hence
all mandatory properties described in ../spi/spi-bus.txt must be specified.
Optional properties:
- dc-gpios: D/C pin. The presence/absence of this GPIO determines
the panel interface mode (IM[3:0] pins):
- present: IM=x110 4-wire 8-bit data serial interface
- absent: IM=x101 3-wire 9-bit data serial interface
- reset-gpios: Reset pin
- power-supply: A regulator node for the supply voltage.
- backlight: phandle of the backlight device attached to the panel
- rotation: panel rotation in degrees counter clockwise (0,90,180,270)
Example:
mi0283qt@0{
compatible = "multi-inno,mi0283qt";
reg = <0>;
spi-max-frequency = <32000000>;
rotation = <90>;
dc-gpios = <&gpio 25 0>;
backlight = <&backlight>;
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MI0283QT SPI panel과 interface mode
1-18Multi-Inno MI0283QT display panel 바인딩입니다. 필수 `compatible` 값은 `multi-inno,mi0283qt`입니다. Driver node는 SPI controller의 child여야 하며 `../spi/spi-bus.txt`의 모든 필수 속성도 지정해야 합니다.
선택 `dc-gpios`는 D/C pin이며 GPIO 존재 여부가 panel의 IM[3:0] pin으로 정해지는 interface mode를 선택합니다. GPIO가 있으면 `IM=x110`인 4-wire 8-bit data serial interface이고, 없으면 `IM=x101`인 3-wire 9-bit data serial interface입니다.
나머지 선택 속성은 reset pin인 `reset-gpios`, supply voltage regulator인 `power-supply`, 연결된 backlight device의 phandle인 `backlight`, 반시계 방향 0/90/180/270도 회전인 `rotation`입니다.
`dc-gpios` 유무가 SPI serial interface 형식을 결정합니다.
32 MHz와 90도 회전 예제
19-27예제 panel은 SPI chip select 0, 최대 32 MHz, 반시계 방향 90도 회전, GPIO 25의 D/C pin과 backlight phandle을 사용합니다.
mi0283qt@0{
compatible = "multi-inno,mi0283qt";
reg = <0>;
spi-max-frequency = <32000000>;
rotation = <90>;
dc-gpios = <&gpio 25 0>;
backlight = <&backlight>;
};
요약과 해설
multi-inno,mi0283qt.txt:1-27SPI child 자원, interface mode와 rotation/backlight 속성을 설명합니다.