1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/a 4 $id: http://devicetree.org/schemas/media/i2c/aptina,mt9p031.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Aptina 1/2.5-Inch 5Mp CMOS Digital Imag 7 title: Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor 8 8 9 maintainers: 9 maintainers: 10 - Laurent Pinchart <laurent.pinchart@ideasonb 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 11 12 description: | 12 description: | 13 The Aptina MT9P031 is a 1/2.5-inch CMOS acti 13 The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor 14 with an active array size of 2592H x 1944V. 14 with an active array size of 2592H x 1944V. It is programmable through a 15 simple two-wire serial interface. 15 simple two-wire serial interface. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - aptina,mt9p006 20 - aptina,mt9p006 21 - aptina,mt9p031 21 - aptina,mt9p031 22 - aptina,mt9p031m 22 - aptina,mt9p031m 23 23 24 reg: 24 reg: 25 description: I2C device address 25 description: I2C device address 26 maxItems: 1 26 maxItems: 1 27 27 28 clocks: 28 clocks: 29 maxItems: 1 29 maxItems: 1 30 30 31 vdd-supply: 31 vdd-supply: 32 description: Digital supply voltage, 1.8 V 32 description: Digital supply voltage, 1.8 V 33 33 34 vdd_io-supply: 34 vdd_io-supply: 35 description: I/O supply voltage, 1.8 or 2. 35 description: I/O supply voltage, 1.8 or 2.8 V 36 36 37 vaa-supply: 37 vaa-supply: 38 description: Analog supply voltage, 2.8 V 38 description: Analog supply voltage, 2.8 V 39 39 40 reset-gpios: 40 reset-gpios: 41 maxItems: 1 41 maxItems: 1 42 description: Chip reset GPIO 42 description: Chip reset GPIO 43 43 44 port: 44 port: 45 $ref: /schemas/graph.yaml#/$defs/port-base 45 $ref: /schemas/graph.yaml#/$defs/port-base 46 additionalProperties: false 46 additionalProperties: false 47 47 48 properties: 48 properties: 49 endpoint: 49 endpoint: 50 $ref: /schemas/media/video-interfaces. 50 $ref: /schemas/media/video-interfaces.yaml# 51 unevaluatedProperties: false 51 unevaluatedProperties: false 52 52 53 properties: 53 properties: 54 input-clock-frequency: 54 input-clock-frequency: 55 $ref: /schemas/types.yaml#/definit 55 $ref: /schemas/types.yaml#/definitions/uint32 56 minimum: 6000000 56 minimum: 6000000 57 maximum: 96000000 57 maximum: 96000000 58 description: Input clock frequency 58 description: Input clock frequency 59 59 60 pixel-clock-frequency: 60 pixel-clock-frequency: 61 $ref: /schemas/types.yaml#/definit 61 $ref: /schemas/types.yaml#/definitions/uint32 62 maximum: 96000000 62 maximum: 96000000 63 description: Target pixel clock fr 63 description: Target pixel clock frequency 64 64 65 pclk-sample: 65 pclk-sample: 66 default: 0 66 default: 0 67 67 68 required: 68 required: 69 - input-clock-frequency 69 - input-clock-frequency 70 - pixel-clock-frequency 70 - pixel-clock-frequency 71 71 72 required: 72 required: 73 - compatible 73 - compatible 74 - reg 74 - reg 75 - clocks 75 - clocks 76 - vdd-supply 76 - vdd-supply 77 - vdd_io-supply 77 - vdd_io-supply 78 - vaa-supply 78 - vaa-supply 79 - port 79 - port 80 80 81 additionalProperties: false 81 additionalProperties: false 82 82 83 examples: 83 examples: 84 - | 84 - | 85 i2c { 85 i2c { 86 #address-cells = <1>; 86 #address-cells = <1>; 87 #size-cells = <0>; 87 #size-cells = <0>; 88 88 89 mt9p031@5d { 89 mt9p031@5d { 90 compatible = "aptina,mt9p031"; 90 compatible = "aptina,mt9p031"; 91 reg = <0x5d>; 91 reg = <0x5d>; 92 reset-gpios = <&gpio_sensor 0 0>; 92 reset-gpios = <&gpio_sensor 0 0>; 93 93 94 clocks = <&sensor_clk>; 94 clocks = <&sensor_clk>; 95 95 96 vdd-supply = <®_vdd>; 96 vdd-supply = <®_vdd>; 97 vdd_io-supply = <®_vdd_io>; 97 vdd_io-supply = <®_vdd_io>; 98 vaa-supply = <®_vaa>; 98 vaa-supply = <®_vaa>; 99 99 100 port { 100 port { 101 mt9p031_1: endpoint { 101 mt9p031_1: endpoint { 102 input-clock-frequency = <6 102 input-clock-frequency = <6000000>; 103 pixel-clock-frequency = <9 103 pixel-clock-frequency = <96000000>; 104 }; 104 }; 105 }; 105 }; 106 }; 106 }; 107 }; 107 }; 108 108 109 ... 109 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.