요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Omnivision OV2640 CMOS sensor
The Omnivision OV2640 sensor supports multiple resolutions output, such as
CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB
output formats.
Required Properties:
- compatible: should be "ovti,ov2640"
- clocks: reference to the xvclk input clock.
- clock-names: should be "xvclk".
Optional Properties:
- resetb-gpios: reference to the GPIO connected to the resetb pin, if any.
- pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any.
The device node must contain one 'port' child node for its digital output
video port, in accordance with the video interface bindings defined in
Documentation/devicetree/bindings/media/video-interfaces.txt.
Example:
i2c1: i2c@f0018000 {
ov2640: camera@30 {
compatible = "ovti,ov2640";
reg = <0x30>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
clocks = <&pck0>;
clock-names = "xvclk";
assigned-clocks = <&pck0>;
assigned-clock-rates = <25000000>;
port {
ov2640_0: endpoint {
remote-endpoint = <&isi_0>;
};
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
OV2640 output과 xvclk
1-19OmniVision OV2640 CMOS sensor는 CIF, SVGA, UXGA 등 여러 해상도와 YUV422/420, RGB565/555, raw RGB output format을 지원합니다.
필수 `compatible`은 `ovti,ov2640`, `clocks`는 xvclk input clock reference, `clock-names`는 `xvclk`입니다. 선택적인 `resetb-gpios`와 `pwdn-gpios`는 각각 resetb와 power-down pin에 연결한 GPIO reference입니다.
Digital output video port용 `port` child 하나를 포함해야 하며 `Documentation/devicetree/bindings/media/video-interfaces.txt`를 따릅니다.
25MHz xvclk와 control GPIO로 sensor를 구동하고 endpoint를 ISI input에 연결합니다.
Atmel ISI 연결 예제
20-41예제는 I2C 주소 `0x30`의 sensor에 active-low resetb와 active-high pwdn GPIO를 연결하고 `pck0`을 25MHz xvclk로 지정합니다. `ov2640_0` endpoint는 Atmel ISI의 `isi_0`을 가리킵니다.
i2c1: i2c@f0018000 {
ov2640: camera@30 {
compatible = "ovti,ov2640";
reg = <0x30>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
clocks = <&pck0>;
clock-names = "xvclk";
assigned-clocks = <&pck0>;
assigned-clock-rates = <25000000>;
port {
ov2640_0: endpoint {
remote-endpoint = <&isi_0>;
};
};
};
};
요약과 해설
ovti,ov2640.txt:1-41여러 해상도·pixel format과 25MHz Atmel ISI 연결을 설명합니다.