Galaxy Core 1/5'' UXGA CMOS Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/galaxycore,gc2145.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alain Volmat <alain.volmat@foss.st.com>"
The Galaxy Core GC2145 is a 2 Megapixel CMOS image sensor, for mobile phone camera applications and digital camera products. GC2145 incorporates a 1616V x 1232H active pixel array, on-chip 10-bit ADC, and image signal processor allowing AE/AWB/interpolation/de-noise/color-conversion and gamma correction. Bayer RGB, RGB565 and YCbCr 4:2:2 can be provided by the sensor. It is programmable through an I2C interface. Image data is sent either through a parallel interface or through MIPI CSI-2.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/video-interface-devices.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "galaxycore,gc2145"
reg — required here #
Exact value (const): 60
clocks — required here #
Maximum number of items (maxItems): 1
powerdown-gpios — required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
Maximum number of items (maxItems): 1
iovdd-supply — required here #
Power Supply for I/O circuits (1.7 - 3V).
avdd-supply — required here #
Power for analog circuit/sensor array (2.7 - 3V).
dvdd-supply — required here #
Power for digital core (1.7 - 1.9V).
orientation — not listed as required here #
true — No constraints added by this property rule.
rotation — not listed as required here #
true — No constraints added by this property rule.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties and child nodes (properties) #
endpoint — required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "link-frequencies"
Required in this object (required): "endpoint"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "powerdown-gpios", "reset-gpios", "iovdd-supply", "avdd-supply", "dvdd-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@3c {
compatible = "galaxycore,gc2145";
reg = <0x3c>;
clocks = <&clk_ext_camera>;
iovdd-supply = <&scmi_v3v3_sw>;
avdd-supply = <&scmi_v3v3_sw>;
dvdd-supply = <&scmi_v3v3_sw>;
powerdown-gpios = <&mcp23017 3 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
reset-gpios = <&mcp23017 4 (GPIO_ACTIVE_LOW | GPIO_PUSH_PULL)>;
port {
endpoint {
remote-endpoint = <&mipid02_0>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <120000000 192000000 240000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)