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

Linux 6.18.37 · Devicetree Bindings

OmniVision OV7740 Image Sensor

OV7740의 image size, xvclk, control GPIO와 ISC endpoint 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

ovti,ov7740.txt:1-47

RAW RGB·YUV output과 24MHz capture graph를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Omnivision OV7740 CMOS image sensor
2
3 The Omnivision OV7740 image sensor supports multiple output image
4 size, such as VGA, and QVGA, CIF and any size smaller. It also
5 supports the RAW RGB and YUV output formats.
6
7 The common video interfaces bindings (see video-interfaces.txt) should
8 be used to specify link to the image data receiver. The OV7740 device
9 node should contain one 'port' child node with an 'endpoint' subnode.
10
11 Required Properties:
12 - compatible: "ovti,ov7740".
13 - reg: I2C slave address of the sensor.
14 - clocks: Reference to the xvclk input clock.
15 - clock-names: "xvclk".
16
17 Optional Properties:
18 - reset-gpios: Rreference to the GPIO connected to the reset_b pin,
19 if any. Active low with pull-ip resistor.
20 - powerdown-gpios: Reference to the GPIO connected to the pwdn pin,
21 if any. Active high with pull-down resistor.
22
23 Endpoint node mandatory properties:
24 - remote-endpoint: A phandle to the bus receiver's endpoint node.
25
26 Example:
27
28 i2c1: i2c@fc028000 {
29 ov7740: camera@21 {
30 compatible = "ovti,ov7740";
31 reg = <0x21>;
32 pinctrl-names = "default";
33 pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>;
34 clocks = <&isc>;
35 clock-names = "xvclk";
36 assigned-clocks = <&isc>;
37 assigned-clock-rates = <24000000>;
38 reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>;
39 powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>;
40
41 port {
42 ov7740_0: endpoint {
43 remote-endpoint = <&isc_0>;
44 };
45 };
46 };
47 };
48

3. 한국어 전문 번역

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

OV7740 image size와 endpoint

1-25

OmniVision OV7740 image sensor는 VGA, QVGA, CIF와 그보다 작은 여러 image size를 지원하고 RAW RGB와 YUV output format을 제공합니다.

Image data receiver와의 link는 `video-interfaces.txt`의 공통 binding을 사용합니다. Device node는 `port` child 하나와 `endpoint` subnode 하나를 포함해야 합니다.

필수 `compatible`은 `ovti,ov7740`, `reg`는 sensor I2C slave address, `clocks`는 xvclk reference, `clock-names`는 `xvclk`입니다. 선택적인 `reset-gpios`는 pull-up resistor가 있는 active-low reset_b, `powerdown-gpios`는 pull-down resistor가 있는 active-high pwdn pin입니다. Endpoint의 필수 `remote-endpoint`는 bus receiver endpoint의 phandle입니다.

OV7740 image path
isc 24MHzOV7740 xvclk
reset_b low / pwdn highGPIO control
ov7740_0 endpointImage data output
remote-endpointisc_0

24MHz xvclk로 sensor를 구동하고 공통 video endpoint graph로 ISC receiver에 연결합니다.

24MHz ISC 연결 예제

26-47

예제는 I2C 주소 `0x21`에서 ISC clock을 24MHz xvclk로 사용하고 PIOA 43·44를 active-low reset과 active-high powerdown으로 연결합니다. Sensor endpoint는 `isc_0`을 가리킵니다.

i2c1: i2c@fc028000 {
        ov7740: camera@21 {
                compatible = "ovti,ov7740";
                reg = <0x21>;
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_sensor_power &pinctrl_sensor_reset>;
                clocks = <&isc>;
                clock-names = "xvclk";
                assigned-clocks = <&isc>;
                assigned-clock-rates = <24000000>;
                reset-gpios = <&pioA 43 GPIO_ACTIVE_LOW>;
                powerdown-gpios = <&pioA 44 GPIO_ACTIVE_HIGH>;

                port {
                        ov7740_0: endpoint {
                                remote-endpoint = <&isc_0>;
                        };
                };
        };
};