SK Hynix Hi-846 1/4" 8M Pixel MIPI CSI-2 sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/hynix,hi846.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Kepplinger <martin.kepplinger@puri.sm>"
The Hi-846 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.
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): "hynix,hi846"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Reference to the mclk clock.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the RESETB pin. Active low.
Maximum number of items (maxItems): 1
shutdown-gpios — not listed as required here #
Reference to the GPIO connected to the XSHUTDOWN pin. Active low.
Maximum number of items (maxItems): 1
vddio-supply — required here #
Definition of the regulator used for the VDDIO power supply.
vdda-supply — required here #
Definition of the regulator used for the VDDA power supply.
vddd-supply — required here #
Definition of the regulator used for the VDDD power supply.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
endpoint — not listed as 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): "compatible", "reg", "clocks", "vddio-supply", "vdda-supply", "vddd-supply", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
hi846: camera@20 {
compatible = "hynix,hi846";
reg = <0x20>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi1>;
clocks = <&clk 0>;
vdda-supply = <®_camera_vdda>;
vddd-supply = <®_camera_vddd>;
vddio-supply = <®_camera_vddio>;
reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
orientation = <0>;
rotation = <0>;
port {
camera_out: endpoint {
remote-endpoint = <&csi1_ep1>;
link-frequencies = /bits/ 64
<80000000 200000000>;
data-lanes = <1 2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)