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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/sony,imx296.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 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/media/i2c/sony,imx296.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Sony IMX296 1/2.8-Inch CMOS Image Sensor
  8 
  9 maintainers:
 10   - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
 11   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 12 
 13 description: |-
 14   The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image
 15   sensor with square pixel array and 1.58 M effective pixels. This chip
 16   features a global shutter with variable charge-integration time. It is
 17   programmable through I2C and 4-wire interfaces. The sensor output is
 18   available via CSI-2 serial data output (1 Lane).
 19 
 20 properties:
 21   compatible:
 22     enum:
 23       - sony,imx296
 24       - sony,imx296ll
 25       - sony,imx296lq
 26     description:
 27       The IMX296 sensor exists in two different models, a colour variant
 28       (IMX296LQ) and a monochrome variant (IMX296LL). The device exposes the
 29       model through registers, allowing for auto-detection with a common
 30       "sony,imx296" compatible string. However, some camera modules disable the
 31       ability to read the sensor model register, which disables this feature.
 32       In those cases, the exact model needs to be specified as "sony,imx296ll"
 33       or "sony,imx296lq".
 34 
 35   reg:
 36     maxItems: 1
 37 
 38   clocks:
 39     maxItems: 1
 40 
 41   clock-names:
 42     description: Input clock (37.125 MHz, 54 MHz or 74.25 MHz)
 43     items:
 44       - const: inck
 45 
 46   avdd-supply:
 47     description: Analog power supply (3.3V)
 48 
 49   dvdd-supply:
 50     description: Digital power supply (1.2V)
 51 
 52   ovdd-supply:
 53     description: Interface power supply (1.8V)
 54 
 55   reset-gpios:
 56     description: Sensor reset (XCLR) GPIO
 57     maxItems: 1
 58 
 59   port:
 60     $ref: /schemas/graph.yaml#/properties/port
 61 
 62 required:
 63   - compatible
 64   - reg
 65   - clocks
 66   - clock-names
 67   - avdd-supply
 68   - dvdd-supply
 69   - ovdd-supply
 70   - port
 71 
 72 additionalProperties: false
 73 
 74 examples:
 75   - |
 76     #include <dt-bindings/gpio/gpio.h>
 77 
 78     i2c {
 79         #address-cells = <1>;
 80         #size-cells = <0>;
 81 
 82         imx296: camera-sensor@1a {
 83             compatible = "sony,imx296";
 84             reg = <0x1a>;
 85 
 86             pinctrl-names = "default";
 87             pinctrl-0 = <&camera_rear_default>;
 88 
 89             clocks = <&gcc 90>;
 90             clock-names = "inck";
 91 
 92             avdd-supply = <&camera_vdda_3v3>;
 93             dvdd-supply = <&camera_vddd_1v2>;
 94             ovdd-supply = <&camera_vddo_1v8>;
 95 
 96             reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
 97 
 98             port {
 99                 imx296_ep: endpoint {
100                     remote-endpoint = <&csiphy0_ep>;
101                 };
102             };
103         };
104     };
105 
106 ...

~ [ 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