1333b3125SMartina Krasteva# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2333b3125SMartina Krasteva# Copyright (C) 2021 Intel Corporation 3333b3125SMartina Krasteva%YAML 1.2 4333b3125SMartina Krasteva--- 5333b3125SMartina Krasteva$id: http://devicetree.org/schemas/media/i2c/sony,imx412.yaml# 6333b3125SMartina Krasteva$schema: http://devicetree.org/meta-schemas/core.yaml# 7333b3125SMartina Krasteva 8333b3125SMartina Krastevatitle: Sony IMX412 Sensor 9333b3125SMartina Krasteva 10333b3125SMartina Krastevamaintainers: 11333b3125SMartina Krasteva - Paul J. Murphy <paul.j.murphy@intel.com> 12333b3125SMartina Krasteva - Daniele Alessandrelli <daniele.alessandrelli@intel.com> 13333b3125SMartina Krasteva 14333b3125SMartina Krastevadescription: 15333b3125SMartina Krasteva IMX412 sensor is a Sony CMOS active pixel digital image sensor with an active 16333b3125SMartina Krasteva array size of 4072H x 3176V. It is programmable through I2C interface. The 17333b3125SMartina Krasteva I2C client address is fixed to 0x1a as per sensor data sheet. Image data is 18333b3125SMartina Krasteva sent through MIPI CSI-2. 19333b3125SMartina Krasteva 20333b3125SMartina Krastevaproperties: 21333b3125SMartina Krasteva compatible: 22fd1c9499SBryan O'Donoghue enum: 23fd1c9499SBryan O'Donoghue - sony,imx412 24fd1c9499SBryan O'Donoghue - sony,imx577 25333b3125SMartina Krasteva reg: 26333b3125SMartina Krasteva description: I2C address 27333b3125SMartina Krasteva maxItems: 1 28333b3125SMartina Krasteva 29333b3125SMartina Krasteva assigned-clocks: true 30333b3125SMartina Krasteva assigned-clock-parents: true 31333b3125SMartina Krasteva assigned-clock-rates: true 32333b3125SMartina Krasteva 33333b3125SMartina Krasteva clocks: 34333b3125SMartina Krasteva description: Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz 35333b3125SMartina Krasteva maxItems: 1 36333b3125SMartina Krasteva 372aab3abfSBryan O'Donoghue dovdd-supply: 382aab3abfSBryan O'Donoghue description: Interface power supply. 392aab3abfSBryan O'Donoghue 402aab3abfSBryan O'Donoghue avdd-supply: 412aab3abfSBryan O'Donoghue description: Analog power supply. 422aab3abfSBryan O'Donoghue 432aab3abfSBryan O'Donoghue dvdd-supply: 442aab3abfSBryan O'Donoghue description: Digital power supply. 452aab3abfSBryan O'Donoghue 46333b3125SMartina Krasteva reset-gpios: 47333b3125SMartina Krasteva description: Reference to the GPIO connected to the XCLR pin, if any. 48333b3125SMartina Krasteva maxItems: 1 49333b3125SMartina Krasteva 50333b3125SMartina Krasteva port: 51333b3125SMartina Krasteva additionalProperties: false 5255442e6aSRob Herring $ref: /schemas/graph.yaml#/$defs/port-base 53333b3125SMartina Krasteva 54333b3125SMartina Krasteva properties: 55333b3125SMartina Krasteva endpoint: 56333b3125SMartina Krasteva $ref: /schemas/media/video-interfaces.yaml# 57333b3125SMartina Krasteva unevaluatedProperties: false 58333b3125SMartina Krasteva 59333b3125SMartina Krasteva properties: 60333b3125SMartina Krasteva data-lanes: true 61333b3125SMartina Krasteva link-frequencies: true 62333b3125SMartina Krasteva 63333b3125SMartina Krasteva required: 64333b3125SMartina Krasteva - data-lanes 65333b3125SMartina Krasteva - link-frequencies 66333b3125SMartina Krasteva 67333b3125SMartina Krasteva required: 68333b3125SMartina Krasteva - endpoint 69333b3125SMartina Krasteva 70333b3125SMartina Krastevarequired: 71333b3125SMartina Krasteva - compatible 72333b3125SMartina Krasteva - reg 73333b3125SMartina Krasteva - clocks 74333b3125SMartina Krasteva - port 75333b3125SMartina Krasteva 76333b3125SMartina KrastevaadditionalProperties: false 77333b3125SMartina Krasteva 78333b3125SMartina Krastevaexamples: 79333b3125SMartina Krasteva - | 80*20a72af1SRob Herring i2c { 81333b3125SMartina Krasteva #address-cells = <1>; 82333b3125SMartina Krasteva #size-cells = <0>; 83333b3125SMartina Krasteva 84333b3125SMartina Krasteva camera@1a { 85333b3125SMartina Krasteva compatible = "sony,imx412"; 86333b3125SMartina Krasteva reg = <0x1a>; 87333b3125SMartina Krasteva clocks = <&imx412_clk>; 88333b3125SMartina Krasteva 89333b3125SMartina Krasteva assigned-clocks = <&imx412_clk>; 90333b3125SMartina Krasteva assigned-clock-parents = <&imx412_clk_parent>; 91333b3125SMartina Krasteva assigned-clock-rates = <24000000>; 92333b3125SMartina Krasteva 93333b3125SMartina Krasteva port { 94333b3125SMartina Krasteva imx412: endpoint { 95333b3125SMartina Krasteva remote-endpoint = <&cam>; 96333b3125SMartina Krasteva data-lanes = <1 2 3 4>; 97333b3125SMartina Krasteva link-frequencies = /bits/ 64 <600000000>; 98333b3125SMartina Krasteva }; 99333b3125SMartina Krasteva }; 100333b3125SMartina Krasteva }; 101333b3125SMartina Krasteva }; 102333b3125SMartina Krasteva... 103