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

Linux 6.18.37 · Devicetree Bindings

OmniVision OV2659 2MP Camera

OV2659의 SCCB, xvclk, control GPIO와 target pixel clock 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

ovti,ov2659.txt:1-47

2MP array와 70MHz VPFE endpoint 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * OV2659 1/5-Inch 2Mp SOC Camera
2
3 The Omnivision OV2659 is a 1/5-inch SOC camera, with an active array size of
4 1632H x 1212V. It is programmable through a SCCB. The OV2659 sensor supports
5 multiple resolutions output, such as UXGA, SVGA, 720p. It also can support
6 YUV422, RGB565/555 or raw RGB output formats.
7
8 Required Properties:
9 - compatible: Must be "ovti,ov2659"
10 - reg: I2C slave address
11 - clocks: reference to the xvclk input clock.
12 - clock-names: should be "xvclk".
13 - link-frequencies: target pixel clock frequency.
14
15 Optional Properties:
16 - powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
17 Active high with internal pull down resistor.
18 - reset-gpios: reference to the GPIO connected to the resetb pin, if any.
19 Active low with internal pull up resistor.
20
21 For further reading on port node refer to
22 Documentation/devicetree/bindings/media/video-interfaces.txt.
23
24 Example:
25
26 i2c0@1c22000 {
27 ...
28 ...
29 ov2659@30 {
30 compatible = "ovti,ov2659";
31 reg = <0x30>;
32
33 clocks = <&clk_ov2659 0>;
34 clock-names = "xvclk";
35
36 powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
37 reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
38
39 port {
40 ov2659_0: endpoint {
41 remote-endpoint = <&vpfe_ep>;
42 link-frequencies = /bits/ 64 <70000000>;
43 };
44 };
45 };
46 ...
47 };
48

3. 한국어 전문 번역

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

OV2659 2MP SoC camera

1-23

OmniVision OV2659는 active array 1632H × 1212V의 1/5-inch 2MP SoC camera이며 SCCB로 program합니다. UXGA, SVGA, 720p를 비롯한 여러 해상도와 YUV422, RGB565/555, raw RGB output을 지원합니다.

필수 `compatible`은 `ovti,ov2659`, `reg`는 I2C slave address, `clocks`는 xvclk reference, `clock-names`는 `xvclk`, `link-frequencies`는 목표 pixel clock frequency입니다.

선택적인 `powerdown-gpios`는 internal pull-down resistor가 있는 active-high pwdn pin, `reset-gpios`는 internal pull-up resistor가 있는 active-low resetb pin입니다. Port node 규칙은 `Documentation/devicetree/bindings/media/video-interfaces.txt`를 따릅니다.

OV2659 video link
xvclkOV2659
powerdown high / reset lowGPIO control
70MHz link frequencyov2659_0 endpoint
remote-endpointvpfe_ep

Clock·reset·powerdown으로 sensor를 제어하고 64-bit link frequency와 endpoint를 capture 장치에 전달합니다.

70MHz VPFE endpoint 예제

24-47

예제는 I2C 주소 `0x30`, active-high powerdown GPIO6 line 14, active-low reset GPIO6 line 15를 사용합니다. Endpoint는 `vpfe_ep`를 가리키고 `/bits/ 64 <70000000>`으로 70MHz target pixel clock을 지정합니다.

i2c0@1c22000 {
        ...
        ...
         ov2659@30 {
                compatible = "ovti,ov2659";
                reg = <0x30>;

                clocks = <&clk_ov2659 0>;
                clock-names = "xvclk";

                powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;

                port {
                        ov2659_0: endpoint {
                                remote-endpoint = <&vpfe_ep>;
                                link-frequencies = /bits/ 64 <70000000>;
                        };
                };
        };
        ...
};