요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
MT9M001: 1/2-Inch Megapixel Digital Image Sensor
The MT9M001 is an SXGA-format with a 1/2-inch CMOS active-pixel digital
image sensor. It is programmable through I2C interface.
Required Properties:
- compatible: shall be "onnn,mt9m001".
- clocks: reference to the master clock into sensor
Optional Properties:
- reset-gpios: GPIO handle which is connected to the reset pin of the chip.
Active low.
- standby-gpios: GPIO handle which is connected to the standby pin of the chip.
Active high.
The device node must contain one 'port' child node with one 'endpoint' child
sub-node for its digital output video port, in accordance with the video
interface bindings defined in:
Documentation/devicetree/bindings/media/video-interfaces.txt
Example:
&i2c1 {
camera-sensor@5d {
compatible = "onnn,mt9m001";
reg = <0x5d>;
reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
standby-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
clocks = <&camera_clk>;
port {
mt9m001_out: endpoint {
remote-endpoint = <&vcap_in>;
};
};
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
MT9M001 sensor와 control GPIO
1-22MT9M001은 1/2-inch CMOS active-pixel digital image sensor를 사용하는 SXGA-format megapixel sensor이며 I2C interface로 program합니다.
필수 `compatible`은 `onnn,mt9m001`, `clocks`는 sensor에 들어가는 master clock reference입니다. 선택적인 `reset-gpios`는 active-low reset pin, `standby-gpios`는 active-high standby pin에 연결한 GPIO handle입니다.
Device node는 `Documentation/devicetree/bindings/media/video-interfaces.txt`에 따라 digital output video port용 `port` child 하나와 `endpoint` child 하나를 포함해야 합니다.
Master clock과 control GPIO가 sensor를 구동하고 video endpoint가 capture input으로 이어집니다.
I2C 0x5d camera 예제
23-38예제는 I2C1의 주소 `0x5d`에 sensor를 두고 GPIO0 line 0을 active-low reset, line 1을 active-high standby로 사용합니다. `camera_clk`를 공급하고 `mt9m001_out` endpoint를 `vcap_in`에 연결합니다.
&i2c1 {
camera-sensor@5d {
compatible = "onnn,mt9m001";
reg = <0x5d>;
reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
standby-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
clocks = <&camera_clk>;
port {
mt9m001_out: endpoint {
remote-endpoint = <&vcap_in>;
};
};
};
};
요약과 해설
onnn,mt9m001.txt:1-38Active-low reset과 active-high standby, capture endpoint를 설명합니다.