GalaxyCore gc05a2 1/5" 5M Pixel MIPI CSI-2 sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/galaxycore,gc05a2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zhi Mao <zhi.mao@mediatek.com>"
The gc05a2 is a raw image sensor with an MIPI CSI-2 image data interface and CCI (I2C compatible) control bus. The output format is raw Bayer.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "galaxycore,gc05a2"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
dovdd-supply — required here #
true — No constraints added by this property rule.
avdd-supply — required here #
true — No constraints added by this property rule.
dvdd-supply — required here #
true — No constraints added by this property rule.
reset-gpios — required here #
Reference to the GPIO connected to the RESETB pin.
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Output port node, single endpoint describing the CSI-2 transmitter.
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)
data-lanes — required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2Item 3
Exact value (
const):3Item 4
Exact value (
const):4
Rule 2
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "endpoint"
Required in this object (required): "compatible", "reg", "clocks", "dovdd-supply", "avdd-supply", "dvdd-supply", "reset-gpios", "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>;
sensor@37 {
compatible = "galaxycore,gc05a2";
reg = <0x37>;
clocks = <&gc05a2_clk>;
reset-gpios = <&pio 21 GPIO_ACTIVE_LOW>;
avdd-supply = <&gc05a2_avdd>;
dovdd-supply = <&gc05a2_dovdd>;
dvdd-supply = <&gc05a2_dvdd>;
port {
sensor_out: endpoint {
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <448000000 224000000>;
remote-endpoint = <&seninf_csi_port_1_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2023 MediaTek Inc.