1 From 543fdf41f158306f263ead06f6036cdfc1e73b05 Mon Sep 17 00:00:00 2001
2 From: Lee Jackson <info@arducam.com>
3 Date: Thu, 21 Apr 2022 14:18:44 +0800
4 Subject: [PATCH] media: dt-bindings: media: i2c: Add Arducam Pivariety
5 Series CMOS sensor binding
7 Add YAML device tree binding for Arducam Pivariety CMOS image sensor, and
8 the relevant MAINTAINERS entries.
10 Signed-off-by: Lee Jackson <info@arducam.com>
12 .../bindings/media/i2c/arducam-pivariety.yaml | 112 ++++++++++++++++++
14 2 files changed, 120 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml
18 +++ b/Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml
20 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
23 +$id: http://devicetree.org/schemas/media/i2c/arducam-pivariety.yaml#
24 +$schema: http://devicetree.org/meta-schemas/core.yaml#
26 +title: Arducam Pivariety Series CMOS Digital Image Sensor
29 + - Lee Jackson <info@arducam.com>
32 + Arducam Pivariety series cameras make compatibility layers for various CMOS
33 + sensors and provide a unified command interface. It is programmable through
34 + I2C interface. The I2C address is fixed to 0x0C. Image data is sent through
35 + MIPI CSI-2, which is configured as either 1, 2 or 4 data lanes.
39 + const: arducam,arducam-pivariety
42 + description: I2C device address
50 + Digital I/O voltage supply, 1.05 volts
54 + Analog voltage supply, 2.8 volts
58 + Digital core voltage supply, 1.8 volts
62 + Reference to the GPIO connected to the xclr pin, if any.
63 + Must be released (set high) after all supplies and INCK are applied.
65 + # See ../video-interfaces.txt for more details
74 + The sensor supports either two-lane, or four-lane operation.
75 + For two-lane operation the property must be set to <1 2>.
80 + clock-noncontinuous:
83 + MIPI CSI-2 clock is non-continuous if this property is present,
84 + otherwise it's continuous.
88 + - $ref: /schemas/types.yaml#/definitions/uint64-array
90 + Allowed data bus frequencies.
104 +additionalProperties: false
109 + #address-cells = <1>;
112 + arducam_pivariety: sensor@0c {
113 + compatible = "arducam,arducam-pivariety";
115 + clocks = <&arducam_pivariety_clk>;
116 + VANA-supply = <&arducam_pivariety_vana>; /* 2.8v */
117 + VDIG-supply = <&arducam_pivariety_vdig>; /* 1.05v */
118 + VDDL-supply = <&arducam_pivariety_vddl>; /* 1.8v */
121 + arducam_pivariety_0: endpoint {
122 + remote-endpoint = <&csi1_ep>;
123 + data-lanes = <1 2>;
124 + clock-noncontinuous;
125 + link-frequencies = /bits/ 64 <493500000>;
134 @@ -1559,6 +1559,14 @@ S: Maintained
135 F: drivers/net/arcnet/
136 F: include/uapi/linux/if_arcnet.h
138 +ARDUCAM PIVARIETY SENSOR DRIVER
139 +M: Arducam Kernel Maintenance <info@arducam.com>
140 +L: linux-media@vger.kernel.org
142 +T: git git://linuxtv.org/media_tree.git
143 +F: Documentation/devicetree/bindings/media/i2c/arducam-pivariety.yaml
144 +F: drivers/media/i2c/arducam-pivariety.c
146 ARM ARCHITECTED TIMER DRIVER
147 M: Mark Rutland <mark.rutland@arm.com>
148 M: Marc Zyngier <maz@kernel.org>