← Documents Documentation/devicetree/bindings/media/i2c/ovti,ov9650.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

OmniVision OV9650 and OV9652 Sensors

OV9650/OV9652의 xvclk, active-high GPIO와 video endpoint 바인딩입니다.

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

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

ovti,ov9650.txt:1-36

Sensor variant와 VCAP capture 연결을 설명합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 * Omnivision OV9650/OV9652 CMOS sensor
2
3 Required Properties:
4 - compatible: shall be one of
5 "ovti,ov9650"
6 "ovti,ov9652"
7 - clocks: reference to the xvclk input clock.
8
9 Optional Properties:
10 - reset-gpios: reference to the GPIO connected to the resetb pin, if any.
11 Active is high.
12 - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
13 Active is high.
14
15 The device node shall contain one 'port' child node with one child 'endpoint'
16 subnode for its digital output video port, in accordance with the video
17 interface bindings defined in Documentation/devicetree/bindings/media/
18 video-interfaces.txt.
19
20 Example:
21
22 &i2c0 {
23 ov9650: camera@30 {
24 compatible = "ovti,ov9650";
25 reg = <0x30>;
26 reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>;
27 powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>;
28 clocks = <&xclk>;
29
30 port {
31 ov9650_0: endpoint {
32 remote-endpoint = <&vcap1_in0>;
33 };
34 };
35 };
36 };
37

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

OV9650/OV9652 control과 port

1-19

OmniVision OV9650/OV9652 CMOS sensor의 필수 `compatible`은 `ovti,ov9650` 또는 `ovti,ov9652`이며 `clocks`는 xvclk input clock reference입니다.

선택적인 `reset-gpios`와 `powerdown-gpios`는 각각 resetb와 pwdn pin을 가리키며 둘 다 active-high입니다. Device node는 `Documentation/devicetree/bindings/media/video-interfaces.txt`에 따라 digital output video port용 `port` child와 `endpoint` child를 하나씩 포함해야 합니다.

OV9650 capture graph
xclkOV9650/OV9652
reset highreset-gpios
powerdown highpowerdown-gpios
ov9650_0vcap1_in0 endpoint

xvclk와 두 active-high GPIO로 sensor를 제어하고 endpoint를 video capture input에 연결합니다.

VCAP endpoint 예제

20-36

예제는 I2C 주소 `0x30`의 OV9650에 AXI GPIO line 0과 1을 active-high reset·powerdown으로 연결하고 `xclk`를 공급합니다. Output endpoint는 `vcap1_in0`을 가리킵니다.

&i2c0 {
        ov9650: camera@30 {
                compatible = "ovti,ov9650";
                reg = <0x30>;
                reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_HIGH>;
                powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_HIGH>;
                clocks = <&xclk>;

                port {
                        ov9650_0: endpoint {
                                remote-endpoint = <&vcap1_in0>;
                        };
                };
        };
};