1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2cb7aa33aSEmmanuel Vadot%YAML 1.2 3cb7aa33aSEmmanuel Vadot--- 4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/media/i2c/sony,imx415.yaml# 5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6cb7aa33aSEmmanuel Vadot 7cb7aa33aSEmmanuel Vadottitle: Sony IMX415 CMOS Image Sensor 8cb7aa33aSEmmanuel Vadot 9cb7aa33aSEmmanuel Vadotmaintainers: 10cb7aa33aSEmmanuel Vadot - Michael Riesch <michael.riesch@wolfvision.net> 11cb7aa33aSEmmanuel Vadot 12cb7aa33aSEmmanuel Vadotdescription: |- 13cb7aa33aSEmmanuel Vadot The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type 14cb7aa33aSEmmanuel Vadot solid-state image sensor with a square pixel array and 8.46 M effective 15cb7aa33aSEmmanuel Vadot pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface 16cb7aa33aSEmmanuel Vadot 1.8 V triple power supply, and has low power consumption. 17cb7aa33aSEmmanuel Vadot The IMX415 is programmable through I2C interface. The sensor output is 18cb7aa33aSEmmanuel Vadot available via CSI-2 serial data output (two or four lanes). 19cb7aa33aSEmmanuel Vadot 20cb7aa33aSEmmanuel VadotallOf: 21cb7aa33aSEmmanuel Vadot - $ref: ../video-interface-devices.yaml# 22cb7aa33aSEmmanuel Vadot 23cb7aa33aSEmmanuel Vadotproperties: 24cb7aa33aSEmmanuel Vadot compatible: 25cb7aa33aSEmmanuel Vadot const: sony,imx415 26cb7aa33aSEmmanuel Vadot 27cb7aa33aSEmmanuel Vadot reg: 28cb7aa33aSEmmanuel Vadot maxItems: 1 29cb7aa33aSEmmanuel Vadot 30cb7aa33aSEmmanuel Vadot clocks: 31cb7aa33aSEmmanuel Vadot description: Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz) 32cb7aa33aSEmmanuel Vadot maxItems: 1 33cb7aa33aSEmmanuel Vadot 34cb7aa33aSEmmanuel Vadot avdd-supply: 35cb7aa33aSEmmanuel Vadot description: Analog power supply (2.9 V) 36cb7aa33aSEmmanuel Vadot 37cb7aa33aSEmmanuel Vadot dvdd-supply: 38cb7aa33aSEmmanuel Vadot description: Digital power supply (1.1 V) 39cb7aa33aSEmmanuel Vadot 40cb7aa33aSEmmanuel Vadot ovdd-supply: 41cb7aa33aSEmmanuel Vadot description: Interface power supply (1.8 V) 42cb7aa33aSEmmanuel Vadot 43cb7aa33aSEmmanuel Vadot reset-gpios: 44cb7aa33aSEmmanuel Vadot description: Sensor reset (XCLR) GPIO 45cb7aa33aSEmmanuel Vadot maxItems: 1 46cb7aa33aSEmmanuel Vadot 47cb7aa33aSEmmanuel Vadot port: 48cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 49aa1a8ff2SEmmanuel Vadot unevaluatedProperties: false 50cb7aa33aSEmmanuel Vadot 51cb7aa33aSEmmanuel Vadot properties: 52cb7aa33aSEmmanuel Vadot endpoint: 53cb7aa33aSEmmanuel Vadot $ref: /schemas/media/video-interfaces.yaml# 54cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 55cb7aa33aSEmmanuel Vadot 56cb7aa33aSEmmanuel Vadot properties: 57cb7aa33aSEmmanuel Vadot data-lanes: 58cb7aa33aSEmmanuel Vadot oneOf: 59cb7aa33aSEmmanuel Vadot - items: 60cb7aa33aSEmmanuel Vadot - const: 1 61cb7aa33aSEmmanuel Vadot - const: 2 62cb7aa33aSEmmanuel Vadot - items: 63cb7aa33aSEmmanuel Vadot - const: 1 64cb7aa33aSEmmanuel Vadot - const: 2 65cb7aa33aSEmmanuel Vadot - const: 3 66cb7aa33aSEmmanuel Vadot - const: 4 67cb7aa33aSEmmanuel Vadot 68cb7aa33aSEmmanuel Vadot required: 69cb7aa33aSEmmanuel Vadot - data-lanes 70cb7aa33aSEmmanuel Vadot - link-frequencies 71cb7aa33aSEmmanuel Vadot 72cb7aa33aSEmmanuel Vadot required: 73cb7aa33aSEmmanuel Vadot - endpoint 74cb7aa33aSEmmanuel Vadot 75cb7aa33aSEmmanuel Vadotrequired: 76cb7aa33aSEmmanuel Vadot - compatible 77cb7aa33aSEmmanuel Vadot - reg 78cb7aa33aSEmmanuel Vadot - clocks 79cb7aa33aSEmmanuel Vadot - avdd-supply 80cb7aa33aSEmmanuel Vadot - dvdd-supply 81cb7aa33aSEmmanuel Vadot - ovdd-supply 82cb7aa33aSEmmanuel Vadot - port 83cb7aa33aSEmmanuel Vadot 84*84943d6fSEmmanuel VadotunevaluatedProperties: false 85cb7aa33aSEmmanuel Vadot 86cb7aa33aSEmmanuel Vadotexamples: 87cb7aa33aSEmmanuel Vadot - | 88cb7aa33aSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 89cb7aa33aSEmmanuel Vadot 90cb7aa33aSEmmanuel Vadot i2c { 91cb7aa33aSEmmanuel Vadot #address-cells = <1>; 92cb7aa33aSEmmanuel Vadot #size-cells = <0>; 93cb7aa33aSEmmanuel Vadot 94cb7aa33aSEmmanuel Vadot imx415: camera-sensor@1a { 95cb7aa33aSEmmanuel Vadot compatible = "sony,imx415"; 96cb7aa33aSEmmanuel Vadot reg = <0x1a>; 97cb7aa33aSEmmanuel Vadot avdd-supply = <&vcc2v9_cam>; 98cb7aa33aSEmmanuel Vadot clocks = <&clock_cam>; 99cb7aa33aSEmmanuel Vadot dvdd-supply = <&vcc1v1_cam>; 100cb7aa33aSEmmanuel Vadot lens-focus = <&vcm>; 101cb7aa33aSEmmanuel Vadot orientation = <2>; 102cb7aa33aSEmmanuel Vadot ovdd-supply = <&vcc1v8_cam>; 103cb7aa33aSEmmanuel Vadot reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>; 104cb7aa33aSEmmanuel Vadot rotation = <180>; 105cb7aa33aSEmmanuel Vadot 106cb7aa33aSEmmanuel Vadot port { 107cb7aa33aSEmmanuel Vadot imx415_ep: endpoint { 108cb7aa33aSEmmanuel Vadot data-lanes = <1 2 3 4>; 109cb7aa33aSEmmanuel Vadot link-frequencies = /bits/ 64 <445500000>; 110cb7aa33aSEmmanuel Vadot remote-endpoint = <&mipi_in>; 111cb7aa33aSEmmanuel Vadot }; 112cb7aa33aSEmmanuel Vadot }; 113cb7aa33aSEmmanuel Vadot }; 114cb7aa33aSEmmanuel Vadot }; 115cb7aa33aSEmmanuel Vadot... 116