114 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/i2c/galaxycore,gc2145.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Galaxy Core 1/5'' UXGA CMOS Image Sensor8 9maintainers:10 - Alain Volmat <alain.volmat@foss.st.com>11 12description:13 The Galaxy Core GC2145 is a 2 Megapixel CMOS image sensor, for mobile14 phone camera applications and digital camera products. GC2145 incorporates a15 1616V x 1232H active pixel array, on-chip 10-bit ADC, and image signal16 processor allowing AE/AWB/interpolation/de-noise/color-conversion and17 gamma correction. Bayer RGB, RGB565 and YCbCr 4:2:2 can be provided by the18 sensor. It is programmable through an I2C interface. Image data is sent19 either through a parallel interface or through MIPI CSI-2.20 21allOf:22 - $ref: /schemas/media/video-interface-devices.yaml#23 24properties:25 compatible:26 const: galaxycore,gc214527 28 reg:29 const: 0x3c30 31 clocks:32 maxItems: 133 34 powerdown-gpios:35 maxItems: 136 37 reset-gpios:38 maxItems: 139 40 iovdd-supply:41 description: Power Supply for I/O circuits (1.7 - 3V).42 43 avdd-supply:44 description: Power for analog circuit/sensor array (2.7 - 3V).45 46 dvdd-supply:47 description: Power for digital core (1.7 - 1.9V).48 49 orientation: true50 51 rotation: true52 53 port:54 $ref: /schemas/graph.yaml#/$defs/port-base55 56 properties:57 endpoint:58 $ref: /schemas/media/video-interfaces.yaml#59 unevaluatedProperties: false60 61 properties:62 link-frequencies: true63 64 required:65 - link-frequencies66 67 required:68 - endpoint69 70 additionalProperties: false71 72required:73 - compatible74 - reg75 - clocks76 - powerdown-gpios77 - reset-gpios78 - iovdd-supply79 - avdd-supply80 - dvdd-supply81 - port82 83additionalProperties: false84 85examples:86 - |87 #include <dt-bindings/gpio/gpio.h>88 89 i2c {90 #address-cells = <1>;91 #size-cells = <0>;92 93 camera@3c {94 compatible = "galaxycore,gc2145";95 reg = <0x3c>;96 clocks = <&clk_ext_camera>;97 iovdd-supply = <&scmi_v3v3_sw>;98 avdd-supply = <&scmi_v3v3_sw>;99 dvdd-supply = <&scmi_v3v3_sw>;100 powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;101 reset-gpios = <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;102 103 port {104 endpoint {105 remote-endpoint = <&mipid02_0>;106 data-lanes = <1 2>;107 link-frequencies = /bits/ 64 <120000000 192000000 240000000>;108 };109 };110 };111 };112 113...114