mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Pull devicetree updates from Rob Herring: - Sync dtc to upstream version v1.6.0-51-g183df9e9c2b9 and build host fdtoverlay - Add kbuild support to build DT overlays (%.dtbo) - Drop NULLifying match table in of_match_device(). In preparation for this, there are several driver cleanups to use (of_)?device_get_match_data(). - Drop pointless wrappers from DT struct device API - Convert USB binding schemas to use graph schema and remove old plain text graph binding doc - Convert spi-nor and v3d GPU bindings to DT schema - Tree wide schema fixes for if/then schemas, array size constraints, and undocumented compatible strings in examples - Handle 'no-map' correctly for already reserved memblock regions * tag 'devicetree-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (35 commits) driver core: platform: Drop of_device_node_put() wrapper of: Remove of_dev_{get,put}() dt-bindings: usb: Change descibe to describe in usbmisc-imx.txt dt-bindings: can: rcar_canfd: Group tuples in pin control properties dt-bindings: power: renesas,apmu: Group tuples in cpus properties dt-bindings: mtd: spi-nor: Convert to DT schema format dt-bindings: Use portable sort for version cmp dt-bindings: ethernet-controller: fix fixed-link specification dt-bindings: irqchip: Add node name to PRUSS INTC dt-bindings: interconnect: Fix the expected number of cells dt-bindings: Fix errors in 'if' schemas dt-bindings: iommu: renesas,ipmmu-vmsa: Make 'power-domains' conditionally required dt-bindings: Fix undocumented compatible strings in examples kbuild: Add support to build overlays (%.dtbo) scripts: dtc: Remove the unused fdtdump.c file scripts: dtc: Build fdtoverlay tool scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 scripts: dtc: Fetch fdtoverlay.c from external DTC project dt-bindings: thermal: sun8i: Fix misplaced schema keyword in compatible strings dt-bindings: iio: dac: Fix AD5686 references ...
110 lines
2.6 KiB
YAML
110 lines
2.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/media/i2c/imx219.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor
|
|
|
|
maintainers:
|
|
- Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
|
|
description: |-
|
|
The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor
|
|
with an active array size of 3280H x 2464V. It is programmable through
|
|
I2C interface. The I2C address is fixed to 0x10 as per sensor data sheet.
|
|
Image data is sent through MIPI CSI-2, which is configured as either 2 or
|
|
4 data lanes.
|
|
|
|
properties:
|
|
compatible:
|
|
const: sony,imx219
|
|
|
|
reg:
|
|
description: I2C device address
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
VDIG-supply:
|
|
description:
|
|
Digital I/O voltage supply, 1.8 volts
|
|
|
|
VANA-supply:
|
|
description:
|
|
Analog voltage supply, 2.8 volts
|
|
|
|
VDDL-supply:
|
|
description:
|
|
Digital core voltage supply, 1.2 volts
|
|
|
|
reset-gpios:
|
|
maxItems: 1
|
|
description: |-
|
|
Reference to the GPIO connected to the xclr pin, if any.
|
|
Must be released (set high) after all supplies are applied.
|
|
|
|
port:
|
|
$ref: /schemas/graph.yaml#/$defs/port-base
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
endpoint:
|
|
$ref: /schemas/media/video-interfaces.yaml#
|
|
unevaluatedProperties: false
|
|
|
|
properties:
|
|
data-lanes:
|
|
description: |-
|
|
The sensor supports either two-lane, or four-lane operation.
|
|
If this property is omitted four-lane operation is assumed.
|
|
For two-lane operation the property must be set to <1 2>.
|
|
items:
|
|
- const: 1
|
|
- const: 2
|
|
|
|
clock-noncontinuous: true
|
|
link-frequencies: true
|
|
|
|
required:
|
|
- link-frequencies
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- VANA-supply
|
|
- VDIG-supply
|
|
- VDDL-supply
|
|
- port
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
imx219: sensor@10 {
|
|
compatible = "sony,imx219";
|
|
reg = <0x10>;
|
|
clocks = <&imx219_clk>;
|
|
VANA-supply = <&imx219_vana>; /* 2.8v */
|
|
VDIG-supply = <&imx219_vdig>; /* 1.8v */
|
|
VDDL-supply = <&imx219_vddl>; /* 1.2v */
|
|
|
|
port {
|
|
imx219_0: endpoint {
|
|
remote-endpoint = <&csi1_ep>;
|
|
data-lanes = <1 2>;
|
|
clock-noncontinuous;
|
|
link-frequencies = /bits/ 64 <456000000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
...
|