← Documents Documentation/devicetree/bindings/media/i2c/onnn,mt9m001.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

ON Semiconductor MT9M001 Image Sensor

SXGA CMOS sensor의 master clock, reset·standby GPIO와 endpoint 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

onnn,mt9m001.txt:1-38

Active-low reset과 active-high standby, capture endpoint를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 MT9M001: 1/2-Inch Megapixel Digital Image Sensor
2
3 The MT9M001 is an SXGA-format with a 1/2-inch CMOS active-pixel digital
4 image sensor. It is programmable through I2C interface.
5
6 Required Properties:
7
8 - compatible: shall be "onnn,mt9m001".
9 - clocks: reference to the master clock into sensor
10
11 Optional Properties:
12
13 - reset-gpios: GPIO handle which is connected to the reset pin of the chip.
14 Active low.
15 - standby-gpios: GPIO handle which is connected to the standby pin of the chip.
16 Active high.
17
18 The device node must contain one 'port' child node with one 'endpoint' child
19 sub-node for its digital output video port, in accordance with the video
20 interface bindings defined in:
21 Documentation/devicetree/bindings/media/video-interfaces.txt
22
23 Example:
24
25 &i2c1 {
26 camera-sensor@5d {
27 compatible = "onnn,mt9m001";
28 reg = <0x5d>;
29 reset-gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
30 standby-gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
31 clocks = <&camera_clk>;
32 port {
33 mt9m001_out: endpoint {
34 remote-endpoint = <&vcap_in>;
35 };
36 };
37 };
38 };
39

3. 한국어 전문 번역

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

MT9M001 sensor와 control GPIO

1-22

MT9M001은 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 하나를 포함해야 합니다.

MT9M001 capture 연결
camera_clkMT9M001
active-low resetreset-gpios
active-high standbystandby-gpios
mt9m001_outvcap_in endpoint

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>;
                        };
                };
        };
};