Documentation/devicetree/bindings/media/i2c/ovti,ov2640.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

OmniVision OV2640 CMOS Sensor

OV2640의 xvclk, reset·powerdown과 ISI endpoint 바인딩입니다.

Source pathDocumentation/devicetree/bindings/media/i2c/ovti,ov2640.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

ovti,ov2640.txt:1-41

여러 해상도·pixel format과 25MHz Atmel ISI 연결을 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Omnivision OV2640 CMOS sensor
2
3 The Omnivision OV2640 sensor supports multiple resolutions output, such as
4 CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB
5 output formats.
6
7 Required Properties:
8 - compatible: should be "ovti,ov2640"
9 - clocks: reference to the xvclk input clock.
10 - clock-names: should be "xvclk".
11
12 Optional Properties:
13 - resetb-gpios: reference to the GPIO connected to the resetb pin, if any.
14 - pwdn-gpios: reference to the GPIO connected to the pwdn pin, if any.
15
16 The device node must contain one 'port' child node for its digital output
17 video port, in accordance with the video interface bindings defined in
18 Documentation/devicetree/bindings/media/video-interfaces.txt.
19
20 Example:
21
22 i2c1: i2c@f0018000 {
23 ov2640: camera@30 {
24 compatible = "ovti,ov2640";
25 reg = <0x30>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
28 resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
29 pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
30 clocks = <&pck0>;
31 clock-names = "xvclk";
32 assigned-clocks = <&pck0>;
33 assigned-clock-rates = <25000000>;
34
35 port {
36 ov2640_0: endpoint {
37 remote-endpoint = <&isi_0>;
38 };
39 };
40 };
41 };
42

3. 한국어 전문 번역

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

OV2640 output과 xvclk

1-19

OmniVision 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`를 따릅니다.

OV2640과 ISI 연결
pck0 25MHzOV2640 xvclk
resetb / pwdnSensor control
OV2640 outputov2640_0 endpoint
remote-endpointisi_0

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>;
                        };
                };
        };
};