~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/media/i2c/sony,imx214.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor
  8 
  9 maintainers:
 10   - Ricardo Ribalda <ribalda@kernel.org>
 11 
 12 description: |
 13   The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with
 14   an active array size of 4224H x 3200V. It is programmable through an I2C
 15   interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a
 16   maximum throughput of 1.2Gbps/lane.
 17 
 18 allOf:
 19   - $ref: /schemas/media/video-interface-devices.yaml#
 20 
 21 properties:
 22   compatible:
 23     const: sony,imx214
 24 
 25   reg:
 26     enum:
 27       - 0x10
 28       - 0x1a
 29 
 30   clocks:
 31     description: Reference to the xclk clock.
 32     maxItems: 1
 33 
 34   clock-frequency:
 35     description: Frequency of the xclk clock in Hz.
 36 
 37   enable-gpios:
 38     description: GPIO descriptor for the enable pin.
 39     maxItems: 1
 40 
 41   vdddo-supply:
 42     description: Chip digital IO regulator (1.8V).
 43 
 44   vdda-supply:
 45     description: Chip analog regulator (2.7V).
 46 
 47   vddd-supply:
 48     description: Chip digital core regulator (1.12V).
 49 
 50   flash-leds: true
 51   lens-focus: true
 52 
 53   port:
 54     $ref: /schemas/graph.yaml#/$defs/port-base
 55     description: |
 56       Video output port.
 57 
 58     properties:
 59       endpoint:
 60         $ref: /schemas/media/video-interfaces.yaml#
 61         unevaluatedProperties: false
 62 
 63         properties:
 64           data-lanes:
 65             anyOf:
 66               - items:
 67                   - const: 1
 68                   - const: 2
 69               - items:
 70                   - const: 1
 71                   - const: 2
 72                   - const: 3
 73                   - const: 4
 74 
 75           link-frequencies: true
 76 
 77         required:
 78           - data-lanes
 79           - link-frequencies
 80 
 81     additionalProperties: false
 82 
 83 required:
 84   - compatible
 85   - reg
 86   - clocks
 87   - clock-frequency
 88   - enable-gpios
 89   - vdddo-supply
 90   - vdda-supply
 91   - vddd-supply
 92   - port
 93 
 94 unevaluatedProperties: false
 95 
 96 examples:
 97   - |
 98     #include <dt-bindings/gpio/gpio.h>
 99 
100     i2c {
101         #address-cells = <1>;
102         #size-cells = <0>;
103 
104         camera-sensor@1a {
105             compatible = "sony,imx214";
106             reg = <0x1a>;
107             vdddo-supply = <&pm8994_lvs1>;
108             vddd-supply = <&camera_vddd_1v12>;
109             vdda-supply = <&pm8994_l17>;
110             lens-focus = <&ad5820>;
111             enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
112             clocks = <&camera_clk>;
113             clock-frequency = <24000000>;
114 
115             port {
116                 imx214_ep: endpoint {
117                     data-lanes = <1 2 3 4>;
118                     link-frequencies = /bits/ 64 <480000000>;
119                     remote-endpoint = <&csiphy0_ep>;
120                 };
121             };
122         };
123     };
124 
125 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php