요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
* Omnivision OV9650/OV9652 CMOS sensor
Required Properties:
- compatible: shall be one of
"ovti,ov9650"
"ovti,ov9652"
- clocks: reference to the xvclk input clock.
Optional Properties:
- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
Active is high.
- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
Active is high.
The device node shall contain one 'port' child node with one child 'endpoint'
subnode for its digital output video port, in accordance with the video
interface bindings defined in Documentation/devicetree/bindings/media/
video-interfaces.txt.
Example:
&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>;
};
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
OV9650/OV9652 control과 port
1-19OmniVision 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를 하나씩 포함해야 합니다.
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>;
};
};
};
};
요약과 해설
ovti,ov9650.txt:1-36Sensor variant와 VCAP capture 연결을 설명합니다.