Media bindings
Single-page view · as markdown
Amlogic Meson AO-CEC Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/amlogic,meson-gx-ao-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is to handle communication between HDMI connected devices over the CEC bus.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,meson-gx-ao-cec", "amlogic,meson-g12a-ao-cec", "amlogic,meson-sm1-ao-cec"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
AO-CEC clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"amlogic,meson-g12a-ao-cec","amlogic,meson-sm1-ao-cec"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
AO-CEC clock generator source
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"oscin"
Required in this object (required): "compatible", "reg", "interrupts", "hdmi-phandle", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
cec_AO: cec@100 {
compatible = "amlogic,meson-gx-ao-cec";
reg = <0x00100 0x14>;
interrupts = <199>;
clocks = <&clkc_cec>;
clock-names = "core";
hdmi-phandle = <&hdmi_tx>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Line 20: GXBB, GXL, GXM, G12A and SM1 AO_CEC_A module
Line 21: G12A AO_CEC_B module
Line 22: SM1 AO_CEC_B module
HDMI CEC Adapters Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/cec-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^cec(@[0-9a-f]+|-[0-9]+)?$"
hdmi-phandle — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the HDMI controller.
needs-hpd — not listed as required here #
Value type (type): "boolean"
The CEC support is only available when the HPD is high. Some boards only let the CEC pin through if the HPD is high, for example if there is a level converter that uses the HPD to power up or down.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
HDMI CEC GPIO
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/cec-gpio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>"
The HDMI CEC GPIO module supports CEC implementations where the CEC line is hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up to another GPIO line.
Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and 5V lines it is 5.3V. So you may need some sort of level conversion circuitry when connecting them to a GPIO line.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cec-gpio"
cec-gpios — required here #
Maximum number of items (maxItems): 1
GPIO that the CEC line is connected to. The line should be tagged as open drain.
hpd-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO that the HPD line is connected to. Used for debugging HPD changes when the CEC line is not associated with an HDMI receiver/transmitter.
v5-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO that the 5V line is connected to. Used for debugging changes on the 5V line.
Required in this object (required): "compatible", "cec-gpios"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
hpd-gpios— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
hdmi-phandle— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
cec {
compatible = "cec-gpio";
cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
NVIDIA Tegra HDMI CEC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/nvidia,tegra114-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra114-cec","nvidia,tegra124-cec","nvidia,tegra210-cec"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra186-cec","nvidia,tegra194-cec"Item 2
Exact value (
const):"nvidia,tegra210-cec"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec"
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "hdmi-phandle", "interrupts", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra124-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
cec@70015000 {
compatible = "nvidia,tegra124-cec";
reg = <0x70015000 0x00001000>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA124_CLK_CEC>;
clock-names = "cec";
hdmi-phandle = <&hdmi>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5PV210 and Exynos HDMI CEC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Marek Szyprowski <m.szyprowski@samsung.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5p-cec"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hdmicec"
interrupts — required here #
Maximum number of items (maxItems): 1
samsung,syscon-phandle — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to PMU system controller interface
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "hdmi-phandle", "interrupts", "samsung,syscon-phandle", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5420.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
cec@101b0000 {
compatible = "samsung,s5p-cec";
reg = <0x101B0000 0x200>;
clocks = <&clock CLK_HDMI_CEC>;
clock-names = "hdmicec";
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
hdmi-phandle = <&hdmi>;
needs-hpd;
pinctrl-names = "default";
pinctrl-0 = <&hdmi_cec>;
samsung,syscon-phandle = <&pmu_system_controller>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
STMicroelectronics STIH4xx HDMI CEC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/st,stih-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alain Volmat <alain.volmat@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):cec-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stih-cec"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec-clk"
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec-irq"
resets — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "hdmi-phandle", "interrupts", "resets", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/stih407-resets.h>
cec@94a087c {
compatible = "st,stih-cec";
reg = <0x94a087c 0x64>;
clocks = <&clk_sysin>;
clock-names = "cec-clk";
hdmi-phandle = <&sti_hdmi>;
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "cec-irq";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cec0_default>;
resets = <&softreset STIH407_LPM_SOFTRESET>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
STMicroelectronics STM32 CEC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / cec
Schema identifier ($id): "http://devicetree.org/schemas/media/cec/st,stm32-cec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yannick Fertre <yannick.fertre@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32-cec"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Module Clock
Item 2
Bus Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec"
Item 2
Exact value (
const):"hdmi-cec"
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
cec: cec@40006c00 {
compatible = "st,stm32-cec";
reg = <0x40006c00 0x400>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc CEC_K>, <&clk_lse>;
clock-names = "cec", "hdmi-cec";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices AD5820 autofocus coil
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,ad5820.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pavel Machek <pavel@ucw.cz>"
The AD5820 is a current sink driver designed for precise control of voice coil motors (VCMs) in camera autofocus systems.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ad5820", "adi,ad5821", "adi,ad5823"
reg — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO spec for the XSHUTDOWN pin. The XSHUTDOWN signal is active low, a high level on the pin enables the device.
VANA-supply — required here #
supply of voltage for VANA pin
Required in this object (required): "compatible", "reg", "VANA-supply"
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>;
coil@c {
compatible = "adi,ad5820";
reg = <0x0c>;
enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>;
VANA-supply = <&vaux4>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADV7180 analog video decoder family
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,adv7180.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars-Peter Clausen <lars@metafoo.de>"
The adv7180 family devices are used to capture analog video to different digital interfaces like MIPI CSI-2 or parallel video.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"adi,adv7180","adi,adv7180cp","adi,adv7180st","adi,adv7182","adi,adv7280","adi,adv7280-m","adi,adv7281","adi,adv7281-m","adi,adv7281-ma","adi,adv7282","adi,adv7282-m"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
main register map
Item 2
VPP or CSI register map
Item 3
CSI register map
The ADV7180 family may have up to three register maps. All chips have the main register map. The availability of the CSI and VPP register maps depends on the chip variant. The addresses of the CSI and VPP register maps are programmable by software. They depend on the board layout and other devices on the I2C bus and are determined by the hardware designer to avoid address conflicts on the I2C bus.
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"main"
Item 2
Item 3
Exact value (
const):"csi"
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
adv,force-bt656-4 — not listed as required here #
Deprecated (deprecated): true
Indicates that the output is a BT.656-4 compatible stream.
Value type (type): "boolean"
adi,force-bt656-4 — not listed as required here #
Indicates that the output is a BT.656-4 compatible stream.
Value type (type): "boolean"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
The GPIO connected to the INTRQ pin.
port — not listed as 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.
ports — not listed as required here #
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"adi,adv7180","adi,adv7182","adi,adv7280","adi,adv7280-m","adi,adv7281","adi,adv7281-m","adi,adv7281-ma","adi,adv7282","adi,adv7282-m"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7180cp"When the condition matches (
then) #Properties and child nodes (
properties)
ports— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@3— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Properties matching a name pattern (
patternProperties)
^port@[0-2]$— name matches this regular expressionShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7180st"When the condition matches (
then) #Properties and child nodes (
properties)
ports— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@6— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Properties matching a name pattern (
patternProperties)
^port@[0-5]$— name matches this regular expressionShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"adi,adv7180","adi,adv7180cp","adi,adv7180st","adi,adv7182"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"adi,adv7281","adi,adv7281-m","adi,adv7281-ma"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reg-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"main"Item 2
Exact value (
const):"csi"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
reg-names— not listed as required hereMinimum number of items (
minItems):1Array item rules (
items)Item 1
Exact value (
const):"main"Item 2
Exact value (
const):"vpp"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
composite-in@20 {
compatible = "adi,adv7180";
reg = <0x20>;
port {
adv7180: endpoint {
bus-width = <8>;
remote-endpoint = <&vin1ep>;
};
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
composite-in@20 {
compatible = "adi,adv7180cp";
reg = <0x20>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
adv7180_in: endpoint {
remote-endpoint = <&composite_con_in>;
};
};
port@3 {
reg = <3>;
adv7180_out: endpoint {
remote-endpoint = <&vin4_in>;
};
};
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
composite-in@20 {
compatible = "adi,adv7280-m";
reg = <0x20>, <0x42>, <0x44>;
reg-names = "main", "vpp", "csi";
port {
adv7280_out: endpoint {
bus-width = <8>;
remote-endpoint = <&vin1ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADV748X video decoder with HDMI receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,adv748x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kieran Bingham <kieran.bingham@ideasonboard.com>", "Niklas Söderlund <niklas.soderlund@ragnatech.se>"
The ADV7481 and ADV7482 are multi format video decoders with an integrated HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB from three input sources HDMI, analog and TTL.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 12
The ADV748x has up to twelve 256-byte maps that can be accessed via the main I2C ports. Each map has it own I2C address and acts as a standard slave device on the I2C bus. The main address is mandatory, others are optional and remain at default values if not specified.
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"main"
Item 2
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 3
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 4
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 5
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 6
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 7
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 8
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 9
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 10
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 11
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
Item 12
Allowed values (
enum):"dpll","cp","hdmi","edid","repeater","infoframe","cbus","cec","sdp","txa","txb"
interrupts — not listed as required here #
true — No constraints added by this property rule.
interrupt-names — not listed as required here #
true — No constraints added by this property rule.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties matching a name pattern (patternProperties) #
^port@[0-7]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port nodes for analog inputs AIN[0-7].
Properties and child nodes (properties) #
port@8 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node for HDMI.
port@9 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node for TTL.
port@a — not listed as 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.
Output port node, single endpoint describing the CSI-2 transmitter TXA.
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)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "clock-lanes", "data-lanes"
port@b — not listed as 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.
Output port node, single endpoint describing the CSI-2 transmitter TXB.
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)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Maximum number of items (maxItems): 1
Required in this object (required): "clock-lanes", "data-lanes"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7481"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):3
interrupt-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):3Array item rules (
items)When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
interrupt-names— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2Array item rules (
items)
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "ports"
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
video-receiver@70 {
compatible = "adi,adv7482";
reg = <0x70 0x71 0x72 0x73 0x74 0x75
0x60 0x61 0x62 0x63 0x64 0x65>;
reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
"infoframe", "cbus", "cec", "sdp", "txa", "txb";
interrupt-parent = <&gpio6>;
interrupts = <30 IRQ_TYPE_LEVEL_LOW>, <31 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "intrq1", "intrq2";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@7 {
reg = <7>;
adv7482_ain7: endpoint {
remote-endpoint = <&cvbs_in>;
};
};
port@8 {
reg = <8>;
adv7482_hdmi: endpoint {
remote-endpoint = <&hdmi_in>;
};
};
port@a {
reg = <10>;
adv7482_txa: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&csi40_in>;
};
};
port@b {
reg = <11>;
adv7482_txb: endpoint {
clock-lanes = <0>;
data-lanes = <1>;
remote-endpoint = <&csi20_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADV7604/10/11/12 video decoder with HDMI receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/adi,adv7604.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>"
The ADV7604 and ADV7610/11/12 are multiformat video decoders with an integrated HDMI receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, and the ADV7610/11 have one HDMI input and no analog input. The ADV7612 is similar to the ADV7610/11 but has 2 HDMI inputs. These device tree bindings support the ADV7610/11/12 only at the moment.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"adi,adv7610","adi,adv7611","adi,adv7612"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 13
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"main"
Item 2
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 3
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 4
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 5
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 6
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 7
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 8
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 9
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 10
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 11
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 12
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
Item 13
Allowed values (
enum):"avlink","cec","infoframe","esdp","dpp","afe","rep","edid","hdmi","test","cp","vdp"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
hpd-gpios — not listed as required here #
Minimum number of items (minItems): 1
References to the GPIOs that control the HDMI hot-plug detection pins, one per HDMI input. The active flag indicates the GPIO level that enables hot-plug detection.
default-input — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Select which input is selected after reset.
ports — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7611"When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@0— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
port@1— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,adv7612"When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portsProperties and child nodes (
properties)
port@2— required hereShared schema rule (
$ref):/schemas/graph.yaml#/properties/portOutput port
Properties matching a name pattern (
patternProperties)
^port@[0-1]$— name matches this regular expressionShared schema rule (
$ref):/schemas/graph.yaml#/properties/portInput port
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
hdmi_receiver@4c {
compatible = "adi,adv7611";
/*
* The edid page will be accessible @ 0x66 on the I2C bus. All
* other maps will retain their default addresses.
*/
reg = <0x4c>, <0x66>;
reg-names = "main", "edid";
reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>;
hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>;
default-input = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
};
port@1 {
reg = <1>;
hdmi_in: endpoint {
remote-endpoint = <&ccdc_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Allied Vision Alvium Camera
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/alliedvision,alvium-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tommaso Merciai <tomm.merciai@gmail.com>", "Martin Hecht <martin.hecht@avnet.eu>"
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): "alliedvision,alvium-csi2"
reg — required here #
Maximum number of items (maxItems): 1
vcc-ext-in-supply — required here #
The regulator that supplies power to the VCC_EXT_IN pins.
port — required here #
Digital Output Port
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.
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)
link-frequencies — required here
true — No constraints added by this property rule.
data-lanes — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "vcc-ext-in-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
alvium: camera@3c {
compatible = "alliedvision,alvium-csi2";
reg = <0x3c>;
vcc-ext-in-supply = <®_vcc_ext_in>;
port {
alvium_out: endpoint {
remote-endpoint = <&mipi_csi_0_in>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <681250000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/aptina,mt9p031.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with an active array size of 2592H x 1944V. It is programmable through a simple two-wire serial interface.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aptina,mt9p006", "aptina,mt9p031", "aptina,mt9p031m"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vdd-supply — required here #
Digital supply voltage, 1.8 V
vdd_io-supply — required here #
I/O supply voltage, 1.8 or 2.8 V
vaa-supply — required here #
Analog supply voltage, 2.8 V
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Chip reset GPIO
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.
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)
input-clock-frequency — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 6000000
Maximum value (maximum): 96000000
Input clock frequency
pixel-clock-frequency — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 96000000
Target pixel clock frequency
pclk-sample — not listed as required here
Default value (default): 0
Required in this object (required): "input-clock-frequency", "pixel-clock-frequency"
Required in this object (required): "compatible", "reg", "clocks", "vdd-supply", "vdd_io-supply", "vaa-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
mt9p031@5d {
compatible = "aptina,mt9p031";
reg = <0x5d>;
reset-gpios = <&gpio_sensor 0 0>;
clocks = <&sensor_clk>;
vdd-supply = <®_vdd>;
vdd_io-supply = <®_vdd_io>;
vaa-supply = <®_vaa>;
port {
mt9p031_1: endpoint {
input-clock-frequency = <6000000>;
pixel-clock-frequency = <96000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Aptina MT9V111 CMOS sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/aptina,mt9v111.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo@jmondi.org>"
The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core based on Aptina MT9V011 sensor and an integrated Image Flow Processor (IFP).
The sensor has an active pixel array of 640x480 pixels and can output a number of image resolutions and formats controllable through a simple two-wires interface.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "aptina,mt9v111"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
Enable signal, pin name "OE#". Active low.
Maximum number of items (maxItems): 1
standby-gpios — not listed as required here #
Low power state control signal, pin name "STANDBY". Active high.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Chip reset signal, pin name "RESET#". Active low.
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output video port.
Required in this object (required): "compatible", "reg", "clocks", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@48 {
compatible = "aptina,mt9v111";
reg = <0x48>;
clocks = <&camera_clk>;
port {
mt9v111_out: endpoint {
remote-endpoint = <&ceu_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Asahi Kasei Microdevices AK7375 voice coil lens actuator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/asahi-kasei,ak7375.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tianshu Qiu <tian.shu.qiu@intel.com>"
AK7375 is a voice coil motor (VCM) camera lens actuator that is controlled over I2C.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "asahi-kasei,ak7345", "asahi-kasei,ak7375"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — required here #
VDD supply
vio-supply — required here #
I/O pull-up supply
Required in this object (required): "compatible", "reg", "vdd-supply", "vio-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
ak7375: camera-lens@c {
compatible = "asahi-kasei,ak7375";
reg = <0x0c>;
vdd-supply = <&vreg_l23a_2p8>;
vio-supply = <&vreg_lvs1a_1p8>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Chrontel HDMI-CEC Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/chrontel,ch7322.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jeff Chase <jnchase@google.com>"
The Chrontel CH7322 is a discrete HDMI-CEC controller. It is programmable through I2C and drives a single CEC line.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/cec/cec-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "chrontel,ch7322"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO connected to the RESET pin, if any. This pin is active-low.
Maximum number of items (maxItems): 1
standby-gpios — not listed as required here #
Reference to the GPIO connected to the OE pin, if any. When low the device will respond to power status requests with "standby" if in auto mode.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
cec@75 {
compatible = "chrontel,ch7322";
reg = <0x75>;
interrupts = <47 IRQ_TYPE_EDGE_RISING>;
standby-gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
hdmi-phandle = <&hdmi>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Dongwoon Anatech DW9714 camera voice coil lens driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/dongwoon,dw9714.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
DW9174 is a 10-bit DAC with current sink capability. It is intended for driving voice coil lenses in camera modules.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "dongwoon,dw9714"
reg — required here #
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
XSD pin for shutdown (active low)
vcc-supply — not listed as required here #
VDD power supply
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera-lens@c {
compatible = "dongwoon,dw9714";
reg = <0x0c>;
vcc-supply = <®_csi_1v8>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Dongwoon Anatech DW9719 Voice Coil Motor (VCM) Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/dongwoon,dw9719.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "André Apitzsch <git@apitzsch.eu>"
The Dongwoon DW9718S/9719/9761 is a single 10-bit digital-to-analog converter with 100 mA output current sink capability, designed for linear control of voice coil motors (VCM) in camera lenses. This chip provides a Smart Actuator Control (SAC) mode intended for driving voice coil lenses in camera modules.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "dongwoon,dw9718s", "dongwoon,dw9719", "dongwoon,dw9761", "dongwoon,dw9800k"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — required here #
VDD power supply
dongwoon,sac-mode — not listed as required here #
Slew Rate Control mode to use: direct, LSC (Linear Slope Control) or SAC1-SAC6 (Smart Actuator Control).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3, 4, 5, 6, 7
Default value (default): 4
dongwoon,vcm-prescale — not listed as required here #
Indication of VCM switching frequency dividing rate select.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "reg", "vdd-supply"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"dongwoon,dw9718s"When the condition matches (
then) #Properties and child nodes (
properties)
dongwoon,vcm-prescale— not listed as required hereThe final frequency is 10 MHz divided by (value + 2).
Maximum value (
maximum):15Default value (
default):0
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
actuator@c {
compatible = "dongwoon,dw9718s";
reg = <0x0c>;
vdd-supply = <&pm8937_l17>;
dongwoon,sac-mode = <4>;
dongwoon,vcm-prescale = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 38: Direct mode
Line 39: LSC mode
Line 40: SAC1 mode (operation time# 0.32 x Tvib)
Line 41: SAC2 mode (operation time# 0.48 x Tvib)
Line 42: SAC3 mode (operation time# 0.72 x Tvib)
Line 43: SAC4 mode (operation time# 1.20 x Tvib)
Line 44: SAC5 mode (operation time# 1.64 x Tvib)
Line 45: SAC6 mode (operation time# 1.88 x Tvib)
Dongwoon Anatech DW9768 Voice Coil Motor (VCM) Lens
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/dongwoon,dw9768.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dongchun Zhu <dongchun.zhu@mediatek.com>"
The Dongwoon DW9768 is a single 10-bit digital-to-analog (DAC) converter with 100 mA output current sink capability. VCM current is controlled with a linear mode driver. The DAC is controlled via a 2-wire (I2C-compatible) serial interface that operates at clock rates up to 1MHz. This chip integrates Advanced Actuator Control (AAC) technology and is intended for driving voice coil lenses in camera modules.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "dongwoon,dw9768", "giantec,gt9769"
reg — required here #
Maximum number of items (maxItems): 1
vin-supply — required here #
Definition of the regulator used as Digital I/O voltage supply.
vdd-supply — required here #
Definition of the regulator used as Digital core voltage supply.
dongwoon,aac-mode — not listed as required here #
Indication of AAC mode select.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 5
Default value (default): 2
dongwoon,aac-timing — not listed as required here #
Number of AAC Timing count that controlled by one 6-bit period of vibration register AACT[5:0], the unit of which is 100 us.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 32
Minimum value (minimum): 0
Maximum value (maximum): 63
dongwoon,clock-presc — not listed as required here #
Indication of VCM internal clock dividing rate select, as one multiple factor to calculate VCM ring periodic time Tvib.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3, 4, 5
Default value (default): 1
Required in this object (required): "compatible", "reg", "vin-supply", "vdd-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
dw9768: camera-lens@c {
compatible = "dongwoon,dw9768";
reg = <0x0c>;
vin-supply = <&mt6358_vcamio_reg>;
vdd-supply = <&mt6358_vcama2_reg>;
dongwoon,aac-timing = <0x39>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2020 MediaTek Inc.
Line 24: for DW9768 VCM
Line 25: for GT9769 VCM
Line 43: AAC2 mode(operation time# 0.48 x Tvib)
Line 44: AAC3 mode(operation time# 0.70 x Tvib)
Line 45: AAC4 mode(operation time# 0.75 x Tvib)
Line 46: AAC8 mode(operation time# 1.13 x Tvib)
Line 64: Dividing Rate - 2
Line 65: Dividing Rate - 1
Line 66: Dividing Rate - 1/2
Line 67: Dividing Rate - 1/4
Line 68: Dividing Rate - 8
Line 69: Dividing Rate - 4
Dongwoon Anatech DW9807 voice coil lens driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/dongwoon,dw9807-vcm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>"
DW9807 is a 10-bit DAC with current sink capability. It is intended for controlling voice coil lenses.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "dongwoon,dw9807-vcm"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
lens@e {
compatible = "dongwoon,dw9807-vcm";
reg = <0x0e>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2018, 2021 Intel Corporation
Galaxycore GC0308 and GC0309 Image Sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/galaxycore,gc0308.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"
The GalaxyCore GC0308 (1/6.5") and GC0309 (1/9") are 640x480 VGA sensors programmable through an I2C interface and connected via parallel bus. They include an ISP capable of auto exposure and auto white balance.
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"galaxycore,gc0308"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"galaxycore,gc0309"Item 2
Exact value (
const):"galaxycore,gc0308"
reg — required here #
Exact value (const): 33
clocks — required here #
Reference to the xclk clock.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
GPIO descriptor for the reset pin.
Maximum number of items (maxItems): 1
powerdown-gpios — required here #
GPIO descriptor for the powerdown pin.
Maximum number of items (maxItems): 1
vdd28-supply — not listed as required here #
2.8V supply
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Video output port.
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)
bus-width — required here
true — No constraints added by this property rule.
data-shift — not listed as required here
true — No constraints added by this property rule.
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
data-active — not listed as required here
true — No constraints added by this property rule.
pclk-sample — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "bus-width"
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", "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-sensor@21 {
compatible = "galaxycore,gc0308";
reg = <0x21>;
clocks = <&camera_clk>;
powerdown-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
vdd28-supply = <&vdd28>;
port {
gc0308_ep: endpoint {
remote-endpoint = <¶llel_from_gc0308>;
bus-width = <8>;
data-shift = <2>; /* lines 9:2 are used */
hsync-active = <1>; /* active high */
vsync-active = <1>; /* active high */
data-active = <1>; /* active high */
pclk-sample = <1>; /* sample on rising edge */
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
GalaxyCore gc05a2 1/5" 5M Pixel MIPI CSI-2 sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
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.
GalaxyCore gc08a3 1/4" 8M Pixel MIPI CSI-2 sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/galaxycore,gc08a3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zhi Mao <zhi.mao@mediatek.com>"
The gc08a3 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,gc08a3"
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@31 {
compatible = "galaxycore,gc08a3";
reg = <0x31>;
clocks = <&gc08a3_clk>;
reset-gpios = <&pio 19 GPIO_ACTIVE_LOW>;
avdd-supply = <&gc08a3_avdd>;
dovdd-supply = <&gc08a3_dovdd>;
dvdd-supply = <&gc08a3_dvdd>;
port {
sensor_out: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <336000000 207000000>;
remote-endpoint = <&seninf_csi_port_0_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.
Galaxy Core 1/5'' UXGA CMOS Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
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)
SK Hynix Hi-846 1/4" 8M Pixel MIPI CSI-2 sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
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)
IMI D&D RDACM20 and RDACM21 Automotive Camera Platforms
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/imi,rdacm2x-gmsl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo+renesas@jmondi.org>", "Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>"
-| The IMI D&D RDACM20 and RDACM21 are GMSL-compatible camera designed for automotive applications. The RDACM20 camera module encloses a Maxim Integrated MAX9271 GMSL serializer, coupled with an OV10635 image sensor and an embedded MCU. Both the MCU and the image sensor are connected to the serializer local I2C bus and are accessible by the host SoC by direct addressing. The RDACM21 camera module encloses the same serializer, coupled with an OV10640 image sensor and an OV490 ISP. Only the OV490 ISP is interfaced to the serializer local I2C bus while the image sensor is not accessible from the host SoC. They both connect to a remote GMSL endpoint through a coaxial cable. IMI RDACM20 +---------------+ +--------------------------------+ | GMSL | <- Video Stream | <- Video--------\ | | |< === GMSL Link ====== >|MAX9271<- I2C bus-> <-->OV10635 | | de-serializer | <- I2C messages -> | \<-->MCU | +---------------+ +--------------------------------+ IMI RDACM21 +---------------+ +--------------------------------+ | GMSL | <- Video Stream | <- Video--------\ | | |< === GMSL Link ====== >|MAX9271<- I2C bus-> <-->OV490 | | | <- I2C messages -> | | | | de-serializer | | OV10640 <-------| | +---------------+ +--------------------------------+ Both camera modules serialize video data generated by the embedded camera sensor on the GMSL serial channel to a remote GMSL de-serializer. They also receive and transmit I2C messages encapsulated and transmitted on the GMSL bidirectional control channel. All I2C traffic received on the GMSL link not directed to the serializer is propagated on the local I2C bus to the remote device there connected. All the I2C traffic generated on the local I2C bus not directed to the serializer is propagated to the remote de-serializer encapsulated in the GMSL control channel. The RDACM20 and RDACM21 DT node should be a direct child of the GMSL deserializer's I2C bus corresponding to the GMSL link that the camera is attached to.
Properties and child nodes (properties) #
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
compatible — required here #
Allowed values (enum): "imi,rdacm20", "imi,rdacm21"
reg — required here #
-| I2C device addresses, the first to be assigned to the serializer, the following ones to be assigned to the remote devices. For RDACM20 the second entry of the property is assigned to the OV10635 image sensor and the optional third one to the embedded MCU. For RDACM21 the second entry is assigned to the OV490 ISP and the optional third one ignored.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Connection to the remote GMSL endpoint.
Required in this object (required): "compatible", "reg", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c@e66d8000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0xe66d8000>;
camera@31 {
compatible = "imi,rdacm20";
reg = <0x31>, <0x41>, <0x51>;
port {
rdacm20_out0: endpoint {
remote-endpoint = <&max9286_in0>;
};
};
};
};
i2c@e66d8000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0xe66d8000>;
camera@31 {
compatible = "imi,rdacm21";
reg = <0x31>, <0x41>;
port {
rdacm21_out0: endpoint {
remote-endpoint = <&max9286_in0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Line 2: Copyright (C) 2019 Renesas Electronics Corp.
Intersil ISL79987 Analog to MIPI CSI-2 decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/isil,isl79987.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Tretter <m.tretter@pengutronix.de>", "Marek Vasut <marex@denx.de>"
The Intersil ISL79987 is an analog to MIPI CSI-2 decoder which is capable of receiving up to four analog stream and multiplexing them into up to four MIPI CSI-2 virtual channels, using one MIPI clock lane and 1/2 data lanes.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "isil,isl79987"
reg — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
A GPIO spec for the RSTB pin (active high)
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
A GPIO spec for the Power Down pin (active high)
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Output port
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "data-lanes"
Properties matching a name pattern (patternProperties) #
^port@[1-4]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input ports
Required in this object (required): "port@0"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "ports"
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
isl7998x_mipi@44 {
compatible = "isil,isl79987";
reg = <0x44>;
powerdown-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isl79987_out: endpoint {
remote-endpoint = <&mipi_csi2_in>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&camera_0>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&camera_1>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Maxim Integrated Quad GMSL Deserializer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/maxim,max9286.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo+renesas@jmondi.org>", "Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>", "Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>", "Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>"
The MAX9286 deserializer receives video data on up to 4 Gigabit Multimedia Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data lanes.
In addition to video data, the GMSL links carry a bidirectional control channel that encapsulates I2C messages. The MAX9286 forwards all I2C traffic not addressed to itself to the other side of the links, where a GMSL serializer will output it on a local I2C bus. In the other direction all I2C traffic received over GMSL by the MAX9286 is output on the local I2C bus.
Properties and child nodes (properties) #
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
compatible — required here #
Exact value (const): "maxim,max9286"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
poc-supply — not listed as required here #
Regulator providing Power over Coax to all the ports
enable-gpios — not listed as required here #
GPIO connected to the \#PWDN pin with inverted polarity
Maximum number of items (maxItems): 1
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
maxim,bus-width — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 24, 27, 32
The GMSL serial data bus width. This setting is normally controlled by the BWS pin, but may be overridden with this property. The value must match the configuration of the remote serializers.
maxim,i2c-remote-bus-hz — not listed as required here #
Allowed values (enum): 8470, 28300, 84700, 105000, 173000, 339000, 533000, 837000
Default value (default): 105000
The I2C clock frequency for the remote I2C buses. The value must match the configuration of the remote serializers.
maxim,reverse-channel-microvolt — not listed as required here #
Minimum value (minimum): 30000
Maximum value (maximum): 200000
Default value (default): 170000
Initial amplitude of the reverse control channel, in micro volts.
The initial amplitude shall be adjusted to a value compatible with the configuration of the connected remote serializer.
Some camera modules (for example RDACM20) include an on-board MCU that pre-programs the embedded serializer with power supply noise immunity (high-threshold) enabled. A typical value of the deserializer's reverse channel amplitude to communicate with pre-programmed serializers is 170000 micro volts.
A typical value for the reverse channel amplitude to communicate with a remote serializer whose high-threshold noise immunity is not enabled is 100000 micro volts
maxim,gpio-poc — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Index of the MAX9286 gpio output line (0 or 1) that controls Power over Coax to the cameras and its associated polarity flag.
The property accepts an array of two unsigned integers, the first being the gpio line index (0 or 1) and the second being the gpio line polarity flag (GPIO_ACTIVE_HIGH or GPIO_ACTIVE_LOW) as defined in <include/dt-bindings/gpio/gpio.h>.
When the remote cameras power is controlled by one of the MAX9286 gpio lines, this property has to be used to specify which line among the two available ones controls the remote camera power enablement.
When this property is used it is not possible to register a gpio controller as the gpio lines are controlled directly by the MAX9286 and not available for consumers, nor the 'poc-supply' property should be specified.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 0
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 1
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 2
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 3
port@4 — 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.
CSI-2 Output
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
true — No constraints added by this property rule.
Required in this object (required): "data-lanes"
Required in this object (required): "port@4"
i2c-mux — required here #
Value type (type): "object"
Shared schema rule ($ref): /schemas/i2c/i2c-mux.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Each GMSL link is modelled as a child bus of an i2c bus multiplexer/switch.
Properties matching a name pattern (patternProperties) #
^i2c@[0-3]$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Child node of the i2c bus multiplexer which represents a GMSL link. Each serializer device on the GMSL link remote end is represented with an i2c-mux child node. The MAX9286 chip supports up to 4 GMSL channels.
Properties and child nodes (properties)
reg — not listed as required here
The index of the GMSL channel.
Maximum number of items (maxItems): 1
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 0
Properties matching a name pattern (patternProperties)
^camera@[a-f0-9]+$ — name matches this regular expression
Value type (type): "object"
The remote camera device, composed by a GMSL serializer and a connected video source.
Properties and child nodes (properties)
compatible — required here
The remote device compatible string.
reg — required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
The I2C addresses to be assigned to the remote devices through address reprogramming. The number of entries depends on the requirements of the currently connected remote device.
port — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Connection to the MAX9286 sink.
Required in this object (required): "compatible", "reg", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^port[0-3]-poc-supply$ — name matches this regular expression #
Regulator providing Power over Coax for a particular port
Required in this object (required): "compatible", "reg", "ports", "i2c-mux"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
poc-supply— not listed as required here
false— Not permitted by this property rule.
gpio-controller— not listed as required here
false— Not permitted by this property rule.Properties matching a name pattern (
patternProperties)
^port[0-3]-poc-supply$— name matches this regular expression
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^port[0-3]-poc-supply$— name matches this regular expression
false— Not permitted by this property rule.
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@e66d8000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0xe66d8000>;
gmsl-deserializer@2c {
compatible = "maxim,max9286";
reg = <0x2c>;
poc-supply = <&camera_poc_12v>;
enable-gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
gpio-controller;
#gpio-cells = <2>;
maxim,i2c-remote-bus-hz = <339000>;
maxim,reverse-channel-microvolt = <170000>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
max9286_in0: endpoint {
remote-endpoint = <&rdacm20_out0>;
};
};
port@1 {
reg = <1>;
max9286_in1: endpoint {
remote-endpoint = <&rdacm20_out1>;
};
};
port@2 {
reg = <2>;
max9286_in2: endpoint {
remote-endpoint = <&rdacm20_out2>;
};
};
port@3 {
reg = <3>;
max9286_in3: endpoint {
remote-endpoint = <&rdacm20_out3>;
};
};
port@4 {
reg = <4>;
max9286_out: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&csi40_in>;
};
};
};
i2c-mux {
#address-cells = <1>;
#size-cells = <0>;
i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
camera@51 {
compatible = "imi,rdacm20";
reg = <0x51>, <0x61>;
port {
rdacm20_out0: endpoint {
remote-endpoint = <&max9286_in0>;
};
};
};
};
i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
camera@52 {
compatible = "imi,rdacm20";
reg = <0x52>, <0x62>;
port {
rdacm20_out1: endpoint {
remote-endpoint = <&max9286_in1>;
};
};
};
};
i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
camera@53 {
compatible = "imi,rdacm20";
reg = <0x53>, <0x63>;
port {
rdacm20_out2: endpoint {
remote-endpoint = <&max9286_in2>;
};
};
};
};
i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
camera@54 {
compatible = "imi,rdacm20";
reg = <0x54>, <0x64>;
port {
rdacm20_out3: endpoint {
remote-endpoint = <&max9286_in3>;
};
};
};
};
};
};
/*
* Example of a deserializer that controls the camera Power over Coax
* through one of its gpio lines.
*/
gmsl-deserializer@6c {
compatible = "maxim,max9286";
reg = <0x6c>;
enable-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
/*
* The remote camera power is controlled by MAX9286 GPIO line #0.
* No 'poc-supply' nor 'gpio-controller' are specified.
*/
maxim,gpio-poc = <0 GPIO_ACTIVE_LOW>;
/*
* Do not describe connections as they're the same as in the previous
* example.
*/
ports {
#address-cells = <1>;
#size-cells = <0>;
port@4 {
reg = <4>;
};
};
i2c-mux {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2019 Renesas Electronics Corp.
Line 218: Only one way of specifying power supplies is allowed: 'maxim,gpio-poc',
Line 219: 'poc-supply' or per-port poc-supply. Additionally, if 'maxim,gpio-poc' is
Line 220: present, then 'gpio-controller' isn't allowed.
Quad GMSL2 to CSI-2 Deserializer with GMSL1 Compatibility
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/maxim,max96712.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>"
The MAX96712 deserializer converts GMSL2 or GMSL1 serial inputs into MIPI CSI-2 D-PHY or C-PHY formatted outputs. The device allows each link to simultaneously transmit bidirectional control-channel data while forward video transmissions are in progress. The MAX96712 can accommodate as many as four remotely located sensors using industry-standard coax or STP interconnects.
Each GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the forward direction and 187.5Mbps in the reverse direction. In GMSL1 mode, the MAX96712 can be paired with first-generation 3.12Gbps or 1.5Gbps GMSL1 serializers or operate up to 3.12Gbps with GMSL2 serializers in GMSL1 mode.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
enable-gpios — not listed as required here #
true — No constraints added by this property rule.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 0
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 1
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 2
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
GMSL Input 3
port@4 — 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.
CSI-2 Output
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
true — No constraints added by this property rule.
bus-type — required here
Required in this object (required): "data-lanes", "bus-type"
Required in this object (required): "port@4"
Required in this object (required): "compatible", "reg", "ports"
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>
#include <dt-bindings/media/video-interfaces.h>
i2c@e6508000 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0 0xe6508000>;
gmsl0: gmsl-deserializer@49 {
compatible = "maxim,max96712";
reg = <0x49>;
enable-gpios = <&pca9654_a 0 GPIO_ACTIVE_HIGH>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@4 {
reg = <4>;
max96712_out0: endpoint {
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&csi40_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Renesas Electronics Corp.
Line 73: MEDIA_BUS_TYPE_CSI2_CPHY
Line 74: MEDIA_BUS_TYPE_CSI2_DPHY
Maxim MAX96714 GMSL2 to CSI-2 Deserializer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/maxim,max96714.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Julien Massot <julien.massot@collabora.com>"
The MAX96714 deserializer converts GMSL2 serial inputs into MIPI CSI-2 D-PHY formatted output. The device allows the GMSL2 link to simultaneously transmit bidirectional control-channel data while forward video transmissions are in progress. The MAX96714 can connect to one remotely located serializer using industry-standard coax or STP interconnects. The device cans operate in pixel or tunnel mode. In pixel mode the MAX96714 can select individual video stream, while the tunnel mode forward all the MIPI data received by the serializer. The GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the forward direction and 187.5Mbps in the reverse direction. MAX96714F only supports a fixed rate of 3Gbps in the forward direction.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"maxim,max96714f"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"maxim,max96714f"
reg — required here #
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Specifier for the GPIO connected to the PWDNB pin.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
GMSL Input
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.
Endpoint for GMSL2-Link port.
port@1 — 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.
CSI-2 Output port
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
link-frequencies — not listed as required here
Maximum number of items (maxItems): 1
Required in this object (required): "data-lanes"
Required in this object (required): "port@1"
i2c-gate — not listed as required here #
Shared schema rule ($ref): /schemas/i2c/i2c-gate.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
The MAX96714 will pass through and forward the I2C requests from the incoming I2C bus over the GMSL2 link. Therefore it supports an i2c-gate subnode to configure a serializer.
port0-poc-supply — not listed as required here #
Regulator providing Power over Coax for the GMSL port
Required in this object (required): "compatible", "reg", "ports"
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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
deserializer@28 {
compatible = "maxim,max96714f";
reg = <0x28>;
powerdown-gpios = <&main_gpio0 37 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
max96714_gmsl_in: endpoint {
remote-endpoint = <&max96917f_gmsl_out>;
};
};
port@1 {
reg = <1>;
max96714_csi_out: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <400000000>;
remote-endpoint = <&csi_in>;
};
};
};
i2c-gate {
#address-cells = <1>;
#size-cells = <0>;
serializer@40 {
compatible = "maxim,max96717f";
reg = <0x40>;
gpio-controller;
#gpio-cells = <2>;
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
max96717f_csi_in: endpoint {
data-lanes = <1 2>;
lane-polarities = <1 0 1>;
remote-endpoint = <&sensor_out>;
};
};
port@1 {
reg = <1>;
max96917f_gmsl_out: endpoint {
remote-endpoint = <&max96714_gmsl_in>;
};
};
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2024 Collabora Ltd.
MAX96717 CSI-2 to GMSL2 Serializer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/maxim,max96717.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Julien Massot <julien.massot@collabora.com>"
The MAX96717 serializer converts MIPI CSI-2 D-PHY formatted input into GMSL2 serial outputs. The device allows the GMSL2 link to simultaneously transmit bidirectional control-channel data while forward video transmissions are in progress. The MAX96717 can connect to one remotely located deserializer using industry-standard coax or STP interconnects. The device cans operate in pixel or tunnel mode. In pixel mode the MAX96717 can select the MIPI datatype, while the tunnel mode forward all the MIPI data received by the serializer. The MAX96717 supports Reference Over Reverse (channel), to generate a clock output for the sensor from the GMSL reverse channel. The GMSL2 serial link operates at a fixed rate of 3Gbps or 6Gbps in the forward direction and 187.5Mbps in the reverse direction. MAX96717F only supports a fixed rate of 3Gbps in the forward direction.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"maxim,max96717f"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"maxim,max96717f"
#gpio-cells — not listed as required here #
Exact value (const): 2
First cell is the GPIO pin number, second cell is the flags. The GPIO pin number must be in range of [0, 10].
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#clock-cells — not listed as required here #
Exact value (const): 0
reg — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
CSI-2 Input port
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
Required in this object (required): "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
GMSL Output port
Required in this object (required): "port@1"
i2c-gate — not listed as required here #
Shared schema rule ($ref): /schemas/i2c/i2c-gate.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
The MAX96717 will forward the I2C requests from the incoming GMSL2 link. Therefore, it supports an i2c-gate subnode to configure a sensor.
Required in this object (required): "compatible", "reg", "ports"
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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
serializer: serializer@40 {
compatible = "maxim,max96717f";
reg = <0x40>;
gpio-controller;
#gpio-cells = <2>;
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
max96717f_csi_in: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&sensor_out>;
};
};
port@1 {
reg = <1>;
max96917f_gmsl_out: endpoint {
remote-endpoint = <&deser_gmsl_in>;
};
};
};
i2c-gate {
#address-cells = <1>;
#size-cells = <0>;
sensor@10 {
compatible = "st,st-vgxy61";
reg = <0x10>;
reset-gpios = <&serializer 0 GPIO_ACTIVE_LOW>;
clocks = <&serializer>;
VCORE-supply = <&v1v2>;
VDDIO-supply = <&v1v8>;
VANA-supply = <&v2v8>;
port {
sensor_out: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&max96717f_csi_in>;
};
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2024 Collabora Ltd.
MIPI CCS, SMIA++ and SMIA compliant camera sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/mipi-ccs.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>"
CCS (Camera Command Set) is a raw Bayer camera sensor standard defined by the MIPI Alliance; see <URL:https://www.mipi.org/specifications/camera-command-set>. SMIA (Standard Mobile Imaging Architecture) is an image sensor standard defined jointly by Nokia and ST. SMIA++, defined by Nokia, is an extension of that. More detailed documentation can be found in Documentation/devicetree/bindings/media/video-interfaces.txt .
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"mipi-ccs-1.1"Item 2
Exact value (
const):"mipi-ccs"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mipi-ccs-1.0"Item 2
Exact value (
const):"mipi-ccs"
Rule 3
Exact value (
const):"nokia,smia"
reg — required here #
Maximum number of items (maxItems): 1
vana-supply — not listed as required here #
Analogue voltage supply (VANA), sensor dependent.
vcore-supply — not listed as required here #
Core voltage supply (VCore), sensor dependent.
vio-supply — not listed as required here #
I/O voltage supply (VIO), sensor dependent.
clocks — required here #
External clock to the sensor.
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Frequency of the external clock to the sensor in Hz.
Deprecated (deprecated): true
reset-gpios — not listed as required here #
Reset GPIO. Also commonly called XSHUTDOWN in hardware documentation.
Maximum number of items (maxItems): 1
flash-leds — not listed as required here #
true — No constraints added by this property rule.
lens-focus — not listed as required here #
true — No constraints added by this property rule.
rotation — not listed as required here #
port — not listed as 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.
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)
link-frequencies — required here
true — No constraints added by this property rule.
data-lanes — required here
true — No constraints added by this property rule.
bus-type — required here
Allowed values (enum): 1, 3, 4
Required in this object (required): "link-frequencies", "data-lanes", "bus-type"
Required in this object (required): "compatible", "reg", "clocks"
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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <400000>;
camera-sensor@10 {
compatible = "mipi-ccs-1.0", "mipi-ccs";
reg = <0x10>;
reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
vana-supply = <&vaux3>;
clocks = <&omap3_isp 0>;
assigned-clocks = <&omap3_isp 0>;
assigned-clock-rates = <9600000>;
port {
ccs_ep: endpoint {
data-lanes = <1 2>;
remote-endpoint = <&csi2a_ep>;
link-frequencies = /bits/ 64 <199200000 210000000
499200000>;
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2014--2020 Intel Corporation
Line 85: CSI-2 C-PHY
Line 86: CCP2
Line 87: CSI-2 D-PHY
NXP TDA1997x HDMI receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/nxp,tda19971.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
The TDA19971/73 are HDMI video receivers.
The TDA19971 Video port output pins can be used as follows: - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4] - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2] - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles) - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles) - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles)
The TDA19973 Video port output pins can be used as follows: - RGB 12bit per color (36 bits total): R[11:0] B[11:0] G[11:0] - YUV444 12bit per color (36 bits total): Y[11:0] Cb[11:0] Cr[11:0] - YUV422 semi-planar 12bit per component (24 bits total): Y[11:0] CbCr[11:0] - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles)
The Video port output pins are mapped via 4-bit 'pin groups' allowing for a variety of connection possibilities including swapping pin order within pin groups. The video_portcfg device-tree property consists of register mapping pairs which map a chip-specific VP output register to a 4-bit pin group. If the pin group needs to be bit-swapped you can use the *_S pin-group defines.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,tda19971", "nxp,tda19973"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
DOVDD-supply — required here #
true — No constraints added by this property rule.
DVDD-supply — required here #
true — No constraints added by this property rule.
AVDD-supply — required here #
true — No constraints added by this property rule.
#sound-dai-cells — not listed as required here #
Exact value (const): 0
port — not listed as 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.
nxp,vidout-portcfg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
Array item rules (
items)Item 1
Video Port control registers index.
Maximum value (
maximum):8Minimum value (
minimum):0Item 2
pin(pinswapped) groups
array of pairs mapping VP output pins to pin groups.
nxp,audout-format — not listed as required here #
Allowed values (enum): "i2s", "spdif"
nxp,audout-width — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 8, 16, 24, 32
width of audio output data bus.
nxp,audout-layout — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
data layout (0=AP0 used, 1=AP0/AP1/AP2/AP3 used).
nxp,audout-mclk-fs — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Multiplication factor between stream rate and codec mclk.
Required in this object (required): "compatible", "reg", "interrupts", "DOVDD-supply", "AVDD-supply", "DVDD-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/media/tda1997x.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
hdmi-receiver@48 {
compatible = "nxp,tda19971";
reg = <0x48>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tda1997x>;
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
DOVDD-supply = <®_3p3v>;
AVDD-supply = <®_1p8v>;
DVDD-supply = <®_1p8v>;
/* audio */
#sound-dai-cells = <0>;
nxp,audout-format = "i2s";
nxp,audout-layout = <0>;
nxp,audout-width = <16>;
nxp,audout-mclk-fs = <128>;
/*
* The 8bpp YUV422 semi-planar mode outputs CbCr[11:4]
* and Y[11:4] across 16bits in the same pixclk cycle.
*/
nxp,vidout-portcfg =
/* Y[11:8]<->VP[15:12]<->CSI_DATA[19:16] */
< TDA1997X_VP24_V15_12 TDA1997X_G_Y_11_8 >,
/* Y[7:4]<->VP[11:08]<->CSI_DATA[15:12] */
< TDA1997X_VP24_V11_08 TDA1997X_G_Y_7_4 >,
/* CbCc[11:8]<->VP[07:04]<->CSI_DATA[11:8] */
< TDA1997X_VP24_V07_04 TDA1997X_R_CR_CBCR_11_8 >,
/* CbCr[7:4]<->VP[03:00]<->CSI_DATA[7:4] */
< TDA1997X_VP24_V03_00 TDA1997X_R_CR_CBCR_7_4 >;
port {
endpoint {
remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
bus-width = <16>;
hsync-active = <1>;
vsync-active = <1>;
data-active = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ON Semiconductor AR0521 MIPI CSI-2 sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/onnn,ar0521.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Hałasa <khalasa@piap.pl>"
The AR0521 is a raw CMOS image sensor with MIPI CSI-2 and I2C-compatible control interface.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "onnn,ar0521"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "extclk"
vaa-supply — required here #
Definition of the regulator used as analog (2.7 V) voltage supply.
vdd-supply — required here #
Definition of the regulator used as digital core (1.2 V) voltage supply.
vdd_io-supply — required here #
Definition of the regulator used as digital I/O (1.8 V) voltage supply.
reset-gpios — not listed as required here #
reset GPIO, usually active low
Maximum number of items (maxItems): 1
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.
Video output port.
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)
bus-type — not listed as required here
Exact value (const): 4
data-lanes — not listed as required here
At least one of these rules must match (anyOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 3
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
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "vaa-supply", "vdd-supply", "vdd_io-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>
#include <dt-bindings/clock/imx6qdl-clock.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ar0521: camera-sensor@36 {
compatible = "onnn,ar0521";
reg = <0x36>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mipi_camera>;
clocks = <&clks IMX6QDL_CLK_CKO>;
clock-names = "extclk";
reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
vaa-supply = <®_2p7v>;
vdd-supply = <®_1p2v>;
vdd_io-supply = <®_1p8v>;
port {
mipi_camera_to_mipi_csi2: endpoint {
remote-endpoint = <&mipi_csi2_in>;
data-lanes = <1 2 3 4>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
onsemi 1/6-inch 720p CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/onnn,mt9m114.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The onsemi MT9M114 is a 1/6-inch 720p (1.26 Mp) CMOS digital image sensor with an active pixel-array size of 1296H x 976V. It is programmable through an I2C interface and outputs image data over a 8-bit parallel or 1-lane MIPI CSI-2 connection.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "onnn,mt9m114"
reg — required here #
I2C device address
clocks — required here #
EXTCLK clock signal
Maximum number of items (maxItems): 1
vdd-supply — required here #
Core digital voltage supply, 1.8V
vddio-supply — required here #
I/O digital voltage supply, 1.8V or 2.8V
vaa-supply — required here #
Analog voltage supply, 2.8V
reset-gpios — not listed as required here #
Reference to the GPIO connected to the RESET_BAR pin, if any (active low).
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
Allowed values (enum): 4, 5, 6
link-frequencies — required here
true — No constraints added by this property rule.
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "bus-type", "link-frequencies"
slew-rate — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Slew rate ot the output pads DOUT[7:0], LINE_VALID, FRAME_VALID and PIXCLK. Higher values imply steeper voltage-flanks on the pads.
Minimum value (minimum): 0
Maximum value (maximum): 7
Default value (default): 7
Required in this object (required): "compatible", "reg", "clocks", "vdd-supply", "vddio-supply", "vaa-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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "onnn,mt9m114";
reg = <0x48>;
clocks = <&clk24m 0>;
reset-gpios = <&gpio5 21 GPIO_ACTIVE_LOW>;
vddio-supply = <®_cam_1v8>;
vdd-supply = <®_cam_1v8>;
vaa-supply = <®_2p8v>;
port {
endpoint {
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
link-frequencies = /bits/ 64 <384000000>;
remote-endpoint = <&mipi_csi_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 65: The number and mapping of lanes (for CSI-2), and the bus width and
Line 66: signal polarities (for parallel and BT.656) are fixed and must not
Line 67: be specified.
OmniVision OG01A1B Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,og01a1b.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
The OmniVision OG01A1B is black and white CMOS 1.3 Megapixel (1280x1024) image sensor controlled over an I2C-compatible SCCB bus. The sensor transmits images on a MIPI CSI-2 output interface with one or two data lanes.
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): "ovti,og01a1b"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to XSHUTDOWN pad of the sensor.
Maximum number of items (maxItems): 1
strobe-gpios — not listed as required here #
Input GPIO connected to strobe pad of the sensor.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analogue circuit voltage supply.
dovdd-supply — not listed as required here #
I/O circuit voltage supply.
dvdd-supply — not listed as required here #
Digital circuit voltage supply.
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 — 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
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", "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>;
sensor@60 {
compatible = "ovti,og01a1b";
reg = <0x60>;
clocks = <&clk 0>;
reset-gpios = <&gpio 117 GPIO_ACTIVE_LOW>;
avdd-supply = <&vreg_3v3>;
dovdd-supply = <&vreg_1p8>;
dvdd-supply = <&vreg_1p2>;
port {
og01a1b_ep: endpoint {
remote-endpoint = <&csiphy_ep>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <500000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2023-2024 Linaro Ltd.
OmniVision OG0VE1B Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,og0ve1b.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
OmniVision OG0VE1B image sensor is a low power consuming monochrome image sensor. The sensor is controlled over a serial camera control bus protocol (SCCB), the widest supported image size is 640x480 at 120 frames per second rate, data output format is 8/10-bit RAW transferred over one-lane MIPI D-PHY at up to 800 Mbps.
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
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): "ovti,og0ve1b"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
XVCLK supply clock, 6MHz to 27MHz frequency.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to XSHUTDOWN pad of the sensor.
Maximum number of items (maxItems): 1
strobe-gpios — not listed as required here #
Input GPIO connected to strobe pad of the sensor.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog voltage supply, 2.6 to 3.0 volts.
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.7 to 3.0 volts.
dvdd-supply — not listed as required here #
Digital core voltage supply.
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.
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.
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "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>;
camera@3e {
compatible = "ovti,og0ve1b";
reg = <0x3e>;
clocks = <&camera_clk 0>;
assigned-clocks = <&camera_clk 0>;
assigned-clock-rates = <24000000>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
avdd-supply = <&vreg_2p8>;
dovdd-supply = <&vreg_1p8>;
dvdd-supply = <&vreg_1p2>;
port {
endpoint {
link-frequencies = /bits/ 64 <500000000>;
remote-endpoint = <&mipi_csi2_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OmniVision OS05B10 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,os05b10.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Elgin Perumbilly <elgin.perumbilly@siliconsignals.io>"
The OmniVision OS05B10 is a 5MP (2592x1944) color CMOS image sensor controlled through an I2C-compatible SCCB bus. it outputs RAW10/RAW12 format and uses a 1/2.78" optical format.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,os05b10"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XCLK clock
avdd-supply — required here #
Analog Domain Power Supply (2.8v)
dovdd-supply — required here #
I/O Domain Power Supply (1.8v)
dvdd-supply — required here #
Digital Domain Power Supply (1.2v)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset Pin GPIO Control (active low)
port — required here #
MIPI CSI-2 transmitter port
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.
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
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "avdd-supply", "dovdd-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-sensor@36 {
compatible = "ovti,os05b10";
reg = <0x36>;
clocks = <&os05b10_clk>;
reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
avdd-supply = <&os05b10_avdd_2v8>;
dvdd-supply = <&os05b10_dvdd_1v2>;
dovdd-supply = <&os05b10_dovdd_1v8>;
port {
cam_out: endpoint {
remote-endpoint = <&mipi_in_cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <600000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Omnivision OV02A10 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov02a10.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dongchun Zhu <dongchun.zhu@mediatek.com>"
The Omnivision OV02A10 is a low-cost, high performance, 1/5-inch, 2 megapixel image sensor, which is the latest production derived from Omnivision's CMOS image sensor technology. Ihis chip supports high frame rate speeds up to 30fps @ 1600x1200 (UXGA) resolution transferred over a 1-lane MIPI interface. The sensor output is available via CSI-2 serial data output.
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): "ovti,ov02a10"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
External clock for the sensor.
Array item rules (items) #
Item 1
Exact value (
const):"eclk"
clock-frequency — not listed as required here #
Frequency of the eclk clock in Hz.
Deprecated (deprecated): true
dovdd-supply — required here #
Definition of the regulator used as Digital I/O voltage supply.
avdd-supply — required here #
Definition of the regulator used as Analog voltage supply.
dvdd-supply — required here #
Definition of the regulator used as Digital core voltage supply.
powerdown-gpios — required here #
Must be the device tree identifier of the GPIO connected to the PD_PAD pin. This pin is used to place the OV02A10 into standby mode or shutdown mode. As the line needs to be high for the powerdown mode to be active, it should be marked GPIO_ACTIVE_HIGH.
Maximum number of items (maxItems): 1
reset-gpios — required here #
Must be the device tree identifier of the GPIO connected to the RST_PD pin. If specified, it will be asserted during driver probe. As the line needs to be low for the reset to be active, it should be marked GPIO_ACTIVE_LOW.
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)
link-frequencies — required here
true — No constraints added by this property rule.
ovti,mipi-clock-voltage — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Definition of MIPI clock voltage unit. This entry corresponds to the link speed defined by the 'link-frequencies' property. If present, the value shall be in the range of 0-4.
Default value (default): 4
Required in this object (required): "link-frequencies"
Required in this object (required): "endpoint"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "dovdd-supply", "avdd-supply", "dvdd-supply", "powerdown-gpios", "reset-gpios", "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>;
ov02a10: camera-sensor@3d {
compatible = "ovti,ov02a10";
reg = <0x3d>;
powerdown-gpios = <&pio 107 GPIO_ACTIVE_HIGH>;
reset-gpios = <&pio 109 GPIO_ACTIVE_LOW>;
clocks = <&ov02a10_clk>;
clock-names = "eclk";
rotation = <180>;
dovdd-supply = <&ov02a10_dovdd>;
avdd-supply = <&ov02a10_avdd>;
dvdd-supply = <&ov02a10_dvdd>;
port {
wcam_out: endpoint {
link-frequencies = /bits/ 64 <390000000>;
ovti,mipi-clock-voltage = <3>;
remote-endpoint = <&mipi_in_wcam>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2020 MediaTek Inc.
Omnivision OV02E10 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov02e10.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
The Omnivision OV02E10 and OV02C10 sensors are 2 megapixel, CMOS image sensors which support:
- Automatic black level calibration (ABLC)
- Programmable controls for frame rate, mirror and flip, binning, cropping
and windowing
- OVO2C10
- 10 bit RAW Bayer 1920x1080 60 fps 2-lane @ 800 Mbps/lane
- 10 bit RAW Bayer 1920x1080 60 fps 1-lane @ 1500 Mbps/lane
- 10 bit RAW Bayer 1280x720 60 fps cropped 1-lane @ 960 Mbps/lane
- 10 bit RGB/BW 640x480 60 fps bin2 or skip2 1-lane @ 800 Mbps/lane
- 10 bit RGB/BW 480x270 60 fps bin4 or skip4 1-lane @ 800 Mbps/lane
- OV02E10
- 10 bit RAW Bayer 1920x1088 60 fps 2-lane @ 720 Mbps/lane
- 10 bit RAW Bayer 1280x1080 60 fps 2-lane @ 720 Mbps/lane
- 10 bit Quad Bayer 960x540 60 fps 2-lane 360 Mbps/lane
- 8 bit Quad Bayer 480x270 1/3/5/10 fps sub2 288 Mbps/lane
- 8 bit Quad Bayer 232x132 1/3/5/10 fps sub4 144 Mbps/lane
- Dynamic defect pixel cancellation
- Standard SCCB command interface
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 #
Allowed values (enum): "ovti,ov02c10", "ovti,ov02e10"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analogue circuit voltage supply.
dovdd-supply — not listed as required here #
I/O circuit voltage supply.
dvdd-supply — not listed as required here #
Digital circuit voltage supply.
reset-gpios — not listed as required here #
Active low GPIO connected to XSHUTDOWN pad of the sensor.
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — required here
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
link-frequencies — required here
true — No constraints added by this property rule.
remote-endpoint — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies", "remote-endpoint"
Required in this object (required): "compatible", "reg", "clocks", "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>;
ov02e10: camera@10 {
compatible = "ovti,ov02e10";
reg = <0x10>;
reset-gpios = <&tlmm 237 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&cam_rgb_defaultt>;
clocks = <&ov02e10_clk>;
assigned-clocks = <&ov02e10_clk>;
assigned-clock-parents = <&ov02e10_clk_parent>;
assigned-clock-rates = <19200000>;
avdd-supply = <&vreg_l7b_2p8>;
dvdd-supply = <&vreg_l7b_1p8>;
dovdd-supply = <&vreg_l3m_1p8>;
port {
ov02e10_ep: endpoint {
remote-endpoint = <&csiphy4_ep>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <400000000>;
};
};
};
ov02c10: camera@36 {
compatible = "ovti,ov02c10";
reg = <0x36>;
reset-gpios = <&tlmm 237 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&cam_rgb_defaultt>;
clocks = <&ov02c10_clk>;
assigned-clocks = <&ov02c10_clk>;
assigned-clock-parents = <&ov02c10_clk_parent>;
assigned-clock-rates = <19200000>;
avdd-supply = <&vreg_l7b_2p8>;
dvdd-supply = <&vreg_l7b_1p8>;
dovdd-supply = <&vreg_l3m_1p8>;
port {
ov02c10_ep: endpoint {
remote-endpoint = <&csiphy4_ep>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <400000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2025 Linaro Ltd.
Omnivision OV08X40 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov08x40.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
The Omnivision OV08X40 is a 9.2 megapixel, CMOS image sensor which supports:
- Automatic black level calibration (ABLC)
- Programmable controls for frame rate, mirror and flip, binning, cropping
and windowing
- Output formats 10-bit 4C RGB RAW, 10-bit Bayer RAW
- 4-lane MIPI D-PHY TX @ 1 Gbps per lane
- 2-lane MPIP D-PHY TX @ 2 Gbps per lane
- Dynamic defect pixel cancellation
- Standard SCCB command interface
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): "ovti,ov08x40"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analogue circuit voltage supply.
dovdd-supply — not listed as required here #
I/O circuit voltage supply.
dvdd-supply — not listed as required here #
Digital circuit voltage supply.
reset-gpios — not listed as required here #
Active low GPIO connected to XSHUTDOWN pad of the sensor.
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
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):2
Rule 2
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
link-frequencies — required here
true — No constraints added by this property rule.
remote-endpoint — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies", "remote-endpoint"
Required in this object (required): "compatible", "reg", "clocks", "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>;
ov08x40: camera@36 {
compatible = "ovti,ov08x40";
reg = <0x36>;
reset-gpios = <&tlmm 111 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&cam_rgb_defaultt>;
clocks = <&ov08x40_clk>;
assigned-clocks = <&ov08x40_clk>;
assigned-clock-parents = <&ov08x40_clk_parent>;
assigned-clock-rates = <19200000>;
avdd-supply = <&vreg_l7b_2p8>;
dvdd-supply = <&vreg_l7b_1p8>;
dovdd-supply = <&vreg_l3m_1p8>;
port {
ov08x40_ep: endpoint {
remote-endpoint = <&csiphy4_ep>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <400000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2024 Linaro Ltd.
Omnivision OV2680 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov2680.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rui Miguel Silva <rmfrfs@gmail.com>"
The OV2680 color sensor is a low voltage, high performance 1/5 inch UXGA (2 megapixel) CMOS image sensor that provides a single-chip UXGA (1600 x 1200) camera. It provides full-frame, sub-sampled, or windowed 10-bit images in various formats via the control of the Serial Camera Control Bus (SCCB) interface. The OV2680 has an image array capable of operating at up to 30 frames per second (fps) in UXGA resolution.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov2680"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "xvclk"
reset-gpios — required here #
The phandle and specifier for the GPIO that controls sensor reset. This corresponds to the hardware pin XSHUTDOWN which is physically active low.
Maximum number of items (maxItems): 1
DOVDD-supply — required here #
Definition of the regulator used as interface power supply.
AVDD-supply — required here #
Definition of the regulator used as analog power supply.
DVDD-supply — required here #
Definition of the regulator used as digital power supply.
port — required here #
A node containing an output port node.
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
link-frequencies — required here
true — No constraints added by this property rule.
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "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>;
ov2680: camera-sensor@36 {
compatible = "ovti,ov2680";
reg = <0x36>;
clocks = <&osc>;
clock-names = "xvclk";
reset-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
DOVDD-supply = <&sw2_reg>;
DVDD-supply = <&sw2_reg>;
AVDD-supply = <®_peri_3p15v>;
port {
ov2680_to_mipi: endpoint {
remote-endpoint = <&mipi_from_sensor>;
link-frequencies = /bits/ 64 <330000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OmniVision OV2685 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov2685.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Shunqian Zheng <zhengsq@rock-chips.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov2685"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XVCLK clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xvclk"
dvdd-supply — required here #
Digital Domain Power Supply
avdd-supply — required here #
Analog Domain Power Supply
dovdd-supply — required here #
I/O Domain Power Supply
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset Pin GPIO Control (active low)
port — required here #
MIPI CSI-2 transmitter port
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.
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "dvdd-supply", "avdd-supply", "dovdd-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov2685: camera-sensor@3c {
compatible = "ovti,ov2685";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&clk_24m_cam>;
clocks = <&cru SCLK_TESTCLKOUT1>;
clock-names = "xvclk";
avdd-supply = <&pp2800_cam>;
dovdd-supply = <&pp1800>;
dvdd-supply = <&pp1800>;
reset-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
OmniVision OV2735 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov2735.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>"
The OmniVision OV2735 is a 2MP (1920x1080) color CMOS image sensor controlled through an I2C-compatible SCCB bus. it outputs RAW10 format and uses a 1/2.7" optical format.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov2735"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XVCLK clock
avdd-supply — required here #
Analog Domain Power Supply
dovdd-supply — required here #
I/O Domain Power Supply
dvdd-supply — required here #
Digital Domain Power Supply
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset Pin GPIO Control (active low)
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Active-low enable pin. Labeled as 'PWDN' in the datasheet, but acts as an enable signal. During power rail ramp-up, the device remains powered down. Once power rails are stable, pulling this pin low powers on the device.
port — required here #
MIPI CSI-2 transmitter port
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.
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
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "avdd-supply", "dovdd-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-sensor@3c {
compatible = "ovti,ov2735";
reg = <0x3c>;
clocks = <&ov2735_clk>;
avdd-supply = <&ov2735_avdd>;
dovdd-supply = <&ov2735_dovdd>;
dvdd-supply = <&ov2735_dvdd>;
reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
enable-gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
port {
cam_out: endpoint {
remote-endpoint = <&mipi_in_cam>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <420000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Omnivision OV4689 CMOS
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov4689.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mikhail Rudenko <mike.rudenko@gmail.com>"
The Omnivision OV4689 is a high performance, 1/3-inch, 4 megapixel image sensor. Ihis chip supports high frame rate speeds up to 90 fps at 2688x1520 resolution. It is programmable through an I2C interface, and sensor output is sent via 1/2/4 lane MIPI CSI-2 connection.
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): "ovti,ov4689"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
External clock (XVCLK) for the sensor, 6-64 MHz
Maximum number of items (maxItems): 1
dovdd-supply — required here #
Digital I/O voltage supply, 1.7-3.0 V
avdd-supply — required here #
Analog voltage supply, 2.6-3.0 V
dvdd-supply — required here #
Digital core voltage supply, 1.1-1.3 V
powerdown-gpios — not listed as required here #
GPIO connected to the powerdown pin (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the reset pin (active low)
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 — 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
Rule 3
Array item rules (
items)Item 1
Exact value (
const):1
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", "dovdd-supply", "avdd-supply", "dvdd-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>;
ov4689: camera@36 {
compatible = "ovti,ov4689";
reg = <0x36>;
clocks = <&ov4689_clk>;
avdd-supply = <&ov4689_avdd>;
dovdd-supply = <&ov4689_dovdd>;
dvdd-supply = <&ov4689_dvdd>;
powerdown-gpios = <&pio 107 GPIO_ACTIVE_LOW>;
reset-gpios = <&pio 109 GPIO_ACTIVE_LOW>;
orientation = <2>;
rotation = <0>;
port {
wcam_out: endpoint {
remote-endpoint = <&mipi_in_wcam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <504000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
OmniVision OV5640 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5640.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Steve Longerbeam <slongerbeam@gmail.com>"
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): "ovti,ov5640"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
XCLK Input Clock
clock-names — required here #
Exact value (const): "xclk"
AVDD-supply — required here #
Analog voltage supply, 2.8 volts
DVDD-supply — required here #
Digital core voltage supply, 1.5 volts
DOVDD-supply — required here #
Digital I/O voltage supply, 1.8 volts
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the powerdown pin, if any.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the reset pin, if any.
port — required here #
Digital Output Port
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.
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)
clock-lanes — not listed as required here
Exact value (const): 0
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
bus-width — not listed as required here
data-shift — not listed as required here
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "AVDD-supply", "DVDD-supply", "DOVDD-supply", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5640>;
reg = <0x3c>;
clocks = <&clks IMX6QDL_CLK_CKO>;
clock-names = "xclk";
DOVDD-supply = <&vgen4_reg>; /* 1.8v */
AVDD-supply = <&vgen3_reg>; /* 2.8v */
DVDD-supply = <&vgen2_reg>; /* 1.5v */
powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
rotation = <180>;
port {
/* MIPI CSI-2 bus endpoint */
ov5640_to_mipi_csi2: endpoint {
remote-endpoint = <&mipi_csi2_from_ov5640>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@3c {
compatible = "ovti,ov5640";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5640>;
reg = <0x3c>;
clocks = <&clk_ext_camera>;
clock-names = "xclk";
DOVDD-supply = <&vgen4_reg>; /* 1.8v */
AVDD-supply = <&vgen3_reg>; /* 2.8v */
DVDD-supply = <&vgen2_reg>; /* 1.5v */
port {
/* Parallel bus endpoint */
ov5640_to_parallel: endpoint {
remote-endpoint = <¶llel_from_ov5640>;
bus-width = <8>;
data-shift = <2>; /* lines 9:2 are used */
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
OmniVision OV5642 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5642.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"
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): "ovti,ov5642"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
XCLK Input Clock
AVDD-supply — not listed as required here #
Analog voltage supply, 2.8V.
DVDD-supply — not listed as required here #
Digital core voltage supply, 1.5V.
DOVDD-supply — not listed as required here #
Digital I/O voltage supply, 1.8V.
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the powerdown pin, if any.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the reset pin, if any.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Video output port.
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)
bus-type — required here
bus-width — not listed as required here
Default value (default): 10
data-shift — not listed as required here
Default value (default): 0
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
pclk-sample — not listed as required here
Default value (default): 1
All of these rules must match (allOf)
Rule 1
Condition (
if)Properties and child nodes (
properties)
bus-type— not listed as required hereExact value (
const):6When the condition matches (
then)Properties and child nodes (
properties)
hsync-active— not listed as required here
false— Not permitted by this property rule.
vsync-active— not listed as required here
false— Not permitted by this property rule.
Rule 2
Condition (
if)Properties and child nodes (
properties)
bus-width— not listed as required hereExact value (
const):10When the condition matches (
then)Properties and child nodes (
properties)
data-shift— not listed as required hereExact value (
const):0
Required in this object (required): "bus-type"
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", "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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@3c {
compatible = "ovti,ov5642";
reg = <0x3c>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5642>;
clocks = <&clk_ext_camera>;
DOVDD-supply = <&vgen4_reg>;
AVDD-supply = <&vgen3_reg>;
DVDD-supply = <&vgen2_reg>;
powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
port {
ov5642_to_parallel: endpoint {
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
remote-endpoint = <¶llel_from_ov5642>;
bus-width = <8>;
data-shift = <2>; /* lines 9:2 are used */
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
OmniVision OV5645 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5645.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5645"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
XCLK Input Clock
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz.
Deprecated (deprecated): true
vdda-supply — required here #
Analog voltage supply, 2.8 volts
vddd-supply — required here #
Digital core voltage supply, 1.5 volts
vdddo-supply — required here #
Digital I/O voltage supply, 1.8 volts
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the PWDNB pin, if any.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the RESETB pin, if any.
port — required here #
Digital Output Port
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.
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "clocks", "vdddo-supply", "vdda-supply", "vddd-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 = "ovti,ov5645";
reg = <0x3c>;
clocks = <&clks 1>;
assigned-clocks = <&clks 1>;
assigned-clock-rates = <24000000>;
vdddo-supply = <&ov5645_vdddo_1v8>;
vdda-supply = <&ov5645_vdda_2v8>;
vddd-supply = <&ov5645_vddd_1v5>;
enable-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ov5645>;
port {
ov5645_ep: endpoint {
remote-endpoint = <&csi0_ep>;
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)
Omnivision OV5647 raw image sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5647.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dave Stevenson <dave.stevenson@raspberrypi.com>", "Jacopo Mondi <jacopo@jmondi.org>"
The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces and CCI (I2C compatible) control bus.
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): "ovti,ov5647"
reg — required here #
I2C device address.
Maximum number of items (maxItems): 1
clocks — required here #
Reference to the xclk clock.
Maximum number of items (maxItems): 1
pwdn-gpios — not listed as required here #
Reference to the GPIO connected to the pwdn pin. Active high.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog voltage supply, 2.8 volts
dvdd-supply — not listed as required here #
Digital core voltage supply, 1.5 volts
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.7 - 3.0 volts
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.
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)
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "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>;
ov5647: camera@36 {
compatible = "ovti,ov5647";
reg = <0x36>;
clocks = <&camera_clk>;
pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
port {
camera_out: endpoint {
remote-endpoint = <&csi1_ep1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OmniVision OV5648 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5648.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5648"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
XVCLK Clock
dvdd-supply — required here #
Digital Domain Power Supply
avdd-supply — not listed as required here #
Analog Domain Power Supply (internal AVDD is used if missing)
dovdd-supply — required here #
I/O Domain Power Supply
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Power Down Pin GPIO Control (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset Pin GPIO Control (active low)
port — required here #
MIPI CSI-2 transmitter port
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.
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)
link-frequencies — required here
true — No constraints added by this property rule.
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "dvdd-supply", "dovdd-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sun8i-v3s-ccu.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5648: camera@36 {
compatible = "ovti,ov5648";
reg = <0x36>;
dvdd-supply = <&ov5648_dvdd>;
avdd-supply = <&ov5648_avdd>;
dovdd-supply = <&ov5648_dovdd>;
clocks = <&ov5648_xvclk 0>;
ov5648_out: port {
ov5648_out_mipi_csi2: endpoint {
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <210000000 168000000>;
remote-endpoint = <&mipi_csi2_in_ov5648>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Omnivision OV5670 5 Megapixels raw image sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5670.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"
The OV5670 is a 5 Megapixels raw image sensor which provides images in 10-bits RAW BGGR Bayer format on a 2 data lanes MIPI CSI-2 serial interface and is controlled through an I2C compatible control bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5670"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
System clock. From 6 to 27 MHz.
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
Reference to the GPIO connected to the PWDNB pin. Active low.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XSHUTDOWN pin. Active low.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog circuit power. Typically 2.8V.
dvdd-supply — not listed as required here #
Digital circuit power. Typically 1.2V.
dovdd-supply — not listed as required here #
Digital I/O circuit power. Typically 2.8V or 1.8V.
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5670: sensor@36 {
compatible = "ovti,ov5670";
reg = <0x36>;
clocks = <&sensor_xclk>;
port {
ov5670_ep: endpoint {
remote-endpoint = <&csi_ep>;
data-lanes = <1 2>;
clock-noncontinuous;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Omnivision OV5675 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5675.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Quentin Schulz <quentin.schulz@theobroma-systems.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/video-interface-devices.yaml#
The Omnivision OV5675 is a high performance, 1/5-inch, 5 megapixel, CMOS image sensor that delivers 2592x1944 at 30fps. It provides full-frame, sub-sampled, and windowed 10-bit MIPI images in various formats via the Serial Camera Control Bus (SCCB) interface.
This chip is programmable through I2C and two-wire SCCB. The sensor output is available via CSI-2 serial data output (up to 2-lane).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov5675"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
System input clock (aka XVCLK). From 6 to 27 MHz.
Maximum number of items (maxItems): 1
dovdd-supply — required here #
Digital I/O voltage supply, 1.8 volts.
avdd-supply — required here #
Analog voltage supply, 2.8 volts.
dvdd-supply — required here #
Digital core voltage supply, 1.2 volts.
reset-gpios — not listed as required here #
The phandle and specifier for the GPIO that controls sensor reset. This corresponds to the hardware pin XSHUTDN which is physically active low.
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.
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 — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
link-frequencies — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "clocks", "dovdd-supply", "avdd-supply", "dvdd-supply", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/px30-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5675: camera@36 {
compatible = "ovti,ov5675";
reg = <0x36>;
reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
clocks = <&cru SCLK_CIF_OUT>;
assigned-clocks = <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <19200000>;
avdd-supply = <&vcc_1v8>;
dvdd-supply = <&vcc_1v2>;
dovdd-supply = <&vcc_2v8>;
rotation = <90>;
orientation = <0>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <450000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2022 Theobroma Systems Design und Consulting GmbH
Line 70: Supports max data transfer of 900 Mbps per lane
Omnivision OV5693/OV5695 CMOS Sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov5693.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tommaso Merciai <tomm.merciai@gmail.com>"
The Omnivision OV5693/OV5695 are high performance, 1/4-inch, 5 megapixel, CMOS image sensors that deliver 2592x1944 at 30fps. It provides full-frame, sub-sampled, and windowed 10-bit MIPI images in various formats via the Serial Camera Control Bus (SCCB) interface.
OV5693/OV5695 are controlled via I2C and two-wire Serial Camera Control Bus (SCCB). The sensor output is available via CSI-2 serial data output (up to 2-lane).
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/video-interface-devices.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ovti,ov5693"When the condition matches (
then) #Properties and child nodes (
properties)
port— not listed as required hereProperties and child nodes (
properties)
endpoint— not listed as required here
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ovti,ov5693", "ovti,ov5695"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
System input clock (aka XVCLK). From 6 to 27 MHz.
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "xvclk"
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.8V.
avdd-supply — not listed as required here #
Analog voltage supply, 2.8V.
dvdd-supply — not listed as required here #
Digital core voltage supply, 1.2V.
reset-gpios — not listed as required here #
The phandle and specifier for the GPIO that controls sensor reset. This corresponds to the hardware pin XSHUTDN which is physically active low.
Maximum number of items (maxItems): 1
port — required here #
MIPI CSI-2 transmitter port
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.
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)
link-frequencies — not listed as required here
true — No constraints added by this property rule.
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "clocks", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/px30-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5693: camera@36 {
compatible = "ovti,ov5693";
reg = <0x36>;
reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&cif_clkout_m0>;
clocks = <&cru SCLK_CIF_OUT>;
assigned-clocks = <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <19200000>;
avdd-supply = <&vcc_1v8>;
dvdd-supply = <&vcc_1v2>;
dovdd-supply = <&vcc_2v8>;
rotation = <90>;
orientation = <0>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <450000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2022 Amarulasolutions
OmniVision OV6211 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov6211.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
OmniVision OV6211 image sensor is a high performance monochrome image sensor. The sensor is controlled over a serial camera control bus protocol (SCCB), the widest supported output image frame size is 400x400 at 120 frames per second rate, data output format is 8/10-bit RAW transferred over one-lane MIPI D-PHY interface.
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
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): "ovti,ov6211"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
XVCLK supply clock, 6MHz to 27MHz frequency.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to XSHUTDOWN pad of the sensor.
Maximum number of items (maxItems): 1
strobe-gpios — not listed as required here #
Input GPIO connected to strobe pad of the sensor.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analogue voltage supply, 2.6 to 3.0 volts.
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.8 volts.
dvdd-supply — not listed as required here #
Digital core voltage supply.
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.
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.
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "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>;
camera@60 {
compatible = "ovti,ov6211";
reg = <0x60>;
clocks = <&camera_clk 0>;
assigned-clocks = <&camera_clk 0>;
assigned-clock-rates = <24000000>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
avdd-supply = <&vreg_2p8>;
dovdd-supply = <&vreg_1p8>;
dvdd-supply = <&vreg_1p2>;
port {
endpoint {
link-frequencies = /bits/ 64 <480000000>;
remote-endpoint = <&mipi_csi2_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
OmniVision OV64A40 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov64a40.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"
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): "ovti,ov64a40"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog voltage supply, 2.8 volts
dvdd-supply — not listed as required here #
Digital core voltage supply, 1.1 volts
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.8 volts
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
data-lanes — required here
true — No constraints added by this property rule.
link-frequencies — required here
true — No constraints added by this property rule.
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "bus-type", "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "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>;
camera@36 {
compatible = "ovti,ov64a40";
reg = <0x36>;
clocks = <&camera_clk>;
dovdd-supply = <&vgen4_reg>;
avdd-supply = <&vgen3_reg>;
dvdd-supply = <&vgen2_reg>;
powerdown-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
rotation = <180>;
orientation = <2>;
port {
endpoint {
remote-endpoint = <&mipi_csi2_in>;
bus-type = <4>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <456000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 52: MIPI CSI-2 C-PHY
Line 53: MIPI CSI-2 D-PHY
OmniVision OV7251 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov7251.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Omnivision OV7251 is a 1/7.5-Inch CMOS active pixel digital image sensor with an active array size of 640H x 480V. It is programmable through a serial I2C interface.
Maintainers (maintainers): "Todor Tomov <todor.too@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov7251"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
XCLK Input Clock
clock-names — not listed as required here #
Exact value (const): "xclk"
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz.
Deprecated (deprecated): true
vdda-supply — required here #
Analog voltage supply, 2.8 volts
vddd-supply — not listed as required here #
Digital core voltage supply, 1.2 volts
vdddo-supply — required here #
Digital I/O voltage supply, 1.8 volts
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the XSHUTDOWN pin, if any. Polarity is GPIO_ACTIVE_HIGH.
port — required here #
Digital Output Port
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.
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)
clock-lanes — not listed as required here
Maximum value (maximum): 1
data-lanes — required here
Maximum number of items (maxItems): 1
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", "vdddo-supply", "vdda-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 = "ovti,ov7251";
reg = <0x3c>;
clocks = <&clks 1>;
assigned-clocks = <&clks 1>;
assigned-clock-rates = <24000000>;
vdddo-supply = <&ov7251_vdddo_1v8>;
vdda-supply = <&ov7251_vdda_2v8>;
vddd-supply = <&ov7251_vddd_1v5>;
enable-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
port {
ov7251_ep: endpoint {
remote-endpoint = <&csi0_ep>;
clock-lanes = <1>;
data-lanes = <0>;
link-frequencies = /bits/ 64 <240000000 319200000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Omnivision OV7720/OV7725 CMOS sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov772x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo@jmondi.org>"
The Omnivision OV7720/OV7725 sensor supports multiple resolutions output, such as VGA, QVGA, and any size scaling down from CIF to 40x30. It also can support the YUV422, RGB565/555/444, GRB422 or raw RGB output formats.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ovti,ov7720", "ovti,ov7725"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO connected to the RSTB pin which is active low.
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
Reference to the GPIO connected to the PWDN pin which is active high.
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Video output port.
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)
bus-type — required here
bus-width — not listed as required here
Default value (default): 10
data-shift — not listed as required here
Default value (default): 0
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
pclk-sample — not listed as required here
Default value (default): 1
All of these rules must match (allOf)
Rule 1
Condition (
if)Properties and child nodes (
properties)
bus-type— not listed as required hereExact value (
const):6When the condition matches (
then)Properties and child nodes (
properties)
hsync-active— not listed as required here
false— Not permitted by this property rule.
vsync-active— not listed as required here
false— Not permitted by this property rule.
Rule 2
Condition (
if)Properties and child nodes (
properties)
bus-width— not listed as required hereExact value (
const):10When the condition matches (
then)Properties and child nodes (
properties)
data-shift— not listed as required hereExact value (
const):0
Required in this object (required): "bus-type"
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", "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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov772x: camera@21 {
compatible = "ovti,ov7725";
reg = <0x21>;
reset-gpios = <&axi_gpio_0 0 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&axi_gpio_0 1 GPIO_ACTIVE_LOW>;
clocks = <&xclk>;
port {
ov772x_0: endpoint {
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
vsync-active = <0>;
hsync-active = <0>;
pclk-sample = <0>;
bus-width = <8>;
data-shift = <0>;
remote-endpoint = <&vcap1_in0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Omnivision OV8856 CMOS Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8856.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>"
The Omnivision OV8856 is a high performance, 1/4-inch, 8 megapixel, CMOS image sensor that delivers 3264x2448 at 30fps. It provides full-frame, sub-sampled, and windowed 10-bit MIPI images in various formats via the Serial Camera Control Bus (SCCB) interface. This chip is programmable through I2C and two-wire SCCB. The sensor output is available via CSI-2 serial data output (up to 4-lane).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov8856"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Input clock for the sensor.
Array item rules (items) #
Item 1
Exact value (
const):"xvclk"
clock-frequency — not listed as required here #
Frequency of the xvclk clock in Hertz.
Deprecated (deprecated): true
dovdd-supply — required here #
Definition of the regulator used as interface power supply.
avdd-supply — required here #
Definition of the regulator used as analog power supply.
dvdd-supply — required here #
Definition of the regulator used as digital power supply.
reset-gpios — required here #
The phandle and specifier for the GPIO that controls sensor reset. This corresponds to the hardware pin XSHUTDOWN which is physically active low.
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.
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 — not listed as required here
Exactly one of these rules must match (oneOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 3
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
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "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>;
ov8856: camera@10 {
compatible = "ovti,ov8856";
reg = <0x10>;
reset-gpios = <&pio 111 GPIO_ACTIVE_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&clk_24m_cam>;
clocks = <&cam_osc>;
clock-names = "xvclk";
avdd-supply = <&mt6358_vcama2_reg>;
dvdd-supply = <&mt6358_vcamd_reg>;
dovdd-supply = <&mt6358_vcamio_reg>;
port {
wcam_out: endpoint {
remote-endpoint = <&mipi_in_wcam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <360000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2019 MediaTek Inc.
OmniVision OV8858 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8858.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo.mondi@ideasonboard.com>", "Nicholas Roth <nicholas@rothemail.net>"
The OmniVision OV8858 is a color CMOS 8 Megapixels (3264x2448) image sensor controlled through an I2C-compatible SCCB bus. The sensor transmits images on a MIPI CSI-2 output interface with up to 4 data lanes.
Shared schema rule ($ref): /schemas/media/video-interface-devices.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov8858"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
XVCLK external clock
clock-names — not listed as required here #
Exact value (const): "xvclk"
dvdd-supply — not listed as required here #
Digital Domain Power Supply
avdd-supply — not listed as required here #
Analog Domain Power Supply
dovdd-supply — not listed as required here #
I/O Domain Power Supply
powerdown-gpios — not listed as required here #
PWDNB powerdown GPIO (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
XSHUTDN reset GPIO (active low)
port — required here #
MIPI CSI-2 transmitter port
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.
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "clocks", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov8858: camera@36 {
compatible = "ovti,ov8858";
reg = <0x36>;
clocks = <&cru SCLK_CIF_OUT>;
clock-names = "xvclk";
assigned-clocks = <&cru SCLK_CIF_OUT>;
assigned-clock-rates = <24000000>;
dovdd-supply = <&vcc1v8_dvp>;
reset-gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_LOW>;
powerdown-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1 2 3 4>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
OmniVision OV8865 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov8865.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ovti,ov8865"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
EXTCLK Clock
dvdd-supply — required here #
Digital Domain Power Supply
avdd-supply — required here #
Analog Domain Power Supply
dovdd-supply — required here #
I/O Domain Power Supply
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Power Down Pin GPIO Control (active low)
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset Pin GPIO Control (active low)
port — required here #
MIPI CSI-2 transmitter port
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.
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)
link-frequencies — required here
true — No constraints added by this property rule.
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "dvdd-supply", "avdd-supply", "dovdd-supply", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
ov8865: camera@36 {
compatible = "ovti,ov8865";
reg = <0x36>;
pinctrl-names = "default";
pinctrl-0 = <&csi_mclk_pin>;
clocks = <&ccu CLK_CSI_MCLK>;
avdd-supply = <®_ov8865_avdd>;
dovdd-supply = <®_ov8865_dovdd>;
dvdd-supply = <®_ov8865_dvdd>;
powerdown-gpios = <&pio 4 17 GPIO_ACTIVE_LOW>; /* PE17 */
reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */
port {
ov8865_out_mipi_csi2: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <360000000>;
remote-endpoint = <&mipi_csi2_in_ov8865>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
OmniVision OV9282 Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ovti,ov9282.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
OV9282 sensor is an OmniVision black & white CMOS active pixel digital image sensor with an active array size of 1296H x 816V. It is programmable through I2C interface. The I2C client address is fixed to 0x60/0x70 as per sensor data sheet. Image data is sent through MIPI CSI-2. OV9281 has a different lens chief ray angle.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ovti,ov9281", "ovti,ov9282"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency from 6 to 27MHz
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog voltage supply, 2.8 volts
dvdd-supply — not listed as required here #
Digital core voltage supply, 1.2 volts
dovdd-supply — not listed as required here #
Digital I/O voltage supply, 1.8 volts
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)
data-lanes — required here
true — No constraints added by this property rule.
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", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@60 {
compatible = "ovti,ov9282";
reg = <0x60>;
clocks = <&ov9282_clk>;
port {
ov9282: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <800000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Intel Corporation
Unisoc Communications RDA5807 FM radio receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/rda,rda5807.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rda,rda5807"
reg — required here #
I2C address.
Maximum number of items (maxItems): 1
power-supply — required here #
true — No constraints added by this property rule.
rda,lnan — not listed as required here #
Use LNAN input port.
Value type (type): "boolean"
rda,lnap — not listed as required here #
Use LNAP input port.
Value type (type): "boolean"
rda,analog-out — not listed as required here #
Enable analog audio output.
Value type (type): "boolean"
rda,i2s-out — not listed as required here #
Enable I2S digital audio output.
Value type (type): "boolean"
rda,lna-microamp — not listed as required here #
LNA working current, in micro-amperes.
Default value (default): 2500
Allowed values (enum): 1800, 2100, 2500, 3000
Required in this object (required): "compatible", "reg", "power-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
radio@11 {
compatible = "rda,rda5807";
reg = <0x11>;
power-supply = <&ldo6>;
rda,lnan;
rda,lnap;
rda,analog-out;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung S5K3M5 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5k3m5.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Samsung S5K3M5 (ISOCELL 3M5) image sensor is a 13MP image sensor. The sensor is controlled over a serial camera control bus protocol, the widest supported output image frame size is 4208x3120 at 30 frames per second, data output format is RAW10 transferred over 4-lane MIPI D-PHY interface.
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
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): "samsung,s5k3m5"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
MCLK supply clock.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to RESET pad of the sensor.
Maximum number of items (maxItems): 1
afvdd-supply — not listed as required here #
Autofocus actuator voltage supply, 2.8-3.0 volts.
vdda-supply — not listed as required here #
Analogue voltage supply, 2.8 volts.
vddd-supply — not listed as required here #
Digital core voltage supply, 1.05 volts.
vddio-supply — not listed as required here #
Digital I/O voltage supply, 2.8 or 1.8 volts.
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.
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 — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "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>;
camera@10 {
compatible = "samsung,s5k3m5";
reg = <0x10>;
clocks = <&camera_mclk 0>;
assigned-clocks = <&camera_mclk 0>;
assigned-clock-rates = <24000000>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
vdda-supply = <&vreg_2p8>;
vddd-supply = <&vreg_1p05>;
vddio-supply = <&vreg_1p8>;
port {
endpoint {
link-frequencies = /bits/ 64 <602500000>;
remote-endpoint = <&mipi_csi2_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5k5baf.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5k5baf"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mclk"
clock-frequency — not listed as required here #
Default value (default): 24000000
mclk clock frequency
Deprecated (deprecated): true
rstn-gpios — required here #
Maximum number of items (maxItems): 1
RSTN pin
stbyn-gpios — required here #
Maximum number of items (maxItems): 1
STDBYN pin
vdda-supply — required here #
Analog power supply 2.8V (2.6V to 3.0V)
vddio-supply — required here #
I/O power supply 1.8V (1.65V to 1.95V) or 2.8V (2.5V to 3.1V)
vddreg-supply — required here #
Regulator input power supply 1.8V (1.7V to 1.9V) or 2.8V (2.6V to 3.0)
port — not listed as 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.
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 — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Required in this object (required): "compatible", "clocks", "clock-names", "rstn-gpios", "stbyn-gpios", "vdda-supply", "vddio-supply", "vddreg-supply"
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@2d {
compatible = "samsung,s5k5baf";
reg = <0x2d>;
clocks = <&camera 0>;
assigned-clocks = <&camera 0>;
assigned-clock-rates = <24000000>;
clock-names = "mclk";
rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>;
stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>;
vdda-supply = <&cam_io_en_reg>;
vddio-supply = <&vtcam_reg>;
vddreg-supply = <&vt_core_15v_reg>;
port {
endpoint {
remote-endpoint = <&csis1_ep>;
data-lanes = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5K6A3(YX) raw image sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5k6a3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces and CCI (I2C compatible) control bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5k6a3"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"extclk"
clock-frequency — not listed as required here #
Default value (default): 24000000
extclk clock frequency
Deprecated (deprecated): true
gpios — required here #
Maximum number of items (maxItems): 1
GPIO connected to the RESET pin
afvdd-supply — required here #
AF (actuator) voltage supply
svdda-supply — required here #
Core voltage supply
svddio-supply — required here #
I/O voltage supply
port — not listed as 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.
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 — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Required in this object (required): "compatible", "clocks", "clock-names", "gpios", "afvdd-supply", "svdda-supply", "svddio-supply"
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@10 {
compatible = "samsung,s5k6a3";
reg = <0x10>;
clocks = <&camera 1>;
assigned-clocks = <&camera 1>;
assigned-clock-rates = <24000000>;
clock-names = "extclk";
gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
afvdd-supply = <&ldo19_reg>;
svdda-supply = <&cam_io_reg>;
svddio-supply = <&ldo19_reg>;
port {
endpoint {
remote-endpoint = <&csis1_ep>;
data-lanes = <1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5KJN1 Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5kjn1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Samsung S5KJN1 (ISOCELL JN1) image sensor is a 50MP image sensor. The sensor is controlled over a serial camera control bus protocol, the widest supported output image frame size is 8160x6144 at 10 frames per second, data output format is RAW10 transferred over 4-lane MIPI D-PHY interface.
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
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): "samsung,s5kjn1"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
MCLK supply clock.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to RESET pad of the sensor.
Maximum number of items (maxItems): 1
afvdd-supply — not listed as required here #
Autofocus actuator voltage supply, 2.8-3.0 volts.
vdda-supply — not listed as required here #
Analogue voltage supply, 2.8 volts.
vddd-supply — not listed as required here #
Digital core voltage supply, 1.05 volts.
vddio-supply — not listed as required here #
Digital I/O voltage supply, 1.8 volts.
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.
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 — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "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>;
camera@56 {
compatible = "samsung,s5kjn1";
reg = <0x56>;
clocks = <&camera_mclk 0>;
assigned-clocks = <&camera_mclk 0>;
assigned-clock-rates = <24000000>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
vdda-supply = <&vreg_2p8>;
vddd-supply = <&vreg_1p05>;
vddio-supply = <&vreg_1p8>;
port {
endpoint {
link-frequencies = /bits/ 64 <700000000>;
remote-endpoint = <&mipi_csi2_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sony IMX111 8MP CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx111.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Svyatoslav Ryhel <clamor95@gmail.com>"
IMX111 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 2464H x 3280V. It is programmable through I2C interface. Image data is sent through MIPI CSI-2, through 1 or 2 lanes.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/video-interface-devices.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/nvmem/nvmem-consumer.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sony,imx111"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
EXTCLK with possible frequency from 6 to 54 MHz
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
iovdd-supply — not listed as required here #
Digital IO power supply (1.8V)
dvdd-supply — not listed as required here #
Digital power supply (1.2V)
avdd-supply — not listed as required here #
Analog power supply (2.7V)
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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.
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "endpoint"
Required in this object (required): "compatible", "reg", "clocks", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@10 {
compatible = "sony,imx111";
reg = <0x10>;
clocks = <&imx111_clk>;
iovdd-supply = <&camera_vddio_1v8>;
dvdd-supply = <&camera_vddd_1v2>;
avdd-supply = <&camera_vdda_2v7>;
orientation = <1>;
rotation = <90>;
nvmem = <&eeprom>;
flash-leds = <&led>;
lens-focus = <&vcm>;
reset-gpios = <&gpio 84 GPIO_ACTIVE_LOW>;
port {
imx111_output: endpoint {
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <542400000>;
remote-endpoint = <&csi_input>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sony 1/3.06-Inch 13.13MP CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx214.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ricardo Ribalda <ribalda@kernel.org>"
The Sony IMX214 is a 1/3.06-inch CMOS active pixel digital image sensor with an active array size of 4224H x 3200V. It is programmable through an I2C interface. Image data is sent through MIPI CSI-2, through 2 or 4 lanes at a maximum throughput of 1.2Gbps/lane.
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): "sony,imx214"
reg — required here #
clocks — required here #
Reference to the xclk clock.
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz.
Deprecated (deprecated): true
enable-gpios — required here #
GPIO descriptor for the enable pin.
Maximum number of items (maxItems): 1
vdda-supply — required here #
Chip analog regulator (2.7V).
vddd-supply — required here #
Chip digital core regulator (1.12V).
vdddo-supply — required here #
Chip digital IO regulator (1.8V).
flash-leds — not listed as required here #
true — No constraints added by this property rule.
lens-focus — 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
Video output port.
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
At least one of these rules must match (anyOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 2
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
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
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", "enable-gpios", "vdda-supply", "vddd-supply", "vdddo-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>;
camera-sensor@1a {
compatible = "sony,imx214";
reg = <0x1a>;
clocks = <&camera_clk>;
assigned-clocks = <&camera_clk>;
assigned-clock-rates = <24000000>;
enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
vdda-supply = <&pm8994_l17>;
vddd-supply = <&camera_vddd_1v12>;
vdddo-supply = <&pm8994_lvs1>;
lens-focus = <&ad5820>;
port {
imx214_ep: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <600000000>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sony 1/4.0-Inch 8Mpixel CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx219.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dave Stevenson <dave.stevenson@raspberrypi.com>"
The Sony imx219 is a 1/4.0-inch CMOS active pixel digital image sensor with an active array size of 3280H x 2464V. It is programmable through I2C interface. The I2C address is fixed to 0x10 as per sensor data sheet. Image data is sent through MIPI CSI-2, which is configured as either 2 or 4 data lanes.
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): "sony,imx219"
reg — required here #
I2C device address
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
VDIG-supply — required here #
Digital I/O voltage supply, 1.8 volts
VANA-supply — required here #
Analog voltage supply, 2.8 volts
VDDL-supply — required here #
Digital core voltage supply, 1.2 volts
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the xclr pin, if any. Must be released (set high) after all supplies are applied.
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.
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 — not listed as required here
The sensor supports either two-lane, or four-lane operation. If this property is omitted four-lane operation is assumed. For two-lane operation the property must be set to <1 2>.
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "VANA-supply", "VDIG-supply", "VDDL-supply", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
imx219: sensor@10 {
compatible = "sony,imx219";
reg = <0x10>;
clocks = <&imx219_clk>;
VANA-supply = <&imx219_vana>; /* 2.8v */
VDIG-supply = <&imx219_vdig>; /* 1.8v */
VDDL-supply = <&imx219_vddl>; /* 1.2v */
port {
imx219_0: endpoint {
remote-endpoint = <&csi1_ep>;
data-lanes = <1 2>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <456000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sony IMX258 13 Mpixel CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx258.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
IMX258 is a diagonal 5.867mm (Type 1/3.06) 13 Mega-pixel CMOS active pixel type stacked image sensor with a square pixel array of size 4208 x 3120. It is programmable through I2C interface. Image data is sent through MIPI CSI-2. The sensor exists in two different models, a standard variant (IMX258) and a variant with phase detection autofocus (IMX258-PDAF). The camera module does not expose the model through registers, so the exact model needs to be specified.
Shared schema rule ($ref): /schemas/media/video-interface-devices.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sony,imx258", "sony,imx258-pdaf"
clocks — required here #
Clock frequency from 6 to 27 MHz.
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
vana-supply — not listed as required here #
Analog voltage (VANA) supply, 2.7 V
vdig-supply — not listed as required here #
Digital I/O voltage (VDIG) supply, 1.2 V
vif-supply — not listed as required here #
Interface voltage (VIF) supply, 1.8 V
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.
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", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@6c {
compatible = "sony,imx258";
reg = <0x6c>;
clocks = <&imx258_clk>;
port {
endpoint {
remote-endpoint = <&csi1_ep>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <320000000>;
};
};
};
};
/* Oscillator on the camera board */
imx258_clk: clk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <19200000>;
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@6c {
compatible = "sony,imx258";
reg = <0x6c>;
clocks = <&imx258_clk>;
port {
endpoint {
remote-endpoint = <&csi1_ep>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <633600000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 53: See ../video-interfaces.txt for more details
Sony 1/2.5-Inch 8.51MP CMOS Digital Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx274.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Leon Luo <leonl@leopardimaging.com>"
The Sony IMX274 is a 1/2.5-inch CMOS active pixel digital image sensor with an active array size of 3864H x 2202V. It is programmable through I2C interface. Image data is sent through MIPI CSI-2, which is configured as 4 lanes at 1440 Mbps.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sony,imx274"
reg — required here #
Exact value (const): 26
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "inck"
vana-supply — not listed as required here #
Sensor 2.8 V analog supply.
vdig-supply — not listed as required here #
Sensor 1.8 V digital core supply.
vddl-supply — not listed as required here #
Sensor digital IO 1.2 V supply.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
imx274: camera-sensor@1a {
compatible = "sony,imx274";
reg = <0x1a>;
clocks = <&imx274_clk>;
clock-names = "inck";
reset-gpios = <&gpio_sensor 0 0>;
port {
sensor_out: endpoint {
remote-endpoint = <&csiss_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sony IMX283 Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx283.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kieran Bingham <kieran.bingham@ideasonboard.com>", "Umang Jain <umang.jain@ideasonboard.com>"
IMX283 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 5472H x 3648V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sony,imx283"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency from 6 to 24 MHz.
Maximum number of items (maxItems): 1
vadd-supply — not listed as required here #
Analog power supply (2.9V)
vdd1-supply — not listed as required here #
Interface power supply (1.8V)
vdd2-supply — not listed as required here #
Digital power supply (1.2V)
reset-gpios — not listed as required here #
Sensor reset (XCLR) GPIO
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.
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
At least one of these rules must match (anyOf)
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
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", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@1a {
compatible = "sony,imx283";
reg = <0x1a>;
clocks = <&imx283_clk>;
assigned-clocks = <&imx283_clk>;
assigned-clock-parents = <&imx283_clk_parent>;
assigned-clock-rates = <12000000>;
vadd-supply = <&camera_vadd_2v9>;
vdd1-supply = <&camera_vdd1_1v8>;
vdd2-supply = <&camera_vdd2_1v2>;
port {
imx283: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <360000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2024 Ideas on Board Oy
Sony IMX290 1/2.8-Inch CMOS Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx290.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Sony IMX290 is a 1/2.8-Inch CMOS Solid-state image sensor with Square Pixel, available in either mono or colour variants. It is programmable through I2C and 4-wire interfaces.
The sensor output is available via CMOS logic parallel SDR output, Low voltage LVDS DDR output and CSI-2 serial data output. The CSI-2 bus is the default. No bindings have been defined for the other busses.
imx290lqr is the full model identifier for the colour variant. "sony,imx290" is treated the same as this as it was the original compatible string. imx290llr is the mono version of the sensor.
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 #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"sony,imx290lqr","sony,imx290llr","sony,imx327lqr","sony,imx462lqr","sony,imx462llr"
Rule 2
Exact value (
const):"sony,imx290"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Input clock (37.125 MHz or 74.25 MHz)
Array item rules (items) #
Item 1
Exact value (
const):"xclk"
clock-frequency — not listed as required here #
Frequency of the xclk clock in Hz
Deprecated (deprecated): true
vdda-supply — required here #
Analog power supply (2.9V)
vddd-supply — required here #
Digital core power supply (1.2V)
vdddo-supply — required here #
Digital I/O power supply (1.8V)
reset-gpios — not listed as required here #
Sensor reset (XCLR) GPIO
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Video output port
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
At least one of these rules must match (anyOf)
Rule 1
Array item rules (
items)Item 1
Exact value (
const):1Item 2
Exact value (
const):2
Rule 2
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
link-frequencies — required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes", "link-frequencies"
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", "clock-names", "vdda-supply", "vddd-supply", "vdddo-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>;
imx290: camera-sensor@1a {
compatible = "sony,imx290lqr";
reg = <0x1a>;
pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>;
clocks = <&gcc 90>;
clock-names = "xclk";
assigned-clocks = <&clks 1>;
assigned-clock-rates = <37125000>;
vdddo-supply = <&camera_vdddo_1v8>;
vdda-supply = <&camera_vdda_2v8>;
vddd-supply = <&camera_vddd_1v5>;
reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
port {
imx290_ep: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <222750000 148500000>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 33: Colour
Line 34: Monochrome
Line 35: Colour
Line 36: Colour
Line 37: Monochrome
Sony IMX296 1/2.8-Inch CMOS Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx296.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Sony IMX296 is a 1/2.9-Inch active pixel type CMOS Solid-state image sensor with square pixel array and 1.58 M effective pixels. This chip features a global shutter with variable charge-integration time. It is programmable through I2C and 4-wire interfaces. The sensor output is available via CSI-2 serial data output (1 Lane).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sony,imx296", "sony,imx296ll", "sony,imx296lq"
The IMX296 sensor exists in two different models, a colour variant (IMX296LQ) and a monochrome variant (IMX296LL). The device exposes the model through registers, allowing for auto-detection with a common "sony,imx296" compatible string. However, some camera modules disable the ability to read the sensor model register, which disables this feature. In those cases, the exact model needs to be specified as "sony,imx296ll" or "sony,imx296lq".
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Input clock (37.125 MHz, 54 MHz or 74.25 MHz)
Array item rules (items) #
Item 1
Exact value (
const):"inck"
avdd-supply — required here #
Analog power supply (3.3V)
dvdd-supply — required here #
Digital power supply (1.2V)
ovdd-supply — required here #
Interface power supply (1.8V)
reset-gpios — not listed as required here #
Sensor reset (XCLR) GPIO
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "avdd-supply", "dvdd-supply", "ovdd-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>;
imx296: camera-sensor@1a {
compatible = "sony,imx296";
reg = <0x1a>;
pinctrl-names = "default";
pinctrl-0 = <&camera_rear_default>;
clocks = <&gcc 90>;
clock-names = "inck";
avdd-supply = <&camera_vdda_3v3>;
dvdd-supply = <&camera_vddd_1v2>;
ovdd-supply = <&camera_vddo_1v8>;
reset-gpios = <&msmgpio 35 GPIO_ACTIVE_LOW>;
port {
imx296_ep: endpoint {
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Sony IMX334 Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx334.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
IMX334 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 3864H x 2202V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sony,imx334"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)
data-lanes — required here
true — No constraints added by this property rule.
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", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@1a {
compatible = "sony,imx334";
reg = <0x1a>;
clocks = <&imx334_clk>;
port {
imx334: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <891000000 445500000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Intel Corporation
Sony IMX335 Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx335.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
IMX335 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 2592H x 1944V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sony,imx335"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency from 6 to 27 MHz, 37.125MHz, 74.25MHz
Maximum number of items (maxItems): 1
avdd-supply — not listed as required here #
Analog power supply (2.9V)
ovdd-supply — not listed as required here #
Interface power supply (1.8V)
dvdd-supply — not listed as required here #
Digital power supply (1.2V)
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
Maximum number of items (maxItems): 1
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)
data-lanes — required here
true — No constraints added by this property rule.
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", "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@1a {
compatible = "sony,imx335";
reg = <0x1a>;
clocks = <&imx335_clk>;
avdd-supply = <&camera_vdda_2v9>;
ovdd-supply = <&camera_vddo_1v8>;
dvdd-supply = <&camera_vddd_1v2>;
reset-gpios = <&gpio 50 GPIO_ACTIVE_LOW>;
port {
imx335: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <594000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Intel Corporation
Sony IMX412 Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx412.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul J. Murphy <paul.j.murphy@intel.com>", "Daniele Alessandrelli <daniele.alessandrelli@intel.com>"
IMX412 sensor is a Sony CMOS active pixel digital image sensor with an active array size of 4072H x 3176V. It is programmable through I2C interface. The I2C client address is fixed to 0x1a as per sensor data sheet. Image data is sent through MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sony,imx412", "sony,imx577"
reg — required here #
I2C address
Maximum number of items (maxItems): 1
clocks — required here #
Clock frequency 6MHz, 12MHz, 18MHz, 24MHz or 27MHz
Maximum number of items (maxItems): 1
dovdd-supply — not listed as required here #
Interface power supply.
avdd-supply — not listed as required here #
Analog power supply.
dvdd-supply — not listed as required here #
Digital power supply.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the XCLR pin, if any.
Maximum number of items (maxItems): 1
port — required here #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)
data-lanes — required here
true — No constraints added by this property rule.
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", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@1a {
compatible = "sony,imx412";
reg = <0x1a>;
clocks = <&imx412_clk>;
port {
imx412: endpoint {
remote-endpoint = <&cam>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <600000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Intel Corporation
Sony IMX415 CMOS Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/sony,imx415.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Riesch <michael.riesch@collabora.com>"
The Sony IMX415 is a diagonal 6.4 mm (Type 1/2.8) CMOS active pixel type solid-state image sensor with a square pixel array and 8.46 M effective pixels. This chip operates with analog 2.9 V, digital 1.1 V, and interface 1.8 V triple power supply, and has low power consumption. The IMX415 is programmable through I2C interface. The sensor output is available via CSI-2 serial data output (two or four lanes).
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): "sony,imx415"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Input clock (24 MHz, 27 MHz, 37.125 MHz, 72 MHz or 74.25 MHz)
Maximum number of items (maxItems): 1
avdd-supply — required here #
Analog power supply (2.9 V)
dvdd-supply — required here #
Digital power supply (1.1 V)
ovdd-supply — required here #
Interface power supply (1.8 V)
reset-gpios — not listed as required here #
Sensor reset (XCLR) GPIO
Maximum number of items (maxItems): 1
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 — 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):2
Rule 2
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
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "endpoint"
Required in this object (required): "compatible", "reg", "clocks", "avdd-supply", "dvdd-supply", "ovdd-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>;
imx415: camera-sensor@1a {
compatible = "sony,imx415";
reg = <0x1a>;
avdd-supply = <&vcc2v9_cam>;
clocks = <&clock_cam>;
dvdd-supply = <&vcc1v1_cam>;
lens-focus = <&vcm>;
orientation = <2>;
ovdd-supply = <&vcc1v8_cam>;
reset-gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
rotation = <180>;
port {
imx415_ep: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <445500000>;
remote-endpoint = <&mipi_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/st,st-mipid02.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benjamin Mugnier <benjamin.mugnier@foss.st.com>", "Sylvain Petinot <sylvain.petinot@foss.st.com>"
MIPID02 has two CSI-2 input ports, only one of those ports can be active at a time. Active port input stream will be de-serialized and its content outputted through PARALLEL output port. CSI-2 first input port is a dual lane 800Mbps per lane whereas CSI-2 second input port is a single lane 800Mbps. Both ports support clock and data lane polarity swap. First port also supports data lane swap. PARALLEL output port has a maximum width of 12 bits. Supported formats are RAW6, RAW7, RAW8, RAW10, RAW12, RGB565, RGB888, RGB444, YUV420 8-bit, YUV422 8-bit and YUV420 10-bit.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,st-mipid02"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "xclk"
VDDE-supply — required here #
Sensor digital IO supply. Must be 1.8 volts.
VDDIN-supply — required here #
Sensor internal regulator supply. Must be 1.8 volts.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the xsdn pin, if any. This is an active low signal to the mipid02.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
CSI-2 first input port
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
Single-lane operation shall be <1> or <2> . Dual-lane operation shall be <1 2> or <2 1> .
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
lane-polarities — not listed as required here
Any lane can be inverted or not.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
CSI-2 second input port
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
Single-lane operation shall be <1> or <2> .
Maximum number of items (maxItems): 1
lane-polarities — not listed as required here
Any lane can be inverted or not.
Maximum number of items (maxItems): 1
Required in this object (required): "data-lanes"
port@2 — 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.
Output port
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)
bus-width — required here
Allowed values (enum): 6, 7, 8, 10, 12
Required in this object (required): "bus-width"
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Required in this object (required): "port@2"
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", "clock-names", "VDDE-supply", "VDDIN-supply", "ports"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
mipid02: csi2rx@14 {
compatible = "st,st-mipid02";
reg = <0x14>;
clocks = <&clk_ext_camera_12>;
clock-names = "xclk";
VDDE-supply = <&vdd>;
VDDIN-supply = <&vdd>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ep0: endpoint {
data-lanes = <1 2>;
remote-endpoint = <&mipi_csi2_in>;
};
};
port@2 {
reg = <2>;
ep2: endpoint {
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
remote-endpoint = <¶llel_out>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics VGxy61 HDR Global Shutter Sensor Family
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/st,st-vgxy61.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benjamin Mugnier <benjamin.mugnier@foss.st.com>", "Sylvain Petinot <sylvain.petinot@foss.st.com>"
STMicroelectronics VGxy61 family has a CSI-2 output port. CSI-2 output is a quad lanes 800Mbps per lane. Supported formats are RAW8, RAW10, RAW12, RAW14 and RAW16. Following part number are supported - VG5661 and VG6661 are 1.6 Mpx (1464 x 1104) monochrome and color sensors. Maximum frame rate is 75 fps. - VG5761 and VG6761 are 2.3 Mpx (1944 x 1204) monochrome and color sensors. Maximum frame rate is 60 fps.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,st-vgxy61"
reg — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
VCORE-supply — required here #
Sensor digital core supply. Must be 1.2 volts.
VDDIO-supply — required here #
Sensor digital IO supply. Must be 1.8 volts.
VANA-supply — required here #
Sensor analog supply. Must be 2.8 volts.
reset-gpios — not listed as required here #
Reference to the GPIO connected to the reset pin, if any. This is an active low signal to the vgxy61.
st,strobe-gpios-polarity — not listed as required here #
Invert polarity of illuminator's lights strobe GPIOs. These GPIOs directly drive the illuminator LEDs.
Value type (type): "boolean"
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.
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
CSI lanes to use
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "clocks", "VCORE-supply", "VDDIO-supply", "VANA-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>;
vgxy61: csi2tx@10 {
compatible = "st,st-vgxy61";
reg = <0x10>;
clocks = <&clk_ext_camera>;
VCORE-supply = <&v1v2>;
VDDIO-supply = <&v1v8>;
VANA-supply = <&v2v8>;
reset-gpios = <&mfxgpio 18 GPIO_ACTIVE_LOW>;
port {
ep0: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&mipi_csi2_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2022 STMicroelectronics SA.
STMicroelectronics VD55G1 Global Shutter Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/st,vd55g1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benjamin Mugnier <benjamin.mugnier@foss.st.com>", "Sylvain Petinot <sylvain.petinot@foss.st.com>"
The STMicroelectronics VD55G1 is a global shutter image sensor with an active array size of 804H x 704V. It is programmable through I2C interface. The I2C address is fixed to 0x10.
Image data is sent through MIPI CSI-2, which is configured as only 1 data lane. The sensor provides 4 GPIOS that can be used for external LED signal (synchronized with sensor integration periods).
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 #
Allowed values (enum): "st,vd55g1", "st,vd65g4"
VD55G1 is the monochrome variant, while VD65G4 is the color one.
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vcore-supply — required here #
Digital core power supply (1.15V)
vddio-supply — required here #
Digital IO power supply (1.8V)
vana-supply — required here #
Analog power supply (2.8V)
reset-gpios — required here #
Sensor reset active low GPIO (XSHUTDOWN)
Maximum number of items (maxItems): 1
st,leds — not listed as required here #
List sensor's GPIOs used to control strobe light sources during exposure time. The numbers identify the sensor pin on which the illumination system is connected. GPIOs are active-high.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):3
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.
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
Array item rules (items)
Item 1
Exact value (
const):1
link-frequencies — required here
Maximum number of items (maxItems): 1
Array item rules (items)
Minimum value (
minimum):125000000Maximum value (
maximum):600000000
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "vcore-supply", "vddio-supply", "vana-supply", "reset-gpios", "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>;
camera-sensor@10 {
compatible = "st,vd55g1";
reg = <0x10>;
clocks = <&camera_clk_12M>;
vcore-supply = <&camera_vcore_v1v15>;
vddio-supply = <&camera_vddio_v1v8>;
vana-supply = <&camera_vana_v2v8>;
reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
st,leds = <2>;
orientation = <2>;
rotation = <0>;
port {
endpoint {
data-lanes = <1>;
link-frequencies = /bits/ 64 <600000000>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2025 STMicroelectronics SA.
STMicroelectronics VD56G3 Global Shutter Image Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/st,vd56g3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benjamin Mugnier <benjamin.mugnier@foss.st.com>", "Sylvain Petinot <sylvain.petinot@foss.st.com>"
The STMicroelectronics VD56G3 is a 1.5 M pixel global shutter image sensor with an active array size of 1124 x 1364 (portrait orientation). It is programmable through I2C, the address is fixed to 0x10. The sensor output is available via CSI-2, which is configured as either 1 or 2 data lanes. The sensor provides 8 GPIOS that can be used for external LED signal (synchronized with sensor integration periods)
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 #
Allowed values (enum): "st,vd56g3", "st,vd66gy"
Two variants are availables; VD56G3 is a monochrome sensor while VD66GY is a colour variant.
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
vcore-supply — required here #
Digital core power supply (1.15V)
vddio-supply — required here #
Digital IO power supply (1.8V)
vana-supply — required here #
Analog power supply (2.8V)
reset-gpios — required here #
Sensor reset active low GPIO (XSHUTDOWN)
Maximum number of items (maxItems): 1
st,leds — not listed as required here #
List sensor's GPIOs used to control strobe light sources during exposure time. The numbers identify the sensor pin on which the illumination system is connected. GPIOs are active-high.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):7
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.
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
link-frequencies — required here
Maximum number of items (maxItems): 1
Array item rules (items)
lane-polarities — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
Any lane can be inverted or not.
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "compatible", "reg", "clocks", "vcore-supply", "vddio-supply", "vana-supply", "reset-gpios", "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>;
camera-sensor@10 {
compatible = "st,vd56g3";
reg = <0x10>;
clocks = <&camera_clk_12M>;
vcore-supply = <&camera_vcore_v1v15>;
vddio-supply = <&camera_vddio_v1v8>;
vana-supply = <&camera_vana_v2v8>;
reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
st,leds = <6>;
orientation = <2>;
rotation = <0>;
port {
endpoint {
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <402000000>;
remote-endpoint = <&csiphy0_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (c) 2024 STMicroelectronics SA.
Techwell TW9900 NTSC/PAL video decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/techwell,tw9900.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mehdi Djait <mehdi.djait@bootlin.com>"
The tw9900 is a multi-standard video decoder, supporting NTSC, PAL standards with auto-detection features.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "techwell,tw9900"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — required here #
VDD power supply
reset-gpios — not listed as required here #
GPIO descriptor for the RESET input pin
Maximum number of items (maxItems): 1
powerdown-gpios — not listed as required here #
GPIO descriptor for the POWERDOWN input pin
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Analog input port
Properties and child nodes (properties)
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
CVBS over MUX0
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
CVBS over MUX1
endpoint@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Chroma over CIN0 and Y over MUX0
endpoint@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Chroma over CIN0 and Y over MUX1
Exactly one of these rules must match (oneOf)
Rule 1
Rule 2
Rule 3
Rule 4
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for the decoder output.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "ports", "reg", "vdd-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/display/sdtv-standards.h>
#include <dt-bindings/gpio/gpio.h>
composite_connector {
compatible = "composite-video-connector";
label = "tv";
sdtv-standards = <(SDTV_STD_PAL | SDTV_STD_NTSC)>;
port {
composite_to_tw9900: endpoint {
remote-endpoint = <&tw9900_to_composite>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
video-decoder@44 {
compatible = "techwell,tw9900";
reg = <0x44>;
vdd-supply = <&tw9900_supply>;
reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
tw9900_to_composite: endpoint@0 {
reg = <0>;
remote-endpoint = <&composite_to_tw9900>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&cif_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
THine THP7312
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/thine,thp7312.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Elder <paul.elder@@ideasonboard.com>"
The THP7312 is a standalone ISP controlled over i2c, and is capable of various image processing and correction functions, including 3A control. It can be connected to CMOS image sensors from various vendors, supporting both MIPI CSI-2 and parallel interfaces. It can also output on either MIPI CSI-2 or parallel. The hardware is capable of transmitting and receiving MIPI interleaved data streams with data types or multiple virtual channel identifiers.
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): "thine,thp7312"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
CLKI clock input
thine,boot-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 1
Default value (default): 1
Boot mode of the THP7312, reflecting the value of the BOOT[0] pin strap. 0 is for the SPI/2-wire slave boot, 1 is for the SPI master boot (from external flash ROM).
reset-gpios — required here #
Maximum number of items (maxItems): 1
Reference to the GPIO connected to the RESET_N pin, if any. Must be released (set high) after all supplies are applied.
vddcore-supply — required here #
1.2V supply for core, PLL, MIPI rx and MIPI tx.
vhtermrx-supply — required here #
Supply for input (RX). 1.8V for MIPI, or 1.8/2.8/3.3V for parallel.
vddtx-supply — required here #
Supply for output (TX). 1.8V for MIPI, or 1.8/2.8/3.3V for parallel.
vddhost-supply — required here #
Supply for host interface. 1.8V, 2.8V, or 3.3V.
vddcmos-supply — required here #
Supply for sensor interface. 1.8V, 2.8V, or 3.3V.
vddgpio-0-supply — required here #
Supply for GPIO_0. 1.8V, 2.8V, or 3.3V.
vddgpio-1-supply — required here #
Supply for GPIO_1. 1.8V, 2.8V, or 3.3V.
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 not matched by properties or patternProperties in this schema (additionalProperties) #
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)
bus-type — not listed as required here
Exact value (const): 4
data-lanes — not listed as required here
This property is for lane reordering between the THP7312 and the SoC. The sensor supports either two-lane, or four-lane operation. If this property is omitted four-lane operation is assumed. For two-lane operation the property must be set to <1 2>.
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum value (
maximum):4
sensors — required here #
Value type (type): "object"
List of connected sensors
Properties and child nodes (properties) #
#address-cells — required here
Exact value (const): 1
#size-cells — required here
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^sensor@[01]$ — name matches this regular expression
Value type (type): "object"
Sensors connected to the first and second input, with one node per sensor.
Properties and child nodes (properties)
thine,model — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Model of the connected sensors. Must be a valid compatible string.
reg — required here
THP7312 input port number
Array item rules (items)
Item 1
Maximum value (
maximum):1
data-lanes — required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#/properties/data-lanes
Maximum number of items (maxItems): 4
This property is for lane reordering between the THP7312 and the imaging sensor that it is connected to.
Required in this object (required): "reg", "data-lanes"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Required in this object (required): "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "reset-gpios", "clocks", "vddcore-supply", "vhtermrx-supply", "vddtx-supply", "vddhost-supply", "vddcmos-supply", "vddgpio-0-supply", "vddgpio-1-supply", "sensors", "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>
#include <dt-bindings/media/video-interfaces.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@61 {
compatible = "thine,thp7312";
reg = <0x61>;
pinctrl-names = "default";
pinctrl-0 = <&cam1_pins_default>;
reset-gpios = <&pio 119 GPIO_ACTIVE_LOW>;
clocks = <&camera61_clk>;
vddcore-supply = <&vsys_v4p2>;
vhtermrx-supply = <&vsys_v4p2>;
vddtx-supply = <&vsys_v4p2>;
vddhost-supply = <&vsys_v4p2>;
vddcmos-supply = <&vsys_v4p2>;
vddgpio-0-supply = <&vsys_v4p2>;
vddgpio-1-supply = <&vsys_v4p2>;
orientation = <0>;
rotation = <0>;
sensors {
#address-cells = <1>;
#size-cells = <0>;
sensor@0 {
thine,model = "sony,imx258";
reg = <0>;
data-lanes = <4 1 3 2>;
};
};
port {
thp7312_2_endpoint: endpoint {
remote-endpoint = <&mipi_thp7312_2>;
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
data-lanes = <4 2 1 3>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2023 Ideas on Board
Line 94: CSI-2 D-PHY
Texas Instruments DS90UB913 FPD-Link III Serializer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ti,ds90ub913.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>"
The TI DS90UB913 is an FPD-Link III video serializer for parallel video.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ds90ub913a-q1"
#gpio-cells — required here #
Exact value (const): 2
First cell is the GPO pin number, second cell is the flags. The GPO pin number must be in range of [0, 3]. Note that GPOs 2 and 3 are not available in external oscillator mode.
gpio-controller — required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Reference clock connected to the CLKIN pin.
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"clkin"
#clock-cells — required here #
Exact value (const): 0
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Parallel input port
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.
Required in this object (required): "pclk-sample"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
FPD-Link III output port
Required in this object (required): "port@0", "port@1"
i2c — not listed as required here #
Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "#gpio-cells", "gpio-controller", "#clock-cells", "ports"
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>
serializer {
compatible = "ti,ds90ub913a-q1";
gpio-controller;
#gpio-cells = <2>;
clocks = <&clk_cam_48M>;
clock-names = "clkin";
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ub913_in: endpoint {
remote-endpoint = <&sensor_out>;
pclk-sample = <1>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&deser_fpd_in>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "aptina,mt9v111";
reg = <0x48>;
clocks = <&fixed_clock>;
port {
sensor_out: endpoint {
remote-endpoint = <&ub913_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments DS90UB953 FPD-Link III Serializer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ti,ds90ub953.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>"
The TI DS90UB953 is an FPD-Link III video serializer for MIPI CSI-2.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ds90ub953-q1", "ti,ds90ub971-q1"
#gpio-cells — required here #
Exact value (const): 2
First cell is the GPIO pin number, second cell is the flags. The GPIO pin number must be in range of [0, 3].
gpio-controller — required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Reference clock connected to the CLKIN pin.
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"clkin"
#clock-cells — required here #
Exact value (const): 0
reg — not listed as required here #
Maximum number of items (maxItems): 1
The strap I2C address of the serializer. Can be used by the deserializer to communicate over back-channel when the forward-channel is not yet active.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
CSI-2 input port
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.
Required in this object (required): "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
FPD-Link III output port
Required in this object (required): "port@0", "port@1"
i2c — not listed as required here #
Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "#gpio-cells", "gpio-controller", "#clock-cells", "ports"
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>
link {
#address-cells = <1>;
#size-cells = <0>;
serializer@18 {
compatible = "ti,ds90ub953-q1";
reg = <0x18>;
gpio-controller;
#gpio-cells = <2>;
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ub953_in: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&sensor_out>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&deser_fpd_in>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@1a {
compatible = "sony,imx274";
reg = <0x1a>;
reset-gpios = <&serializer 0 GPIO_ACTIVE_LOW>;
clocks = <&serializer>;
clock-names = "inck";
port {
sensor_out: endpoint {
remote-endpoint = <&ub953_in>;
};
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments DS90UB9XX Family FPD-Link Deserializer Hubs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ti,ds90ub960.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>"
The TI DS90UB9XX devices are FPD-Link video deserializers with I2C and GPIO forwarding.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/i2c/i2c-atr.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ds90ub960-q1", "ti,ds90ub9702-q1"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Reference clock connected to the REFCLK pin.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"refclk"
powerdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Specifier for the GPIO connected to the PDB pin.
i2c-alias-pool — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
links — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 0
ti,manual-strobe — not listed as required here
Value type (type): "boolean"
Enable manual strobe position and EQ level
Properties matching a name pattern (patternProperties) #
^link@[0-3]$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
reg — required here
The link number
Maximum number of items (maxItems): 1
#address-cells — not listed as required here
Exact value (const): 1
#size-cells — not listed as required here
Exact value (const): 0
i2c-alias — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The I2C address used for the serializer. Transactions to this address on the I2C bus where the deserializer resides are forwarded to the serializer.
ti,rx-mode — required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3, 4
FPD-Link Input Mode. This should reflect the hardware and the default mode of the connected device.
ti,cdr-mode — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
FPD-Link CDR Mode. This should reflect the hardware and the default mode of the connected device.
ti,strobe-pos — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Minimum value (minimum): -13
Maximum value (maximum): 13
Manual strobe position
ti,eq-level — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 14
Manual EQ level
Properties matching a name pattern (patternProperties)
^serializer(@[0-9a-f]+)*$ — name matches this regular expression
Value type (type): "object"
FPD-Link Serializer node
Required in this object (required): "reg", "i2c-alias", "ti,rx-mode"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
FPD-Link input 0
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.
Endpoint for FPD-Link port. If the RX mode for this port is RAW, hsync-active and vsync-active must be defined.
port@1 — 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.
FPD-Link input 1
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.
Endpoint for FPD-Link port. If the RX mode for this port is RAW, hsync-active and vsync-active must be defined.
port@2 — 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.
FPD-Link input 2
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.
Endpoint for FPD-Link port. If the RX mode for this port is RAW, hsync-active and vsync-active must be defined.
port@3 — 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.
FPD-Link input 3
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.
Endpoint for FPD-Link port. If the RX mode for this port is RAW, hsync-active and vsync-active must be defined.
port@4 — 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.
CSI-2 Output 0
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
link-frequencies — required here
Maximum number of items (maxItems): 1
Required in this object (required): "data-lanes", "link-frequencies"
port@5 — 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.
CSI-2 Output 1
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
link-frequencies — required here
Maximum number of items (maxItems): 1
Required in this object (required): "data-lanes", "link-frequencies"
Required in this object (required): "port@0", "port@1", "port@2", "port@3", "port@4", "port@5"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "ports"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
clock-frequency = <400000>;
#address-cells = <1>;
#size-cells = <0>;
deser@3d {
compatible = "ti,ds90ub960-q1";
reg = <0x3d>;
clock-names = "refclk";
clocks = <&fixed_clock>;
powerdown-gpios = <&pca9555 7 GPIO_ACTIVE_LOW>;
i2c-alias-pool = <0x4a 0x4b 0x4c 0x4d 0x4e 0x4f>;
ports {
#address-cells = <1>;
#size-cells = <0>;
/* Port 0, Camera 0 */
port@0 {
reg = <0>;
ub960_fpd3_1_in: endpoint {
remote-endpoint = <&ub953_1_out>;
};
};
/* Port 1, Camera 1 */
port@1 {
reg = <1>;
ub960_fpd3_2_in: endpoint {
remote-endpoint = <&ub913_2_out>;
hsync-active = <0>;
vsync-active = <1>;
};
};
/* Port 2, unconnected */
port@2 {
reg = <2>;
};
/* Port 3, unconnected */
port@3 {
reg = <3>;
};
/* Port 4, CSI-2 TX */
port@4 {
reg = <4>;
ds90ub960_0_csi_out: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <800000000>;
remote-endpoint = <&csi2_phy0>;
};
};
/* Port 5, unconnected */
port@5 {
reg = <5>;
};
};
links {
#address-cells = <1>;
#size-cells = <0>;
/* Link 0 has DS90UB953 serializer and IMX274 sensor */
link@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
i2c-alias = <0x44>;
ti,rx-mode = <3>;
serializer1: serializer@30 {
compatible = "ti,ds90ub953-q1";
reg = <0x30>;
gpio-controller;
#gpio-cells = <2>;
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ub953_1_in: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&sensor_1_out>;
};
};
port@1 {
reg = <1>;
ub953_1_out: endpoint {
remote-endpoint = <&ub960_fpd3_1_in>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@1a {
compatible = "sony,imx274";
reg = <0x1a>;
clocks = <&serializer>;
clock-names = "inck";
reset-gpios = <&serializer1 0 GPIO_ACTIVE_LOW>;
port {
sensor_1_out: endpoint {
remote-endpoint = <&ub953_1_in>;
};
};
};
};
};
}; /* End of link@0 */
/* Link 1 has DS90UB913 serializer and MT9V111 sensor */
link@1 {
reg = <1>;
i2c-alias = <0x45>;
ti,rx-mode = <0>;
serializer2: serializer {
compatible = "ti,ds90ub913a-q1";
gpio-controller;
#gpio-cells = <2>;
clocks = <&clk_cam_48M>;
clock-names = "clkin";
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ub913_2_in: endpoint {
remote-endpoint = <&sensor_2_out>;
pclk-sample = <1>;
};
};
port@1 {
reg = <1>;
ub913_2_out: endpoint {
remote-endpoint = <&ub960_fpd3_2_in>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "aptina,mt9v111";
reg = <0x48>;
clocks = <&serializer2>;
port {
sensor_2_out: endpoint {
remote-endpoint = <&ub913_2_in>;
};
};
};
};
};
}; /* End of link@1 */
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 87: RAW10
Line 88: RAW12 HF
Line 89: RAW12 LF
Line 90: CSI2 SYNC
Line 91: CSI2 NON-SYNC
Line 99: FPD-Link III
Line 100: FPD-Link IV
Texas Instruments TVP5150 and TVP5151 video decoders
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/ti,tvp5150.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
The TVP5150 and TVP5151 are video decoders that convert baseband NTSC and PAL (and also SECAM in the TVP5151 case) video signals to either 8-bit 4:2:2 YUV with discrete syncs or 8-bit ITU-R BT.656 with embedded syncs output formats.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,tvp5150"
reg — required here #
Maximum number of items (maxItems): 1
pdn-gpios — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
port@0 — not listed as 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.
sink port node, AIP1A
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.
port@1 — not listed as 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.
sink port node, AIP1B
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.
port@2 — 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.
source port node, Y-OUT
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.
Required in this object (required): "compatible", "reg", "port@2"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/display/sdtv-standards.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
bridge@5c {
compatible = "ti,tvp5150";
reg = <0x5c>;
pdn-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio6 7 GPIO_ACTIVE_LOW>;
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
endpoint@0 {
reg = <0>;
remote-endpoint = <&composite0_to_tvp5150>;
};
endpoint@1 {
reg = <1>;
remote-endpoint = <&svideo_luma_to_tvp5150>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
endpoint@0 {
reg = <0>;
remote-endpoint = <&composite1_to_tvp5150>;
};
endpoint@1 {
reg = <1>;
remote-endpoint = <&svideo_chroma_to_tvp5150>;
};
};
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&ccdc_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Toshiba et8ek8 5MP sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/toshiba,et8ek8.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pavel Machek <pavel@ucw.cz>", "Sakari Ailus <sakari.ailus@iki.fi>"
Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device
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): "toshiba,et8ek8"
reg — required here #
I2C address (0x3e, or an alternative address)
Maximum number of items (maxItems): 1
vana-supply — required here #
Analogue voltage supply (VANA), 2.8 volts
clocks — required here #
Maximum number of items (maxItems): 1
reset-gpios — required here #
XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor is in hardware standby mode when the signal is in the low state.
Maximum number of items (maxItems): 1
flash-leds — not listed as required here #
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.
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.
Required in this object (required): "compatible", "reg", "vana-supply", "clocks", "reset-gpios", "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>;
camera@3e {
compatible = "toshiba,et8ek8";
reg = <0x3e>;
vana-supply = <&vaux4>;
clocks = <&isp 0>;
assigned-clocks = <&isp 0>;
assigned-clock-rates = <9600000>;
reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
flash-leds = <&led>;
port {
csi_cam1: endpoint {
remote-endpoint = <&csi_out1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Toshiba TC358746 Parallel to MIPI CSI2 Bridge
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / i2c
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/toshiba,tc358746.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marco Felsch <kernel@pengutronix.de>"
The Toshiba TC358746 converts a parallel video stream into a MIPI CSI-2 stream. The direction can be either parallel-in -> csi-out or csi-in -> parallel-out The chip is programmable through I2C and SPI but the SPI interface is only supported in parallel-in -> csi-out mode.
Note that the current device tree bindings only support the parallel-in -> csi-out path.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "toshiba,tc358746"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
The phandle to the reference clock source. This corresponds to the hardware pin REFCLK.
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "refclk"
#clock-cells — not listed as required here #
The bridge can act as clock provider for the sensor. To enable this
support #clock-cells must be specified. Attention if this feature is used
then the mclk rate must be at least: (2 * link-frequency) / 8
`------------------´ ^
internal PLL rate smallest possible
mclk-div
Exact value (const): 0
clock-output-names — not listed as required here #
The clock name of the MCLK output, the default name is tc358746-mclk.
Maximum number of items (maxItems): 1
vddc-supply — required here #
Digital core voltage supply, 1.2 volts
vddio-supply — required here #
Digital I/O voltage supply, 1.8 volts
vddmipi-supply — required here #
MIPI CSI phy voltage supply, 1.2 volts
reset-gpios — not listed as required here #
The phandle and specifier for the GPIO that controls the chip reset. This corresponds to the hardware pin RESX which is physically active low.
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port
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)
hsync-active — required here
true — No constraints added by this property rule.
vsync-active — required here
true — No constraints added by this property rule.
bus-type — required here
Required in this object (required): "hsync-active", "vsync-active", "bus-type"
port@1 — 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.
Output port
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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
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): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "vddc-supply", "vddio-supply", "vddmipi-supply", "ports"
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>;
csi-bridge@e {
compatible = "toshiba,tc358746";
reg = <0xe>;
clocks = <&refclk>;
clock-names = "refclk";
reset-gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
vddc-supply = <&v1_2d>;
vddio-supply = <&v1_8d>;
vddmipi-supply = <&v1_2d>;
/* sensor mclk provider */
#clock-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
/* Input */
port@0 {
reg = <0>;
tc358746_in: endpoint {
remote-endpoint = <&sensor_out>;
hsync-active = <0>;
vsync-active = <0>;
bus-type = <5>;
};
};
/* Output */
port@1 {
reg = <1>;
tc358746_out: endpoint {
remote-endpoint = <&mipi_csi2_in>;
data-lanes = <1 2>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <216000000>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Xilinx MIPI CSI-2 Receiver Subsystem
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings / xilinx
Schema identifier ($id): "http://devicetree.org/schemas/media/xilinx/xlnx,csi2rxss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vishal Sagar <vishal.sagar@amd.com>"
The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2 traffic from compliant camera sensors and send the output as AXI4 Stream video data for image processing. The subsystem consists of a MIPI D-PHY in slave mode which captures the data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the packet data. The optional Video Format Bridge (VFB) converts this data to AXI4 Stream video data. For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem. Please note that this bindings includes only the MIPI CSI-2 Rx controller and Video Format Bridge and not D-PHY.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
List of clock specifiers
Array item rules (items) #
Item 1
AXI Lite clock
Item 2
Video clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lite_aclk"
Item 2
Exact value (
const):"video_aclk"
xlnx,csi-pxl-format — not listed as required here #
This denotes the CSI Data type selected in hw design. Packets other than this data type (except for RAW8 and User defined data types) will be filtered out. Possible values are as below - 0x1e - YUV4228B 0x1f - YUV42210B 0x20 - RGB444 0x21 - RGB555 0x22 - RGB565 0x23 - RGB666 0x24 - RGB888 0x28 - RAW6 0x29 - RAW7 0x2a - RAW8 0x2b - RAW10 0x2c - RAW12 0x2d - RAW14 0x2e - RAW16 0x2f - RAW20
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Exactly one of these rules must match (oneOf) #
Rule 1
Minimum value (
minimum):30Maximum value (
maximum):36
Rule 2
Minimum value (
minimum):40Maximum value (
maximum):47
xlnx,vfb — not listed as required here #
Value type (type): "boolean"
Present when Video Format Bridge is enabled in IP configuration
xlnx,en-csi-v2-0 — not listed as required here #
Value type (type): "boolean"
Present if CSI v2 is enabled in IP configuration.
xlnx,en-vcx — not listed as required here #
Value type (type): "boolean"
When present, there are maximum 16 virtual channels, else only 4.
xlnx,en-active-lanes — not listed as required here #
Value type (type): "boolean"
Present if the number of active lanes can be re-configured at runtime in the Protocol Configuration Register. Otherwise all lanes, as set in IP configuration, are always active.
video-reset-gpios — not listed as required here #
Optional specifier for a GPIO that asserts video_aresetn.
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input / sink port node, single endpoint describing the CSI-2 transmitter.
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
This is required only in the sink port 0 endpoint which connects to MIPI CSI-2 source like sensor. The possible values are - 1 - For 1 lane enabled in IP. 1 2 - For 2 lanes enabled in IP. 1 2 3 - For 3 lanes enabled in IP. 1 2 3 4 - For 4 lanes enabled in IP.
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output / source port node, endpoint describing modules connected the CSI-2 receiver.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
xlnx,csi-pxl-format— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #This rule must not match (
not)When the condition matches (
then) #Properties and child nodes (
properties)
xlnx,en-vcx— not listed as required here
false— Not permitted by this property rule.
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>
xcsi2rxss_1: csi2rx@a0020000 {
compatible = "xlnx,mipi-csi2-rx-subsystem-5.0";
reg = <0xa0020000 0x10000>;
interrupt-parent = <&gic>;
interrupts = <0 95 4>;
xlnx,csi-pxl-format = <0x2a>;
xlnx,vfb;
xlnx,en-active-lanes;
xlnx,en-csi-v2-0;
xlnx,en-vcx;
clock-names = "lite_aclk", "video_aclk";
clocks = <&misc_clk_0>, <&misc_clk_1>;
video-reset-gpios = <&gpio 86 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
/* Sink port */
reg = <0>;
csiss_in: endpoint {
data-lanes = <1 2 3 4>;
/* MIPI CSI-2 Camera handle */
remote-endpoint = <&camera_out>;
};
};
port@1 {
/* Source port */
reg = <1>;
csiss_out: endpoint {
remote-endpoint = <&vproc_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Allegro DVT Video IP Codecs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allegro,al5e.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Tretter <m.tretter@pengutronix.de>"
Allegro DVT video IP codecs present in the Xilinx ZynqMP SoC. The IP core may either be a H.264/H.265 encoder or H.264/H.265 decoder ip core.
Each actual codec engine is controlled by a microcontroller (MCU). Host software uses a provided mailbox interface to communicate with the MCU. The MCUs share an interrupt.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"allegro,al5e-1.1"Item 2
Exact value (
const):"allegro,al5e"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allegro,al5d-1.1"Item 2
Exact value (
const):"allegro,al5d"
reg — required here #
Array item rules (items) #
Item 1
The registers
Item 2
The SRAM
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"regs"
Item 2
Exact value (
const):"sram"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Core clock
Item 2
MCU clock
Item 3
Core AXI master port clock
Item 4
MCU AXI master port clock
Item 5
AXI4-Lite slave port clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core_clk"
Item 2
Exact value (
const):"mcu_clk"
Item 3
Exact value (
const):"m_axi_core_aclk"
Item 4
Exact value (
const):"m_axi_mcu_aclk"
Item 5
Exact value (
const):"s_axi_lite_aclk"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fpga {
#address-cells = <2>;
#size-cells = <2>;
al5e: video-codec@a0009000 {
compatible = "allegro,al5e-1.1", "allegro,al5e";
reg = <0 0xa0009000 0 0x1000>,
<0 0xa0000000 0 0x8000>;
reg-names = "regs", "sram";
interrupts = <0 96 4>;
clocks = <&xlnx_vcu 0>, <&xlnx_vcu 1>,
<&clkc 71>, <&clkc 71>, <&clkc 71>;
clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
"m_axi_mcu_aclk", "s_axi_lite_aclk";
};
};
fpga {
#address-cells = <2>;
#size-cells = <2>;
al5d: video-codec@a0029000 {
compatible = "allegro,al5d-1.1", "allegro,al5d";
reg = <0 0xa0029000 0 0x1000>,
<0 0xa0020000 0 0x8000>;
reg-names = "regs", "sram";
interrupts = <0 96 4>;
clocks = <&xlnx_vcu 2>, <&xlnx_vcu 3>,
<&clkc 71>, <&clkc 71>, <&clkc 71>;
clock-names = "core_clk", "mcu_clk", "m_axi_core_aclk",
"m_axi_mcu_aclk", "s_axi_lite_aclk";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A10 CMOS Sensor Interface (CSI)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun4i-a10-csi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
The Allwinner A10 and later has a CMOS Sensor Interface to retrieve frames from a parallel or BT656 sensor.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-csi1"
Rule 2
Exact value (
const):"allwinner,sun7i-a20-csi0"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun7i-a20-csi1"Item 2
Exact value (
const):"allwinner,sun4i-a10-csi1"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun8i-r40-csi0"Item 2
Exact value (
const):"allwinner,sun7i-a20-csi0"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
The CSI interface clock
Item 2
The CSI DRAM clock
Rule 2
Array item rules (
items)Item 1
The CSI interface clock
Item 2
The CSI ISP clock
Item 3
The CSI DRAM clock
clock-names — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"bus"Item 2
Exact value (
const):"ram"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"bus"Item 2
Exact value (
const):"isp"Item 3
Exact value (
const):"ram"
resets — not listed as required here #
Maximum number of items (maxItems): 1
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interconnect-names — not listed as required here #
Exact value (const): "dma-mem"
port — not listed as 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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-width — required here
data-active — required here
true — No constraints added by this property rule.
hsync-active — required here
true — No constraints added by this property rule.
pclk-sample — required here
true — No constraints added by this property rule.
vsync-active — required here
true — No constraints added by this property rule.
Required in this object (required): "bus-width", "data-active", "hsync-active", "pclk-sample", "vsync-active"
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun7i-a20-ccu.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>
csi0: csi@1c09000 {
compatible = "allwinner,sun7i-a20-csi0";
reg = <0x01c09000 0x1000>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_AHB_CSI0>, <&ccu CLK_CSI_SCLK>, <&ccu CLK_DRAM_CSI0>;
clock-names = "bus", "isp", "ram";
resets = <&ccu RST_CSI0>;
port {
csi_from_ov5640: endpoint {
remote-endpoint = <&ov5640_to_csi>;
bus-width = <8>;
hsync-active = <1>; /* Active high */
vsync-active = <0>; /* Active low */
data-active = <1>; /* Active high */
pclk-sample = <1>; /* Rising */
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 60: FIXME: This should be made required eventually once every SoC will
Line 61: have the MBUS declared.
Line 65: FIXME: This should be made required eventually once every SoC will
Line 66: have the MBUS declared.
Allwinner A10 Infrared Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rc.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun4i-a10-ir"
Rule 2
Exact value (
const):"allwinner,sun5i-a13-ir"
Rule 3
Exact value (
const):"allwinner,sun6i-a31-ir"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"allwinner,suniv-f1c100s-ir","allwinner,sun8i-a83t-ir","allwinner,sun8i-r40-ir","allwinner,sun50i-a64-ir","allwinner,sun50i-h6-ir","allwinner,sun50i-h616-ir"Item 2
Exact value (
const):"allwinner,sun6i-a31-ir"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb"
Item 2
Exact value (
const):"ir"
resets — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
Default value (default): 8000000
IR Receiver clock frequency, in Hertz.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ir0: ir@1c21800 {
compatible = "allwinner,sun4i-a10-ir";
clocks = <&apb0_gates 6>, <&ir0_clk>;
clock-names = "apb", "ir";
clock-frequency = <3000000>;
resets = <&apb0_rst 1>;
interrupts = <0 5 1>;
reg = <0x01C21800 0x40>;
linux,rc-map-name = "rc-rc6-mce";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A10 Video Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun4i-a10-video-engine", "allwinner,sun5i-a13-video-engine", "allwinner,sun7i-a20-video-engine", "allwinner,sun8i-a33-video-engine", "allwinner,sun8i-h3-video-engine", "allwinner,sun8i-v3s-video-engine", "allwinner,sun8i-r40-video-engine", "allwinner,sun20i-d1-video-engine", "allwinner,sun50i-a64-video-engine", "allwinner,sun50i-h5-video-engine", "allwinner,sun50i-h6-video-engine"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
Item 3
RAM Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"ram"
resets — required here #
Maximum number of items (maxItems): 1
allwinner,sram — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to SRAM
Item 2
register value for device
Phandle to the device SRAM
iommus — not listed as required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
CMA pool to use for buffers allocation instead of the default CMA pool.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "allwinner,sram"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun7i-a20-ccu.h>
#include <dt-bindings/reset/sun4i-a10-ccu.h>
video-codec@1c0e000 {
compatible = "allwinner,sun7i-a20-video-engine";
reg = <0x01c0e000 0x1000>;
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_AHB_VE>, <&ccu CLK_VE>,
<&ccu CLK_DRAM_VE>;
clock-names = "ahb", "mod", "ram";
resets = <&ccu RST_VE>;
allwinner,sram = <&ve_sram 1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Hantro G2 VPU codec implemented on Allwinner H6 SoC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun50i-h6-vpu-g2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jernej Skrabec <jernej.skrabec@gmail.com>"
Hantro G2 video decode accelerator present on Allwinner H6 SoC.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun50i-h6-vpu-g2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
resets — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "iommus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun50i-h6-ccu.h>
#include <dt-bindings/reset/sun50i-h6-ccu.h>
video-codec-g2@1c00000 {
compatible = "allwinner,sun50i-h6-vpu-g2";
reg = <0x01c00000 0x1000>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_VP9>, <&ccu CLK_VP9>;
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_VP9>;
iommus = <&iommu 5>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A31 CMOS Sensor Interface (CSI)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun6i-a31-csi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun6i-a31-csi", "allwinner,sun8i-a83t-csi", "allwinner,sun8i-h3-csi", "allwinner,sun8i-v3s-csi", "allwinner,sun50i-a64-csi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
Item 3
DRAM Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"ram"
resets — required here #
Maximum number of items (maxItems): 1
port — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Parallel input port, connect to a parallel sensor
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-width — required here
Allowed values (enum): 8, 10, 12, 16
pclk-sample — not listed as required here
true — No constraints added by this property rule.
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "bus-width"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): #/properties/port
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
MIPI CSI-2 bridge input port
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Internal output port to the ISP
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-v3s-ccu.h>
#include <dt-bindings/reset/sun8i-v3s-ccu.h>
csi1: csi@1cb4000 {
compatible = "allwinner,sun8i-v3s-csi";
reg = <0x01cb4000 0x1000>;
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_CSI>,
<&ccu CLK_CSI_SCLK>,
<&ccu CLK_DRAM_CSI>;
clock-names = "bus",
"mod",
"ram";
resets = <&ccu RST_BUS_CSI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
/* Parallel bus endpoint */
csi1_ep: endpoint {
remote-endpoint = <&adv7611_ep>;
bus-width = <16>;
/*
* If hsync-active/vsync-active are missing,
* embedded BT.656 sync is used.
*/
hsync-active = <0>; /* Active low */
vsync-active = <0>; /* Active low */
pclk-sample = <1>; /* Rising */
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Allwinner A31 Image Signal Processor Driver (ISP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun6i-a31-isp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "allwinner,sun6i-a31-isp", "allwinner,sun8i-v3s-isp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
Item 3
DRAM Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"ram"
resets — required here #
Maximum number of items (maxItems): 1
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
CSI0 input port
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
CSI1 input port
Condition (if) #
Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)
When the condition matches (then) #
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-v3s-ccu.h>
#include <dt-bindings/reset/sun8i-v3s-ccu.h>
isp: isp@1cb8000 {
compatible = "allwinner,sun8i-v3s-isp";
reg = <0x01cb8000 0x1000>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_CSI>,
<&ccu CLK_CSI_SCLK>,
<&ccu CLK_DRAM_CSI>;
clock-names = "bus", "mod", "ram";
resets = <&ccu RST_BUS_CSI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isp_in_csi0: endpoint {
remote-endpoint = <&csi0_out_isp>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A31 MIPI CSI-2
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun6i-a31-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun6i-a31-mipi-csi2"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun8i-v3s-mipi-csi2"Item 2
Exact value (
const):"allwinner,sun6i-a31-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
phys — required here #
Maximum number of items (maxItems): 1
MIPI D-PHY
phy-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy"
resets — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input port, connect to a MIPI CSI-2 sensor
Properties and child nodes (properties)
reg — not listed as required here
Exact value (const): 0
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port, connect to a CSI controller
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys", "phy-names", "resets", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-v3s-ccu.h>
#include <dt-bindings/reset/sun8i-v3s-ccu.h>
mipi_csi2: csi@1cb1000 {
compatible = "allwinner,sun8i-v3s-mipi-csi2",
"allwinner,sun6i-a31-mipi-csi2";
reg = <0x01cb1000 0x1000>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_CSI>,
<&ccu CLK_CSI_SCLK>;
clock-names = "bus", "mod";
resets = <&ccu RST_BUS_CSI>;
phys = <&dphy>;
phy-names = "dphy";
ports {
#address-cells = <1>;
#size-cells = <0>;
mipi_csi2_in: port@0 {
reg = <0>;
mipi_csi2_in_ov5648: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&ov5648_out_mipi_csi2>;
};
};
mipi_csi2_out: port@1 {
reg = <1>;
mipi_csi2_out_csi0: endpoint {
remote-endpoint = <&csi0_in_mipi_csi2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A83T DE2 Rotate
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jernej Skrabec <jernej.skrabec@siol.net>", "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
The Allwinner A83T and A64 have a rotation core used for rotating and flipping images.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun8i-a83t-de2-rotate"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun50i-a64-de2-rotate"Item 2
Exact value (
const):"allwinner,sun8i-a83t-de2-rotate"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Rotate interface clock
Item 2
Rotate module clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-de2.h>
#include <dt-bindings/reset/sun8i-de2.h>
rotate: rotate@1020000 {
compatible = "allwinner,sun8i-a83t-de2-rotate";
reg = <0x1020000 0x10000>;
interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&display_clocks CLK_BUS_ROT>,
<&display_clocks CLK_ROT>;
clock-names = "bus",
"mod";
resets = <&display_clocks RST_ROT>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner A83T MIPI CSI-2
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun8i-a83t-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Kocialkowski <paul.kocialkowski@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "allwinner,sun8i-a83t-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Bus Clock
Item 2
Module Clock
Item 3
MIPI-specific Clock
Item 4
Misc CSI Clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"mipi"
Item 4
Exact value (
const):"misc"
resets — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input port, connect to a MIPI CSI-2 sensor
Properties and child nodes (properties)
reg — not listed as required here
Exact value (const): 0
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port, connect to a CSI controller
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-a83t-ccu.h>
#include <dt-bindings/reset/sun8i-a83t-ccu.h>
mipi_csi2: csi@1cb1000 {
compatible = "allwinner,sun8i-a83t-mipi-csi2";
reg = <0x01cb1000 0x1000>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ccu CLK_BUS_CSI>,
<&ccu CLK_CSI_SCLK>,
<&ccu CLK_MIPI_CSI>,
<&ccu CLK_CSI_MISC>;
clock-names = "bus", "mod", "mipi", "misc";
resets = <&ccu RST_BUS_CSI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
mipi_csi2_in: port@0 {
reg = <0>;
mipi_csi2_in_ov8865: endpoint {
data-lanes = <1 2 3 4>;
remote-endpoint = <&ov8865_out_mipi_csi2>;
};
};
mipi_csi2_out: port@1 {
reg = <1>;
mipi_csi2_out_csi: endpoint {
remote-endpoint = <&csi_in_mipi_csi2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Allwinner H3 Deinterlace
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/allwinner,sun8i-h3-deinterlace.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jernej Skrabec <jernej.skrabec@siol.net>", "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"
The Allwinner H3 and later has a deinterlace core used for deinterlacing interlaced video content.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"allwinner,sun8i-h3-deinterlace"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun8i-r40-deinterlace"Item 2
Exact value (
const):"allwinner,sun8i-h3-deinterlace"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"allwinner,sun50i-a64-deinterlace"Item 2
Exact value (
const):"allwinner,sun8i-h3-deinterlace"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Deinterlace interface clock
Item 2
Deinterlace module clock
Item 3
Deinterlace DRAM clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"mod"
Item 3
Exact value (
const):"ram"
resets — not listed as required here #
Maximum number of items (maxItems): 1
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interconnect-names — not listed as required here #
Exact value (const): "dma-mem"
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/sun8i-h3-ccu.h>
#include <dt-bindings/reset/sun8i-h3-ccu.h>
deinterlace: deinterlace@1400000 {
compatible = "allwinner,sun8i-h3-deinterlace";
reg = <0x01400000 0x20000>;
clocks = <&ccu CLK_BUS_DEINTERLACE>,
<&ccu CLK_DEINTERLACE>,
<&ccu CLK_DRAM_DEINTERLACE>;
clock-names = "bus", "mod", "ram";
resets = <&ccu RST_BUS_DEINTERLACE>;
interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&mbus 9>;
interconnect-names = "dma-mem";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Amlogic GE2D Acceleration Unit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,axg-ge2d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,axg-ge2d"
interrupts — required here #
Minimum number of items (minItems): 1
reg — required here #
Minimum number of items (minItems): 1
resets — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
ge2d: ge2d@ff940000 {
compatible = "amlogic,axg-ge2d";
reg = <0xff940000 0x10000>;
interrupts = <150>;
clocks = <&clk_ge2d>;
resets = <&reset_ge2d>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2020 BayLibre, SAS
Amlogic C3 Image Signal Processing Unit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,c3-isp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Keke Li <keke.li@amlogic.com>"
Amlogic ISP is the RAW image processing module and supports three channels image output.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,c3-isp"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"isp"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vapb"
Item 2
Exact value (
const):"isp0"
interrupts — required here #
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
input port node.
Required in this object (required): "compatible", "reg", "reg-names", "power-domains", "clocks", "clock-names", "interrupts", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h>
#include <dt-bindings/power/amlogic,c3-pwrc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp: isp@ff000000 {
compatible = "amlogic,c3-isp";
reg = <0x0 0xff000000 0x0 0xf000>;
reg-names = "isp";
power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>;
clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_ISP0>;
clock-names = "vapb", "isp0";
assigned-clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_ISP0>;
assigned-clock-rates = <0>, <400000000>;
interrupts = <GIC_SPI 145 IRQ_TYPE_EDGE_RISING>;
port {
c3_isp_in: endpoint {
remote-endpoint = <&c3_adap_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic C3 MIPI adapter receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,c3-mipi-adapter.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Keke Li <keke.li@amlogic.com>"
MIPI adapter is used to convert the MIPI CSI-2 data into an ISP supported data format.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,c3-mipi-adapter"
reg — required here #
Maximum number of items (maxItems): 3
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top"
Item 2
Exact value (
const):"fd"
Item 3
Exact value (
const):"rd"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vapb"
Item 2
Exact value (
const):"isp0"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
input port node.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
output port node.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "reg-names", "power-domains", "clocks", "clock-names", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h>
#include <dt-bindings/power/amlogic,c3-pwrc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
adap: adap@ff010000 {
compatible = "amlogic,c3-mipi-adapter";
reg = <0x0 0xff010000 0x0 0x100>,
<0x0 0xff01b000 0x0 0x100>,
<0x0 0xff01d000 0x0 0x200>;
reg-names = "top", "fd", "rd";
power-domains = <&pwrc PWRC_C3_ISP_TOP_ID>;
clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_ISP0>;
clock-names = "vapb", "isp0";
assigned-clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_ISP0>;
assigned-clock-rates = <0>, <400000000>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
c3_adap_in: endpoint {
remote-endpoint = <&c3_mipi_csi_out>;
};
};
port@1 {
reg = <1>;
c3_adap_out: endpoint {
remote-endpoint = <&c3_isp_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic C3 MIPI CSI-2 receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,c3-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Keke Li <keke.li@amlogic.com>"
MIPI CSI-2 receiver contains CSI-2 RX PHY and host controller. It receives the MIPI data from the image sensor and sends MIPI data to MIPI adapter.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,c3-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 3
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aphy"
Item 2
Exact value (
const):"dphy"
Item 3
Exact value (
const):"host"
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vapb"
Item 2
Exact value (
const):"phy0"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
input port node, connected to sensor.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
output port node
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "reg-names", "power-domains", "clocks", "clock-names", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/amlogic,c3-peripherals-clkc.h>
#include <dt-bindings/power/amlogic,c3-pwrc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
csi: csi@ff018000 {
compatible = "amlogic,c3-mipi-csi2";
reg = <0x0 0xff018000 0x0 0x400>,
<0x0 0xff019000 0x0 0x300>,
<0x0 0xff01a000 0x0 0x100>;
reg-names = "aphy", "dphy", "host";
power-domains = <&pwrc PWRC_C3_MIPI_ISP_WRAP_ID>;
clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_CSI_PHY0>;
clock-names = "vapb", "phy0";
assigned-clocks = <&clkc_periphs CLKID_VAPB>,
<&clkc_periphs CLKID_CSI_PHY0>;
assigned-clock-rates = <0>, <200000000>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
c3_mipi_csi_in: endpoint {
remote-endpoint = <&imx290_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
c3_mipi_csi_out: endpoint {
remote-endpoint = <&c3_adap_in>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic Video Decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,gx-vdec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Maxime Jourdan <mjourdan@baylibre.com>"
The video decoding IP lies within the DOS memory region, except for the hardware bitstream parser that makes use of an undocumented region.
It makes use of the following blocks:
- ESPARSER is a bitstream parser that outputs to a VIFIFO. Further VDEC blocks
then feed from this VIFIFO.
- VDEC_1 can decode MPEG-1, MPEG-2, MPEG-4 part 2, MJPEG, H.263, H.264, VC-1.
- VDEC_HEVC can decode HEVC and VP9.
Both VDEC_1 and VDEC_HEVC share the "vdec" IRQ and as such cannot run concurrently.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,gxbb-vdec","amlogic,gxl-vdec","amlogic,gxlx-vdec","amlogic,gxm-vdec"Item 2
Exact value (
const):"amlogic,gx-vdec"
Rule 2
Allowed values (
enum):"amlogic,g12a-vdec","amlogic,sm1-vdec"
interrupts — required here #
Minimum number of items (minItems): 2
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vdec"
Item 2
Exact value (
const):"esparser"
reg — required here #
Minimum number of items (minItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dos"
Item 2
Exact value (
const):"esparser"
resets — required here #
Maximum number of items (maxItems): 1
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"esparser"
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"dos_parser"
Item 2
Exact value (
const):"dos"
Item 3
Exact value (
const):"vdec_1"
Item 4
Exact value (
const):"vdec_hevc"
Item 5
Exact value (
const):"vdec_hevcf"
amlogic,ao-sysctrl — required here #
should point to the AOBUS sysctrl node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
amlogic,canvas — required here #
should point to a canvas provider node
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMaximum number of items (
maxItems):4
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"amlogic,g12a-vdec","amlogic,sm1-vdec"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):5
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names", "amlogic,ao-sysctrl", "amlogic,canvas"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
vdec: video-decoder@c8820000 {
compatible = "amlogic,gxl-vdec", "amlogic,gx-vdec";
reg = <0xc8820000 0x10000>, <0xc110a580 0xe4>;
reg-names = "dos", "esparser";
interrupts = <44>, <32>;
interrupt-names = "vdec", "esparser";
clocks = <&clk_dos_parser> ,<&clk_dos>, <&clk_vdec_1>, <&clk_vdec_hevc>;
clock-names = "dos_parser", "dos", "vdec_1", "vdec_hevc";
resets = <&reset_parser>;
reset-names = "esparser";
amlogic,ao-sysctrl = <&sysctrl_AO>;
amlogic,canvas = <&canvas>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
Line 33: GXBB (S905)
Line 34: GXL (S905D, S905W, S905X, S905Y)
Line 35: GXLX (S905L)
Line 36: GXM (S912)
Line 39: G12A (S905X2, S905D2)
Line 40: SM1 (S905X3, S905D3)
Amlogic Meson IR transmitter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,meson-ir-tx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Viktor Prutyanov <viktor.prutyanov@phystech.edu>"
Some Amlogic SoCs such as A311D and T950D4 have IR transmitter (also called blaster) controller onboard. It is capable of sending IR signals with arbitrary carrier frequency and duty cycle.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"amlogic,meson-ir-tx"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"amlogic,meson-g12a-ir-tx"Item 2
Exact value (
const):"amlogic,meson-ir-tx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sysclk"
Item 2
Exact value (
const):"xtal"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/g12a-clkc.h>
ir@ff80014c {
compatible = "amlogic,meson-g12a-ir-tx", "amlogic,meson-ir-tx";
reg = <0xff80014c 0x10>;
interrupts = <0 198 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_CLK81>, <&xtal>;
clock-names = "sysclk", "xtal";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic Meson IR remote control receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rc.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"amlogic,meson6-ir","amlogic,meson8b-ir","amlogic,meson-gxbb-ir","amlogic,meson-s4-ir"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"amlogic,meson-gx-ir"Item 2
Exact value (
const):"amlogic,meson-gxbb-ir"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
ir-receiver@c8100480 {
compatible = "amlogic,meson6-ir";
reg = <0xc8100480 0x20>;
interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amphion VPU codec IP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/amphion,vpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ming Qian <ming.qian@nxp.com>", "Shijie Qin <shijie.qin@nxp.com>"
The Amphion MXC video encoder(Windsor) and decoder(Malone) accelerators present on NXP i.MX8Q SoCs.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^vpu@[0-9a-f]+$"
compatible — required here #
Array item rules (items) #
Item 1
reg — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 1
ranges — not listed as required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^mailbox@[0-9a-f]+$ — name matches this regular expression #
Each vpu encoder or decoder correspond a MU, which used for communication between driver and firmware. Implement via mailbox on driver.
Shared schema rule ($ref): /schemas/mailbox/fsl,mu.yaml#
^vpu-core@[0-9a-f]+$ — name matches this regular expression #
Each core correspond a decoder or encoder, need to configure them separately. NXP i.MX8QM SoC has one decoder and two encoder, i.MX8QXP SoC has one decoder and one encoder.
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Array item rules (items)
Item 1
Allowed values (
enum):"nxp,imx8q-vpu-decoder","nxp,imx8q-vpu-encoder"
reg — required here
Maximum number of items (maxItems): 1
power-domains — required here
Maximum number of items (maxItems): 1
mbox-names — required here
Array item rules (items)
Item 1
Exact value (
const):"tx0"
Item 2
Exact value (
const):"tx1"
Item 3
Exact value (
const):"rx"
mboxes — required here
List of phandle of 2 MU channels for tx, 1 MU channel for rx.
Maximum number of items (maxItems): 3
memory-region — required here
Phandle to the reserved memory nodes to be associated with the remoteproc device. The reserved memory nodes should be carveout nodes, and should be defined as per the bindings in Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt
Array item rules (items)
Item 1
region reserved for firmware image sections.
Item 2
region used for RPC shared memory between firmware and driver.
Required in this object (required): "compatible", "reg", "power-domains", "mbox-names", "mboxes", "memory-region"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/firmware/imx/rsrc.h>
vpu: vpu@2c000000 {
compatible = "nxp,imx8qm-vpu";
ranges = <0x2c000000 0x2c000000 0x2000000>;
reg = <0x2c000000 0x1000000>;
#address-cells = <1>;
#size-cells = <1>;
power-domains = <&pd IMX_SC_R_VPU>;
mu_m0: mailbox@2d000000 {
compatible = "fsl,imx6sx-mu";
reg = <0x2d000000 0x20000>;
interrupts = <0 472 4>;
#mbox-cells = <2>;
power-domains = <&pd IMX_SC_R_VPU_MU_0>;
};
mu1_m0: mailbox@2d020000 {
compatible = "fsl,imx6sx-mu";
reg = <0x2d020000 0x20000>;
interrupts = <0 473 4>;
#mbox-cells = <2>;
power-domains = <&pd IMX_SC_R_VPU_MU_1>;
};
mu2_m0: mailbox@2d040000 {
compatible = "fsl,imx6sx-mu";
reg = <0x2d040000 0x20000>;
interrupts = <0 474 4>;
#mbox-cells = <2>;
power-domains = <&pd IMX_SC_R_VPU_MU_2>;
};
vpu_core0: vpu-core@2d080000 {
compatible = "nxp,imx8q-vpu-decoder";
reg = <0x2d080000 0x10000>;
power-domains = <&pd IMX_SC_R_VPU_DEC_0>;
mbox-names = "tx0", "tx1", "rx";
mboxes = <&mu_m0 0 0>,
<&mu_m0 0 1>,
<&mu_m0 1 0>;
memory-region = <&decoder_boot>, <&decoder_rpc>;
};
vpu_core1: vpu-core@2d090000 {
compatible = "nxp,imx8q-vpu-encoder";
reg = <0x2d090000 0x10000>;
power-domains = <&pd IMX_SC_R_VPU_ENC_0>;
mbox-names = "tx0", "tx1", "rx";
mboxes = <&mu1_m0 0 0>,
<&mu1_m0 0 1>,
<&mu1_m0 1 0>;
memory-region = <&encoder1_boot>, <&encoder1_rpc>;
};
vpu_core2: vpu-core@2d0a0000 {
reg = <0x2d0a0000 0x10000>;
compatible = "nxp,imx8q-vpu-encoder";
power-domains = <&pd IMX_SC_R_VPU_ENC_1>;
mbox-names = "tx0", "tx1", "rx";
mboxes = <&mu2_m0 0 0>,
<&mu2_m0 0 1>,
<&mu2_m0 1 0>;
memory-region = <&encoder2_boot>, <&encoder2_rpc>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 108: Device node example for i.MX8QM platform:
ARM Mali-C55 Image Signal Processor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/arm,mali-c55.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Scally <dan.scally@ideasonboard.com>", "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,mali-c55"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
ISP Video Clock
Item 2
ISP AXI clock
Item 3
ISP AHB-lite clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vclk"
Item 2
Exact value (
const):"aclk"
Item 3
Exact value (
const):"hclk"
resets — required here #
Array item rules (items) #
Item 1
vclk domain reset
Item 2
aclk domain reset
Item 3
hclk domain reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vresetn"
Item 2
Exact value (
const):"aresetn"
Item 3
Exact value (
const):"hresetn"
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input parallel video bus
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
isp@400000 {
compatible = "arm,mali-c55";
reg = <0x400000 0x200000>;
clocks = <&clk 0>, <&clk 1>, <&clk 2>;
clock-names = "vclk", "aclk", "hclk";
resets = <&resets 0>, <&resets 1>, <&resets 2>;
reset-names = "vresetn", "aresetn", "hresetn";
interrupts = <GIC_SPI 861 IRQ_TYPE_EDGE_RISING>;
port {
isp_in: endpoint {
remote-endpoint = <&csi2_rx_out>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ASPEED Video Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/aspeed,video-engine.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The Video Engine (VE) embedded in the ASPEED SOCs can be configured to capture and compress video data from digital or analog sources.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-video-engine", "aspeed,ast2500-video-engine", "aspeed,ast2600-video-engine"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vclk"
Item 2
Exact value (
const):"eclk"
resets — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to the reserved memory nodes to be associated with the
VE. VE will acquires memory space for 3 purposes:
1. JPEG header
2. Compressed result
3. Temporary transformed image data
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/ast2600-clock.h>
video@1e700000 {
compatible = "aspeed,ast2600-video-engine";
reg = <0x1e700000 0x1000>;
clocks = <&syscon ASPEED_CLK_GATE_VCLK>,
<&syscon ASPEED_CLK_GATE_ECLK>;
clock-names = "vclk", "eclk";
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Atmel Image Sensor Controller (ISC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/atmel,isc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.com>"
The Image Sensor Controller (ISC) device provides the video input capabilities for the Atmel/Microchip AT91 SAMA family of devices.
The ISC has a single parallel input that supports RAW Bayer, RGB or YUV video, with both external synchronization and BT.656 synchronization for the latter.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "atmel,sama5d2-isc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hclock"
Item 2
Exact value (
const):"iscck"
Item 3
Exact value (
const):"gck"
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Exact value (const): "isc-mck"
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.
Input port node, single endpoint describing the input pad.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties and child nodes (properties)
remote-endpoint — required here
true — No constraints added by this property rule.
bus-width — not listed as required here
Allowed values (enum): 8, 9, 10, 11, 12
Default value (default): 12
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
pclk-sample — not listed as required here
Default value (default): 1
Required in this object (required): "remote-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", "clock-names", "#clock-cells", "clock-output-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
isc: isc@f0008000 {
compatible = "atmel,sama5d2-isc";
reg = <0xf0008000 0x4000>;
interrupts = <46 IRQ_TYPE_LEVEL_HIGH 5>;
clocks = <&isc_clk>, <&iscck>, <&isc_gclk>;
clock-names = "hclock", "iscck", "gck";
#clock-cells = <0>;
clock-output-names = "isc-mck";
port {
isc_0: endpoint {
remote-endpoint = <&ov7740_0>;
hsync-active = <1>;
vsync-active = <0>;
pclk-sample = <1>;
bus-width = <8>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 2: Copyright (C) 2016-2021 Microchip Technology, Inc.
Broadcom BCM283x Camera Interface (Unicam)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/brcm,bcm2835-unicam.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>"
The Unicam block on BCM283x SoCs is the receiver for either CSI-2 or CCP2 data from image sensors or similar devices.
The main platform using this SoC is the Raspberry Pi family of boards. On the Pi the VideoCore firmware can also control this hardware block, and driving it from two different processors will cause issues. To avoid this, the firmware checks the device tree configuration during boot. If it finds device tree nodes whose name starts with 'csi' then it will stop the firmware accessing the block, and it can then safely be used via the device tree binding.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,bcm2835-unicam"
reg — required here #
Array item rules (items) #
Item 1
Unicam block.
Item 2
Clock Manager Image (CMI) block.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"unicam"
Item 2
Exact value (
const):"cmi"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Clock to drive the LP state machine of Unicam.
Item 2
Clock for the VPU (core clock).
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lp"
Item 2
Exact value (
const):"vpu"
power-domains — required here #
Array item rules (items) #
Item 1
Unicam power domain
brcm,num-data-lanes — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of CSI-2 data lanes supported by this Unicam instance. The number of data lanes actively used is specified with the data-lanes endpoint property.
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 — required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
clock-noncontinuous — not listed as required here
true — No constraints added by this property rule.
data-lanes — required here
true — No constraints added by this property rule.
remote-endpoint — required here
true — No constraints added by this property rule.
Required in this object (required): "bus-type", "data-lanes", "remote-endpoint"
Required in this object (required): "endpoint"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "power-domains", "brcm,num-data-lanes", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/bcm2835.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/power/raspberrypi-power.h>
csi1: csi@7e801000 {
compatible = "brcm,bcm2835-unicam";
reg = <0x7e801000 0x800>,
<0x7e802004 0x4>;
reg-names = "unicam", "cmi";
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clocks BCM2835_CLOCK_CAM1>,
<&firmware_clocks 4>;
clock-names = "lp", "vpu";
power-domains = <&power RPI_POWER_DOMAIN_UNICAM1>;
brcm,num-data-lanes = <2>;
port {
csi1_ep: endpoint {
remote-endpoint = <&imx219_0>;
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
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)
Cadence MIPI-CSI2 RX controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/cdns,csi2rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Maxime Ripard <mripard@kernel.org>"
The Cadence MIPI-CSI2 RX controller is a CSI-2 bridge supporting up to 4 CSI lanes in input, and 4 different pixel streams in output.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"starfive,jh7110-csi2rx","ti,j721e-csi2rx"
Item 2
Exact value (
const):"cdns,csi2rx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 2
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"error_irq"
Item 2
Exact value (
const):"irq"
clocks — required here #
Array item rules (items) #
Item 1
CSI2Rx system clock
Item 2
Gated Register bank clock for APB interface
Item 3
pixel Clock for Stream interface 0
Item 4
pixel Clock for Stream interface 1
Item 5
pixel Clock for Stream interface 2
Item 6
pixel Clock for Stream interface 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sys_clk"
Item 2
Exact value (
const):"p_clk"
Item 3
Exact value (
const):"pixel_if0_clk"
Item 4
Exact value (
const):"pixel_if1_clk"
Item 5
Exact value (
const):"pixel_if2_clk"
Item 6
Exact value (
const):"pixel_if3_clk"
resets — not listed as required here #
Array item rules (items) #
Item 1
CSI2Rx system reset
Item 2
Gated Register bank reset for APB interface
Item 3
pixel reset for Stream interface 0
Item 4
pixel reset for Stream interface 1
Item 5
pixel reset for Stream interface 2
Item 6
pixel reset for Stream interface 3
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"sys"
Item 2
Exact value (
const):"reg_bank"
Item 3
Exact value (
const):"pixel_if0"
Item 4
Exact value (
const):"pixel_if1"
Item 5
Exact value (
const):"pixel_if2"
Item 6
Exact value (
const):"pixel_if3"
phys — not listed as required here #
Maximum number of items (maxItems): 1
MIPI D-PHY
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — not listed as required here
Exact value (const): 4
clock-lanes — not listed as required here
Exact value (const): 0
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum value (
maximum):4
Required in this object (required): "data-lanes"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Stream 0 Output port node
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Stream 1 Output port node
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Stream 2 Output port node
port@4 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Stream 3 Output port node
Required in this object (required): "port@0"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
csi@d060000 {
compatible = "starfive,jh7110-csi2rx", "cdns,csi2rx";
reg = <0x0d060000 0x1000>;
clocks = <&byteclock 7>, <&byteclock 6>,
<&coreclock 8>, <&coreclock 9>,
<&coreclock 10>, <&coreclock 11>;
clock-names = "sys_clk", "p_clk",
"pixel_if0_clk", "pixel_if1_clk",
"pixel_if2_clk", "pixel_if3_clk";
resets = <&bytereset 9>, <&bytereset 4>,
<&corereset 5>, <&corereset 6>,
<&corereset 7>, <&corereset 8>;
reset-names = "sys", "reg_bank",
"pixel_if0", "pixel_if1",
"pixel_if2", "pixel_if3";
phys = <&csi_phy>;
phy-names = "dphy";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csi2rx_in_sensor: endpoint {
remote-endpoint = <&sensor_out_csi2rx>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
csi2rx_out_grabber0: endpoint {
remote-endpoint = <&grabber0_in_csi2rx>;
};
};
port@2 {
reg = <2>;
csi2rx_out_grabber1: endpoint {
remote-endpoint = <&grabber1_in_csi2rx>;
};
};
port@3 {
reg = <3>;
csi2rx_out_grabber2: endpoint {
remote-endpoint = <&grabber2_in_csi2rx>;
};
};
port@4 {
reg = <4>;
csi2rx_out_grabber3: endpoint {
remote-endpoint = <&grabber3_in_csi2rx>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Chips&Media Wave 5 Series multi-standard codec IP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/cnm,wave521c.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nas Chung <nas.chung@chipsnmedia.com>", "Jackson Lee <jackson.lee@chipsnmedia.com>"
The Chips&Media WAVE codec IP is a multi format video encoder/decoder
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"cnm,wave521c"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
VCODEC clock
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
sram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The VPU uses the SRAM to store some of the reference data instead of storing it on DMA memory. It is mainly used for the purpose of reducing bandwidth.
Required in this object (required): "compatible", "reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
vpu: video-codec@12345678 {
compatible = "ti,j721s2-wave521c", "cnm,wave521c";
reg = <0x12345678 0x1000>;
clocks = <&clks 42>;
interrupts = <42>;
sram = <&sram>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Chips&Media Coda multi-standard codec IP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/coda.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"
Coda codec IPs are present in i.MX SoCs in various versions, called VPU (Video Processing Unit).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx27-vpu"Item 2
Exact value (
const):"cnm,codadx6"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx51-vpu"Item 2
Exact value (
const):"cnm,codahx4"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx53-vpu"Item 2
Exact value (
const):"cnm,coda7541"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"cnm,coda960"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PER clock
Item 2
AHB interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"per"
Item 2
Exact value (
const):"ahb"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
BIT processor interrupt
Item 2
JPEG unit interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"bit"
Item 2
Exact value (
const):"jpeg"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
iram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle pointing to the SRAM device node
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"cnm,coda960"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):2
interrupt-names— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
power-domains— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
vpu: video-codec@63ff4000 {
compatible = "fsl,imx53-vpu", "cnm,coda7541";
reg = <0x63ff4000 0x1000>;
interrupts = <9>;
clocks = <&clks 63>, <&clks 63>;
clock-names = "per", "ahb";
iram = <&ocram>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Freescale i.MX Media Video Device
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx-capture-subsystem.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is the media controller node for video capture support. It is a virtual device that lists the camera serial interface nodes that the media device will control
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx-capture-subsystem"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Should contain a list of phandles pointing to camera sensor interface ports of IPU devices.
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
capture-subsystem {
compatible = "fsl,imx-capture-subsystem";
ports = <&ipu1_csi0>, <&ipu1_csi1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MIPI CSI-2 Receiver core in the i.MX SoC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx6-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
This is the device node for the MIPI CSI-2 Receiver core in the i.MX SoC. This is a Synopsys Designware MIPI CSI-2 host controller core combined with a D-PHY core mixed into the same register block. In addition this device consists of an i.MX-specific "CSI2IPU gasket" glue logic, also controlled from the same register block. The CSI2IPU gasket demultiplexes the four virtual channel streams from the host controller's 32-bit output image bus onto four 16-bit parallel busses to the i.MX IPU CSIs.
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx6-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
hsi_tx (the D-PHY clock)
Item 2
video_27m (D-PHY PLL reference clock)
Item 3
eim_podf;
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dphy"
Item 2
Exact value (
const):"ref"
Item 3
Exact value (
const):"pix"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
CSI-2 ERR1 irq
Item 2
CSI-2 ERR2 irq
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
port@0 — not listed as 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — not listed as required here
Exact value (const): 0
data-lanes — required here
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes"
Properties matching a name pattern (patternProperties) #
^port@[1-4]$ — name matches this regular expression #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
ports 1 through 4 are output ports connecting with parallel bus sink endpoint nodes and correspond to the four MIPI CSI-2 virtual channel outputs.
Properties and child nodes (properties) #
endpoint@0 — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
endpoint@1 — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
mipi@21dc000 {
compatible = "fsl,imx6-mipi-csi2";
reg = <0x021dc000 0x4000>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clks IMX6QDL_CLK_HSI_TX>,
<&clks IMX6QDL_CLK_VIDEO_27M>,
<&clks IMX6QDL_CLK_EIM_PODF>;
clock-names = "dphy", "ref", "pix";
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&ov5640_to_mipi_csi2>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
endpoint@0 {
reg = <0>;
remote-endpoint = <&ipu1_csi0_mux_from_mipi_vc0>;
};
endpoint@1 {
reg = <1>;
remote-endpoint = <&ipu1_csi1_mux_from_mipi_vc0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Video Data Order Adapter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx6q-vdoa.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The Video Data Order Adapter (VDOA) is present on the i.MX6q. Its sole purpose is to reorder video data from the macroblock tiled order produced by the CODA 960 VPU to the conventional raster-scan order for scanout.
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "fsl,imx6q-vdoa"
reg — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/imx6qdl-clock.h>
vdoa@21e4000 {
compatible = "fsl,imx6q-vdoa";
reg = <0x021e4000 0x4000>;
interrupts = <0 18 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_VDOA>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale Pixel Pipeline
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx6ull-pxp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>", "Michael Tretter <m.tretter@pengutronix.de>"
The Pixel Pipeline (PXP) is a memory-to-memory graphics processing engine that supports scaling, colorspace conversion, alpha blending, rotation, and pixel conversion via lookup table. Different versions are present on various i.MX SoCs from i.MX23 to i.MX7.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx6ul-pxp","fsl,imx6ull-pxp","fsl,imx7d-pxp"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx6ull-pxp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "axi"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6ul-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
pxp: pxp@21cc000 {
compatible = "fsl,imx6ull-pxp";
reg = <0x021cc000 0x4000>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "axi";
clocks = <&clks IMX6UL_CLK_PXP>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
i.MX8QM Image Sensing Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx8qm-isi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
The Image Sensing Interface (ISI) combines image processing pipelines with DMA engines to process and capture frames originating from a variety of sources. The inputs to the ISI go through Pixel Link interfaces, and their number and nature is SoC-dependent. They cover both capture interfaces (MIPI CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8qm-isi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 8
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"per0"
Item 2
Exact value (
const):"per1"
Item 3
Exact value (
const):"per2"
Item 4
Exact value (
const):"per3"
Item 5
Exact value (
const):"per4"
Item 6
Exact value (
const):"per5"
Item 7
Exact value (
const):"per6"
Item 8
Exact value (
const):"per7"
interrupts — required here #
Maximum number of items (maxItems): 8
power-domains — required here #
Maximum number of items (maxItems): 8
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
MIPI CSI-2 RX 0
port@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
MIPI CSI-2 RX 1
port@4 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
HDMI RX
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "power-domains", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/imx8-clock.h>
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
image-controller@58100000 {
compatible = "fsl,imx8qm-isi";
reg = <0x58100000 0x80000>;
interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 301 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 303 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pdma0_lpcg IMX_LPCG_CLK_0>,
<&pdma1_lpcg IMX_LPCG_CLK_0>,
<&pdma2_lpcg IMX_LPCG_CLK_0>,
<&pdma3_lpcg IMX_LPCG_CLK_0>,
<&pdma4_lpcg IMX_LPCG_CLK_0>,
<&pdma5_lpcg IMX_LPCG_CLK_0>,
<&pdma6_lpcg IMX_LPCG_CLK_0>,
<&pdma7_lpcg IMX_LPCG_CLK_0>;
clock-names = "per0", "per1", "per2", "per3",
"per4", "per5", "per6", "per7";
power-domains = <&pd IMX_SC_R_ISI_CH0>, <&pd IMX_SC_R_ISI_CH1>,
<&pd IMX_SC_R_ISI_CH2>, <&pd IMX_SC_R_ISI_CH3>,
<&pd IMX_SC_R_ISI_CH4>, <&pd IMX_SC_R_ISI_CH5>,
<&pd IMX_SC_R_ISI_CH6>, <&pd IMX_SC_R_ISI_CH7>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&mipi_csi0_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
i.MX8QXP Image Sensing Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/fsl,imx8qxp-isi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
The Image Sensing Interface (ISI) combines image processing pipelines with DMA engines to process and capture frames originating from a variety of sources. The inputs to the ISI go through Pixel Link interfaces, and their number and nature is SoC-dependent. They cover both capture interfaces (MIPI CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8qxp-isi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 6
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"per0"
Item 2
Exact value (
const):"per1"
Item 3
Exact value (
const):"per2"
Item 4
Exact value (
const):"per3"
Item 5
Exact value (
const):"per4"
Item 6
Exact value (
const):"per5"
interrupts — required here #
Maximum number of items (maxItems): 6
power-domains — required here #
Maximum number of items (maxItems): 6
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
MIPI CSI-2 RX 0
port@6 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
CSI-2 Parallel RX
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "power-domains", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/imx8-clock.h>
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
image-controller@58100000 {
compatible = "fsl,imx8qxp-isi";
reg = <0x58100000 0x60000>;
interrupts = <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 301 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pdma0_lpcg IMX_LPCG_CLK_0>,
<&pdma1_lpcg IMX_LPCG_CLK_0>,
<&pdma2_lpcg IMX_LPCG_CLK_0>,
<&pdma3_lpcg IMX_LPCG_CLK_0>,
<&pdma4_lpcg IMX_LPCG_CLK_0>,
<&pdma5_lpcg IMX_LPCG_CLK_0>;
clock-names = "per0", "per1", "per2", "per3", "per4", "per5";
power-domains = <&pd IMX_SC_R_ISI_CH0>, <&pd IMX_SC_R_ISI_CH1>,
<&pd IMX_SC_R_ISI_CH2>, <&pd IMX_SC_R_ISI_CH3>,
<&pd IMX_SC_R_ISI_CH4>, <&pd IMX_SC_R_ISI_CH5>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@2 {
reg = <2>;
endpoint {
remote-endpoint = <&mipi_csi0_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
GPIO Based IR receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rc.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "gpio-ir-receiver"
gpios — required here #
Maximum number of items (maxItems): 1
linux,autosuspend-period — not listed as required here #
autosuspend delay time in milliseconds
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
wakeup-source — not listed as required here #
IR receiver can wake-up the system.
Required in this object (required): "compatible", "gpios"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio0 19 1>;
linux,rc-map-name = "rc-rc6-mce";
linux,autosuspend-period = <125>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Imagination E5010 JPEG Encoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/img,e5010-jpeg-enc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Devarsh Thakkar <devarsht@ti.com>"
The E5010 is a JPEG encoder from Imagination Technologies implemented on TI's AM62A SoC. It is capable of real time encoding of YUV420 and YUV422 inputs to JPEG and M-JPEG. It supports baseline JPEG Encoding up to 8Kx8K resolution.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"ti,am62a-jpeg-enc"Item 2
Exact value (
const):"img,e5010-jpeg-enc"
Rule 2
Exact value (
const):"img,e5010-jpeg-enc"
reg — required here #
Array item rules (items) #
Item 1
The E5010 core register region
Item 2
The E5010 mmu register region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"mmu"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
jpeg-encoder@fd20000 {
compatible = "img,e5010-jpeg-enc";
reg = <0x00 0xfd20000 0x00 0x100>,
<0x00 0xfd20200 0x00 0x200>;
reg-names = "core", "mmu";
clocks = <&k3_clks 201 0>;
power-domains = <&k3_pds 201 TI_SCI_PD_EXCLUSIVE>;
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Marvell MMP2 camera host interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/marvell,mmp2-ccic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lubomir Rintel <lkundrak@v3.sk>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^camera@[a-f0-9]+$"
compatible — required here #
Exact value (const): "marvell,mmp2-ccic"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
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.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
pclk-sample — not listed as required here
true — No constraints added by this property rule.
bus-type — not listed as required here
true — No constraints added by this property rule.
clocks — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
AXI bus interface clock
Item 2
Peripheral clock
Item 3
Parallel video bus interface clock
clock-names — not listed as required here #
Exact value (const): "axi"
#clock-cells — not listed as required here #
Exact value (const): 0
clock-output-names — not listed as required here #
Exact value (const): "mclk"
Required in this object (required): "compatible", "reg", "interrupts", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/marvell,mmp2.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/power/marvell,mmp2.h>
camera@d420a000 {
compatible = "marvell,mmp2-ccic";
reg = <0xd420a000 0x800>;
interrupts = <42>;
clocks = <&soc_clocks MMP2_CLK_CCIC0>;
clock-names = "axi";
#clock-cells = <0>;
clock-output-names = "mclk";
power-domains = <&soc_clocks MMP3_POWER_DOMAIN_CAMERA>;
port {
camera0_0: endpoint {
remote-endpoint = <&ov7670_0>;
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
hsync-active = <1>; /* Active high */
vsync-active = <1>; /* Active high */
pclk-sample = <0>; /* Falling */
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
MediaTek Media Data Path 3 Film Grain
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-fg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
Film Grain (FG) is a Media Data Path 3 (MDP3) component used to add the film grain according to the AOMedia Video 1 (AV1) standard.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-mdp3-fg"Item 2
Exact value (
const):"mediatek,mt8195-mdp3-fg"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
display@14002000 {
compatible = "mediatek,mt8195-mdp3-fg";
reg = <0x14002000 0x1000>;
mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x2000 0x1000>;
clocks = <&vppsys0 CLK_VPP0_MDP_FG>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Media Data Path 3 HDR
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-hdr.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
A Media Data Path 3 (MDP3) component used to perform conversion from High Dynamic Range (HDR) to Standard Dynamic Range (SDR).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-mdp3-hdr"Item 2
Exact value (
const):"mediatek,mt8195-mdp3-hdr"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
display@14004000 {
compatible = "mediatek,mt8195-mdp3-hdr";
reg = <0x14004000 0x1000>;
mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x4000 0x1000>;
clocks = <&vppsys0 CLK_VPP0_MDP_HDR>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Read Direct Memory Access
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-rdma.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
MediaTek Read Direct Memory Access(RDMA) component used to do read DMA. It contains one line buffer to store the sufficient pixel data, and must be siblings to the central MMSYS_CONFIG node. For a description of the MMSYS_CONFIG binding, see Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml for details.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"mediatek,mt8183-mdp3-rdma","mediatek,mt8188-mdp3-rdma","mediatek,mt8195-mdp3-rdma","mediatek,mt8195-vdo1-rdma"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-vdo1-rdma"Item 2
Exact value (
const):"mediatek,mt8195-vdo1-rdma"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
mediatek,gce-events — not listed as required here #
The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
mediatek,scp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the System Control Processor (SCP) used for initializing and stopping the MDP3, for sending frame data locations to the MDP3's VPU and to install Inter-Processor Interrupt handlers to control processing states.
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
RDMA clock
Item 2
RSZ clock
Minimum number of items (minItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
mboxes — not listed as required here #
Array item rules (items) #
Item 1
used for 1st data pipe from RDMA
Item 2
used for 2nd data pipe from RDMA
Item 3
used for 3rd data pipe from RDMA
Item 4
used for 4th data pipe from RDMA
Item 5
used for the data pipe from SPLIT
Minimum number of items (minItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
#dma-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "power-domains", "clocks", "iommus", "#dma-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8183-mdp3-rdma"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
mboxes— required hereMinimum number of items (
minItems):2Required in this object (
required):"mboxes","mediatek,gce-events"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8195-mdp3-rdma"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
mboxes— not listed as required hereMinimum number of items (
minItems):5
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8195-vdo1-rdma"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/gce/mt8183-gce.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/memory/mt8183-larb-port.h>
dma-controller@14001000 {
compatible = "mediatek,mt8183-mdp3-rdma";
reg = <0x14001000 0x1000>;
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x1000 0x1000>;
mediatek,gce-events = <CMDQ_EVENT_MDP_RDMA0_SOF>,
<CMDQ_EVENT_MDP_RDMA0_EOF>;
power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
clocks = <&mmsys CLK_MM_MDP_RDMA0>,
<&mmsys CLK_MM_MDP_RSZ1>;
iommus = <&iommu>;
mboxes = <&gce 20 CMDQ_THR_PRIO_LOWEST>,
<&gce 21 CMDQ_THR_PRIO_LOWEST>;
#dma-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Resizer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-rsz.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
One of Media Data Path 3 (MDP3) components used to do frame resizing.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8188-mdp3-rsz","mediatek,mt8195-mdp3-rsz"Item 2
Exact value (
const):"mediatek,mt8183-mdp3-rsz"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
mediatek,gce-events — required here #
The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
clocks — required here #
Minimum number of items (minItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "mediatek,gce-events", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/gce/mt8183-gce.h>
mdp3_rsz0: mdp3-rsz0@14003000 {
compatible = "mediatek,mt8183-mdp3-rsz";
reg = <0x14003000 0x1000>;
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x3000 0x1000>;
mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ0_SOF>,
<CMDQ_EVENT_MDP_RSZ0_EOF>;
clocks = <&mmsys CLK_MM_MDP_RSZ0>;
};
mdp3_rsz1: mdp3-rsz1@14004000 {
compatible = "mediatek,mt8183-mdp3-rsz";
reg = <0x14004000 0x1000>;
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x4000 0x1000>;
mediatek,gce-events = <CMDQ_EVENT_MDP_RSZ1_SOF>,
<CMDQ_EVENT_MDP_RSZ1_EOF>;
clocks = <&mmsys CLK_MM_MDP_RSZ1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Media Data Path 3 STITCH
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-stitch.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
One of Media Data Path 3 (MDP3) components used to combine multiple video frame with overlapping fields of view to produce a segmented panorame.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-mdp3-stitch"Item 2
Exact value (
const):"mediatek,mt8195-mdp3-stitch"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
display@14003000 {
compatible = "mediatek,mt8195-mdp3-stitch";
reg = <0x14003000 0x1000>;
mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x3000 0x1000>;
clocks = <&vppsys0 CLK_VPP0_STITCH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Media Data Path 3 Tone Curve Conversion
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-tcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"
Tone Curve Conversion (TCC) is one of Media Profile Path 3 (MDP3) components. It is used to handle the tone mapping of various gamma curves in order to achieve HDR10 effects. This helps adapt the content to the color and brightness range that standard display devices typically support.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-mdp3-tcc"Item 2
Exact value (
const):"mediatek,mt8195-mdp3-tcc"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
display@1400b000 {
compatible = "mediatek,mt8195-mdp3-tcc";
reg = <0x1400b000 0x1000>;
mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0xb000 0x1000>;
clocks = <&vppsys0 CLK_VPP0_MDP_TCC>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Media Data Path 3 Two-Dimensional Sharpness
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-tdshp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
Two-Dimensional Sharpness (TDSHP) is a Media Profile Path 3 (MDP3) component used to perform image edge sharpening and enhance vividness and contrast.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8188-mdp3-tdshp"Item 2
Exact value (
const):"mediatek,mt8195-mdp3-tdshp"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/gce/mt8195-gce.h>
display@14007000 {
compatible = "mediatek,mt8195-mdp3-tdshp";
reg = <0x14007000 0x1000>;
mediatek,gce-client-reg = <&gce1 SUBSYS_1400XXXX 0x7000 0x1000>;
clocks = <&vppsys0 CLK_VPP0_MDP_TDSHP>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Write DMA with Rotation
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mdp3-wrot.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "Moudy Ho <moudy.ho@mediatek.com>"
One of Media Data Path 3 (MDP3) components used to write DMA with frame rotation.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8188-mdp3-wrot","mediatek,mt8195-mdp3-wrot"Item 2
Exact value (
const):"mediatek,mt8183-mdp3-wrot"
reg — required here #
Maximum number of items (maxItems): 1
mediatek,gce-client-reg — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle of GCE
Item 2
GCE subsys id
Item 3
register offset
Item 4
register size
The register of client driver can be configured by gce with 4 arguments defined in this property. Each GCE subsys id is mapping to a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
mediatek,gce-events — required here #
The event id which is mapping to the specific hardware event signal to gce. The event id is defined in the gce header include/dt-bindings/gce/<chip>-gce.h of each chips.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
power-domains — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
#dma-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "mediatek,gce-client-reg", "mediatek,gce-events", "power-domains", "clocks", "iommus", "#dma-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8183-clk.h>
#include <dt-bindings/gce/mt8183-gce.h>
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/memory/mt8183-larb-port.h>
dma-controller@14005000 {
compatible = "mediatek,mt8183-mdp3-wrot";
reg = <0x14005000 0x1000>;
mediatek,gce-client-reg = <&gce SUBSYS_1400XXXX 0x5000 0x1000>;
mediatek,gce-events = <CMDQ_EVENT_MDP_WROT0_SOF>,
<CMDQ_EVENT_MDP_WROT0_EOF>;
power-domains = <&spm MT8183_POWER_DOMAIN_DISP>;
clocks = <&mmsys CLK_MM_MDP_WROT0>;
iommus = <&iommu>;
#dma-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Consumer Infrared Receiver on-SoC Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt7622-cir.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sean Wang <sean.wang@mediatek.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rc.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "mediatek,mt7622-cir", "mediatek,mt7623-cir"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"clk"
Item 2
Exact value (
const):"bus"
Required in this object (required): "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt2701-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
ir@10013000 {
compatible = "mediatek,mt7623-cir";
reg = <0x10013000 0x1000>;
interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_LOW>;
clocks = <&infracfg CLK_INFRA_IRRX>, <&topckgen CLK_TOP_AXI_SEL>;
clock-names = "clk", "bus";
linux,rc-map-name = "rc-rc6-mce";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
MediaTek MT8173 Media Data Path
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt8173-mdp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ariel D'Alessandro <ariel.dalessandro@collabora.com>"
Media Data Path is used for scaling and color space conversion.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"mediatek,mt8173-mdp-rdma","mediatek,mt8173-mdp-rsz","mediatek,mt8173-mdp-wdma","mediatek,mt8173-mdp-wrot"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8173-mdp-rdma"Item 2
Exact value (
const):"mediatek,mt8173-mdp"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
mediatek,vpu — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to Mediatek Video Processor Unit for HW Codec encode/decode and image processing.
Required in this object (required): "compatible", "reg", "clocks", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8173-mdp-rdma"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Main clock
Item 2
Mutex clock
When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
Main clock
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"mediatek,mt8173-mdp-rdma","mediatek,mt8173-mdp-wdma","mediatek,mt8173-mdp-wrot"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"mediatek,mt8173-mdp"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/memory/mt8173-larb-port.h>
#include <dt-bindings/power/mt8173-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
mdp_rdma0: rdma@14001000 {
compatible = "mediatek,mt8173-mdp-rdma",
"mediatek,mt8173-mdp";
reg = <0 0x14001000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_RDMA0>,
<&mmsys CLK_MM_MUTEX_32K>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
iommus = <&iommu M4U_PORT_MDP_RDMA0>;
mediatek,vpu = <&vpu>;
};
mdp_rdma1: rdma@14002000 {
compatible = "mediatek,mt8173-mdp-rdma";
reg = <0 0x14002000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_RDMA1>,
<&mmsys CLK_MM_MUTEX_32K>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
iommus = <&iommu M4U_PORT_MDP_RDMA1>;
};
mdp_rsz0: rsz@14003000 {
compatible = "mediatek,mt8173-mdp-rsz";
reg = <0 0x14003000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_RSZ0>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
};
mdp_rsz1: rsz@14004000 {
compatible = "mediatek,mt8173-mdp-rsz";
reg = <0 0x14004000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_RSZ1>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
};
mdp_rsz2: rsz@14005000 {
compatible = "mediatek,mt8173-mdp-rsz";
reg = <0 0x14005000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_RSZ2>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
};
mdp_wdma0: wdma@14006000 {
compatible = "mediatek,mt8173-mdp-wdma";
reg = <0 0x14006000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_WDMA>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
iommus = <&iommu M4U_PORT_MDP_WDMA>;
};
mdp_wrot0: wrot@14007000 {
compatible = "mediatek,mt8173-mdp-wrot";
reg = <0 0x14007000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_WROT0>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
iommus = <&iommu M4U_PORT_MDP_WROT0>;
};
mdp_wrot1: wrot@14008000 {
compatible = "mediatek,mt8173-mdp-wrot";
reg = <0 0x14008000 0 0x1000>;
clocks = <&mmsys CLK_MM_MDP_WROT1>;
power-domains = <&spm MT8173_POWER_DOMAIN_MM>;
iommus = <&iommu M4U_PORT_MDP_WROT1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Mediatek MT8173 Video Processor Unit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt8173-vpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ariel D'Alessandro <ariel.dalessandro@collabora.com>"
Video Processor Unit is a HW video controller. It controls HW Codec including H.264/VP8/VP9 Decode, H.264/VP8 Encode and Image Processor (scale/rotate/color convert).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt8173-vpu"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tcm"
Item 2
Exact value (
const):"cfg_reg"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"main"
memory-region — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "memory-region"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
vpu: vpu@10020000 {
compatible = "mediatek,mt8173-vpu";
reg = <0 0x10020000 0 0x30000>,
<0 0x10050000 0 0x100>;
reg-names = "tcm", "cfg_reg";
interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&topckgen CLK_TOP_SCP_SEL>;
clock-names = "main";
memory-region = <&vpu_dma_reserved>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek JPEG Decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt8195-jpegdec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "kyrie wu <kyrie.wu@mediatek.corp-partner.google.com>"
MediaTek JPEG Decoder is the JPEG decode hardware present in MediaTek SoCs
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt8195-jpgdec"
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 6
Points to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. Ports are according to the HW.
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
ranges — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^jpgdec@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
The jpeg decoder hardware device node which should be added as subnodes to the main jpeg node.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "mediatek,mt8195-jpgdec-hw"
reg — required here
Maximum number of items (maxItems): 1
iommus — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
interrupts — required here
Maximum number of items (maxItems): 1
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"jpgdec"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "iommus", "interrupts", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domains", "iommus", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/mt8195-memory-port.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/power/mt8195-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
jpgdec-master {
compatible = "mediatek,mt8195-jpgdec";
power-domains = <&spm MT8195_POWER_DOMAIN_VDEC1>;
iommus = <&iommu_vpp M4U_PORT_L19_JPGDEC_WDMA0>,
<&iommu_vpp M4U_PORT_L19_JPGDEC_BSDMA0>,
<&iommu_vpp M4U_PORT_L19_JPGDEC_WDMA1>,
<&iommu_vpp M4U_PORT_L19_JPGDEC_BSDMA1>,
<&iommu_vpp M4U_PORT_L19_JPGDEC_BUFF_OFFSET1>,
<&iommu_vpp M4U_PORT_L19_JPGDEC_BUFF_OFFSET0>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
jpgdec@1a040000 {
compatible = "mediatek,mt8195-jpgdec-hw";
reg = <0 0x1a040000 0 0x10000>;/* JPGDEC_C0 */
iommus = <&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA0>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA0>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET0>;
interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&vencsys CLK_VENC_JPGDEC>;
clock-names = "jpgdec";
power-domains = <&spm MT8195_POWER_DOMAIN_VDEC0>;
};
jpgdec@1a050000 {
compatible = "mediatek,mt8195-jpgdec-hw";
reg = <0 0x1a050000 0 0x10000>;/* JPGDEC_C1 */
iommus = <&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA0>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA0>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_WDMA1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BSDMA1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET1>,
<&iommu_vdo M4U_PORT_L19_JPGDEC_BUFF_OFFSET0>;
interrupts = <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&vencsys CLK_VENC_JPGDEC_C1>;
clock-names = "jpgdec";
power-domains = <&spm MT8195_POWER_DOMAIN_VDEC1>;
};
jpgdec@1b040000 {
compatible = "mediatek,mt8195-jpgdec-hw";
reg = <0 0x1b040000 0 0x10000>;/* JPGDEC_C2 */
iommus = <&iommu_vpp M4U_PORT_L20_JPGDEC_WDMA0>,
<&iommu_vpp M4U_PORT_L20_JPGDEC_BSDMA0>,
<&iommu_vpp M4U_PORT_L20_JPGDEC_WDMA1>,
<&iommu_vpp M4U_PORT_L20_JPGDEC_BSDMA1>,
<&iommu_vpp M4U_PORT_L20_JPGDEC_BUFF_OFFSET1>,
<&iommu_vpp M4U_PORT_L20_JPGDEC_BUFF_OFFSET0>;
interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&vencsys_core1 CLK_VENC_CORE1_JPGDEC>;
clock-names = "jpgdec";
power-domains = <&spm MT8195_POWER_DOMAIN_VDEC2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 37: Required child node:
MediaTek JPEG Encoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,mt8195-jpegenc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "kyrie wu <kyrie.wu@mediatek.corp-partner.google.com>"
MediaTek JPEG Encoder is the JPEG encode hardware present in MediaTek SoCs
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "mediatek,mt8195-jpgenc"
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 4
Points to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. Ports are according to the HW.
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
ranges — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^jpgenc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
The jpeg encoder hardware device node which should be added as subnodes to the main jpeg node.
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "mediatek,mt8195-jpgenc-hw"
reg — required here
Maximum number of items (maxItems): 1
iommus — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
interrupts — required here
Maximum number of items (maxItems): 1
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"jpgenc"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "iommus", "interrupts", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domains", "iommus", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/mt8195-memory-port.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/mt8195-clk.h>
#include <dt-bindings/power/mt8195-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
jpgenc-master {
compatible = "mediatek,mt8195-jpgenc";
power-domains = <&spm MT8195_POWER_DOMAIN_VENC_CORE1>;
iommus = <&iommu_vpp M4U_PORT_L20_JPGENC_Y_RDMA>,
<&iommu_vpp M4U_PORT_L20_JPGENC_C_RDMA>,
<&iommu_vpp M4U_PORT_L20_JPGENC_Q_TABLE>,
<&iommu_vpp M4U_PORT_L20_JPGENC_BSDMA>;
#address-cells = <2>;
#size-cells = <2>;
ranges;
jpgenc@1a030000 {
compatible = "mediatek,mt8195-jpgenc-hw";
reg = <0 0x1a030000 0 0x10000>;
iommus = <&iommu_vdo M4U_PORT_L19_JPGENC_Y_RDMA>,
<&iommu_vdo M4U_PORT_L19_JPGENC_C_RDMA>,
<&iommu_vdo M4U_PORT_L19_JPGENC_Q_TABLE>,
<&iommu_vdo M4U_PORT_L19_JPGENC_BSDMA>;
interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&vencsys CLK_VENC_JPGENC>;
clock-names = "jpgenc";
power-domains = <&spm MT8195_POWER_DOMAIN_VENC>;
};
jpgenc@1b030000 {
compatible = "mediatek,mt8195-jpgenc-hw";
reg = <0 0x1b030000 0 0x10000>;
iommus = <&iommu_vpp M4U_PORT_L20_JPGENC_Y_RDMA>,
<&iommu_vpp M4U_PORT_L20_JPGENC_C_RDMA>,
<&iommu_vpp M4U_PORT_L20_JPGENC_Q_TABLE>,
<&iommu_vpp M4U_PORT_L20_JPGENC_BSDMA>;
interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&vencsys_core1 CLK_VENC_CORE1_JPGENC>;
clock-names = "jpgenc";
power-domains = <&spm MT8195_POWER_DOMAIN_VENC_CORE1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 37: Required child node:
Mediatek Video Decode Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,vcodec-decoder.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yunfei Dong <yunfei.dong@mediatek.com>"
Mediatek Video Decode is the video decode hardware present in Mediatek SoCs which supports high resolution decoding functionalities.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8173-vcodec-dec", "mediatek,mt8183-vcodec-dec"
reg — required here #
Minimum number of items (minItems): 11
Maximum number of items (maxItems): 11
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"misc"
Item 2
Exact value (
const):"ld"
Item 3
Exact value (
const):"top"
Item 4
Exact value (
const):"cm"
Item 5
Exact value (
const):"ad"
Item 6
Exact value (
const):"av"
Item 7
Exact value (
const):"pp"
Item 8
Exact value (
const):"hwd"
Item 9
Exact value (
const):"hwq"
Item 10
Exact value (
const):"hwb"
Item 11
Exact value (
const):"hwg"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
assigned-clocks — not listed as required here #
true — No constraints added by this property rule.
assigned-clock-parents — not listed as required here #
true — No constraints added by this property rule.
assigned-clock-rates — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
iommus — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
mediatek,vpu — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Describes point to vpu.
mediatek,scp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Describes point to scp.
mediatek,vdecsys — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the vdecsys syscon node.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "iommus", "mediatek,vdecsys"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Required in this object (
required):"mediatek,scp"Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"vdec"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Required in this object (
required):"mediatek,vpu"Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):8Maximum number of items (
maxItems):8
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"vcodecpll"Item 2
Exact value (
const):"univpll_d2"Item 3
Exact value (
const):"clk_cci400_sel"Item 4
Exact value (
const):"vdec_sel"Item 5
Exact value (
const):"vdecpll"Item 6
Exact value (
const):"vencpll"Item 7
Exact value (
const):"venc_lt_sel"Item 8
Exact value (
const):"vdec_bus_clk_src"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/memory/mt8173-larb-port.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/mt8173-power.h>
vcodec_dec: vcodec@16020000 {
compatible = "mediatek,mt8173-vcodec-dec";
reg = <0x16020000 0x1000>, /*VDEC_MISC*/
<0x16021000 0x800>, /*VDEC_LD*/
<0x16021800 0x800>, /*VDEC_TOP*/
<0x16022000 0x1000>, /*VDEC_CM*/
<0x16023000 0x1000>, /*VDEC_AD*/
<0x16024000 0x1000>, /*VDEC_AV*/
<0x16025000 0x1000>, /*VDEC_PP*/
<0x16026800 0x800>, /*VP8_VD*/
<0x16027000 0x800>, /*VP6_VD*/
<0x16027800 0x800>, /*VP8_VL*/
<0x16028400 0x400>; /*VP9_VD*/
interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_LOW>;
iommus = <&iommu M4U_PORT_HW_VDEC_MC_EXT>,
<&iommu M4U_PORT_HW_VDEC_PP_EXT>,
<&iommu M4U_PORT_HW_VDEC_AVC_MV_EXT>,
<&iommu M4U_PORT_HW_VDEC_PRED_RD_EXT>,
<&iommu M4U_PORT_HW_VDEC_PRED_WR_EXT>,
<&iommu M4U_PORT_HW_VDEC_UFO_EXT>,
<&iommu M4U_PORT_HW_VDEC_VLD_EXT>,
<&iommu M4U_PORT_HW_VDEC_VLD2_EXT>;
mediatek,vpu = <&vpu>;
mediatek,vdecsys = <&vdecsys>;
power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
clocks = <&apmixedsys CLK_APMIXED_VCODECPLL>,
<&topckgen CLK_TOP_UNIVPLL_D2>,
<&topckgen CLK_TOP_CCI400_SEL>,
<&topckgen CLK_TOP_VDEC_SEL>,
<&topckgen CLK_TOP_VCODECPLL>,
<&apmixedsys CLK_APMIXED_VENCPLL>,
<&topckgen CLK_TOP_VENC_LT_SEL>,
<&topckgen CLK_TOP_VCODECPLL_370P5>;
clock-names = "vcodecpll",
"univpll_d2",
"clk_cci400_sel",
"vdec_sel",
"vdecpll",
"vencpll",
"venc_lt_sel",
"vdec_bus_clk_src";
assigned-clocks = <&topckgen CLK_TOP_VENC_LT_SEL>,
<&topckgen CLK_TOP_CCI400_SEL>,
<&topckgen CLK_TOP_VDEC_SEL>,
<&apmixedsys CLK_APMIXED_VCODECPLL>,
<&apmixedsys CLK_APMIXED_VENCPLL>;
assigned-clock-parents = <&topckgen CLK_TOP_VCODECPLL_370P5>,
<&topckgen CLK_TOP_UNIVPLL_D2>,
<&topckgen CLK_TOP_VCODECPLL>;
assigned-clock-rates = <0>, <0>, <0>, <1482000000>, <800000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Mediatek Video Encode Accelerator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,vcodec-encoder.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yunfei Dong <yunfei.dong@mediatek.com>"
Mediatek Video Encode is the video encode hardware present in Mediatek SoCs which supports high resolution encoding functionalities.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8173-vcodec-enc-vp8","mediatek,mt8173-vcodec-enc","mediatek,mt8183-vcodec-enc","mediatek,mt8188-vcodec-enc","mediatek,mt8192-vcodec-enc","mediatek,mt8195-vcodec-enc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt8186-vcodec-enc"Item 2
Exact value (
const):"mediatek,mt8183-vcodec-enc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
iommus — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
mediatek,vpu — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Describes point to vpu.
mediatek,scp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Describes point to scp.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "iommus"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"mediatek,mt8183-vcodec-enc","mediatek,mt8188-vcodec-enc","mediatek,mt8192-vcodec-enc","mediatek,mt8195-vcodec-enc"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"mediatek,mt8173-vcodec-enc-vp8","mediatek,mt8173-vcodec-enc"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
clock— not listed as required hereArray item rules (
items)Minimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"venc_lt_sel"When the condition does not match (
else) #Properties and child nodes (
properties)
clock— not listed as required hereArray item rules (
items)Minimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"venc_sel"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/mt8173-clk.h>
#include <dt-bindings/memory/mt8173-larb-port.h>
#include <dt-bindings/interrupt-controller/irq.h>
vcodec_enc_avc: vcodec@18002000 {
compatible = "mediatek,mt8173-vcodec-enc";
reg = <0x18002000 0x1000>;
interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_LOW>;
iommus = <&iommu M4U_PORT_VENC_RCPU>,
<&iommu M4U_PORT_VENC_REC>,
<&iommu M4U_PORT_VENC_BSDMA>,
<&iommu M4U_PORT_VENC_SV_COMV>,
<&iommu M4U_PORT_VENC_RD_COMV>,
<&iommu M4U_PORT_VENC_CUR_LUMA>,
<&iommu M4U_PORT_VENC_CUR_CHROMA>,
<&iommu M4U_PORT_VENC_REF_LUMA>,
<&iommu M4U_PORT_VENC_REF_CHROMA>,
<&iommu M4U_PORT_VENC_NBM_RDMA>,
<&iommu M4U_PORT_VENC_NBM_WDMA>;
mediatek,vpu = <&vpu>;
clocks = <&topckgen CLK_TOP_VENC_SEL>;
clock-names = "venc_sel";
assigned-clocks = <&topckgen CLK_TOP_VENC_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_VCODECPLL>;
};
vcodec_enc_vp8: vcodec@19002000 {
compatible = "mediatek,mt8173-vcodec-enc-vp8";
reg = <0x19002000 0x1000>; /* VENC_LT_SYS */
interrupts = <GIC_SPI 202 IRQ_TYPE_LEVEL_LOW>;
iommus = <&iommu M4U_PORT_VENC_RCPU_SET2>,
<&iommu M4U_PORT_VENC_REC_FRM_SET2>,
<&iommu M4U_PORT_VENC_BSDMA_SET2>,
<&iommu M4U_PORT_VENC_SV_COMA_SET2>,
<&iommu M4U_PORT_VENC_RD_COMA_SET2>,
<&iommu M4U_PORT_VENC_CUR_LUMA_SET2>,
<&iommu M4U_PORT_VENC_CUR_CHROMA_SET2>,
<&iommu M4U_PORT_VENC_REF_LUMA_SET2>,
<&iommu M4U_PORT_VENC_REC_CHROMA_SET2>;
mediatek,vpu = <&vpu>;
clocks = <&topckgen CLK_TOP_VENC_LT_SEL>;
clock-names = "venc_lt_sel";
assigned-clocks = <&topckgen CLK_TOP_VENC_LT_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_VCODECPLL_370P5>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
MediaTek Video Decode Accelerator With Multi Hardware
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek,vcodec-subdev-decoder.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yunfei Dong <yunfei.dong@mediatek.com>"
MediaTek Video Decode Accelerator is the video decoding hardware present in MediaTek SoCs that supports high-resolution decoding functionalities. It consists of parent and child nodes.
The decoder hardware block diagram is shown below:
+------------------------------------------------+------------------------------+
| | |
| input -> LAT-SoC HW -> LAT HW -> LAT buffer --|--> Core HW -> output buffer |
| || || | || |
+--------------||-----------||-------------------+-------||---------------------+
LAT Workqueue | Core Workqueue <parent>
---------------||-----------||-------------------|-------||----------------------
||<----------||---------HW index--------->|| <child>
\/ \/ \/
+-------------------------------------------------------------+
| enable/disable |
| clk power irq iommu |
| (lat/lat-soc/core0/core1) |
+-------------------------------------------------------------+
The child nodes represent the individual hardware blocks within the decoding pipeline, such as LAT-SoC, LAT and Core. Each child node is responsible for managing the dedicated resources of the hardware, such as clocks, power domains, interrupts and IOMMUs.
The parent node is a central point of control for the child nodes. It identifies the specific video decoding pipeline architecture used by the SoC, manages the shared resources like workqueues and platform data, and handles V4L2 API calls on behalf of the underlying hardware.
The parent utilizes two workqueues to manage the decoding process.
1. LAT Workqueue, for LAT-SoC and LAT decoder:
Its workers take input bitstream and LAT buffer, enable the hardware for
decoding tasks, write the result to LAT buffer, and disable the hardware
after the LAT decoding is done.
2. Core Workqueue, for Core decoder:
Its workers take LAT buffer and output buffer, enable the hardware for
decoding tasks, write the result to output buffer, and disable the hardware
after the Core decoding is done.
These hardware decode each frame cyclically.
The hardware might be associated with different SMI-common devices. To prevent IOMMU faults during DRAM access in such cases, each hardware with the unique SMI-common device must be placed under a separate parent node in the device tree.
LAT-SoC refers to another hardware block that connected to additional LARB (local arbiter) ports, such as RDMA and UFO. It requires independent power and clock control to work with LAT decoder, and it doesn't have a dedicated interrupt.
The used video decoding pipeline architecture across various Mediatek SoC:
MT8195: LAT-SoC + LAT + Core
MT8192: LAT + Core
MT8188: LAT + Core
MT8186: Core
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mediatek,mt8192-vcodec-dec", "mediatek,mt8186-vcodec-dec", "mediatek,mt8188-vcodec-dec", "mediatek,mt8195-vcodec-dec"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
VDEC_SYS register space
Item 2
VDEC_RACING_CTRL register space
iommus — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
mediatek,scp — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The node of system control processor (SCP), using the remoteproc & rpmsg framework.
#address-cells — not listed as required here #
Exact value (const): 2
#size-cells — not listed as required here #
Exact value (const): 2
ranges — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^video-codec@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Allowed values (enum): "mediatek,mtk-vcodec-core", "mediatek,mtk-vcodec-lat", "mediatek,mtk-vcodec-lat-soc"
reg — required here
Maximum number of items (maxItems): 1
VDEC_MISC register space
interrupts — not listed as required here
Maximum number of items (maxItems): 1
iommus — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 32
List of the hardware port in respective IOMMU block for current Socs. Refer to bindings/iommu/mediatek,iommu.yaml.
clocks — required here
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
clock-names — required here
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 5
assigned-clocks — required here
Maximum number of items (maxItems): 1
assigned-clock-parents — required here
Maximum number of items (maxItems): 1
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "iommus", "clocks", "clock-names", "assigned-clocks", "assigned-clock-parents", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "iommus", "mediatek,scp", "ranges"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"mediatek,mtk-vcodec-core","mediatek,mtk-vcodec-lat"
When the condition matches (then) #
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sel"Item 2
Exact value (
const):"soc-vdec"Item 3
Exact value (
const):"soc-lat"Item 4
Exact value (
const):"vdec"Item 5
Exact value (
const):"top"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sel"Item 2
Exact value (
const):"vdec"Item 3
Exact value (
const):"lat"Item 4
Exact value (
const):"top"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/mt8192-larb-port.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/mt8192-clk.h>
#include <dt-bindings/power/mt8192-power.h>
bus@16000000 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0 0x16000000 0x16000000 0 0x40000>;
video-codec@16000000 {
compatible = "mediatek,mt8192-vcodec-dec";
mediatek,scp = <&scp>;
iommus = <&iommu0 M4U_PORT_L4_VDEC_MC_EXT>;
#address-cells = <2>;
#size-cells = <2>;
ranges = <0 0 0 0x16000000 0 0x40000>;
reg = <0 0x16000000 0 0x1000>; /* VDEC_SYS */
video-codec@10000 {
compatible = "mediatek,mtk-vcodec-lat";
reg = <0 0x10000 0 0x800>;
interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH 0>;
iommus = <&iommu0 M4U_PORT_L5_VDEC_LAT0_VLD_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_VLD2_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_AVC_MV_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_PRED_RD_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_TILE_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_WDMA_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_LAT0_RG_CTRL_DMA_EXT>,
<&iommu0 M4U_PORT_L5_VDEC_UFO_ENC_EXT>;
clocks = <&topckgen CLK_TOP_VDEC_SEL>,
<&vdecsys_soc CLK_VDEC_SOC_VDEC>,
<&vdecsys_soc CLK_VDEC_SOC_LAT>,
<&vdecsys_soc CLK_VDEC_SOC_LARB1>,
<&topckgen CLK_TOP_MAINPLL_D4>;
clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top";
assigned-clocks = <&topckgen CLK_TOP_VDEC_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_MAINPLL_D4>;
power-domains = <&spm MT8192_POWER_DOMAIN_VDEC>;
};
video-codec@25000 {
compatible = "mediatek,mtk-vcodec-core";
reg = <0 0x25000 0 0x1000>;
interrupts = <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 0>;
iommus = <&iommu0 M4U_PORT_L4_VDEC_MC_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_UFO_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_PP_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_PRED_RD_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_PRED_WR_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_PPWRAP_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_TILE_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_VLD_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_VLD2_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_AVC_MV_EXT>,
<&iommu0 M4U_PORT_L4_VDEC_RG_CTRL_DMA_EXT>;
clocks = <&topckgen CLK_TOP_VDEC_SEL>,
<&vdecsys CLK_VDEC_VDEC>,
<&vdecsys CLK_VDEC_LAT>,
<&vdecsys CLK_VDEC_LARB1>,
<&topckgen CLK_TOP_MAINPLL_D4>;
clock-names = "sel", "soc-vdec", "soc-lat", "vdec", "top";
assigned-clocks = <&topckgen CLK_TOP_VDEC_SEL>;
assigned-clock-parents = <&topckgen CLK_TOP_MAINPLL_D4>;
power-domains = <&spm MT8192_POWER_DOMAIN_VDEC2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 107: Required child node:
MediaTek JPEG Decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek-jpeg-decoder.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xia Jiang <xia.jiang@mediatek.com>"
Mediatek JPEG Decoder is the JPEG decode hardware present in Mediatek SoCs
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt8173-jpgdec","mediatek,mt2701-jpgdec"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt7623-jpgdec","mediatek,mt8188-jpgdec"Item 2
Exact value (
const):"mediatek,mt2701-jpgdec"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"jpgdec-smi"
Item 2
Exact value (
const):"jpgdec"
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 32
Points to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. Ports are according to the HW.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "iommus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt2701-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/mt2701-larb-port.h>
#include <dt-bindings/power/mt2701-power.h>
jpegdec: jpegdec@15004000 {
compatible = "mediatek,mt2701-jpgdec";
reg = <0x15004000 0x1000>;
interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_LOW>;
clocks = <&imgsys CLK_IMG_JPGDEC_SMI>,
<&imgsys CLK_IMG_JPGDEC>;
clock-names = "jpgdec-smi",
"jpgdec";
power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>;
iommus = <&iommu MT2701_M4U_PORT_JPGDEC_WDMA>,
<&iommu MT2701_M4U_PORT_JPGDEC_BSDMA>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MediaTek JPEG Encoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/mediatek-jpeg-encoder.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xia Jiang <xia.jiang@mediatek.com>"
MediaTek JPEG Encoder is the JPEG encode hardware present in MediaTek SoCs
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"mediatek,mt2701-jpgenc","mediatek,mt8183-jpgenc","mediatek,mt8186-jpgenc","mediatek,mt8188-jpgenc"
Item 2
Exact value (
const):"mediatek,mtk-jpgenc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"jpgenc"
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 32
Points to the respective IOMMU block with master port as argument, see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details. Ports are according to the HW.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "iommus"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/mt2701-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/mt2701-larb-port.h>
#include <dt-bindings/power/mt2701-power.h>
jpegenc: jpegenc@1500a000 {
compatible = "mediatek,mt2701-jpgenc",
"mediatek,mtk-jpgenc";
reg = <0x1500a000 0x1000>;
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_LOW>;
clocks = <&imgsys CLK_IMG_VENC>;
clock-names = "jpgenc";
power-domains = <&scpsys MT2701_POWER_DOMAIN_ISP>;
iommus = <&iommu MT2701_M4U_PORT_JPGENC_RDMA>,
<&iommu MT2701_M4U_PORT_JPGENC_BSDMA>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Microchip CSI2 Demux Controller (CSI2DC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/microchip,csi2dc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.com>"
CSI2DC - Camera Serial Interface 2 Demux Controller CSI2DC is a hardware block that receives incoming data from either from an IDI interface or from a parallel bus interface. It filters IDI packets based on their data type and virtual channel identifier, then converts the byte stream to a pixel stream into a cross clock domain towards a parallel interface that can be read by a sensor controller. IDI interface is Synopsys proprietary. CSI2DC can act a simple bypass bridge if the incoming data is coming from a parallel interface. CSI2DC provides two pipes, one video pipe and one data pipe. Video pipe is connected at the output to a sensor controller and the data pipe is accessible as a DMA slave port to a DMA controller. CSI2DC supports a single 'port' node as a sink port with either Synopsys 32-bit IDI interface or a parallel interface. CSI2DC supports one 'port' node as source port with parallel interface. This is called video pipe. This port has an 'endpoint' that can be connected to a sink port of another controller (next in pipeline). CSI2DC also supports direct access to the data through AHB, via DMA channel, called data pipe. For data pipe to be available, a dma controller and a dma channel must be referenced.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,sama7g5-csi2dc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — required here #
CSI2DC must have two clocks to function correctly. One clock is the peripheral clock for the inside functionality of the hardware block. This is named 'pclk'. The second clock must be the cross domain clock, in which CSI2DC will perform clock crossing. This clock must be fed by the next controller in pipeline, which usually is a sensor controller. Normally this clock should be given by this sensor controller who is also a clock source. This clock is named 'scck', sensor controller clock.
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"scck"
dmas — not listed as required here #
Maximum number of items (maxItems): 1
dma-names — not listed as required here #
Exact value (const): "rx"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node, single endpoint describing the input port.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Endpoint connected to input device
Properties and child nodes (properties)
bus-type — not listed as required here
Allowed values (enum): 4, 5, 6
Default value (default): 4
bus-width — not listed as required here
Allowed values (enum): 8, 9, 10, 11, 12, 13, 14
Default value (default): 14
clock-noncontinuous — not listed as required here
Value type (type): "boolean"
Presence of this boolean property decides whether clock is continuous or noncontinuous.
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
port@1 — 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.
Output port node, single endpoint describing the output port.
Properties and child nodes (properties)
endpoint — not listed as required here
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Shared schema rule ($ref): video-interfaces.yaml#
Endpoint connected to output device
Properties and child nodes (properties)
bus-type — not listed as required here
Default value (default): 5
bus-width — not listed as required here
Allowed values (enum): 8, 9, 10, 11, 12, 13, 14
Default value (default): 14
remote-endpoint — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "port@0", "port@1"
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", "clock-names", "ports"
Examples (examples) #
csi2dc@e1404000 {
compatible = "microchip,sama7g5-csi2dc";
reg = <0xe1404000 0x500>;
clocks = <&pclk>, <&scck>;
clock-names = "pclk", "scck";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; /* must be 0, first child port */
csi2dc_in: endpoint { /* input from IDI interface */
bus-type = <4>; /* MIPI CSI2 D-PHY */
remote-endpoint = <&csi2host_out>;
};
};
port@1 {
reg = <1>; /* must be 1, second child port */
csi2dc_out: endpoint {
remote-endpoint = <&xisc_in>; /* output to sensor controller */
};
};
};
};
#include <dt-bindings/dma/at91.h>
csi2dc@e1404000 {
compatible = "microchip,sama7g5-csi2dc";
reg = <0xe1404000 0x500>;
clocks = <&pclk>, <&scck>;
clock-names = "pclk", "scck";
dmas = <&dma0 AT91_XDMAC_DT_PERID(34)>;
dma-names = "rx";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; /* must be 0, first child port */
csi2dc_input: endpoint { /* input from IDI interface */
remote-endpoint = <&csi2host_out>;
};
};
port@1 {
reg = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 142: Example for connecting to a parallel sensor controller block (video pipe)
Line 143: and the input is received from Synopsys IDI interface
Line 171: Example for connecting to a DMA master as an AHB slave
Line 172: and the input is received from Synopsys IDI interface
Hantro G1 VPU codec implemented on Microchip SAMA5D4 SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/microchip,sama5d4-vdec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Emil Velikov <emil.velikov@collabora.com>"
Hantro G1 video decode accelerator present on Microchip SAMA5D4 SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,sama5d4-vdec"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
vdec@300000 {
compatible = "microchip,sama5d4-vdec";
reg = <0x00300000 0x100000>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH 4>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 19>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Microchip eXtended Image Sensor Controller (XISC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/microchip,xisc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.com>"
The eXtended Image Sensor Controller (XISC) device provides the video input capabilities for the Microchip AT91 SAM family of devices.
The XISC has a single internal parallel input that supports RAW Bayer, RGB or YUV video. The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a parallel sensor.
The XISC provides one clock output that is used to clock the demuxer/bridge.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,sama7g5-isc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hclock"
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Exact value (const): "isc-mck"
microchip,mipi-mode — not listed as required here #
Value type (type): "boolean"
As the XISC is usually connected to a demux/bridge, the XISC receives the same type of input, however, it should be aware of the type of signals received. The mipi-mode enables different internal handling of the data and clock lines.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input port node, single endpoint describing the input pad.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties and child nodes (properties)
bus-type — required here
remote-endpoint — required here
true — No constraints added by this property rule.
bus-width — not listed as required here
Allowed values (enum): 8, 9, 10, 11, 12, 14
Default value (default): 12
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
pclk-sample — not listed as required here
Default value (default): 1
Required in this object (required): "remote-endpoint", "bus-type"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
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", "clock-names", "#clock-cells", "clock-output-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/media/video-interfaces.h>
xisc: xisc@e1408000 {
compatible = "microchip,sama7g5-isc";
reg = <0xe1408000 0x2000>;
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
clock-names = "hclock";
#clock-cells = <0>;
clock-output-names = "isc-mck";
port {
xisc_in: endpoint {
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
remote-endpoint = <&csi2dc_out>;
hsync-active = <1>;
vsync-active = <1>;
bus-width = <12>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Microchip Technology, Inc.
Nuvoton NPCM Encoding Compression Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nuvoton,npcm-ece.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joseph Liu <kwliu@nuvoton.com>", "Marvin Lin <kflin@nuvoton.com>"
Video Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,npcm750-ece", "nuvoton,npcm845-ece"
reg — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
ece: video-codec@f0820000 {
compatible = "nuvoton,npcm750-ece";
reg = <0xf0820000 0x2000>;
resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Nuvoton NPCM Video Capture/Differentiation Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nuvoton,npcm-vcd.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joseph Liu <kwliu@nuvoton.com>", "Marvin Lin <kflin@nuvoton.com>"
Video Capture/Differentiation Engine (VCD) present on Nuvoton NPCM SoCs.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,npcm750-vcd", "nuvoton,npcm845-vcd"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
nuvoton,sysgcr — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to access GCR (Global Control Register) registers.
nuvoton,sysgfxi — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to access GFXI (Graphics Core Information) registers.
nuvoton,ece — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to access ECE (Encoding Compression Engine) registers.
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
CMA pool to use for buffers allocation instead of the default CMA pool.
Required in this object (required): "compatible", "reg", "interrupts", "resets", "nuvoton,sysgcr", "nuvoton,sysgfxi", "nuvoton,ece"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
vcd: vcd@f0810000 {
compatible = "nuvoton,npcm750-vcd";
reg = <0xf0810000 0x10000>;
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>;
nuvoton,sysgcr = <&gcr>;
nuvoton,sysgfxi = <&gfxi>;
nuvoton,ece = <&ece>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra Video Decoder Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nvidia,tegra-vde.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Osipenko <digetx@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra132-vde","nvidia,tegra124-vde","nvidia,tegra114-vde"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra30-vde"Item 2
Exact value (
const):"nvidia,tegra20-vde"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra20-vde"
reg — required here #
Maximum number of items (maxItems): 9
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sxe"
Item 2
Exact value (
const):"bsev"
Item 3
Exact value (
const):"mbe"
Item 4
Exact value (
const):"ppe"
Item 5
Exact value (
const):"mce"
Item 6
Exact value (
const):"tfe"
Item 7
Exact value (
const):"ppb"
Item 8
Exact value (
const):"vdma"
Item 9
Exact value (
const):"frameid"
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vde"
Item 2
Exact value (
const):"mc"
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sync-token"
Item 2
Exact value (
const):"bsev"
Item 3
Exact value (
const):"sxe"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
iram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle of the SRAM MMIO node.
operating-points-v2 — not listed as required here #
Should contain freqs and voltages and opp-supported-hw property, which is a bitfield indicating SoC speedo or process ID mask.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Phandle to the SoC core power domain.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "resets", "reset-names", "interrupts", "interrupt-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
video-codec@6001a000 {
compatible = "nvidia,tegra20-vde";
reg = <0x6001a000 0x1000>, /* Syntax Engine */
<0x6001b000 0x1000>, /* Video Bitstream Engine */
<0x6001c000 0x100>, /* Macroblock Engine */
<0x6001c200 0x100>, /* Post-processing Engine */
<0x6001c400 0x100>, /* Motion Compensation Engine */
<0x6001c600 0x100>, /* Transform Engine */
<0x6001c800 0x100>, /* Pixel prediction block */
<0x6001ca00 0x100>, /* Video DMA */
<0x6001d800 0x300>; /* Video frame controls */
reg-names = "sxe", "bsev", "mbe", "ppe", "mce",
"tfe", "ppb", "vdma", "frameid";
iram = <&iram>; /* IRAM MMIO region */
interrupts = <0 9 4>, /* Sync token */
<0 10 4>, /* BSE-V */
<0 12 4>; /* SXE */
interrupt-names = "sync-token", "bsev", "sxe";
clocks = <&clk 61>;
reset-names = "vde", "mc";
resets = <&rst 61>, <&mem 13>;
iommus = <&mem 15>;
operating-points-v2 = <&dvfs_opp_table>;
power-domains = <&domain>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP i.MX8MP DW100 Dewarper core
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,dw100.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xavier Roumegue <xavier.roumegue@oss.nxp.com>"
The Dewarp Engine provides high-performance dewarp processing for the correction of the distortion that is introduced in images produced by fisheye and wide angle lenses. It is implemented with a line/tile-cache based architecture. With configurable address mapping look up tables and per tile processing, it successfully generates a corrected output image. The engine can be used to perform scaling, cropping and pixel format conversion.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,imx8mp-dw100"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
The AXI clock
Item 2
The AHB clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ahb"
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/imx8mp-power.h>
dewarp: dwe@32e30000 {
compatible = "nxp,imx8mp-dw100";
reg = <0x32e30000 0x10000>;
interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
<&clk IMX8MP_CLK_MEDIA_APB_ROOT>;
clock-names = "axi", "ahb";
power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP i.MX7 and i.MX8 MIPI CSI-2 receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rui Miguel Silva <rmfrfs@gmail.com>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The NXP i.MX7 and i.MX8 families contain SoCs that include a MIPI CSI-2 receiver IP core named CSIS. The IP core originates from Samsung, and may be compatible with some of the Exynos4 and S5P SoCs. i.MX7 SoCs use CSIS version 3.3, and i.MX8 SoCs use CSIS version 3.6.3.
While the CSI-2 receiver is separate from the MIPI D-PHY IP core, the PHY is completely wrapped by the CSIS and doesn't expose a control interface of its own. This binding thus covers both IP cores.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx7-mipi-csi2","fsl,imx8mm-mipi-csi2"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx8mm-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
The peripheral clock (a.k.a. APB clock)
Item 2
The external clock (optionally used as the pixel clock)
Item 3
The MIPI D-PHY clock
Item 4
The AXI clock
clock-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"wrap"
Item 3
Exact value (
const):"phy"
Item 4
Exact value (
const):"axi"
power-domains — required here #
Maximum number of items (maxItems): 1
phy-supply — not listed as required here #
The MIPI D-PHY digital power supply
resets — not listed as required here #
Array item rules (items) #
Item 1
MIPI D-PHY slave reset
clock-frequency — not listed as required here #
The desired external clock ("wrap") frequency, in Hz
Default value (default): 166000000
Deprecated (deprecated): true
fsl,num-channels — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of output channels
Minimum value (minimum): 1
Maximum value (maximum): 4
Default value (default): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Note that 'fsl,imx7-mipi-csi2' only supports up to 2 data lines.
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx7-mipi-csi2"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4
clock-names— not listed as required hereMinimum number of items (
minItems):4
phy-supply— not listed as required here
false— Not permitted by this property rule.
resets— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/imx7d-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/reset/imx7-reset.h>
mipi-csi@30750000 {
compatible = "fsl,imx7-mipi-csi2";
reg = <0x30750000 0x10000>;
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7D_IPG_ROOT_CLK>,
<&clks IMX7D_MIPI_CSI_ROOT_CLK>,
<&clks IMX7D_MIPI_DPHY_ROOT_CLK>;
clock-names = "pclk", "wrap", "phy";
assigned-clocks = <&clks IMX7D_MIPI_CSI_ROOT_CLK>;
assigned-clock-rates = <166000000>;
power-domains = <&pgc_mipi_phy>;
phy-supply = <®_1p0d>;
resets = <&src IMX7_RESET_MIPI_PHY_MRST>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
mipi_from_sensor: endpoint {
remote-endpoint = <&ov2680_to_mipi>;
data-lanes = <1>;
};
};
port@1 {
reg = <1>;
mipi_vc0_to_csi_mux: endpoint {
remote-endpoint = <&csi_mux_from_mipi_vc0>;
};
};
};
};
#include <dt-bindings/clock/imx8mm-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
mipi-csi@32e30000 {
compatible = "fsl,imx8mm-mipi-csi2";
reg = <0x32e30000 0x1000>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>,
<&clk IMX8MM_CLK_CSI1_ROOT>,
<&clk IMX8MM_CLK_CSI1_PHY_REF>,
<&clk IMX8MM_CLK_DISP_AXI_ROOT>;
clock-names = "pclk", "wrap", "phy", "axi";
assigned-clocks = <&clk IMX8MM_CLK_CSI1_ROOT>;
assigned-clock-rates = <250000000>;
power-domains = <&mipi_pd>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
imx8mm_mipi_csi_in: endpoint {
remote-endpoint = <&imx477_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
imx8mm_mipi_csi_out: endpoint {
remote-endpoint = <&csi_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
i.MX7 and i.MX8 CSI bridge (CMOS Sensor Interface)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rui Miguel Silva <rmfrfs@gmail.com>"
This is device node for the CMOS Sensor Interface (CSI) which enables the chip to connect directly to external CMOS image sensors.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx8mq-csi","fsl,imx7-csi","fsl,imx6ul-csi"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx8mm-csi"Item 2
Exact value (
const):"fsl,imx7-csi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #
Examples (examples) #
#include <dt-bindings/clock/imx7d-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
csi: csi@30710000 {
compatible = "fsl,imx7-csi";
reg = <0x30710000 0x10000>;
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX7D_CSI_MCLK_ROOT_CLK>;
clock-names = "mclk";
port {
csi_from_csi_mux: endpoint {
remote-endpoint = <&csi_mux_to_csi>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
i.MX8 Image Sensing Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx8-isi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The Image Sensing Interface (ISI) combines image processing pipelines with DMA engines to process and capture frames originating from a variety of sources. The inputs to the ISI go through Pixel Link interfaces, and their number and nature is SoC-dependent. They cover both capture interfaces (MIPI CSI-2 RX, HDMI RX, ...) and display engine outputs for writeback support.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mn-isi", "fsl,imx8mp-isi", "fsl,imx8ulp-isi", "fsl,imx91-isi", "fsl,imx93-isi"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
The AXI clock
Item 2
The APB clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"apb"
fsl,blk-ctrl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle referencing the block control that contains the CSIS to ISI gasket.
interrupts — required here #
Processing pipeline interrupts, one per pipeline
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Ports represent the Pixel Link inputs to the ISI. Their number and assignment are model-dependent. Each port shall have a single endpoint.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"fsl,imx8mn-isi","fsl,imx8ulp-isi","fsl,imx91-isi","fsl,imx93-isi"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
ports— not listed as required hereProperties and child nodes (
properties)
port@0— required hereMIPI CSI-2 RX
port@1— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx8mp-isi"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):2
ports— not listed as required hereProperties and child nodes (
properties)
port@0— required hereMIPI CSI-2 RX 0
port@1— required hereMIPI CSI-2 RX 1
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereThis rule must not match (
not)Rule for matching array elements (
contains)Exact value (
const):"fsl,imx91-isi"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mn-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/imx8mn-power.h>
isi@32e20000 {
compatible = "fsl,imx8mn-isi";
reg = <0x32e20000 0x100>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MN_CLK_DISP_AXI_ROOT>,
<&clk IMX8MN_CLK_DISP_APB_ROOT>;
clock-names = "axi", "apb";
fsl,blk-ctrl = <&disp_blk_ctrl>;
power-domains = <&disp_blk_ctrl IMX8MN_DISPBLK_PD_ISI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isi_in: endpoint {
remote-endpoint = <&mipi_csi_out>;
};
};
};
};
#include <dt-bindings/clock/imx8mp-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
isi@32e00000 {
compatible = "fsl,imx8mp-isi";
reg = <0x32e00000 0x4000>;
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
<&clk IMX8MP_CLK_MEDIA_APB_ROOT>;
clock-names = "axi", "apb";
fsl,blk-ctrl = <&media_blk_ctrl>;
power-domains = <&mediamix_pd>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
isi_in_0: endpoint {
remote-endpoint = <&mipi_csi_0_out>;
};
};
port@1 {
reg = <1>;
isi_in_1: endpoint {
remote-endpoint = <&mipi_csi_1_out>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 35: TODO: Check if the per-channel ipg_proc_clk clocks need to be specified
Line 36: as well, in case some SoCs have the ability to control them separately.
Line 37: This may be the case of the i.MX8[DQ]X(P)
i.MX8QXP/QM JPEG decoder/encoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx8-jpeg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mirela Rabulea <mirela.rabulea@nxp.com>"
The JPEG decoder/encoder present in iMX8QXP and iMX8QM SoCs is an ISO/IEC 10918-1 JPEG standard compliant decoder/encoder, for Baseline and Extended Sequential DCT modes.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Allowed values (
enum):"nxp,imx8qxp-jpgdec","nxp,imx8qxp-jpgenc"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nxp,imx8qm-jpgdec","nxp,imx95-jpgdec"Item 2
Exact value (
const):"nxp,imx8qxp-jpgdec"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"nxp,imx8qm-jpgenc","nxp,imx95-jpgenc"Item 2
Exact value (
const):"nxp,imx8qxp-jpgenc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
AXI DMA engine clock for fetching JPEG bitstream from memory (per)
Item 2
IP bus clock for register access (ipg)
interrupts — required here #
There are 4 slots available in the IP, which the driver may use If a certain slot is used, it should have an associated interrupt The interrupt with index i is assumed to be for slot i
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
power-domains — required here #
List of phandle and PM domain specifier as documented in Documentation/devicetree/bindings/power/power_domain.txt
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
sram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Optional phandle to a reserved on-chip SRAM regions. The SRAM can be used for descriptor storage, which may improve bus utilization.
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"nxp,imx95-jpgenc","nxp,imx95-jpgdec"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
power-domains— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/firmware/imx/rsrc.h>
jpegdec: jpegdec@58400000 {
compatible = "nxp,imx8qxp-jpgdec";
reg = <0x58400000 0x00050000 >;
clocks = <&img_jpeg_dec_lpcg IMX_LPCG_CLK_0>,
<&img_jpeg_dec_lpcg IMX_LPCG_CLK_4>;
interrupts = <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>,
<&pd IMX_SC_R_MJPEG_DEC_S0>,
<&pd IMX_SC_R_MJPEG_DEC_S1>,
<&pd IMX_SC_R_MJPEG_DEC_S2>,
<&pd IMX_SC_R_MJPEG_DEC_S3>;
};
jpegenc: jpegenc@58450000 {
compatible = "nxp,imx8qm-jpgenc", "nxp,imx8qxp-jpgenc";
reg = <0x58450000 0x00050000 >;
clocks = <&img_jpeg_enc_lpcg IMX_LPCG_CLK_0>,
<&img_jpeg__lpcg IMX_LPCG_CLK_4>;
interrupts = <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>,
<&pd IMX_SC_R_MJPEG_ENC_S0>,
<&pd IMX_SC_R_MJPEG_ENC_S1>,
<&pd IMX_SC_R_MJPEG_ENC_S2>,
<&pd IMX_SC_R_MJPEG_ENC_S3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 48: At least one slot is needed by the driver
Line 49: The IP has 4 slots available for use
Line 55: Wrapper and all slots
Line 56: Wrapper and 4 slots
Line 86: Wrapper and 1 slot
NXP i.MX8MQ MIPI CSI-2 receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx8mq-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Martin Kepplinger <martin.kepplinger@puri.sm>"
This binding covers the CSI-2 RX PHY and host controller included in the NXP i.MX8MQ SoC. It handles the sensor/image input and process for all the input imaging devices.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx8mq-mipi-csi2","fsl,imx8qxp-mipi-csi2"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx8qm-mipi-csi2"Item 2
Exact value (
const):"fsl,imx8qxp-mipi-csi2"
reg — required here #
Array item rules (items) #
Item 1
MIPI CSI-2 RX host controller register.
Item 2
MIPI CSI-2 control and status register (csr).
Minimum number of items (minItems): 1
clocks — required here #
Array item rules (items) #
Item 1
core is the RX Controller Core Clock input. This clock must be exactly equal to or faster than the receive byteclock from the RX DPHY.
Item 2
esc is the Rx Escape Clock. This must be the same escape clock that the RX DPHY receives.
Item 3
ui is the pixel clock (phy_ref up to 333Mhz). See the reference manual for details.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"esc"
Item 3
Exact value (
const):"ui"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
CORE_RESET reset register bit definition
Item 2
PHY_REF_RESET reset register bit definition
Item 3
ESC_RESET reset register bit definition
Minimum number of items (minItems): 1
fsl,mipi-phy-gpr — not listed as required here #
The phandle to the imx8mq syscon iomux-gpr with the register for setting RX_ENABLE for the mipi receiver.
The format should be as follows: <gpr req_gpr> gpr is the phandle to general purpose register node. req_gpr is the gpr register offset of RX_ENABLE for the mipi phy.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
The 'gpr' is the phandle to general purpose register node.
Item 2
The 'req_gpr' is the gpr register offset containing CSI2_1_RX_ENABLE or CSI2_2_RX_ENABLE respectively.
Maximum value (
maximum):255
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interconnect-names — not listed as required here #
Exact value (const): "dram"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "resets", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2
resets— not listed as required hereMaximum number of items (
maxItems):1When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
resets— not listed as required hereMinimum number of items (
minItems):3
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/interconnect/imx8mq.h>
#include <dt-bindings/reset/imx8mq-reset.h>
csi@30a70000 {
compatible = "fsl,imx8mq-mipi-csi2";
reg = <0x30a70000 0x1000>;
clocks = <&clk IMX8MQ_CLK_CSI1_CORE>,
<&clk IMX8MQ_CLK_CSI1_ESC>,
<&clk IMX8MQ_CLK_CSI1_PHY_REF>;
clock-names = "core", "esc", "ui";
assigned-clocks = <&clk IMX8MQ_CLK_CSI1_CORE>,
<&clk IMX8MQ_CLK_CSI1_PHY_REF>,
<&clk IMX8MQ_CLK_CSI1_ESC>;
assigned-clock-rates = <266000000>, <200000000>, <66000000>;
assigned-clock-parents = <&clk IMX8MQ_SYS1_PLL_266M>,
<&clk IMX8MQ_SYS2_PLL_1000M>,
<&clk IMX8MQ_SYS1_PLL_800M>;
power-domains = <&pgc_mipi_csi1>;
resets = <&src IMX8MQ_RESET_MIPI_CSI1_CORE_RESET>,
<&src IMX8MQ_RESET_MIPI_CSI1_PHY_REF_RESET>,
<&src IMX8MQ_RESET_MIPI_CSI1_ESC_RESET>;
fsl,mipi-phy-gpr = <&iomuxc_gpr 0x88>;
interconnects = <&noc IMX8MQ_ICM_CSI1 &noc IMX8MQ_ICS_DRAM>;
interconnect-names = "dram";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
imx8mm_mipi_csi_in: endpoint {
remote-endpoint = <&imx477_out>;
data-lanes = <1 2 3 4>;
};
};
port@1 {
reg = <1>;
imx8mm_mipi_csi_out: endpoint {
remote-endpoint = <&csi_in>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Hantro G1/G2 VPU codecs implemented on i.MX8M SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/nxp,imx8mq-vpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"
Hantro G1/G2 video decode accelerators present on i.MX8MQ SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"nxp,imx8mq-vpu"Deprecated (
deprecated):true
Rule 2
Exact value (
const):"nxp,imx8mq-vpu-g1"
Rule 3
Exact value (
const):"nxp,imx8mq-vpu-g2"
Rule 4
Exact value (
const):"nxp,imx8mm-vpu-g1"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/power/imx8mq-power.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-codec@38300000 {
compatible = "nxp,imx8mq-vpu-g1";
reg = <0x38300000 0x10000>;
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MQ_CLK_VPU_G1_ROOT>;
power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G1>;
};
#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/power/imx8mq-power.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-codec@38300000 {
compatible = "nxp,imx8mq-vpu-g2";
reg = <0x38310000 0x10000>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MQ_CLK_VPU_G2_ROOT>;
power-domains = <&vpu_blk_ctrl IMX8MQ_VPUBLK_PD_G2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8916-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>", "Todor Tomov <todor.too@gmail.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8916-camss"
clocks — required here #
Minimum number of items (minItems): 19
Maximum number of items (maxItems): 19
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top_ahb"
Item 2
Exact value (
const):"ispif_ahb"
Item 3
Exact value (
const):"csiphy0_timer"
Item 4
Exact value (
const):"csiphy1_timer"
Item 5
Exact value (
const):"csi0_ahb"
Item 6
Exact value (
const):"csi0"
Item 7
Exact value (
const):"csi0_phy"
Item 8
Exact value (
const):"csi0_pix"
Item 9
Exact value (
const):"csi0_rdi"
Item 10
Exact value (
const):"csi1_ahb"
Item 11
Exact value (
const):"csi1"
Item 12
Exact value (
const):"csi1_phy"
Item 13
Exact value (
const):"csi1_pix"
Item 14
Exact value (
const):"csi1_rdi"
Item 15
Exact value (
const):"ahb"
Item 16
Exact value (
const):"vfe0"
Item 17
Exact value (
const):"csi_vfe0"
Item 18
Exact value (
const):"vfe_ahb"
Item 19
Exact value (
const):"vfe_axi"
interrupts — required here #
Minimum number of items (minItems): 6
Maximum number of items (maxItems): 6
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy1"
Item 3
Exact value (
const):"csid0"
Item 4
Exact value (
const):"csid1"
Item 5
Exact value (
const):"ispif"
Item 6
Exact value (
const):"vfe0"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
VFE GDSC - Video Front End, Global Distributed Switch Controller.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
An array of physical data lanes indexes. Position of an entry determines the logical lane number, while the value of an entry indicates physical lane index. Lane swapping is supported. Physical lane indexes; 0, 2, 3, 4.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
reg — required here #
Minimum number of items (minItems): 9
Maximum number of items (maxItems): 9
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy0_clk_mux"
Item 3
Exact value (
const):"csiphy1"
Item 4
Exact value (
const):"csiphy1_clk_mux"
Item 5
Exact value (
const):"csid0"
Item 6
Exact value (
const):"csid1"
Item 7
Exact value (
const):"ispif"
Item 8
Exact value (
const):"csi_clk_mux"
Item 9
Exact value (
const):"vfe0"
vdda-supply — required here #
Definition of the regulator used as analog power supply.
Required in this object (required): "clock-names", "clocks", "compatible", "interrupt-names", "interrupts", "iommus", "power-domains", "reg", "reg-names", "vdda-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8916.h>
camss: camss@1b0ac00 {
compatible = "qcom,msm8916-camss";
clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
<&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI0_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0_CLK>,
<&gcc GCC_CAMSS_CSI0PHY_CLK>,
<&gcc GCC_CAMSS_CSI0PIX_CLK>,
<&gcc GCC_CAMSS_CSI0RDI_CLK>,
<&gcc GCC_CAMSS_CSI1_AHB_CLK>,
<&gcc GCC_CAMSS_CSI1_CLK>,
<&gcc GCC_CAMSS_CSI1PHY_CLK>,
<&gcc GCC_CAMSS_CSI1PIX_CLK>,
<&gcc GCC_CAMSS_CSI1RDI_CLK>,
<&gcc GCC_CAMSS_AHB_CLK>,
<&gcc GCC_CAMSS_VFE0_CLK>,
<&gcc GCC_CAMSS_CSI_VFE0_CLK>,
<&gcc GCC_CAMSS_VFE_AHB_CLK>,
<&gcc GCC_CAMSS_VFE_AXI_CLK>;
clock-names = "top_ahb",
"ispif_ahb",
"csiphy0_timer",
"csiphy1_timer",
"csi0_ahb",
"csi0",
"csi0_phy",
"csi0_pix",
"csi0_rdi",
"csi1_ahb",
"csi1",
"csi1_phy",
"csi1_pix",
"csi1_rdi",
"ahb",
"vfe0",
"csi_vfe0",
"vfe_ahb",
"vfe_axi";
interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csid0",
"csid1",
"ispif",
"vfe0";
iommus = <&apps_iommu 3>;
power-domains = <&gcc VFE_GDSC>;
reg = <0x01b0ac00 0x200>,
<0x01b00030 0x4>,
<0x01b0b000 0x200>,
<0x01b00038 0x4>,
<0x01b08000 0x100>,
<0x01b08400 0x100>,
<0x01b0a000 0x500>,
<0x01b00020 0x10>,
<0x01b10000 0x1000>;
reg-names = "csiphy0",
"csiphy0_clk_mux",
"csiphy1",
"csiphy1_clk_mux",
"csid0",
"csid1",
"ispif",
"csi_clk_mux",
"vfe0";
vdda-supply = <®_2v8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 98: MEDIA_BUS_TYPE_CSI2_DPHY
Line 121: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm MSM8916 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8916-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8916-venus"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
iommus — required here #
Maximum number of items (maxItems): 1
video-decoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8916.h>
video-codec@1d00000 {
compatible = "qcom,msm8916-venus";
reg = <0x01d00000 0xff000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
<&gcc GCC_VENUS0_AHB_CLK>,
<&gcc GCC_VENUS0_AXI_CLK>;
clock-names = "core", "iface", "bus";
power-domains = <&gcc VENUS_GDSC>;
iommus = <&apps_iommu 5>;
memory-region = <&venus_mem>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm MSM8939 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8939-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vincent Knecht <vincent.knecht@mailoo.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8939-camss"
reg — required here #
Maximum number of items (maxItems): 11
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy0_clk_mux"
Item 3
Exact value (
const):"csiphy1"
Item 4
Exact value (
const):"csiphy1_clk_mux"
Item 5
Exact value (
const):"csid0"
Item 6
Exact value (
const):"csid1"
Item 7
Exact value (
const):"ispif"
Item 8
Exact value (
const):"csi_clk_mux"
Item 9
Exact value (
const):"vfe0"
Item 10
Exact value (
const):"csid2"
Item 11
Exact value (
const):"vfe0_vbif"
clocks — required here #
Maximum number of items (maxItems): 24
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top_ahb"
Item 2
Exact value (
const):"ispif_ahb"
Item 3
Exact value (
const):"csiphy0_timer"
Item 4
Exact value (
const):"csiphy1_timer"
Item 5
Exact value (
const):"csi0_ahb"
Item 6
Exact value (
const):"csi0"
Item 7
Exact value (
const):"csi0_phy"
Item 8
Exact value (
const):"csi0_pix"
Item 9
Exact value (
const):"csi0_rdi"
Item 10
Exact value (
const):"csi1_ahb"
Item 11
Exact value (
const):"csi1"
Item 12
Exact value (
const):"csi1_phy"
Item 13
Exact value (
const):"csi1_pix"
Item 14
Exact value (
const):"csi1_rdi"
Item 15
Exact value (
const):"ahb"
Item 16
Exact value (
const):"vfe0"
Item 17
Exact value (
const):"csi_vfe0"
Item 18
Exact value (
const):"vfe_ahb"
Item 19
Exact value (
const):"vfe_axi"
Item 20
Exact value (
const):"csi2_ahb"
Item 21
Exact value (
const):"csi2"
Item 22
Exact value (
const):"csi2_phy"
Item 23
Exact value (
const):"csi2_pix"
Item 24
Exact value (
const):"csi2_rdi"
interrupts — required here #
Maximum number of items (maxItems): 7
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy1"
Item 3
Exact value (
const):"csid0"
Item 4
Exact value (
const):"csid1"
Item 5
Exact value (
const):"ispif"
Item 6
Exact value (
const):"vfe0"
Item 7
Exact value (
const):"csid2"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
VFE GDSC - Video Front End, Global Distributed Switch Controller.
vdda-supply — required here #
Definition of the regulator used as 1.2V analog power supply.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-1]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "iommus", "power-domains", "vdda-supply", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8939.h>
isp@1b0ac00 {
compatible = "qcom,msm8939-camss";
reg = <0x01b0ac00 0x200>,
<0x01b00030 0x4>,
<0x01b0b000 0x200>,
<0x01b00038 0x4>,
<0x01b08000 0x100>,
<0x01b08400 0x100>,
<0x01b0a000 0x500>,
<0x01b00020 0x10>,
<0x01b10000 0x1000>,
<0x01b08800 0x100>,
<0x01b40000 0x200>;
reg-names = "csiphy0",
"csiphy0_clk_mux",
"csiphy1",
"csiphy1_clk_mux",
"csid0",
"csid1",
"ispif",
"csi_clk_mux",
"vfe0",
"csid2",
"vfe0_vbif";
clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
<&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI0_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0_CLK>,
<&gcc GCC_CAMSS_CSI0PHY_CLK>,
<&gcc GCC_CAMSS_CSI0PIX_CLK>,
<&gcc GCC_CAMSS_CSI0RDI_CLK>,
<&gcc GCC_CAMSS_CSI1_AHB_CLK>,
<&gcc GCC_CAMSS_CSI1_CLK>,
<&gcc GCC_CAMSS_CSI1PHY_CLK>,
<&gcc GCC_CAMSS_CSI1PIX_CLK>,
<&gcc GCC_CAMSS_CSI1RDI_CLK>,
<&gcc GCC_CAMSS_AHB_CLK>,
<&gcc GCC_CAMSS_VFE0_CLK>,
<&gcc GCC_CAMSS_CSI_VFE0_CLK>,
<&gcc GCC_CAMSS_VFE_AHB_CLK>,
<&gcc GCC_CAMSS_VFE_AXI_CLK>,
<&gcc GCC_CAMSS_CSI2_AHB_CLK>,
<&gcc GCC_CAMSS_CSI2_CLK>,
<&gcc GCC_CAMSS_CSI2PHY_CLK>,
<&gcc GCC_CAMSS_CSI2PIX_CLK>,
<&gcc GCC_CAMSS_CSI2RDI_CLK>;
clock-names = "top_ahb",
"ispif_ahb",
"csiphy0_timer",
"csiphy1_timer",
"csi0_ahb",
"csi0",
"csi0_phy",
"csi0_pix",
"csi0_rdi",
"csi1_ahb",
"csi1",
"csi1_phy",
"csi1_pix",
"csi1_rdi",
"ahb",
"vfe0",
"csi_vfe0",
"vfe_ahb",
"vfe_axi",
"csi2_ahb",
"csi2",
"csi2_phy",
"csi2_pix",
"csi2_rdi";
interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 153 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csid0",
"csid1",
"ispif",
"vfe0",
"csid2";
iommus = <&apps_iommu 3>;
power-domains = <&gcc VFE_GDSC>;
vdda-supply = <®_1v2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
csiphy1_ep: endpoint {
data-lanes = <0 2>;
remote-endpoint = <&sensor_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 117: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm MSM8953 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8953-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Barnabas Czeman <barnabas.czeman@mainlining.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8953-camss"
clocks — required here #
Minimum number of items (minItems): 30
Maximum number of items (maxItems): 30
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"csi0"
Item 3
Exact value (
const):"csi0_ahb"
Item 4
Exact value (
const):"csi0_phy"
Item 5
Exact value (
const):"csi0_pix"
Item 6
Exact value (
const):"csi0_rdi"
Item 7
Exact value (
const):"csi1"
Item 8
Exact value (
const):"csi1_ahb"
Item 9
Exact value (
const):"csi1_phy"
Item 10
Exact value (
const):"csi1_pix"
Item 11
Exact value (
const):"csi1_rdi"
Item 12
Exact value (
const):"csi2"
Item 13
Exact value (
const):"csi2_ahb"
Item 14
Exact value (
const):"csi2_phy"
Item 15
Exact value (
const):"csi2_pix"
Item 16
Exact value (
const):"csi2_rdi"
Item 17
Exact value (
const):"csi_vfe0"
Item 18
Exact value (
const):"csi_vfe1"
Item 19
Exact value (
const):"csiphy0_timer"
Item 20
Exact value (
const):"csiphy1_timer"
Item 21
Exact value (
const):"csiphy2_timer"
Item 22
Exact value (
const):"ispif_ahb"
Item 23
Exact value (
const):"micro_ahb"
Item 24
Exact value (
const):"top_ahb"
Item 25
Exact value (
const):"vfe0"
Item 26
Exact value (
const):"vfe0_ahb"
Item 27
Exact value (
const):"vfe0_axi"
Item 28
Exact value (
const):"vfe1"
Item 29
Exact value (
const):"vfe1_ahb"
Item 30
Exact value (
const):"vfe1_axi"
interrupts — required here #
Minimum number of items (minItems): 9
Maximum number of items (maxItems): 9
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"ispif"
Item 8
Exact value (
const):"vfe0"
Item 9
Exact value (
const):"vfe1"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
VFE0 GDSC - Video Front End, Global Distributed Switch Controller.
Item 2
VFE1 GDSC - Video Front End, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vfe0"
Item 2
Exact value (
const):"vfe1"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
An array of physical data lanes indexes. Position of an entry determines the logical lane number, while the value of an entry indicates physical lane index. Lane swapping is supported. Physical lane indexes; 0, 2, 3, 4.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
reg — required here #
Minimum number of items (minItems): 13
Maximum number of items (maxItems): 13
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csi_clk_mux"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csid2"
Item 5
Exact value (
const):"csiphy0"
Item 6
Exact value (
const):"csiphy0_clk_mux"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy1_clk_mux"
Item 9
Exact value (
const):"csiphy2"
Item 10
Exact value (
const):"csiphy2_clk_mux"
Item 11
Exact value (
const):"ispif"
Item 12
Exact value (
const):"vfe0"
Item 13
Exact value (
const):"vfe1"
vdda-supply — required here #
Definition of the regulator used as analog power supply.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "iommus", "power-domains", "power-domain-names", "vdda-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8953.h>
camss: camss@1b00020 {
compatible = "qcom,msm8953-camss";
reg = <0x1b00020 0x10>,
<0x1b30000 0x100>,
<0x1b30400 0x100>,
<0x1b30800 0x100>,
<0x1b34000 0x1000>,
<0x1b00030 0x4>,
<0x1b35000 0x1000>,
<0x1b00038 0x4>,
<0x1b36000 0x1000>,
<0x1b00040 0x4>,
<0x1b31000 0x500>,
<0x1b10000 0x1000>,
<0x1b14000 0x1000>;
reg-names = "csi_clk_mux",
"csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy0_clk_mux",
"csiphy1",
"csiphy1_clk_mux",
"csiphy2",
"csiphy2_clk_mux",
"ispif",
"vfe0",
"vfe1";
clocks = <&gcc GCC_CAMSS_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0_CLK>,
<&gcc GCC_CAMSS_CSI0_AHB_CLK>,
<&gcc GCC_CAMSS_CSI0PHY_CLK>,
<&gcc GCC_CAMSS_CSI0PIX_CLK>,
<&gcc GCC_CAMSS_CSI0RDI_CLK>,
<&gcc GCC_CAMSS_CSI1_CLK>,
<&gcc GCC_CAMSS_CSI1_AHB_CLK>,
<&gcc GCC_CAMSS_CSI1PHY_CLK>,
<&gcc GCC_CAMSS_CSI1PIX_CLK>,
<&gcc GCC_CAMSS_CSI1RDI_CLK>,
<&gcc GCC_CAMSS_CSI2_CLK>,
<&gcc GCC_CAMSS_CSI2_AHB_CLK>,
<&gcc GCC_CAMSS_CSI2PHY_CLK>,
<&gcc GCC_CAMSS_CSI2PIX_CLK>,
<&gcc GCC_CAMSS_CSI2RDI_CLK>,
<&gcc GCC_CAMSS_CSI_VFE0_CLK>,
<&gcc GCC_CAMSS_CSI_VFE1_CLK>,
<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CSI2PHYTIMER_CLK>,
<&gcc GCC_CAMSS_ISPIF_AHB_CLK>,
<&gcc GCC_CAMSS_MICRO_AHB_CLK>,
<&gcc GCC_CAMSS_TOP_AHB_CLK>,
<&gcc GCC_CAMSS_VFE0_CLK>,
<&gcc GCC_CAMSS_VFE0_AHB_CLK>,
<&gcc GCC_CAMSS_VFE0_AXI_CLK>,
<&gcc GCC_CAMSS_VFE1_CLK>,
<&gcc GCC_CAMSS_VFE1_AHB_CLK>,
<&gcc GCC_CAMSS_VFE1_AXI_CLK>;
clock-names = "ahb",
"csi0",
"csi0_ahb",
"csi0_phy",
"csi0_pix",
"csi0_rdi",
"csi1",
"csi1_ahb",
"csi1_phy",
"csi1_pix",
"csi1_rdi",
"csi2",
"csi2_ahb",
"csi2_phy",
"csi2_pix",
"csi2_rdi",
"csi_vfe0",
"csi_vfe1",
"csiphy0_timer",
"csiphy1_timer",
"csiphy2_timer",
"ispif_ahb",
"micro_ahb",
"top_ahb",
"vfe0",
"vfe0_ahb",
"vfe0_axi",
"vfe1",
"vfe1_ahb",
"vfe1_axi";
interrupts = <GIC_SPI 51 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 52 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 153 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 315 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 55 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 57 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy1",
"csiphy2",
"ispif",
"vfe0",
"vfe1";
iommus = <&apps_iommu 0x14>;
power-domains = <&gcc VFE0_GDSC>,
<&gcc VFE1_GDSC>;
power-domain-names = "vfe0", "vfe1";
vdda-supply = <®_2v8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 117: MEDIA_BUS_TYPE_CSI2_CPHY
Line 118: MEDIA_BUS_TYPE_CSI2_DPHY
Line 141: MEDIA_BUS_TYPE_CSI2_CPHY
Line 142: MEDIA_BUS_TYPE_CSI2_DPHY
Line 165: MEDIA_BUS_TYPE_CSI2_CPHY
Line 166: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8996-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>", "Todor Tomov <todor.too@gmail.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm8996-camss"
clocks — required here #
Minimum number of items (minItems): 36
Maximum number of items (maxItems): 36
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top_ahb"
Item 2
Exact value (
const):"ispif_ahb"
Item 3
Exact value (
const):"csiphy0_timer"
Item 4
Exact value (
const):"csiphy1_timer"
Item 5
Exact value (
const):"csiphy2_timer"
Item 6
Exact value (
const):"csi0_ahb"
Item 7
Exact value (
const):"csi0"
Item 8
Exact value (
const):"csi0_phy"
Item 9
Exact value (
const):"csi0_pix"
Item 10
Exact value (
const):"csi0_rdi"
Item 11
Exact value (
const):"csi1_ahb"
Item 12
Exact value (
const):"csi1"
Item 13
Exact value (
const):"csi1_phy"
Item 14
Exact value (
const):"csi1_pix"
Item 15
Exact value (
const):"csi1_rdi"
Item 16
Exact value (
const):"csi2_ahb"
Item 17
Exact value (
const):"csi2"
Item 18
Exact value (
const):"csi2_phy"
Item 19
Exact value (
const):"csi2_pix"
Item 20
Exact value (
const):"csi2_rdi"
Item 21
Exact value (
const):"csi3_ahb"
Item 22
Exact value (
const):"csi3"
Item 23
Exact value (
const):"csi3_phy"
Item 24
Exact value (
const):"csi3_pix"
Item 25
Exact value (
const):"csi3_rdi"
Item 26
Exact value (
const):"ahb"
Item 27
Exact value (
const):"vfe0"
Item 28
Exact value (
const):"csi_vfe0"
Item 29
Exact value (
const):"vfe0_ahb"
Item 30
Exact value (
const):"vfe0_stream"
Item 31
Exact value (
const):"vfe1"
Item 32
Exact value (
const):"csi_vfe1"
Item 33
Exact value (
const):"vfe1_ahb"
Item 34
Exact value (
const):"vfe1_stream"
Item 35
Exact value (
const):"vfe_ahb"
Item 36
Exact value (
const):"vfe_axi"
interrupts — required here #
Minimum number of items (minItems): 10
Maximum number of items (maxItems): 10
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy1"
Item 3
Exact value (
const):"csiphy2"
Item 4
Exact value (
const):"csid0"
Item 5
Exact value (
const):"csid1"
Item 6
Exact value (
const):"csid2"
Item 7
Exact value (
const):"csid3"
Item 8
Exact value (
const):"ispif"
Item 9
Exact value (
const):"vfe0"
Item 10
Exact value (
const):"vfe1"
iommus — required here #
Maximum number of items (maxItems): 4
power-domains — required here #
Array item rules (items) #
Item 1
VFE0 GDSC - Video Front End, Global Distributed Switch Controller.
Item 2
VFE1 GDSC - Video Front End, Global Distributed Switch Controller.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
An array of physical data lanes indexes. Position of an entry determines the logical lane number, while the value of an entry indicates physical lane index. Lane swapping is supported. Physical lane indexes are; 0, 1, 2, 3
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
reg — required here #
Minimum number of items (minItems): 14
Maximum number of items (maxItems): 14
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy0_clk_mux"
Item 3
Exact value (
const):"csiphy1"
Item 4
Exact value (
const):"csiphy1_clk_mux"
Item 5
Exact value (
const):"csiphy2"
Item 6
Exact value (
const):"csiphy2_clk_mux"
Item 7
Exact value (
const):"csid0"
Item 8
Exact value (
const):"csid1"
Item 9
Exact value (
const):"csid2"
Item 10
Exact value (
const):"csid3"
Item 11
Exact value (
const):"ispif"
Item 12
Exact value (
const):"csi_clk_mux"
Item 13
Exact value (
const):"vfe0"
Item 14
Exact value (
const):"vfe1"
vdda-supply — required here #
Definition of the regulator used as analog power supply.
Required in this object (required): "clock-names", "clocks", "compatible", "interrupt-names", "interrupts", "iommus", "power-domains", "reg", "reg-names", "vdda-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-msm8996.h>
#include <dt-bindings/clock/qcom,mmcc-msm8996.h>
camss: camss@a34000 {
compatible = "qcom,msm8996-camss";
clocks = <&mmcc CAMSS_TOP_AHB_CLK>,
<&mmcc CAMSS_ISPIF_AHB_CLK>,
<&mmcc CAMSS_CSI0PHYTIMER_CLK>,
<&mmcc CAMSS_CSI1PHYTIMER_CLK>,
<&mmcc CAMSS_CSI2PHYTIMER_CLK>,
<&mmcc CAMSS_CSI0_AHB_CLK>,
<&mmcc CAMSS_CSI0_CLK>,
<&mmcc CAMSS_CSI0PHY_CLK>,
<&mmcc CAMSS_CSI0PIX_CLK>,
<&mmcc CAMSS_CSI0RDI_CLK>,
<&mmcc CAMSS_CSI1_AHB_CLK>,
<&mmcc CAMSS_CSI1_CLK>,
<&mmcc CAMSS_CSI1PHY_CLK>,
<&mmcc CAMSS_CSI1PIX_CLK>,
<&mmcc CAMSS_CSI1RDI_CLK>,
<&mmcc CAMSS_CSI2_AHB_CLK>,
<&mmcc CAMSS_CSI2_CLK>,
<&mmcc CAMSS_CSI2PHY_CLK>,
<&mmcc CAMSS_CSI2PIX_CLK>,
<&mmcc CAMSS_CSI2RDI_CLK>,
<&mmcc CAMSS_CSI3_AHB_CLK>,
<&mmcc CAMSS_CSI3_CLK>,
<&mmcc CAMSS_CSI3PHY_CLK>,
<&mmcc CAMSS_CSI3PIX_CLK>,
<&mmcc CAMSS_CSI3RDI_CLK>,
<&mmcc CAMSS_AHB_CLK>,
<&mmcc CAMSS_VFE0_CLK>,
<&mmcc CAMSS_CSI_VFE0_CLK>,
<&mmcc CAMSS_VFE0_AHB_CLK>,
<&mmcc CAMSS_VFE0_STREAM_CLK>,
<&mmcc CAMSS_VFE1_CLK>,
<&mmcc CAMSS_CSI_VFE1_CLK>,
<&mmcc CAMSS_VFE1_AHB_CLK>,
<&mmcc CAMSS_VFE1_STREAM_CLK>,
<&mmcc CAMSS_VFE_AHB_CLK>,
<&mmcc CAMSS_VFE_AXI_CLK>;
clock-names = "top_ahb",
"ispif_ahb",
"csiphy0_timer",
"csiphy1_timer",
"csiphy2_timer",
"csi0_ahb",
"csi0",
"csi0_phy",
"csi0_pix",
"csi0_rdi",
"csi1_ahb",
"csi1",
"csi1_phy",
"csi1_pix",
"csi1_rdi",
"csi2_ahb",
"csi2",
"csi2_phy",
"csi2_pix",
"csi2_rdi",
"csi3_ahb",
"csi3",
"csi3_phy",
"csi3_pix",
"csi3_rdi",
"ahb",
"vfe0",
"csi_vfe0",
"vfe0_ahb",
"vfe0_stream",
"vfe1",
"csi_vfe1",
"vfe1_ahb",
"vfe1_stream",
"vfe_ahb",
"vfe_axi";
interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 315 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csiphy2",
"csid0",
"csid1",
"csid2",
"csid3",
"ispif",
"vfe0",
"vfe1";
iommus = <&vfe_smmu 0>,
<&vfe_smmu 1>,
<&vfe_smmu 2>,
<&vfe_smmu 3>;
power-domains = <&mmcc VFE0_GDSC>,
<&mmcc VFE1_GDSC>;
reg = <0x00a34000 0x1000>,
<0x00a00030 0x4>,
<0x00a35000 0x1000>,
<0x00a00038 0x4>,
<0x00a36000 0x1000>,
<0x00a00040 0x4>,
<0x00a30000 0x100>,
<0x00a30400 0x100>,
<0x00a30800 0x100>,
<0x00a30c00 0x100>,
<0x00a31000 0x500>,
<0x00a00020 0x10>,
<0x00a10000 0x1000>,
<0x00a14000 0x1000>;
reg-names = "csiphy0",
"csiphy0_clk_mux",
"csiphy1",
"csiphy1_clk_mux",
"csiphy2",
"csiphy2_clk_mux",
"csid0",
"csid1",
"csid2",
"csid3",
"ispif",
"csi_clk_mux",
"vfe0",
"vfe1";
vdda-supply = <®_2v8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 120: MEDIA_BUS_TYPE_CSI2_CPHY
Line 121: MEDIA_BUS_TYPE_CSI2_DPHY
Line 144: MEDIA_BUS_TYPE_CSI2_CPHY
Line 145: MEDIA_BUS_TYPE_CSI2_DPHY
Line 168: MEDIA_BUS_TYPE_CSI2_CPHY
Line 169: MEDIA_BUS_TYPE_CSI2_DPHY
Line 192: MEDIA_BUS_TYPE_CSI2_CPHY
Line 193: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm MSM8996 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,msm8996-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,msm8996-venus", "qcom,msm8998-venus"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"mbus"
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"video-mem"
Item 2
Exact value (
const):"cpu-cfg"
iommus — required here #
Maximum number of items (maxItems): 20
video-decoder — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"core"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"core"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "iommus", "video-decoder", "video-encoder"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,mmcc-msm8996.h>
video-codec@c00000 {
compatible = "qcom,msm8996-venus";
reg = <0x00c00000 0xff000>;
interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mmcc VIDEO_CORE_CLK>,
<&mmcc VIDEO_AHB_CLK>,
<&mmcc VIDEO_AXI_CLK>,
<&mmcc VIDEO_MAXI_CLK>;
clock-names = "core", "iface", "bus", "mbus";
power-domains = <&mmcc VENUS_GDSC>;
iommus = <&venus_smmu 0x00>,
<&venus_smmu 0x01>,
<&venus_smmu 0x0a>,
<&venus_smmu 0x07>,
<&venus_smmu 0x0e>,
<&venus_smmu 0x0f>,
<&venus_smmu 0x08>,
<&venus_smmu 0x09>,
<&venus_smmu 0x0b>,
<&venus_smmu 0x0c>,
<&venus_smmu 0x0d>,
<&venus_smmu 0x10>,
<&venus_smmu 0x11>,
<&venus_smmu 0x21>,
<&venus_smmu 0x28>,
<&venus_smmu 0x29>,
<&venus_smmu 0x2b>,
<&venus_smmu 0x2c>,
<&venus_smmu 0x2d>,
<&venus_smmu 0x31>;
memory-region = <&venus_mem>;
video-decoder {
compatible = "venus-decoder";
clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
clock-names = "core";
power-domains = <&mmcc VENUS_CORE0_GDSC>;
};
video-encoder {
compatible = "venus-encoder";
clocks = <&mmcc VIDEO_SUBCORE1_CLK>;
clock-names = "core";
power-domains = <&mmcc VENUS_CORE1_GDSC>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QCM2290 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,qcm2290-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Loic Poulain <loic.poulain@oss.qualcomm.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,qcm2290-camss"
reg — required here #
Maximum number of items (maxItems): 9
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csitpg0"
Item 7
Exact value (
const):"csitpg1"
Item 8
Exact value (
const):"vfe0"
Item 9
Exact value (
const):"vfe1"
clocks — required here #
Maximum number of items (maxItems): 15
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"axi"
Item 3
Exact value (
const):"camnoc_nrt_axi"
Item 4
Exact value (
const):"camnoc_rt_axi"
Item 5
Exact value (
const):"csi0"
Item 6
Exact value (
const):"csi1"
Item 7
Exact value (
const):"csiphy0"
Item 8
Exact value (
const):"csiphy0_timer"
Item 9
Exact value (
const):"csiphy1"
Item 10
Exact value (
const):"csiphy1_timer"
Item 11
Exact value (
const):"top_ahb"
Item 12
Exact value (
const):"vfe0"
Item 13
Exact value (
const):"vfe0_cphy_rx"
Item 14
Exact value (
const):"vfe1"
Item 15
Exact value (
const):"vfe1_cphy_rx"
interrupts — required here #
Maximum number of items (maxItems): 8
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csiphy0"
Item 4
Exact value (
const):"csiphy1"
Item 5
Exact value (
const):"csitpg0"
Item 6
Exact value (
const):"csitpg1"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
interconnects — required here #
Maximum number of items (maxItems): 3
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_mnoc"
Item 3
Exact value (
const):"sf_mnoc"
iommus — required here #
Maximum number of items (maxItems): 4
power-domains — required here #
Array item rules (items) #
Item 1
GDSC CAMSS Block, Global Distributed Switch Controller.
vdd-csiphy-1p2-supply — required here #
Phandle to a 1.2V regulator supply to CSI PHYs.
vdd-csiphy-1p8-supply — required here #
Phandle to 1.8V regulator supply to CSI PHYs pll block.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-3]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data from a CSIPHY.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "vdd-csiphy-1p2-supply", "vdd-csiphy-1p8-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/interconnect/qcom,rpm-icc.h>
#include <dt-bindings/interconnect/qcom,qcm2290.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: camss@5c6e000 {
compatible = "qcom,qcm2290-camss";
reg = <0x0 0x5c11000 0x0 0x1000>,
<0x0 0x5c6e000 0x0 0x1000>,
<0x0 0x5c75000 0x0 0x1000>,
<0x0 0x5c52000 0x0 0x1000>,
<0x0 0x5c53000 0x0 0x1000>,
<0x0 0x5c66000 0x0 0x400>,
<0x0 0x5c68000 0x0 0x400>,
<0x0 0x5c6f000 0x0 0x4000>,
<0x0 0x5c76000 0x0 0x4000>;
reg-names = "top",
"csid0",
"csid1",
"csiphy0",
"csiphy1",
"csitpg0",
"csitpg1",
"vfe0",
"vfe1";
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
<&gcc GCC_CAMSS_AXI_CLK>,
<&gcc GCC_CAMSS_NRT_AXI_CLK>,
<&gcc GCC_CAMSS_RT_AXI_CLK>,
<&gcc GCC_CAMSS_TFE_0_CSID_CLK>,
<&gcc GCC_CAMSS_TFE_1_CSID_CLK>,
<&gcc GCC_CAMSS_CPHY_0_CLK>,
<&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
<&gcc GCC_CAMSS_CPHY_1_CLK>,
<&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
<&gcc GCC_CAMSS_TOP_AHB_CLK>,
<&gcc GCC_CAMSS_TFE_0_CLK>,
<&gcc GCC_CAMSS_TFE_0_CPHY_RX_CLK>,
<&gcc GCC_CAMSS_TFE_1_CLK>,
<&gcc GCC_CAMSS_TFE_1_CPHY_RX_CLK>;
clock-names = "ahb",
"axi",
"camnoc_nrt_axi",
"camnoc_rt_axi",
"csi0",
"csi1",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"top_ahb",
"vfe0",
"vfe0_cphy_rx",
"vfe1",
"vfe1_cphy_rx";
interrupts = <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 212 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 72 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 73 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 310 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 211 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 213 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csiphy0",
"csiphy1",
"csitpg0",
"csitpg1",
"vfe0",
"vfe1";
interconnects = <&bimc MASTER_APPSS_PROC RPM_ACTIVE_TAG
&config_noc SLAVE_CAMERA_CFG RPM_ACTIVE_TAG>,
<&mmrt_virt MASTER_CAMNOC_HF RPM_ALWAYS_TAG
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,
<&mmnrt_virt MASTER_CAMNOC_SF RPM_ALWAYS_TAG
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>;
interconnect-names = "ahb",
"hf_mnoc",
"sf_mnoc";
iommus = <&apps_smmu 0x400 0x0>,
<&apps_smmu 0x800 0x0>,
<&apps_smmu 0x820 0x0>,
<&apps_smmu 0x840 0x0>;
power-domains = <&gcc GCC_CAMSS_TOP_GDSC>;
vdd-csiphy-1p2-supply = <&pm4125_l5>;
vdd-csiphy-1p8-supply = <&pm4125_l13>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QCM2290 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,qcm2290-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>"
The Venus AR50_LITE IP is a video encode and decode accelerator present on Qualcomm platforms.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,qcm2290-venus"
power-domains — not listed as required here #
Maximum number of items (maxItems): 3
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"cx"
clocks — not listed as required here #
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"throttle"
Item 5
Exact value (
const):"vcodec0_core"
Item 6
Exact value (
const):"vcodec0_bus"
iommus — required here #
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"video-mem"
Item 2
Exact value (
const):"cpu-cfg"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
Required in this object (required): "compatible", "power-domain-names", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,gcc-qcm2290.h>
#include <dt-bindings/interconnect/qcom,qcm2290.h>
#include <dt-bindings/interconnect/qcom,rpm-icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
venus: video-codec@5a00000 {
compatible = "qcom,qcm2290-venus";
reg = <0x5a00000 0xf0000>;
interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&gcc GCC_VENUS_GDSC>,
<&gcc GCC_VCODEC0_GDSC>,
<&rpmpd QCM2290_VDDCX>;
power-domain-names = "venus",
"vcodec0",
"cx";
operating-points-v2 = <&venus_opp_table>;
clocks = <&gcc GCC_VIDEO_VENUS_CTL_CLK>,
<&gcc GCC_VIDEO_AHB_CLK>,
<&gcc GCC_VENUS_CTL_AXI_CLK>,
<&gcc GCC_VIDEO_THROTTLE_CORE_CLK>,
<&gcc GCC_VIDEO_VCODEC0_SYS_CLK>,
<&gcc GCC_VCODEC0_AXI_CLK>;
clock-names = "core",
"iface",
"bus",
"throttle",
"vcodec0_core",
"vcodec0_bus";
memory-region = <&pil_video_mem>;
iommus = <&apps_smmu 0x860 0x0>,
<&apps_smmu 0x880 0x0>;
interconnects = <&mmnrt_virt MASTER_VIDEO_P0 RPM_ALWAYS_TAG
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,
<&bimc MASTER_APPSS_PROC RPM_ACTIVE_TAG
&config_noc SLAVE_VENUS_CFG RPM_ACTIVE_TAG>;
interconnect-names = "video-mem",
"cpu-cfg";
venus_opp_table: opp-table {
compatible = "operating-points-v2";
opp-133333333 {
opp-hz = /bits/ 64 <133333333>;
required-opps = <&rpmpd_opp_low_svs>;
};
opp-240000000 {
opp-hz = /bits/ 64 <240000000>;
required-opps = <&rpmpd_opp_svs>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm QCS8300 CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,qcs8300-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vikram Sharma <quic_vikramsa@quicinc.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,qcs8300-camss"
reg — required here #
Maximum number of items (maxItems): 21
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid_wrapper"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csid_lite2"
Item 7
Exact value (
const):"csid_lite3"
Item 8
Exact value (
const):"csid_lite4"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy1"
Item 11
Exact value (
const):"csiphy2"
Item 12
Exact value (
const):"tpg0"
Item 13
Exact value (
const):"tpg1"
Item 14
Exact value (
const):"tpg2"
Item 15
Exact value (
const):"vfe0"
Item 16
Exact value (
const):"vfe1"
Item 17
Exact value (
const):"vfe_lite0"
Item 18
Exact value (
const):"vfe_lite1"
Item 19
Exact value (
const):"vfe_lite2"
Item 20
Exact value (
const):"vfe_lite3"
Item 21
Exact value (
const):"vfe_lite4"
clocks — required here #
Maximum number of items (maxItems): 26
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"core_ahb"
Item 3
Exact value (
const):"cpas_ahb"
Item 4
Exact value (
const):"cpas_fast_ahb_clk"
Item 5
Exact value (
const):"cpas_vfe_lite"
Item 6
Exact value (
const):"cpas_vfe0"
Item 7
Exact value (
const):"cpas_vfe1"
Item 8
Exact value (
const):"csid"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy0_timer"
Item 11
Exact value (
const):"csiphy1"
Item 12
Exact value (
const):"csiphy1_timer"
Item 13
Exact value (
const):"csiphy2"
Item 14
Exact value (
const):"csiphy2_timer"
Item 15
Exact value (
const):"csiphy_rx"
Item 16
Exact value (
const):"gcc_axi_hf"
Item 17
Exact value (
const):"gcc_axi_sf"
Item 18
Exact value (
const):"icp_ahb"
Item 19
Exact value (
const):"vfe0"
Item 20
Exact value (
const):"vfe0_fast_ahb"
Item 21
Exact value (
const):"vfe1"
Item 22
Exact value (
const):"vfe1_fast_ahb"
Item 23
Exact value (
const):"vfe_lite"
Item 24
Exact value (
const):"vfe_lite_ahb"
Item 25
Exact value (
const):"vfe_lite_cphy_rx"
Item 26
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Maximum number of items (maxItems): 20
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid_lite0"
Item 4
Exact value (
const):"csid_lite1"
Item 5
Exact value (
const):"csid_lite2"
Item 6
Exact value (
const):"csid_lite3"
Item 7
Exact value (
const):"csid_lite4"
Item 8
Exact value (
const):"csiphy0"
Item 9
Exact value (
const):"csiphy1"
Item 10
Exact value (
const):"csiphy2"
Item 11
Exact value (
const):"tpg0"
Item 12
Exact value (
const):"tpg1"
Item 13
Exact value (
const):"tpg2"
Item 14
Exact value (
const):"vfe0"
Item 15
Exact value (
const):"vfe1"
Item 16
Exact value (
const):"vfe_lite0"
Item 17
Exact value (
const):"vfe_lite1"
Item 18
Exact value (
const):"vfe_lite2"
Item 19
Exact value (
const):"vfe_lite3"
Item 20
Exact value (
const):"vfe_lite4"
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_0"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top"
vdda-phy-supply — required here #
Phandle to a 0.88V regulator supply to CSI PHYs.
vdda-pll-supply — required here #
Phandle to 1.2V regulator supply to CSI PHYs pll block.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-2]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data on CSIPHY 0-2.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names", "ports", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sa8775p-camcc.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@ac78000 {
compatible = "qcom,qcs8300-camss";
reg = <0x0 0xac78000 0x0 0x1000>,
<0x0 0xac7a000 0x0 0x0f00>,
<0x0 0xac7c000 0x0 0x0f00>,
<0x0 0xac84000 0x0 0x0f00>,
<0x0 0xac88000 0x0 0x0f00>,
<0x0 0xac8c000 0x0 0x0f00>,
<0x0 0xac90000 0x0 0x0f00>,
<0x0 0xac94000 0x0 0x0f00>,
<0x0 0xac9c000 0x0 0x2000>,
<0x0 0xac9e000 0x0 0x2000>,
<0x0 0xaca0000 0x0 0x2000>,
<0x0 0xacac000 0x0 0x0400>,
<0x0 0xacad000 0x0 0x0400>,
<0x0 0xacae000 0x0 0x0400>,
<0x0 0xac4d000 0x0 0xd000>,
<0x0 0xac60000 0x0 0xd000>,
<0x0 0xac85000 0x0 0x0d00>,
<0x0 0xac89000 0x0 0x0d00>,
<0x0 0xac8d000 0x0 0x0d00>,
<0x0 0xac91000 0x0 0x0d00>,
<0x0 0xac95000 0x0 0x0d00>;
reg-names = "csid_wrapper",
"csid0",
"csid1",
"csid_lite0",
"csid_lite1",
"csid_lite2",
"csid_lite3",
"csid_lite4",
"csiphy0",
"csiphy1",
"csiphy2",
"tpg0",
"tpg1",
"tpg2",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1",
"vfe_lite2",
"vfe_lite3",
"vfe_lite4";
clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CORE_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
<&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
<&camcc CAM_CC_CPAS_IFE_0_CLK>,
<&camcc CAM_CC_CPAS_IFE_1_CLK>,
<&camcc CAM_CC_CSID_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>,
<&camcc CAM_CC_ICP_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "camnoc_axi",
"core_ahb",
"cpas_ahb",
"cpas_fast_ahb_clk",
"cpas_vfe_lite",
"cpas_vfe0",
"cpas_vfe1",
"csid",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy_rx",
"gcc_axi_hf",
"gcc_axi_sf",
"icp_ahb",
"vfe0",
"vfe0_fast_ahb",
"vfe1",
"vfe1_fast_ahb",
"vfe_lite",
"vfe_lite_ahb",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
interrupts = <GIC_SPI 565 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 564 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 604 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 545 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 546 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 547 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 605 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid_lite0",
"csid_lite1",
"csid_lite2",
"csid_lite3",
"csid_lite4",
"csiphy0",
"csiphy1",
"csiphy2",
"tpg0",
"tpg1",
"tpg2",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1",
"vfe_lite2",
"vfe_lite3",
"vfe_lite4";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_0";
iommus = <&apps_smmu 0x2400 0x20>;
power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "top";
vdda-phy-supply = <&vreg_l4a_0p88>;
vdda-pll-supply = <&vreg_l1c_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SA8775P CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sa8775p-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vikram Sharma <quic_vikramsa@quicinc.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sa8775p-camss"
reg — required here #
Maximum number of items (maxItems): 22
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid_wrapper"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csid_lite2"
Item 7
Exact value (
const):"csid_lite3"
Item 8
Exact value (
const):"csid_lite4"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy1"
Item 11
Exact value (
const):"csiphy2"
Item 12
Exact value (
const):"csiphy3"
Item 13
Exact value (
const):"tpg0"
Item 14
Exact value (
const):"tpg1"
Item 15
Exact value (
const):"tpg2"
Item 16
Exact value (
const):"vfe0"
Item 17
Exact value (
const):"vfe1"
Item 18
Exact value (
const):"vfe_lite0"
Item 19
Exact value (
const):"vfe_lite1"
Item 20
Exact value (
const):"vfe_lite2"
Item 21
Exact value (
const):"vfe_lite3"
Item 22
Exact value (
const):"vfe_lite4"
clocks — required here #
Maximum number of items (maxItems): 28
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"core_ahb"
Item 3
Exact value (
const):"cpas_ahb"
Item 4
Exact value (
const):"cpas_fast_ahb_clk"
Item 5
Exact value (
const):"cpas_vfe_lite"
Item 6
Exact value (
const):"cpas_vfe0"
Item 7
Exact value (
const):"cpas_vfe1"
Item 8
Exact value (
const):"csid"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy0_timer"
Item 11
Exact value (
const):"csiphy1"
Item 12
Exact value (
const):"csiphy1_timer"
Item 13
Exact value (
const):"csiphy2"
Item 14
Exact value (
const):"csiphy2_timer"
Item 15
Exact value (
const):"csiphy3"
Item 16
Exact value (
const):"csiphy3_timer"
Item 17
Exact value (
const):"csiphy_rx"
Item 18
Exact value (
const):"gcc_axi_hf"
Item 19
Exact value (
const):"gcc_axi_sf"
Item 20
Exact value (
const):"icp_ahb"
Item 21
Exact value (
const):"vfe0"
Item 22
Exact value (
const):"vfe0_fast_ahb"
Item 23
Exact value (
const):"vfe1"
Item 24
Exact value (
const):"vfe1_fast_ahb"
Item 25
Exact value (
const):"vfe_lite"
Item 26
Exact value (
const):"vfe_lite_ahb"
Item 27
Exact value (
const):"vfe_lite_cphy_rx"
Item 28
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Maximum number of items (maxItems): 21
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid_lite0"
Item 4
Exact value (
const):"csid_lite1"
Item 5
Exact value (
const):"csid_lite2"
Item 6
Exact value (
const):"csid_lite3"
Item 7
Exact value (
const):"csid_lite4"
Item 8
Exact value (
const):"csiphy0"
Item 9
Exact value (
const):"csiphy1"
Item 10
Exact value (
const):"csiphy2"
Item 11
Exact value (
const):"csiphy3"
Item 12
Exact value (
const):"tpg0"
Item 13
Exact value (
const):"tpg1"
Item 14
Exact value (
const):"tpg2"
Item 15
Exact value (
const):"vfe0"
Item 16
Exact value (
const):"vfe1"
Item 17
Exact value (
const):"vfe_lite0"
Item 18
Exact value (
const):"vfe_lite1"
Item 19
Exact value (
const):"vfe_lite2"
Item 20
Exact value (
const):"vfe_lite3"
Item 21
Exact value (
const):"vfe_lite4"
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_0"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"top"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-3]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data on CSIPHY 0-3.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names", "vdda-phy-supply", "vdda-pll-supply", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sa8775p-camcc.h>
#include <dt-bindings/clock/qcom,sa8775p-gcc.h>
#include <dt-bindings/interconnect/qcom,sa8775p-rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@ac78000 {
compatible = "qcom,sa8775p-camss";
reg = <0x0 0xac78000 0x0 0x1000>,
<0x0 0xac7a000 0x0 0x0f00>,
<0x0 0xac7c000 0x0 0x0f00>,
<0x0 0xac84000 0x0 0x0f00>,
<0x0 0xac88000 0x0 0x0f00>,
<0x0 0xac8c000 0x0 0x0f00>,
<0x0 0xac90000 0x0 0x0f00>,
<0x0 0xac94000 0x0 0x0f00>,
<0x0 0xac9c000 0x0 0x2000>,
<0x0 0xac9e000 0x0 0x2000>,
<0x0 0xaca0000 0x0 0x2000>,
<0x0 0xaca2000 0x0 0x2000>,
<0x0 0xacac000 0x0 0x0400>,
<0x0 0xacad000 0x0 0x0400>,
<0x0 0xacae000 0x0 0x0400>,
<0x0 0xac4d000 0x0 0xd000>,
<0x0 0xac5a000 0x0 0xd000>,
<0x0 0xac85000 0x0 0x0d00>,
<0x0 0xac89000 0x0 0x0d00>,
<0x0 0xac8d000 0x0 0x0d00>,
<0x0 0xac91000 0x0 0x0d00>,
<0x0 0xac95000 0x0 0x0d00>;
reg-names = "csid_wrapper",
"csid0",
"csid1",
"csid_lite0",
"csid_lite1",
"csid_lite2",
"csid_lite3",
"csid_lite4",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"tpg0",
"tpg1",
"tpg2",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1",
"vfe_lite2",
"vfe_lite3",
"vfe_lite4";
clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CORE_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
<&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
<&camcc CAM_CC_CPAS_IFE_0_CLK>,
<&camcc CAM_CC_CPAS_IFE_1_CLK>,
<&camcc CAM_CC_CSID_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY3_CLK>,
<&camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>,
<&camcc CAM_CC_ICP_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "camnoc_axi",
"core_ahb",
"cpas_ahb",
"cpas_fast_ahb_clk",
"cpas_vfe_lite",
"cpas_vfe0",
"cpas_vfe1",
"csid",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"csiphy_rx",
"gcc_axi_hf",
"gcc_axi_sf",
"icp_ahb",
"vfe0",
"vfe0_fast_ahb",
"vfe1",
"vfe1_fast_ahb",
"vfe_lite",
"vfe_lite_ahb",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
interrupts = <GIC_SPI 565 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 564 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 604 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 545 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 546 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 547 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 605 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid_lite0",
"csid_lite1",
"csid_lite2",
"csid_lite3",
"csid_lite4",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"tpg0",
"tpg1",
"tpg2",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1",
"vfe_lite2",
"vfe_lite3",
"vfe_lite4";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_0";
iommus = <&apps_smmu 0x3400 0x20>;
power-domains = <&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "top";
vdda-phy-supply = <&vreg_l4a_0p88>;
vdda-pll-supply = <&vreg_l1c_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC7180 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sc7180-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sc7180-venus"
Rule 2
Exact value (
const):"qcom,sc7180-venus"
power-domains — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
power-domain-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"cx"
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"vcodec0_core"
Item 5
Exact value (
const):"vcodec0_bus"
iommus — required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"video-mem"
Item 2
Exact value (
const):"cpu-cfg"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
video-decoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domain-names", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,videocc-sc7180.h>
venus: video-codec@aa00000 {
compatible = "qcom,sc7180-venus";
reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&videocc VENUS_GDSC>,
<&videocc VCODEC0_GDSC>;
power-domain-names = "venus", "vcodec0";
clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>,
<&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
<&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
<&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
clock-names = "core", "iface", "bus",
"vcodec0_core", "vcodec0_bus";
iommus = <&apps_smmu 0x0c00 0x60>;
memory-region = <&venus_mem>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SC7280 CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sc7280-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Azam Sadiq Pasha Kapatrala Syed <akapatra@quicinc.com>", "Hariram Purushothaman <hariramp@quicinc.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sc7280-camss"
reg — required here #
Maximum number of items (maxItems): 15
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy2"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy4"
Item 11
Exact value (
const):"vfe0"
Item 12
Exact value (
const):"vfe1"
Item 13
Exact value (
const):"vfe2"
Item 14
Exact value (
const):"vfe_lite0"
Item 15
Exact value (
const):"vfe_lite1"
clocks — required here #
Maximum number of items (maxItems): 33
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"csiphy0"
Item 4
Exact value (
const):"csiphy0_timer"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy1_timer"
Item 7
Exact value (
const):"csiphy2"
Item 8
Exact value (
const):"csiphy2_timer"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy3_timer"
Item 11
Exact value (
const):"csiphy4"
Item 12
Exact value (
const):"csiphy4_timer"
Item 13
Exact value (
const):"gcc_axi_hf"
Item 14
Exact value (
const):"gcc_axi_sf"
Item 15
Exact value (
const):"icp_ahb"
Item 16
Exact value (
const):"vfe0"
Item 17
Exact value (
const):"vfe0_axi"
Item 18
Exact value (
const):"vfe0_cphy_rx"
Item 19
Exact value (
const):"vfe0_csid"
Item 20
Exact value (
const):"vfe1"
Item 21
Exact value (
const):"vfe1_axi"
Item 22
Exact value (
const):"vfe1_cphy_rx"
Item 23
Exact value (
const):"vfe1_csid"
Item 24
Exact value (
const):"vfe2"
Item 25
Exact value (
const):"vfe2_axi"
Item 26
Exact value (
const):"vfe2_cphy_rx"
Item 27
Exact value (
const):"vfe2_csid"
Item 28
Exact value (
const):"vfe_lite0"
Item 29
Exact value (
const):"vfe_lite0_cphy_rx"
Item 30
Exact value (
const):"vfe_lite0_csid"
Item 31
Exact value (
const):"vfe_lite1"
Item 32
Exact value (
const):"vfe_lite1_cphy_rx"
Item 33
Exact value (
const):"vfe_lite1_csid"
interrupts — required here #
Maximum number of items (maxItems): 15
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy2"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy4"
Item 11
Exact value (
const):"vfe0"
Item 12
Exact value (
const):"vfe1"
Item 13
Exact value (
const):"vfe2"
Item 14
Exact value (
const):"vfe_lite0"
Item 15
Exact value (
const):"vfe_lite1"
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_0"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
IFE2 GDSC - Image Front End, Global Distributed Switch Controller.
Item 4
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"ife2"
Item 4
Exact value (
const):"top"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data on CSIPHY 0.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data on CSIPHY 1.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data on CSIPHY 2.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data on CSIPHY 3.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
port@4 — not listed as 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.
Input port for receiving CSI data on CSIPHY 4.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,camcc-sc7280.h>
#include <dt-bindings/clock/qcom,gcc-sc7280.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@acb3000 {
compatible = "qcom,sc7280-camss";
reg = <0x0 0x0acb3000 0x0 0x1000>,
<0x0 0x0acba000 0x0 0x1000>,
<0x0 0x0acc1000 0x0 0x1000>,
<0x0 0x0acc8000 0x0 0x1000>,
<0x0 0x0accf000 0x0 0x1000>,
<0x0 0x0ace0000 0x0 0x2000>,
<0x0 0x0ace2000 0x0 0x2000>,
<0x0 0x0ace4000 0x0 0x2000>,
<0x0 0x0ace6000 0x0 0x2000>,
<0x0 0x0ace8000 0x0 0x2000>,
<0x0 0x0acaf000 0x0 0x4000>,
<0x0 0x0acb6000 0x0 0x4000>,
<0x0 0x0acbd000 0x0 0x4000>,
<0x0 0x0acc4000 0x0 0x4000>,
<0x0 0x0accb000 0x0 0x4000>;
reg-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY3_CLK>,
<&camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY4_CLK>,
<&camcc CAM_CC_CSI4PHYTIMER_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>,
<&camcc CAM_CC_ICP_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_0_CSID_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_AXI_CLK>,
<&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_1_CSID_CLK>,
<&camcc CAM_CC_IFE_2_CLK>,
<&camcc CAM_CC_IFE_2_AXI_CLK>,
<&camcc CAM_CC_IFE_2_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_2_CSID_CLK>,
<&camcc CAM_CC_IFE_LITE_0_CLK>,
<&camcc CAM_CC_IFE_LITE_0_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_0_CSID_CLK>,
<&camcc CAM_CC_IFE_LITE_1_CLK>,
<&camcc CAM_CC_IFE_LITE_1_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_1_CSID_CLK>;
clock-names = "camnoc_axi",
"cpas_ahb",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"csiphy4",
"csiphy4_timer",
"gcc_axi_hf",
"gcc_axi_sf",
"icp_ahb",
"vfe0",
"vfe0_axi",
"vfe0_cphy_rx",
"vfe0_csid",
"vfe1",
"vfe1_axi",
"vfe1_cphy_rx",
"vfe1_csid",
"vfe2",
"vfe2_axi",
"vfe2_cphy_rx",
"vfe2_csid",
"vfe_lite0",
"vfe_lite0_cphy_rx",
"vfe_lite0_csid",
"vfe_lite1",
"vfe_lite1_cphy_rx",
"vfe_lite1_csid";
interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 640 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 641 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&cnoc2 SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_0";
iommus = <&apps_smmu 0x800 0x4e0>;
power-domains = <&camcc CAM_CC_IFE_0_GDSC>,
<&camcc CAM_CC_IFE_1_GDSC>,
<&camcc CAM_CC_IFE_2_GDSC>,
<&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "ife0",
"ife1",
"ife2",
"top";
vdda-phy-supply = <&vreg_l10c_0p88>;
vdda-pll-supply = <&vreg_l6b_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SC7280 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sc7280-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus Iris2 IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sc7280-venus"
power-domains — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
power-domain-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"cx"
clocks — not listed as required here #
Maximum number of items (maxItems): 5
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"bus"
Item 3
Exact value (
const):"iface"
Item 4
Exact value (
const):"vcodec_core"
Item 5
Exact value (
const):"vcodec_bus"
iommus — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-cfg"
Item 2
Exact value (
const):"video-mem"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
video-decoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domain-names", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,videocc-sc7280.h>
#include <dt-bindings/interconnect/qcom,sc7280.h>
#include <dt-bindings/power/qcom-rpmpd.h>
venus: video-codec@aa00000 {
compatible = "qcom,sc7280-venus";
reg = <0x0aa00000 0xd0600>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&videocc VIDEO_CC_MVSC_CORE_CLK>,
<&videocc VIDEO_CC_MVSC_CTL_AXI_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>,
<&videocc VIDEO_CC_MVS0_CORE_CLK>,
<&videocc VIDEO_CC_MVS0_AXI_CLK>;
clock-names = "core", "bus", "iface",
"vcodec_core", "vcodec_bus";
power-domains = <&videocc MVSC_GDSC>,
<&videocc MVS0_GDSC>,
<&rpmhpd SC7280_CX>;
power-domain-names = "venus", "vcodec0", "cx";
interconnects = <&gem_noc MASTER_APPSS_PROC 0 &cnoc2 SLAVE_VENUS_CFG 0>,
<&mmss_noc MASTER_VIDEO_P0 0 &mc_virt SLAVE_EBI1 0>;
interconnect-names = "cpu-cfg", "video-mem";
iommus = <&apps_smmu 0x2180 0x20>,
<&apps_smmu 0x2184 0x20>;
memory-region = <&video_mem>;
video-firmware {
iommus = <&apps_smmu 0x21a2 0x0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SC8280XP Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sc8280xp-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sc8280xp-camss"
clocks — required here #
Maximum number of items (maxItems): 40
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"csiphy0"
Item 4
Exact value (
const):"csiphy0_timer"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy1_timer"
Item 7
Exact value (
const):"csiphy2"
Item 8
Exact value (
const):"csiphy2_timer"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy3_timer"
Item 11
Exact value (
const):"vfe0_axi"
Item 12
Exact value (
const):"vfe0"
Item 13
Exact value (
const):"vfe0_cphy_rx"
Item 14
Exact value (
const):"vfe0_csid"
Item 15
Exact value (
const):"vfe1_axi"
Item 16
Exact value (
const):"vfe1"
Item 17
Exact value (
const):"vfe1_cphy_rx"
Item 18
Exact value (
const):"vfe1_csid"
Item 19
Exact value (
const):"vfe2_axi"
Item 20
Exact value (
const):"vfe2"
Item 21
Exact value (
const):"vfe2_cphy_rx"
Item 22
Exact value (
const):"vfe2_csid"
Item 23
Exact value (
const):"vfe3_axi"
Item 24
Exact value (
const):"vfe3"
Item 25
Exact value (
const):"vfe3_cphy_rx"
Item 26
Exact value (
const):"vfe3_csid"
Item 27
Exact value (
const):"vfe_lite0"
Item 28
Exact value (
const):"vfe_lite0_cphy_rx"
Item 29
Exact value (
const):"vfe_lite0_csid"
Item 30
Exact value (
const):"vfe_lite1"
Item 31
Exact value (
const):"vfe_lite1_cphy_rx"
Item 32
Exact value (
const):"vfe_lite1_csid"
Item 33
Exact value (
const):"vfe_lite2"
Item 34
Exact value (
const):"vfe_lite2_cphy_rx"
Item 35
Exact value (
const):"vfe_lite2_csid"
Item 36
Exact value (
const):"vfe_lite3"
Item 37
Exact value (
const):"vfe_lite3_cphy_rx"
Item 38
Exact value (
const):"vfe_lite3_csid"
Item 39
Exact value (
const):"gcc_axi_hf"
Item 40
Exact value (
const):"gcc_axi_sf"
interrupts — required here #
Maximum number of items (maxItems): 20
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid1_lite"
Item 2
Exact value (
const):"vfe_lite1"
Item 3
Exact value (
const):"csiphy3"
Item 4
Exact value (
const):"csid0"
Item 5
Exact value (
const):"vfe0"
Item 6
Exact value (
const):"csid1"
Item 7
Exact value (
const):"vfe1"
Item 8
Exact value (
const):"csid0_lite"
Item 9
Exact value (
const):"vfe_lite0"
Item 10
Exact value (
const):"csiphy0"
Item 11
Exact value (
const):"csiphy1"
Item 12
Exact value (
const):"csiphy2"
Item 13
Exact value (
const):"csid2"
Item 14
Exact value (
const):"vfe2"
Item 15
Exact value (
const):"csid3_lite"
Item 16
Exact value (
const):"csid2_lite"
Item 17
Exact value (
const):"vfe_lite3"
Item 18
Exact value (
const):"vfe_lite2"
Item 19
Exact value (
const):"csid3"
Item 20
Exact value (
const):"vfe3"
iommus — required here #
Maximum number of items (maxItems): 16
interconnects — required here #
Maximum number of items (maxItems): 4
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cam_ahb"
Item 2
Exact value (
const):"cam_hf_mnoc"
Item 3
Exact value (
const):"cam_sf_mnoc"
Item 4
Exact value (
const):"cam_sf_icp_mnoc"
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
IFE2 GDSC - Image Front End, Global Distributed Switch Controller.
Item 4
IFE3 GDSC - Image Front End, Global Distributed Switch Controller.
Item 5
Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"ife2"
Item 4
Exact value (
const):"ife3"
Item 5
Exact value (
const):"top"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data from CSIPHY0.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data from CSIPHY1.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data from CSIPHY2.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data from CSIPHY3.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
reg — required here #
Maximum number of items (maxItems): 20
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy2"
Item 2
Exact value (
const):"csiphy3"
Item 3
Exact value (
const):"csiphy0"
Item 4
Exact value (
const):"csiphy1"
Item 5
Exact value (
const):"vfe0"
Item 6
Exact value (
const):"csid0"
Item 7
Exact value (
const):"vfe1"
Item 8
Exact value (
const):"csid1"
Item 9
Exact value (
const):"vfe2"
Item 10
Exact value (
const):"csid2"
Item 11
Exact value (
const):"vfe_lite0"
Item 12
Exact value (
const):"csid0_lite"
Item 13
Exact value (
const):"vfe_lite1"
Item 14
Exact value (
const):"csid1_lite"
Item 15
Exact value (
const):"vfe_lite2"
Item 16
Exact value (
const):"csid2_lite"
Item 17
Exact value (
const):"vfe_lite3"
Item 18
Exact value (
const):"csid3_lite"
Item 19
Exact value (
const):"vfe3"
Item 20
Exact value (
const):"csid3"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
Required in this object (required): "clock-names", "clocks", "compatible", "interconnects", "interconnect-names", "interrupts", "interrupt-names", "iommus", "power-domains", "power-domain-names", "reg", "reg-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-sc8280xp.h>
#include <dt-bindings/clock/qcom,sc8280xp-camcc.h>
#include <dt-bindings/interconnect/qcom,sc8280xp.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: camss@ac5a000 {
compatible = "qcom,sc8280xp-camss";
reg = <0 0x0ac5a000 0 0x2000>,
<0 0x0ac5c000 0 0x2000>,
<0 0x0ac65000 0 0x2000>,
<0 0x0ac67000 0 0x2000>,
<0 0x0acaf000 0 0x4000>,
<0 0x0acb3000 0 0x1000>,
<0 0x0acb6000 0 0x4000>,
<0 0x0acba000 0 0x1000>,
<0 0x0acbd000 0 0x4000>,
<0 0x0acc1000 0 0x1000>,
<0 0x0acc4000 0 0x4000>,
<0 0x0acc8000 0 0x1000>,
<0 0x0accb000 0 0x4000>,
<0 0x0accf000 0 0x1000>,
<0 0x0acd2000 0 0x4000>,
<0 0x0acd6000 0 0x1000>,
<0 0x0acd9000 0 0x4000>,
<0 0x0acdd000 0 0x1000>,
<0 0x0ace0000 0 0x4000>,
<0 0x0ace4000 0 0x1000>;
reg-names = "csiphy2",
"csiphy3",
"csiphy0",
"csiphy1",
"vfe0",
"csid0",
"vfe1",
"csid1",
"vfe2",
"csid2",
"vfe_lite0",
"csid0_lite",
"vfe_lite1",
"csid1_lite",
"vfe_lite2",
"csid2_lite",
"vfe_lite3",
"csid3_lite",
"vfe3",
"csid3";
vdda-phy-supply = <&vreg_l6d>;
vdda-pll-supply = <&vreg_l4d>;
interrupts = <GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 640 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 641 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 758 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 759 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 760 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 761 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 762 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 764 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid1_lite",
"vfe_lite1",
"csiphy3",
"csid0",
"vfe0",
"csid1",
"vfe1",
"csid0_lite",
"vfe_lite0",
"csiphy0",
"csiphy1",
"csiphy2",
"csid2",
"vfe2",
"csid3_lite",
"csid2_lite",
"vfe_lite3",
"vfe_lite2",
"csid3",
"vfe3";
power-domains = <&camcc IFE_0_GDSC>,
<&camcc IFE_1_GDSC>,
<&camcc IFE_2_GDSC>,
<&camcc IFE_3_GDSC>,
<&camcc TITAN_TOP_GDSC>;
power-domain-names = "ife0",
"ife1",
"ife2",
"ife3",
"top";
clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>,
<&camcc CAMCC_CPAS_AHB_CLK>,
<&camcc CAMCC_CSIPHY0_CLK>,
<&camcc CAMCC_CSI0PHYTIMER_CLK>,
<&camcc CAMCC_CSIPHY1_CLK>,
<&camcc CAMCC_CSI1PHYTIMER_CLK>,
<&camcc CAMCC_CSIPHY2_CLK>,
<&camcc CAMCC_CSI2PHYTIMER_CLK>,
<&camcc CAMCC_CSIPHY3_CLK>,
<&camcc CAMCC_CSI3PHYTIMER_CLK>,
<&camcc CAMCC_IFE_0_AXI_CLK>,
<&camcc CAMCC_IFE_0_CLK>,
<&camcc CAMCC_IFE_0_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_0_CSID_CLK>,
<&camcc CAMCC_IFE_1_AXI_CLK>,
<&camcc CAMCC_IFE_1_CLK>,
<&camcc CAMCC_IFE_1_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_1_CSID_CLK>,
<&camcc CAMCC_IFE_2_AXI_CLK>,
<&camcc CAMCC_IFE_2_CLK>,
<&camcc CAMCC_IFE_2_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_2_CSID_CLK>,
<&camcc CAMCC_IFE_3_AXI_CLK>,
<&camcc CAMCC_IFE_3_CLK>,
<&camcc CAMCC_IFE_3_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_3_CSID_CLK>,
<&camcc CAMCC_IFE_LITE_0_CLK>,
<&camcc CAMCC_IFE_LITE_0_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_LITE_0_CSID_CLK>,
<&camcc CAMCC_IFE_LITE_1_CLK>,
<&camcc CAMCC_IFE_LITE_1_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_LITE_1_CSID_CLK>,
<&camcc CAMCC_IFE_LITE_2_CLK>,
<&camcc CAMCC_IFE_LITE_2_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_LITE_2_CSID_CLK>,
<&camcc CAMCC_IFE_LITE_3_CLK>,
<&camcc CAMCC_IFE_LITE_3_CPHY_RX_CLK>,
<&camcc CAMCC_IFE_LITE_3_CSID_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>;
clock-names = "camnoc_axi",
"cpas_ahb",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"vfe0_axi",
"vfe0",
"vfe0_cphy_rx",
"vfe0_csid",
"vfe1_axi",
"vfe1",
"vfe1_cphy_rx",
"vfe1_csid",
"vfe2_axi",
"vfe2",
"vfe2_cphy_rx",
"vfe2_csid",
"vfe3_axi",
"vfe3",
"vfe3_cphy_rx",
"vfe3_csid",
"vfe_lite0",
"vfe_lite0_cphy_rx",
"vfe_lite0_csid",
"vfe_lite1",
"vfe_lite1_cphy_rx",
"vfe_lite1_csid",
"vfe_lite2",
"vfe_lite2_cphy_rx",
"vfe_lite2_csid",
"vfe_lite3",
"vfe_lite3_cphy_rx",
"vfe_lite3_csid",
"gcc_axi_hf",
"gcc_axi_sf";
iommus = <&apps_smmu 0x2000 0x4e0>,
<&apps_smmu 0x2020 0x4e0>,
<&apps_smmu 0x2040 0x4e0>,
<&apps_smmu 0x2060 0x4e0>,
<&apps_smmu 0x2080 0x4e0>,
<&apps_smmu 0x20e0 0x4e0>,
<&apps_smmu 0x20c0 0x4e0>,
<&apps_smmu 0x20a0 0x4e0>,
<&apps_smmu 0x2400 0x4e0>,
<&apps_smmu 0x2420 0x4e0>,
<&apps_smmu 0x2440 0x4e0>,
<&apps_smmu 0x2460 0x4e0>,
<&apps_smmu 0x2480 0x4e0>,
<&apps_smmu 0x24e0 0x4e0>,
<&apps_smmu 0x24c0 0x4e0>,
<&apps_smmu 0x24a0 0x4e0>;
interconnects = <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_CAMERA_CFG 0>,
<&mmss_noc MASTER_CAMNOC_HF 0 &mc_virt SLAVE_EBI1 0>,
<&mmss_noc MASTER_CAMNOC_SF 0 &mc_virt SLAVE_EBI1 0>,
<&mmss_noc MASTER_CAMNOC_ICP 0 &mc_virt SLAVE_EBI1 0>;
interconnect-names = "cam_ahb",
"cam_hf_mnoc",
"cam_sf_mnoc",
"cam_sf_icp_mnoc";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
csiphy_ep0: endpoint@0 {
reg = <0>;
clock-lanes = <7>;
data-lanes = <0 1>;
remote-endpoint = <&sensor_ep>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 148: MEDIA_BUS_TYPE_CSI2_CPHY
Line 149: MEDIA_BUS_TYPE_CSI2_DPHY
Line 176: MEDIA_BUS_TYPE_CSI2_CPHY
Line 177: MEDIA_BUS_TYPE_CSI2_DPHY
Line 204: MEDIA_BUS_TYPE_CSI2_CPHY
Line 205: MEDIA_BUS_TYPE_CSI2_DPHY
Line 232: MEDIA_BUS_TYPE_CSI2_CPHY
Line 233: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>", "AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm660-camss"
clocks — required here #
Minimum number of items (minItems): 42
Maximum number of items (maxItems): 42
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"cphy_csid0"
Item 3
Exact value (
const):"cphy_csid1"
Item 4
Exact value (
const):"cphy_csid2"
Item 5
Exact value (
const):"cphy_csid3"
Item 6
Exact value (
const):"csi0_ahb"
Item 7
Exact value (
const):"csi0"
Item 8
Exact value (
const):"csi0_phy"
Item 9
Exact value (
const):"csi0_pix"
Item 10
Exact value (
const):"csi0_rdi"
Item 11
Exact value (
const):"csi1_ahb"
Item 12
Exact value (
const):"csi1"
Item 13
Exact value (
const):"csi1_phy"
Item 14
Exact value (
const):"csi1_pix"
Item 15
Exact value (
const):"csi1_rdi"
Item 16
Exact value (
const):"csi2_ahb"
Item 17
Exact value (
const):"csi2"
Item 18
Exact value (
const):"csi2_phy"
Item 19
Exact value (
const):"csi2_pix"
Item 20
Exact value (
const):"csi2_rdi"
Item 21
Exact value (
const):"csi3_ahb"
Item 22
Exact value (
const):"csi3"
Item 23
Exact value (
const):"csi3_phy"
Item 24
Exact value (
const):"csi3_pix"
Item 25
Exact value (
const):"csi3_rdi"
Item 26
Exact value (
const):"csiphy0_timer"
Item 27
Exact value (
const):"csiphy1_timer"
Item 28
Exact value (
const):"csiphy2_timer"
Item 29
Exact value (
const):"csiphy_ahb2crif"
Item 30
Exact value (
const):"csi_vfe0"
Item 31
Exact value (
const):"csi_vfe1"
Item 32
Exact value (
const):"ispif_ahb"
Item 33
Exact value (
const):"throttle_axi"
Item 34
Exact value (
const):"top_ahb"
Item 35
Exact value (
const):"vfe0_ahb"
Item 36
Exact value (
const):"vfe0"
Item 37
Exact value (
const):"vfe0_stream"
Item 38
Exact value (
const):"vfe1_ahb"
Item 39
Exact value (
const):"vfe1"
Item 40
Exact value (
const):"vfe1_stream"
Item 41
Exact value (
const):"vfe_ahb"
Item 42
Exact value (
const):"vfe_axi"
interrupts — required here #
Minimum number of items (minItems): 10
Maximum number of items (maxItems): 10
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid3"
Item 5
Exact value (
const):"csiphy0"
Item 6
Exact value (
const):"csiphy1"
Item 7
Exact value (
const):"csiphy2"
Item 8
Exact value (
const):"ispif"
Item 9
Exact value (
const):"vfe0"
Item 10
Exact value (
const):"vfe1"
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"vfe-mem"
iommus — required here #
Maximum number of items (maxItems): 4
power-domains — required here #
Array item rules (items) #
Item 1
VFE0 GDSC - Video Front End, Global Distributed Switch Controller.
Item 2
VFE1 GDSC - Video Front End, Global Distributed Switch Controller.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
reg — required here #
Minimum number of items (minItems): 14
Maximum number of items (maxItems): 14
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csi_clk_mux"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csid2"
Item 5
Exact value (
const):"csid3"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy0_clk_mux"
Item 8
Exact value (
const):"csiphy1"
Item 9
Exact value (
const):"csiphy1_clk_mux"
Item 10
Exact value (
const):"csiphy2"
Item 11
Exact value (
const):"csiphy2_clk_mux"
Item 12
Exact value (
const):"ispif"
Item 13
Exact value (
const):"vfe0"
Item 14
Exact value (
const):"vfe1"
vdda-supply — required here #
Definition of the regulator used as analog power supply.
Required in this object (required): "clock-names", "clocks", "compatible", "interrupt-names", "interrupts", "iommus", "power-domains", "reg", "reg-names", "vdda-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-sdm660.h>
#include <dt-bindings/clock/qcom,mmcc-sdm660.h>
camss: camss@ca00020 {
compatible = "qcom,sdm660-camss";
clocks = <&mmcc CAMSS_AHB_CLK>,
<&mmcc CAMSS_CPHY_CSID0_CLK>,
<&mmcc CAMSS_CPHY_CSID1_CLK>,
<&mmcc CAMSS_CPHY_CSID2_CLK>,
<&mmcc CAMSS_CPHY_CSID3_CLK>,
<&mmcc CAMSS_CSI0_AHB_CLK>,
<&mmcc CAMSS_CSI0_CLK>,
<&mmcc CAMSS_CPHY_CSID0_CLK>,
<&mmcc CAMSS_CSI0PIX_CLK>,
<&mmcc CAMSS_CSI0RDI_CLK>,
<&mmcc CAMSS_CSI1_AHB_CLK>,
<&mmcc CAMSS_CSI1_CLK>,
<&mmcc CAMSS_CPHY_CSID1_CLK>,
<&mmcc CAMSS_CSI1PIX_CLK>,
<&mmcc CAMSS_CSI1RDI_CLK>,
<&mmcc CAMSS_CSI2_AHB_CLK>,
<&mmcc CAMSS_CSI2_CLK>,
<&mmcc CAMSS_CPHY_CSID2_CLK>,
<&mmcc CAMSS_CSI2PIX_CLK>,
<&mmcc CAMSS_CSI2RDI_CLK>,
<&mmcc CAMSS_CSI3_AHB_CLK>,
<&mmcc CAMSS_CSI3_CLK>,
<&mmcc CAMSS_CPHY_CSID3_CLK>,
<&mmcc CAMSS_CSI3PIX_CLK>,
<&mmcc CAMSS_CSI3RDI_CLK>,
<&mmcc CAMSS_CSI0PHYTIMER_CLK>,
<&mmcc CAMSS_CSI1PHYTIMER_CLK>,
<&mmcc CAMSS_CSI2PHYTIMER_CLK>,
<&mmcc CSIPHY_AHB2CRIF_CLK>,
<&mmcc CAMSS_CSI_VFE0_CLK>,
<&mmcc CAMSS_CSI_VFE1_CLK>,
<&mmcc CAMSS_ISPIF_AHB_CLK>,
<&mmcc THROTTLE_CAMSS_AXI_CLK>,
<&mmcc CAMSS_TOP_AHB_CLK>,
<&mmcc CAMSS_VFE0_AHB_CLK>,
<&mmcc CAMSS_VFE0_CLK>,
<&mmcc CAMSS_VFE0_STREAM_CLK>,
<&mmcc CAMSS_VFE1_AHB_CLK>,
<&mmcc CAMSS_VFE1_CLK>,
<&mmcc CAMSS_VFE1_STREAM_CLK>,
<&mmcc CAMSS_VFE_VBIF_AHB_CLK>,
<&mmcc CAMSS_VFE_VBIF_AXI_CLK>;
clock-names = "ahb",
"cphy_csid0",
"cphy_csid1",
"cphy_csid2",
"cphy_csid3",
"csi0_ahb",
"csi0",
"csi0_phy",
"csi0_pix",
"csi0_rdi",
"csi1_ahb",
"csi1",
"csi1_phy",
"csi1_pix",
"csi1_rdi",
"csi2_ahb",
"csi2",
"csi2_phy",
"csi2_pix",
"csi2_rdi",
"csi3_ahb",
"csi3",
"csi3_phy",
"csi3_pix",
"csi3_rdi",
"csiphy0_timer",
"csiphy1_timer",
"csiphy2_timer",
"csiphy_ahb2crif",
"csi_vfe0",
"csi_vfe1",
"ispif_ahb",
"throttle_axi",
"top_ahb",
"vfe0_ahb",
"vfe0",
"vfe0_stream",
"vfe1_ahb",
"vfe1",
"vfe1_stream",
"vfe_ahb",
"vfe_axi";
interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 315 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csid3",
"csiphy0",
"csiphy1",
"csiphy2",
"ispif",
"vfe0",
"vfe1";
iommus = <&mmss_smmu 0xc00>,
<&mmss_smmu 0xc01>,
<&mmss_smmu 0xc02>,
<&mmss_smmu 0xc03>;
power-domains = <&mmcc CAMSS_VFE0_GDSC>,
<&mmcc CAMSS_VFE1_GDSC>;
reg = <0x0ca00020 0x10>,
<0x0ca30000 0x100>,
<0x0ca30400 0x100>,
<0x0ca30800 0x100>,
<0x0ca30c00 0x100>,
<0x0c824000 0x1000>,
<0x0ca00120 0x4>,
<0x0c825000 0x1000>,
<0x0ca00124 0x4>,
<0x0c826000 0x1000>,
<0x0ca00128 0x4>,
<0x0ca31000 0x500>,
<0x0ca10000 0x1000>,
<0x0ca14000 0x1000>;
reg-names = "csi_clk_mux",
"csid0",
"csid1",
"csid2",
"csid3",
"csiphy0",
"csiphy0_clk_mux",
"csiphy1",
"csiphy1_clk_mux",
"csiphy2",
"csiphy2_clk_mux",
"ispif",
"vfe0",
"vfe1";
vdda-supply = <®_2v8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 126: MEDIA_BUS_TYPE_CSI2_CPHY
Line 127: MEDIA_BUS_TYPE_CSI2_DPHY
Line 150: MEDIA_BUS_TYPE_CSI2_CPHY
Line 151: MEDIA_BUS_TYPE_CSI2_DPHY
Line 174: MEDIA_BUS_TYPE_CSI2_CPHY
Line 175: MEDIA_BUS_TYPE_CSI2_DPHY
Line 198: MEDIA_BUS_TYPE_CSI2_CPHY
Line 199: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm SDM660 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm660-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>", "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm660-venus"
clocks — not listed as required here #
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"bus_throttle"
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-cfg"
Item 2
Exact value (
const):"video-mem"
iommus — required here #
Maximum number of items (maxItems): 20
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
video-decoder — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"vcodec0_core"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"vcodec0_core"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "iommus", "video-decoder", "video-encoder"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,mmcc-sdm660.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-codec@cc00000 {
compatible = "qcom,sdm660-venus";
reg = <0x0cc00000 0xff000>;
clocks = <&mmcc VIDEO_CORE_CLK>,
<&mmcc VIDEO_AHB_CLK>,
<&mmcc VIDEO_AXI_CLK>,
<&mmcc THROTTLE_VIDEO_AXI_CLK>;
clock-names = "core", "iface", "bus", "bus_throttle";
interconnects = <&gnoc 0 &mnoc 13>,
<&mnoc 4 &bimc 5>;
interconnect-names = "cpu-cfg", "video-mem";
interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&mmss_smmu 0x400>,
<&mmss_smmu 0x401>,
<&mmss_smmu 0x40a>,
<&mmss_smmu 0x407>,
<&mmss_smmu 0x40e>,
<&mmss_smmu 0x40f>,
<&mmss_smmu 0x408>,
<&mmss_smmu 0x409>,
<&mmss_smmu 0x40b>,
<&mmss_smmu 0x40c>,
<&mmss_smmu 0x40d>,
<&mmss_smmu 0x410>,
<&mmss_smmu 0x421>,
<&mmss_smmu 0x428>,
<&mmss_smmu 0x429>,
<&mmss_smmu 0x42b>,
<&mmss_smmu 0x42c>,
<&mmss_smmu 0x42d>,
<&mmss_smmu 0x411>,
<&mmss_smmu 0x431>;
memory-region = <&venus_region>;
power-domains = <&mmcc VENUS_GDSC>;
video-decoder {
compatible = "venus-decoder";
clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
clock-names = "vcodec0_core";
power-domains = <&mmcc VENUS_CORE0_GDSC>;
};
video-encoder {
compatible = "venus-encoder";
clocks = <&mmcc VIDEO_SUBCORE0_CLK>;
clock-names = "vcodec0_core";
power-domains = <&mmcc VENUS_CORE0_GDSC>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SDM670 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm670-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Acayan <mailingradian@gmail.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm670-camss"
reg — required here #
Maximum number of items (maxItems): 9
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
Item 9
Exact value (
const):"vfe_lite"
interrupts — required here #
Maximum number of items (maxItems): 9
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
Item 9
Exact value (
const):"vfe_lite"
clocks — required here #
Maximum number of items (maxItems): 22
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"csi0"
Item 4
Exact value (
const):"csi1"
Item 5
Exact value (
const):"csi2"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy0_timer"
Item 8
Exact value (
const):"csiphy1"
Item 9
Exact value (
const):"csiphy1_timer"
Item 10
Exact value (
const):"csiphy2"
Item 11
Exact value (
const):"csiphy2_timer"
Item 12
Exact value (
const):"gcc_camera_ahb"
Item 13
Exact value (
const):"gcc_camera_axi"
Item 14
Exact value (
const):"soc_ahb"
Item 15
Exact value (
const):"vfe0"
Item 16
Exact value (
const):"vfe0_axi"
Item 17
Exact value (
const):"vfe0_cphy_rx"
Item 18
Exact value (
const):"vfe1"
Item 19
Exact value (
const):"vfe1_axi"
Item 20
Exact value (
const):"vfe1_cphy_rx"
Item 21
Exact value (
const):"vfe_lite"
Item 22
Exact value (
const):"vfe_lite_cphy_rx"
iommus — required here #
Maximum number of items (maxItems): 4
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"top"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data from CSIPHY0.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data from CSIPHY1.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "clock-lanes", "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data from CSIPHY2.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "clock-lanes", "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "iommus", "power-domains", "power-domain-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@acb3000 {
compatible = "qcom,sdm670-camss";
reg = <0 0x0acb3000 0 0x1000>,
<0 0x0acba000 0 0x1000>,
<0 0x0acc8000 0 0x1000>,
<0 0x0ac65000 0 0x1000>,
<0 0x0ac66000 0 0x1000>,
<0 0x0ac67000 0 0x1000>,
<0 0x0acaf000 0 0x4000>,
<0 0x0acb6000 0 0x4000>,
<0 0x0acc4000 0 0x4000>;
reg-names = "csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy1",
"csiphy2",
"vfe0",
"vfe1",
"vfe_lite";
interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy1",
"csiphy2",
"vfe0",
"vfe1",
"vfe_lite";
clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CSID_CLK>,
<&camcc CAM_CC_IFE_1_CSID_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&gcc GCC_CAMERA_AHB_CLK>,
<&gcc GCC_CAMERA_AXI_CLK>,
<&camcc CAM_CC_SOC_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_AXI_CLK>,
<&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>;
clock-names = "camnoc_axi",
"cpas_ahb",
"csi0",
"csi1",
"csi2",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"gcc_camera_ahb",
"gcc_camera_axi",
"soc_ahb",
"vfe0",
"vfe0_axi",
"vfe0_cphy_rx",
"vfe1",
"vfe1_axi",
"vfe1_cphy_rx",
"vfe_lite",
"vfe_lite_cphy_rx";
iommus = <&apps_smmu 0x808 0x0>,
<&apps_smmu 0x810 0x8>,
<&apps_smmu 0xc08 0x0>,
<&apps_smmu 0xc10 0x8>;
power-domains = <&camcc IFE_0_GDSC>,
<&camcc IFE_1_GDSC>,
<&camcc TITAN_TOP_GDSC>;
power-domain-names = "ife0",
"ife1",
"top";
vdda-phy-supply = <&vreg_l1a_1p225>;
vdda-pll-supply = <&vreg_l8a_1p8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csiphy_ep0: endpoint {
clock-lanes = <7>;
data-lanes = <0 1 2 3>;
remote-endpoint = <&front_sensor_ep>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm845-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm845-camss"
clocks — required here #
Minimum number of items (minItems): 36
Maximum number of items (maxItems): 36
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"cphy_rx_src"
Item 4
Exact value (
const):"csi0"
Item 5
Exact value (
const):"csi0_src"
Item 6
Exact value (
const):"csi1"
Item 7
Exact value (
const):"csi1_src"
Item 8
Exact value (
const):"csi2"
Item 9
Exact value (
const):"csi2_src"
Item 10
Exact value (
const):"csiphy0"
Item 11
Exact value (
const):"csiphy0_timer"
Item 12
Exact value (
const):"csiphy0_timer_src"
Item 13
Exact value (
const):"csiphy1"
Item 14
Exact value (
const):"csiphy1_timer"
Item 15
Exact value (
const):"csiphy1_timer_src"
Item 16
Exact value (
const):"csiphy2"
Item 17
Exact value (
const):"csiphy2_timer"
Item 18
Exact value (
const):"csiphy2_timer_src"
Item 19
Exact value (
const):"csiphy3"
Item 20
Exact value (
const):"csiphy3_timer"
Item 21
Exact value (
const):"csiphy3_timer_src"
Item 22
Exact value (
const):"gcc_camera_ahb"
Item 23
Exact value (
const):"gcc_camera_axi"
Item 24
Exact value (
const):"slow_ahb_src"
Item 25
Exact value (
const):"soc_ahb"
Item 26
Exact value (
const):"vfe0_axi"
Item 27
Exact value (
const):"vfe0"
Item 28
Exact value (
const):"vfe0_cphy_rx"
Item 29
Exact value (
const):"vfe0_src"
Item 30
Exact value (
const):"vfe1_axi"
Item 31
Exact value (
const):"vfe1"
Item 32
Exact value (
const):"vfe1_cphy_rx"
Item 33
Exact value (
const):"vfe1_src"
Item 34
Exact value (
const):"vfe_lite"
Item 35
Exact value (
const):"vfe_lite_cphy_rx"
Item 36
Exact value (
const):"vfe_lite_src"
interrupts — required here #
Minimum number of items (minItems): 10
Maximum number of items (maxItems): 10
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"csiphy3"
Item 8
Exact value (
const):"vfe0"
Item 9
Exact value (
const):"vfe1"
Item 10
Exact value (
const):"vfe_lite"
iommus — required here #
Maximum number of items (maxItems): 4
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
reg — required here #
Minimum number of items (minItems): 10
Maximum number of items (maxItems): 10
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"csiphy3"
Item 8
Exact value (
const):"vfe0"
Item 9
Exact value (
const):"vfe1"
Item 10
Exact value (
const):"vfe_lite"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
Required in this object (required): "clock-names", "clocks", "compatible", "interrupt-names", "interrupts", "iommus", "power-domains", "reg", "reg-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,camcc-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: camss@acb3000 {
compatible = "qcom,sdm845-camss";
clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>,
<&clock_camcc CAM_CC_CPAS_AHB_CLK>,
<&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>,
<&clock_camcc CAM_CC_IFE_0_CSID_CLK>,
<&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>,
<&clock_camcc CAM_CC_IFE_1_CSID_CLK>,
<&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>,
<&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>,
<&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>,
<&clock_camcc CAM_CC_CSIPHY0_CLK>,
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
<&clock_camcc CAM_CC_CSIPHY1_CLK>,
<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>,
<&clock_camcc CAM_CC_CSIPHY2_CLK>,
<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>,
<&clock_camcc CAM_CC_CSIPHY3_CLK>,
<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>,
<&gcc GCC_CAMERA_AHB_CLK>,
<&gcc GCC_CAMERA_AXI_CLK>,
<&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>,
<&clock_camcc CAM_CC_SOC_AHB_CLK>,
<&clock_camcc CAM_CC_IFE_0_AXI_CLK>,
<&clock_camcc CAM_CC_IFE_0_CLK>,
<&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
<&clock_camcc CAM_CC_IFE_0_CLK_SRC>,
<&clock_camcc CAM_CC_IFE_1_AXI_CLK>,
<&clock_camcc CAM_CC_IFE_1_CLK>,
<&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
<&clock_camcc CAM_CC_IFE_1_CLK_SRC>,
<&clock_camcc CAM_CC_IFE_LITE_CLK>,
<&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>;
clock-names = "camnoc_axi",
"cpas_ahb",
"cphy_rx_src",
"csi0",
"csi0_src",
"csi1",
"csi1_src",
"csi2",
"csi2_src",
"csiphy0",
"csiphy0_timer",
"csiphy0_timer_src",
"csiphy1",
"csiphy1_timer",
"csiphy1_timer_src",
"csiphy2",
"csiphy2_timer",
"csiphy2_timer_src",
"csiphy3",
"csiphy3_timer",
"csiphy3_timer_src",
"gcc_camera_ahb",
"gcc_camera_axi",
"slow_ahb_src",
"soc_ahb",
"vfe0_axi",
"vfe0",
"vfe0_cphy_rx",
"vfe0_src",
"vfe1_axi",
"vfe1",
"vfe1_cphy_rx",
"vfe1_src",
"vfe_lite",
"vfe_lite_cphy_rx",
"vfe_lite_src";
interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"vfe0",
"vfe1",
"vfe_lite";
iommus = <&apps_smmu 0x0808 0x0>,
<&apps_smmu 0x0810 0x8>,
<&apps_smmu 0x0c08 0x0>,
<&apps_smmu 0x0c10 0x8>;
power-domains = <&clock_camcc IFE_0_GDSC>,
<&clock_camcc IFE_1_GDSC>,
<&clock_camcc TITAN_TOP_GDSC>;
reg = <0 0xacb3000 0 0x1000>,
<0 0xacba000 0 0x1000>,
<0 0xacc8000 0 0x1000>,
<0 0xac65000 0 0x1000>,
<0 0xac66000 0 0x1000>,
<0 0xac67000 0 0x1000>,
<0 0xac68000 0 0x1000>,
<0 0xacaf000 0 0x4000>,
<0 0xacb6000 0 0x4000>,
<0 0xacc4000 0 0x4000>;
reg-names = "csid0",
"csid1",
"csid2",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"vfe0",
"vfe1",
"vfe_lite";
vdda-phy-supply = <&vreg_l1a_0p875>;
vdda-pll-supply = <&vreg_l26a_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 113: MEDIA_BUS_TYPE_CSI2_CPHY
Line 114: MEDIA_BUS_TYPE_CSI2_DPHY
Line 137: MEDIA_BUS_TYPE_CSI2_CPHY
Line 138: MEDIA_BUS_TYPE_CSI2_DPHY
Line 161: MEDIA_BUS_TYPE_CSI2_CPHY
Line 162: MEDIA_BUS_TYPE_CSI2_DPHY
Line 185: MEDIA_BUS_TYPE_CSI2_CPHY
Line 186: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm SDM845 Venus v2 video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm845-venus-v2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm845-venus-v2"
power-domains — not listed as required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 4
power-domain-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"vcodec1"
Item 4
Exact value (
const):"cx"
clocks — not listed as required here #
Maximum number of items (maxItems): 7
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
Item 4
Exact value (
const):"vcodec0_core"
Item 5
Exact value (
const):"vcodec0_bus"
Item 6
Exact value (
const):"vcodec1_core"
Item 7
Exact value (
const):"vcodec1_bus"
iommus — required here #
Maximum number of items (maxItems): 2
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"video-mem"
Item 2
Exact value (
const):"cpu-cfg"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
video-core0 — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-core1 — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domain-names", "iommus"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,videocc-sdm845.h>
video-codec@aa00000 {
compatible = "qcom,sdm845-venus-v2";
reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>,
<&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>,
<&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
<&videocc VIDEO_CC_VCODEC0_AXI_CLK>,
<&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
<&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
clock-names = "core", "iface", "bus",
"vcodec0_core", "vcodec0_bus",
"vcodec1_core", "vcodec1_bus";
power-domains = <&videocc VENUS_GDSC>,
<&videocc VCODEC0_GDSC>,
<&videocc VCODEC1_GDSC>;
power-domain-names = "venus", "vcodec0", "vcodec1";
iommus = <&apps_smmu 0x10a0 0x8>,
<&apps_smmu 0x10b0 0x0>;
memory-region = <&venus_mem>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SDM845 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sdm845-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sdm845-venus"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
Item 3
Exact value (
const):"bus"
iommus — required here #
Maximum number of items (maxItems): 2
video-core0 — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
clocks — required here
Maximum number of items (maxItems): 2
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"bus"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-core1 — required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
clocks — required here
Maximum number of items (maxItems): 2
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"bus"
power-domains — required here
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "iommus", "video-core0", "video-core1"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,videocc-sdm845.h>
video-codec@aa00000 {
compatible = "qcom,sdm845-venus";
reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>,
<&videocc VIDEO_CC_VENUS_AHB_CLK>,
<&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>;
clock-names = "core", "iface", "bus";
power-domains = <&videocc VENUS_GDSC>;
iommus = <&apps_smmu 0x10a0 0x8>,
<&apps_smmu 0x10b0 0x0>;
memory-region = <&venus_mem>;
video-core0 {
compatible = "venus-decoder";
clocks = <&videocc VIDEO_CC_VCODEC0_CORE_CLK>,
<&videocc VIDEO_CC_VCODEC0_AXI_CLK>;
clock-names = "core", "bus";
power-domains = <&videocc VCODEC0_GDSC>;
};
video-core1 {
compatible = "venus-encoder";
clocks = <&videocc VIDEO_CC_VCODEC1_CORE_CLK>,
<&videocc VIDEO_CC_VCODEC1_AXI_CLK>;
clock-names = "core", "bus";
power-domains = <&videocc VCODEC1_GDSC>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SM6150 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm6150-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>"
This binding describes the camera subsystem hardware found on SM6150 Qualcomm SoCs. It includes submodules such as CSIPHY (CSI Physical layer) and CSID (CSI Decoder), which comply with the MIPI CSI2 protocol. The subsystem also integrates a set of real-time image processing engines and their associated configuration modules, as well as non-real-time engines.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sm6150-camss"
reg — required here #
Array item rules (items) #
Item 1
Registers for CSID 0
Item 2
Registers for CSID 1
Item 3
Registers for CSID Lite
Item 4
Registers for CSIPHY 0
Item 5
Registers for CSIPHY 1
Item 6
Registers for CSIPHY 2
Item 7
Registers for VFE 0
Item 8
Registers for VFE 1
Item 9
Registers for VFE Lite
Item 10
Registers for BPS (Bayer Processing Segment)
Item 11
Registers for CAMNOC
Item 12
Registers for CPAS CDM
Item 13
Registers for CPAS TOP
Item 14
Registers for ICP (Imaging Control Processor) CSR (Control and Status Registers)
Item 15
Registers for ICP QGIC (Qualcomm Generic Interrupt Controller)
Item 16
Registers for ICP SIERRA ((A5 subsystem communication))
Item 17
Registers for IPE (Image Postprocessing Engine) 0
Item 18
Registers for JPEG DMA
Item 19
Registers for JPEG ENC
Item 20
Registers for LRME (Low Resolution Motion Estimation)
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid_lite"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
Item 9
Exact value (
const):"vfe_lite"
Item 10
Exact value (
const):"bps"
Item 11
Exact value (
const):"camnoc"
Item 12
Exact value (
const):"cpas_cdm"
Item 13
Exact value (
const):"cpas_top"
Item 14
Exact value (
const):"icp_csr"
Item 15
Exact value (
const):"icp_qgic"
Item 16
Exact value (
const):"icp_sierra"
Item 17
Exact value (
const):"ipe0"
Item 18
Exact value (
const):"jpeg_dma"
Item 19
Exact value (
const):"jpeg_enc"
Item 20
Exact value (
const):"lrme"
clocks — required here #
Maximum number of items (maxItems): 33
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"gcc_ahb"
Item 2
Exact value (
const):"gcc_axi_hf"
Item 3
Exact value (
const):"camnoc_axi"
Item 4
Exact value (
const):"cpas_ahb"
Item 5
Exact value (
const):"csiphy0"
Item 6
Exact value (
const):"csiphy0_timer"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy1_timer"
Item 9
Exact value (
const):"csiphy2"
Item 10
Exact value (
const):"csiphy2_timer"
Item 11
Exact value (
const):"soc_ahb"
Item 12
Exact value (
const):"vfe0"
Item 13
Exact value (
const):"vfe0_axi"
Item 14
Exact value (
const):"vfe0_cphy_rx"
Item 15
Exact value (
const):"vfe0_csid"
Item 16
Exact value (
const):"vfe1"
Item 17
Exact value (
const):"vfe1_axi"
Item 18
Exact value (
const):"vfe1_cphy_rx"
Item 19
Exact value (
const):"vfe1_csid"
Item 20
Exact value (
const):"vfe_lite"
Item 21
Exact value (
const):"vfe_lite_cphy_rx"
Item 22
Exact value (
const):"vfe_lite_csid"
Item 23
Exact value (
const):"bps"
Item 24
Exact value (
const):"bps_ahb"
Item 25
Exact value (
const):"bps_axi"
Item 26
Exact value (
const):"bps_areg"
Item 27
Exact value (
const):"icp"
Item 28
Exact value (
const):"ipe0"
Item 29
Exact value (
const):"ipe0_ahb"
Item 30
Exact value (
const):"ipe0_areg"
Item 31
Exact value (
const):"ipe0_axi"
Item 32
Exact value (
const):"jpeg"
Item 33
Exact value (
const):"lrme"
interrupts — required here #
Maximum number of items (maxItems): 15
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid_lite"
Item 4
Exact value (
const):"csiphy0"
Item 5
Exact value (
const):"csiphy1"
Item 6
Exact value (
const):"csiphy2"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
Item 9
Exact value (
const):"vfe_lite"
Item 10
Exact value (
const):"camnoc"
Item 11
Exact value (
const):"cdm"
Item 12
Exact value (
const):"icp"
Item 13
Exact value (
const):"jpeg_dma"
Item 14
Exact value (
const):"jpeg_enc"
Item 15
Exact value (
const):"lrme"
interconnects — required here #
Maximum number of items (maxItems): 4
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_0"
Item 3
Exact value (
const):"hf_1"
Item 4
Exact value (
const):"sf_mnoc"
iommus — required here #
Array item rules (items) #
Item 1
Camera IFE 0 non-protected stream
Item 2
Camera IFE 1 non-protected stream
Item 3
Camera IFE 3 non-protected stream
Item 4
Camera CDM non-protected stream
Item 5
Camera LRME read non-protected stream
Item 6
Camera IPE 0 read non-protected stream
Item 7
Camera BPS read non-protected stream
Item 8
Camera IPE 0 write non-protected stream
Item 9
Camera BPS write non-protected stream
Item 10
Camera LRME write non-protected stream
Item 11
Camera JPEG read non-protected stream
Item 12
Camera JPEG write non-protected stream
Item 13
Camera ICP stream
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
Item 4
Titan BPS - Bayer Processing Segment, Global Distributed Switch Controller.
Item 5
IPE GDSC - Image Postprocessing Engine, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"top"
Item 4
Exact value (
const):"bps"
Item 5
Exact value (
const):"ipe"
vdd-csiphy-1p2-supply — not listed as required here #
Phandle to a 1.2V regulator supply to CSI PHYs.
vdd-csiphy-1p8-supply — not listed as required here #
Phandle to 1.8V regulator supply to CSI PHYs pll block.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-2]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data from a CSIPHY.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,qcs615-camcc.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,qcs615-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: isp@acb3000 {
compatible = "qcom,sm6150-camss";
reg = <0x0 0x0acb3000 0x0 0x1000>,
<0x0 0x0acba000 0x0 0x1000>,
<0x0 0x0acc8000 0x0 0x1000>,
<0x0 0x0ac65000 0x0 0x1000>,
<0x0 0x0ac66000 0x0 0x1000>,
<0x0 0x0ac67000 0x0 0x1000>,
<0x0 0x0acaf000 0x0 0x4000>,
<0x0 0x0acb6000 0x0 0x4000>,
<0x0 0x0acc4000 0x0 0x4000>,
<0x0 0x0ac6f000 0x0 0x3000>,
<0x0 0x0ac42000 0x0 0x5000>,
<0x0 0x0ac48000 0x0 0x1000>,
<0x0 0x0ac40000 0x0 0x1000>,
<0x0 0x0ac18000 0x0 0x3000>,
<0x0 0x0ac00000 0x0 0x6000>,
<0x0 0x0ac10000 0x0 0x8000>,
<0x0 0x0ac87000 0x0 0x3000>,
<0x0 0x0ac52000 0x0 0x4000>,
<0x0 0x0ac4e000 0x0 0x4000>,
<0x0 0x0ac6b000 0x0 0x0a00>;
reg-names = "csid0",
"csid1",
"csid_lite",
"csiphy0",
"csiphy1",
"csiphy2",
"vfe0",
"vfe1",
"vfe_lite",
"bps",
"camnoc",
"cpas_cdm",
"cpas_top",
"icp_csr",
"icp_qgic",
"icp_sierra",
"ipe0",
"jpeg_dma",
"jpeg_enc",
"lrme";
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_SOC_AHB_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_0_CSID_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_AXI_CLK>,
<&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_1_CSID_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>,
<&camcc CAM_CC_BPS_CLK>,
<&camcc CAM_CC_BPS_AHB_CLK>,
<&camcc CAM_CC_BPS_AXI_CLK>,
<&camcc CAM_CC_BPS_AREG_CLK>,
<&camcc CAM_CC_ICP_CLK>,
<&camcc CAM_CC_IPE_0_CLK>,
<&camcc CAM_CC_IPE_0_AHB_CLK>,
<&camcc CAM_CC_IPE_0_AREG_CLK>,
<&camcc CAM_CC_IPE_0_AXI_CLK>,
<&camcc CAM_CC_JPEG_CLK>,
<&camcc CAM_CC_LRME_CLK>;
clock-names = "gcc_ahb",
"gcc_axi_hf",
"camnoc_axi",
"cpas_ahb",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"soc_ahb",
"vfe0",
"vfe0_axi",
"vfe0_cphy_rx",
"vfe0_csid",
"vfe1",
"vfe1_axi",
"vfe1_cphy_rx",
"vfe1_csid",
"vfe_lite",
"vfe_lite_cphy_rx",
"vfe_lite_csid",
"bps",
"bps_ahb",
"bps_axi",
"bps_areg",
"icp",
"ipe0",
"ipe0_ahb",
"ipe0_areg",
"ipe0_axi",
"jpeg",
"lrme";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF0 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&mmss_noc MASTER_CAMNOC_HF1 QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_0",
"hf_1",
"sf_mnoc";
interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 459 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 461 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 475 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 474 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 476 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid_lite",
"csiphy0",
"csiphy1",
"csiphy2",
"vfe0",
"vfe1",
"vfe_lite",
"camnoc",
"cdm",
"icp",
"jpeg_dma",
"jpeg_enc",
"lrme";
iommus = <&apps_smmu 0x0820 0x40>,
<&apps_smmu 0x0840 0x00>,
<&apps_smmu 0x0860 0x40>,
<&apps_smmu 0x0c00 0x00>,
<&apps_smmu 0x0cc0 0x00>,
<&apps_smmu 0x0c80 0x00>,
<&apps_smmu 0x0ca0 0x00>,
<&apps_smmu 0x0d00 0x00>,
<&apps_smmu 0x0d20 0x00>,
<&apps_smmu 0x0d40 0x00>,
<&apps_smmu 0x0d80 0x20>,
<&apps_smmu 0x0da0 0x20>,
<&apps_smmu 0x0de2 0x00>;
power-domains = <&camcc IFE_0_GDSC>,
<&camcc IFE_1_GDSC>,
<&camcc TITAN_TOP_GDSC>,
<&camcc BPS_GDSC>,
<&camcc IPE_0_GDSC>;
power-domain-names = "ife0",
"ife1",
"top",
"bps",
"ipe";
vdd-csiphy-1p2-supply = <&vreg_l11a_1p2>;
vdd-csiphy-1p8-supply = <&vreg_l12a_1p8>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csiphy_ep0: endpoint {
data-lanes = <0 1>;
remote-endpoint = <&sensor_ep>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8250-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Foss <robert.foss@linaro.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sm8250-camss"
clocks — required here #
Minimum number of items (minItems): 37
Maximum number of items (maxItems): 37
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cam_ahb_clk"
Item 2
Exact value (
const):"cam_hf_axi"
Item 3
Exact value (
const):"cam_sf_axi"
Item 4
Exact value (
const):"camnoc_axi"
Item 5
Exact value (
const):"camnoc_axi_src"
Item 6
Exact value (
const):"core_ahb"
Item 7
Exact value (
const):"cpas_ahb"
Item 8
Exact value (
const):"csiphy0"
Item 9
Exact value (
const):"csiphy0_timer"
Item 10
Exact value (
const):"csiphy1"
Item 11
Exact value (
const):"csiphy1_timer"
Item 12
Exact value (
const):"csiphy2"
Item 13
Exact value (
const):"csiphy2_timer"
Item 14
Exact value (
const):"csiphy3"
Item 15
Exact value (
const):"csiphy3_timer"
Item 16
Exact value (
const):"csiphy4"
Item 17
Exact value (
const):"csiphy4_timer"
Item 18
Exact value (
const):"csiphy5"
Item 19
Exact value (
const):"csiphy5_timer"
Item 20
Exact value (
const):"slow_ahb_src"
Item 21
Exact value (
const):"vfe0_ahb"
Item 22
Exact value (
const):"vfe0_axi"
Item 23
Exact value (
const):"vfe0"
Item 24
Exact value (
const):"vfe0_cphy_rx"
Item 25
Exact value (
const):"vfe0_csid"
Item 26
Exact value (
const):"vfe0_areg"
Item 27
Exact value (
const):"vfe1_ahb"
Item 28
Exact value (
const):"vfe1_axi"
Item 29
Exact value (
const):"vfe1"
Item 30
Exact value (
const):"vfe1_cphy_rx"
Item 31
Exact value (
const):"vfe1_csid"
Item 32
Exact value (
const):"vfe1_areg"
Item 33
Exact value (
const):"vfe_lite_ahb"
Item 34
Exact value (
const):"vfe_lite_axi"
Item 35
Exact value (
const):"vfe_lite"
Item 36
Exact value (
const):"vfe_lite_cphy_rx"
Item 37
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Minimum number of items (minItems): 14
Maximum number of items (maxItems): 14
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy1"
Item 3
Exact value (
const):"csiphy2"
Item 4
Exact value (
const):"csiphy3"
Item 5
Exact value (
const):"csiphy4"
Item 6
Exact value (
const):"csiphy5"
Item 7
Exact value (
const):"csid0"
Item 8
Exact value (
const):"csid1"
Item 9
Exact value (
const):"csid2"
Item 10
Exact value (
const):"csid3"
Item 11
Exact value (
const):"vfe0"
Item 12
Exact value (
const):"vfe1"
Item 13
Exact value (
const):"vfe_lite0"
Item 14
Exact value (
const):"vfe_lite1"
iommus — required here #
Minimum number of items (minItems): 8
Maximum number of items (maxItems): 8
interconnects — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cam_ahb"
Item 2
Exact value (
const):"cam_hf_0_mnoc"
Item 3
Exact value (
const):"cam_sf_0_mnoc"
Item 4
Exact value (
const):"cam_sf_icp_mnoc"
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@4 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@5 — not listed as 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.
Input port for receiving CSI data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
reg — required here #
Minimum number of items (minItems): 10
Maximum number of items (maxItems): 10
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csiphy0"
Item 2
Exact value (
const):"csiphy1"
Item 3
Exact value (
const):"csiphy2"
Item 4
Exact value (
const):"csiphy3"
Item 5
Exact value (
const):"csiphy4"
Item 6
Exact value (
const):"csiphy5"
Item 7
Exact value (
const):"vfe0"
Item 8
Exact value (
const):"vfe1"
Item 9
Exact value (
const):"vfe_lite0"
Item 10
Exact value (
const):"vfe_lite1"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
Required in this object (required): "clock-names", "clocks", "compatible", "interconnects", "interconnect-names", "interrupts", "interrupt-names", "iommus", "power-domains", "reg", "reg-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,camcc-sm8250.h>
#include <dt-bindings/interconnect/qcom,sm8250.h>
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: camss@ac6a000 {
compatible = "qcom,sm8250-camss";
reg = <0 0xac6a000 0 0x2000>,
<0 0xac6c000 0 0x2000>,
<0 0xac6e000 0 0x1000>,
<0 0xac70000 0 0x1000>,
<0 0xac72000 0 0x1000>,
<0 0xac74000 0 0x1000>,
<0 0xacb4000 0 0xd000>,
<0 0xacc3000 0 0xd000>,
<0 0xacd9000 0 0x2200>,
<0 0xacdb200 0 0x2200>;
reg-names = "csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1";
vdda-phy-supply = <&vreg_l5a_0p88>;
vdda-pll-supply = <&vreg_l9a_1p2>;
interrupts = <GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 86 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"csid0",
"csid1",
"csid2",
"csid3",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1";
power-domains = <&camcc IFE_0_GDSC>,
<&camcc IFE_1_GDSC>,
<&camcc TITAN_TOP_GDSC>;
clocks = <&gcc GCC_CAMERA_AHB_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>,
<&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CAMNOC_AXI_CLK_SRC>,
<&camcc CAM_CC_CORE_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY3_CLK>,
<&camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY4_CLK>,
<&camcc CAM_CC_CSI4PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY5_CLK>,
<&camcc CAM_CC_CSI5PHYTIMER_CLK>,
<&camcc CAM_CC_SLOW_AHB_CLK_SRC>,
<&camcc CAM_CC_IFE_0_AHB_CLK>,
<&camcc CAM_CC_IFE_0_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_0_CSID_CLK>,
<&camcc CAM_CC_IFE_0_AREG_CLK>,
<&camcc CAM_CC_IFE_1_AHB_CLK>,
<&camcc CAM_CC_IFE_1_AXI_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_1_CSID_CLK>,
<&camcc CAM_CC_IFE_1_AREG_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_AXI_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "cam_ahb_clk",
"cam_hf_axi",
"cam_sf_axi",
"camnoc_axi",
"camnoc_axi_src",
"core_ahb",
"cpas_ahb",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"csiphy4",
"csiphy4_timer",
"csiphy5",
"csiphy5_timer",
"slow_ahb_src",
"vfe0_ahb",
"vfe0_axi",
"vfe0",
"vfe0_cphy_rx",
"vfe0_csid",
"vfe0_areg",
"vfe1_ahb",
"vfe1_axi",
"vfe1",
"vfe1_cphy_rx",
"vfe1_csid",
"vfe1_areg",
"vfe_lite_ahb",
"vfe_lite_axi",
"vfe_lite",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
iommus = <&apps_smmu 0x800 0x400>,
<&apps_smmu 0x801 0x400>,
<&apps_smmu 0x840 0x400>,
<&apps_smmu 0x841 0x400>,
<&apps_smmu 0xC00 0x400>,
<&apps_smmu 0xC01 0x400>,
<&apps_smmu 0xC40 0x400>,
<&apps_smmu 0xC41 0x400>;
interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_CAMERA_CFG>,
<&mmss_noc MASTER_CAMNOC_HF &mc_virt SLAVE_EBI_CH0>,
<&mmss_noc MASTER_CAMNOC_SF &mc_virt SLAVE_EBI_CH0>,
<&mmss_noc MASTER_CAMNOC_ICP &mc_virt SLAVE_EBI_CH0>;
interconnect-names = "cam_ahb",
"cam_hf_0_mnoc",
"cam_sf_0_mnoc",
"cam_sf_icp_mnoc";
ports {
#address-cells = <1>;
#size-cells = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 133: MEDIA_BUS_TYPE_CSI2_CPHY
Line 134: MEDIA_BUS_TYPE_CSI2_DPHY
Line 161: MEDIA_BUS_TYPE_CSI2_CPHY
Line 162: MEDIA_BUS_TYPE_CSI2_DPHY
Line 189: MEDIA_BUS_TYPE_CSI2_CPHY
Line 190: MEDIA_BUS_TYPE_CSI2_DPHY
Line 217: MEDIA_BUS_TYPE_CSI2_CPHY
Line 218: MEDIA_BUS_TYPE_CSI2_DPHY
Line 245: MEDIA_BUS_TYPE_CSI2_CPHY
Line 246: MEDIA_BUS_TYPE_CSI2_DPHY
Line 273: MEDIA_BUS_TYPE_CSI2_CPHY
Line 274: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm SM8250 Venus video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8250-venus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.varbanov@linaro.org>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sm8250-venus"
power-domains — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
power-domain-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"mx"
clocks — not listed as required here #
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"vcodec0_core"
iommus — required here #
Maximum number of items (maxItems): 1
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-cfg"
Item 2
Exact value (
const):"video-mem"
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
resets — required here #
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"core"
video-decoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-decoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
video-encoder — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "venus-encoder"
Required in this object (required): "compatible"
Deprecated (deprecated): true
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "power-domain-names", "interconnects", "interconnect-names", "iommus", "resets", "reset-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,videocc-sm8250.h>
#include <dt-bindings/interconnect/qcom,sm8250.h>
#include <dt-bindings/clock/qcom,gcc-sm8250.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
venus: video-codec@aa00000 {
compatible = "qcom,sm8250-venus";
reg = <0x0aa00000 0xff000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&videocc MVS0C_GDSC>,
<&videocc MVS0_GDSC>,
<&rpmhpd RPMHPD_MX>;
power-domain-names = "venus", "vcodec0", "mx";
clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
<&videocc VIDEO_CC_MVS0C_CLK>,
<&videocc VIDEO_CC_MVS0_CLK>;
clock-names = "iface", "core", "vcodec0_core";
interconnects = <&gem_noc MASTER_AMPSS_M0 &config_noc SLAVE_VENUS_CFG>,
<&mmss_noc MASTER_VIDEO_P0 &mc_virt SLAVE_EBI_CH0>;
interconnect-names = "cpu-cfg", "video-mem";
iommus = <&apps_smmu 0x2100 0x0400>;
memory-region = <&video_mem>;
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
<&videocc VIDEO_CC_MVS0C_CLK_ARES>;
reset-names = "bus", "core";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm SM8550 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8550-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Depeng Shao <quic_depengs@quicinc.com>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sm8550-camss"
reg — required here #
Maximum number of items (maxItems): 19
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csid_wrapper"
Item 7
Exact value (
const):"csiphy0"
Item 8
Exact value (
const):"csiphy1"
Item 9
Exact value (
const):"csiphy2"
Item 10
Exact value (
const):"csiphy3"
Item 11
Exact value (
const):"csiphy4"
Item 12
Exact value (
const):"csiphy5"
Item 13
Exact value (
const):"csiphy6"
Item 14
Exact value (
const):"csiphy7"
Item 15
Exact value (
const):"vfe0"
Item 16
Exact value (
const):"vfe1"
Item 17
Exact value (
const):"vfe2"
Item 18
Exact value (
const):"vfe_lite0"
Item 19
Exact value (
const):"vfe_lite1"
clocks — required here #
Maximum number of items (maxItems): 36
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"cpas_fast_ahb_clk"
Item 4
Exact value (
const):"cpas_ife_lite"
Item 5
Exact value (
const):"cpas_vfe0"
Item 6
Exact value (
const):"cpas_vfe1"
Item 7
Exact value (
const):"cpas_vfe2"
Item 8
Exact value (
const):"csid"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy0_timer"
Item 11
Exact value (
const):"csiphy1"
Item 12
Exact value (
const):"csiphy1_timer"
Item 13
Exact value (
const):"csiphy2"
Item 14
Exact value (
const):"csiphy2_timer"
Item 15
Exact value (
const):"csiphy3"
Item 16
Exact value (
const):"csiphy3_timer"
Item 17
Exact value (
const):"csiphy4"
Item 18
Exact value (
const):"csiphy4_timer"
Item 19
Exact value (
const):"csiphy5"
Item 20
Exact value (
const):"csiphy5_timer"
Item 21
Exact value (
const):"csiphy6"
Item 22
Exact value (
const):"csiphy6_timer"
Item 23
Exact value (
const):"csiphy7"
Item 24
Exact value (
const):"csiphy7_timer"
Item 25
Exact value (
const):"csiphy_rx"
Item 26
Exact value (
const):"gcc_axi_hf"
Item 27
Exact value (
const):"vfe0"
Item 28
Exact value (
const):"vfe0_fast_ahb"
Item 29
Exact value (
const):"vfe1"
Item 30
Exact value (
const):"vfe1_fast_ahb"
Item 31
Exact value (
const):"vfe2"
Item 32
Exact value (
const):"vfe2_fast_ahb"
Item 33
Exact value (
const):"vfe_lite"
Item 34
Exact value (
const):"vfe_lite_ahb"
Item 35
Exact value (
const):"vfe_lite_cphy_rx"
Item 36
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Maximum number of items (maxItems): 18
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy2"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy4"
Item 11
Exact value (
const):"csiphy5"
Item 12
Exact value (
const):"csiphy6"
Item 13
Exact value (
const):"csiphy7"
Item 14
Exact value (
const):"vfe0"
Item 15
Exact value (
const):"vfe1"
Item 16
Exact value (
const):"vfe2"
Item 17
Exact value (
const):"vfe_lite0"
Item 18
Exact value (
const):"vfe_lite1"
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_0_mnoc"
iommus — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
IFE2 GDSC - Image Front End, Global Distributed Switch Controller.
Item 4
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"ife2"
Item 4
Exact value (
const):"top"
vdda-phy-supply — required here #
0.88V supply to CSIPHY IP blocks.
vdda-pll-supply — required here #
1.2V supply to CSIPHY IP blocks.
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port for receiving CSI data on CSI0.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — not listed as 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.
Input port for receiving CSI data on CSI1.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@2 — not listed as 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.
Input port for receiving CSI data on CSI2.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@3 — not listed as 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.
Input port for receiving CSI data on CSI3.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@4 — not listed as 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.
Input port for receiving CSI data on CSI4.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@5 — not listed as 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.
Input port for receiving CSI data on CSI5.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@6 — not listed as 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.
Input port for receiving CSI data on CSI6.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
port@7 — not listed as 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.
Input port for receiving CSI data on CSI7.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "clock-lanes", "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names", "vdda-phy-supply", "vdda-pll-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8550-camcc.h>
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@acb7000 {
compatible = "qcom,sm8550-camss";
reg = <0 0x0acb7000 0 0xd00>,
<0 0x0acb9000 0 0xd00>,
<0 0x0acbb000 0 0xd00>,
<0 0x0acca000 0 0xa00>,
<0 0x0acce000 0 0xa00>,
<0 0x0acb6000 0 0x1000>,
<0 0x0ace4000 0 0x2000>,
<0 0x0ace6000 0 0x2000>,
<0 0x0ace8000 0 0x2000>,
<0 0x0acea000 0 0x2000>,
<0 0x0acec000 0 0x2000>,
<0 0x0acee000 0 0x2000>,
<0 0x0acf0000 0 0x2000>,
<0 0x0acf2000 0 0x2000>,
<0 0x0ac62000 0 0xf000>,
<0 0x0ac71000 0 0xf000>,
<0 0x0ac80000 0 0xf000>,
<0 0x0accb000 0 0x1800>,
<0 0x0accf000 0 0x1800>;
reg-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csid_wrapper",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"csiphy6",
"csiphy7",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
<&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
<&camcc CAM_CC_CPAS_IFE_0_CLK>,
<&camcc CAM_CC_CPAS_IFE_1_CLK>,
<&camcc CAM_CC_CPAS_IFE_2_CLK>,
<&camcc CAM_CC_CSID_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY3_CLK>,
<&camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY4_CLK>,
<&camcc CAM_CC_CSI4PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY5_CLK>,
<&camcc CAM_CC_CSI5PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY6_CLK>,
<&camcc CAM_CC_CSI6PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY7_CLK>,
<&camcc CAM_CC_CSI7PHYTIMER_CLK>,
<&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_2_CLK>,
<&camcc CAM_CC_IFE_2_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "camnoc_axi",
"cpas_ahb",
"cpas_fast_ahb_clk",
"cpas_ife_lite",
"cpas_vfe0",
"cpas_vfe1",
"cpas_vfe2",
"csid",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"csiphy4",
"csiphy4_timer",
"csiphy5",
"csiphy5_timer",
"csiphy6",
"csiphy6_timer",
"csiphy7",
"csiphy7_timer",
"csiphy_rx",
"gcc_axi_hf",
"vfe0",
"vfe0_fast_ahb",
"vfe1",
"vfe1_fast_ahb",
"vfe2",
"vfe2_fast_ahb",
"vfe_lite",
"vfe_lite_ahb",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
interrupts = <GIC_SPI 601 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 603 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 605 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 278 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 277 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 602 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 604 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 688 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 606 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"csiphy6",
"csiphy7",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_0_mnoc";
iommus = <&apps_smmu 0x800 0x20>;
power-domains = <&camcc CAM_CC_IFE_0_GDSC>,
<&camcc CAM_CC_IFE_1_GDSC>,
<&camcc CAM_CC_IFE_2_GDSC>,
<&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "ife0",
"ife1",
"ife2",
"top";
vdda-phy-supply = <&vreg_l1e_0p88>;
vdda-pll-supply = <&vreg_l3e_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
csiphy_ep0: endpoint@0 {
reg = <0>;
clock-lanes = <7>;
data-lanes = <0 1>;
remote-endpoint = <&sensor_ep>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 171: MEDIA_BUS_TYPE_CSI2_CPHY
Line 172: MEDIA_BUS_TYPE_CSI2_DPHY
Line 199: MEDIA_BUS_TYPE_CSI2_CPHY
Line 200: MEDIA_BUS_TYPE_CSI2_DPHY
Line 227: MEDIA_BUS_TYPE_CSI2_CPHY
Line 228: MEDIA_BUS_TYPE_CSI2_DPHY
Line 255: MEDIA_BUS_TYPE_CSI2_CPHY
Line 256: MEDIA_BUS_TYPE_CSI2_DPHY
Line 283: MEDIA_BUS_TYPE_CSI2_CPHY
Line 284: MEDIA_BUS_TYPE_CSI2_DPHY
Line 311: MEDIA_BUS_TYPE_CSI2_CPHY
Line 312: MEDIA_BUS_TYPE_CSI2_DPHY
Line 339: MEDIA_BUS_TYPE_CSI2_CPHY
Line 340: MEDIA_BUS_TYPE_CSI2_DPHY
Line 367: MEDIA_BUS_TYPE_CSI2_CPHY
Line 368: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm iris video encode and decode accelerators
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8550-iris.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vikash Garodia <quic_vgarodia@quicinc.com>", "Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>"
The iris video processing unit is a video encode and decode accelerator present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,sa8775p-iris","qcom,x1e80100-iris"Item 2
Exact value (
const):"qcom,sm8550-iris"
Rule 2
Allowed values (
enum):"qcom,qcs8300-iris","qcom,sm8550-iris","qcom,sm8650-iris"
reg — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 4
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"mxc"
Item 4
Exact value (
const):"mmcx"
clocks — not listed as required here #
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"vcodec0_core"
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-cfg"
Item 2
Exact value (
const):"video-mem"
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"bus"
Item 2
Exact value (
const):"xo"
Item 3
Exact value (
const):"core"
iommus — required here #
Maximum number of items (maxItems): 2
dma-coherent — required here #
true — No constraints added by this property rule.
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
Required in this object (required): "compatible", "power-domain-names", "interconnects", "interconnect-names", "resets", "reset-names", "iommus", "dma-coherent"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):3
reset-names— not listed as required hereMinimum number of items (
minItems):3When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
reset-names— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8550-gcc.h>
#include <dt-bindings/clock/qcom,sm8450-videocc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8550-rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
video-codec@aa00000 {
compatible = "qcom,sm8550-iris";
reg = <0x0aa00000 0xf0000>;
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&videocc VIDEO_CC_MVS0C_GDSC>,
<&videocc VIDEO_CC_MVS0_GDSC>,
<&rpmhpd RPMHPD_MXC>,
<&rpmhpd RPMHPD_MMCX>;
power-domain-names = "venus", "vcodec0", "mxc", "mmcx";
clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
<&videocc VIDEO_CC_MVS0C_CLK>,
<&videocc VIDEO_CC_MVS0_CLK>;
clock-names = "iface", "core", "vcodec0_core";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS
&config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ALWAYS>,
<&mmss_noc MASTER_VIDEO QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "cpu-cfg", "video-mem";
memory-region = <&video_mem>;
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>;
reset-names = "bus";
iommus = <&apps_smmu 0x1940 0x0000>,
<&apps_smmu 0x1947 0x0000>;
dma-coherent;
operating-points-v2 = <&iris_opp_table>;
iris_opp_table: opp-table {
compatible = "operating-points-v2";
opp-240000000 {
opp-hz = /bits/ 64 <240000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_low_svs>;
};
opp-338000000 {
opp-hz = /bits/ 64 <338000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_svs>;
};
opp-366000000 {
opp-hz = /bits/ 64 <366000000>;
required-opps = <&rpmhpd_opp_svs_l1>,
<&rpmhpd_opp_svs_l1>;
};
opp-444000000 {
opp-hz = /bits/ 64 <444000000>;
required-opps = <&rpmhpd_opp_turbo>,
<&rpmhpd_opp_turbo>;
};
opp-533333334 {
opp-hz = /bits/ 64 <533333334>;
required-opps = <&rpmhpd_opp_turbo_l1>,
<&rpmhpd_opp_turbo_l1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm SM8650 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8650-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,sm8650-camss"
reg — required here #
Maximum number of items (maxItems): 17
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid_wrapper"
Item 2
Exact value (
const):"csid0"
Item 3
Exact value (
const):"csid1"
Item 4
Exact value (
const):"csid2"
Item 5
Exact value (
const):"csid_lite0"
Item 6
Exact value (
const):"csid_lite1"
Item 7
Exact value (
const):"csiphy0"
Item 8
Exact value (
const):"csiphy1"
Item 9
Exact value (
const):"csiphy2"
Item 10
Exact value (
const):"csiphy3"
Item 11
Exact value (
const):"csiphy4"
Item 12
Exact value (
const):"csiphy5"
Item 13
Exact value (
const):"vfe0"
Item 14
Exact value (
const):"vfe1"
Item 15
Exact value (
const):"vfe2"
Item 16
Exact value (
const):"vfe_lite0"
Item 17
Exact value (
const):"vfe_lite1"
clocks — required here #
Maximum number of items (maxItems): 33
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_axi"
Item 2
Exact value (
const):"cpas_ahb"
Item 3
Exact value (
const):"cpas_fast_ahb"
Item 4
Exact value (
const):"cpas_vfe0"
Item 5
Exact value (
const):"cpas_vfe1"
Item 6
Exact value (
const):"cpas_vfe2"
Item 7
Exact value (
const):"cpas_vfe_lite"
Item 8
Exact value (
const):"csid"
Item 9
Exact value (
const):"csiphy0"
Item 10
Exact value (
const):"csiphy0_timer"
Item 11
Exact value (
const):"csiphy1"
Item 12
Exact value (
const):"csiphy1_timer"
Item 13
Exact value (
const):"csiphy2"
Item 14
Exact value (
const):"csiphy2_timer"
Item 15
Exact value (
const):"csiphy3"
Item 16
Exact value (
const):"csiphy3_timer"
Item 17
Exact value (
const):"csiphy4"
Item 18
Exact value (
const):"csiphy4_timer"
Item 19
Exact value (
const):"csiphy5"
Item 20
Exact value (
const):"csiphy5_timer"
Item 21
Exact value (
const):"csiphy_rx"
Item 22
Exact value (
const):"gcc_axi_hf"
Item 23
Exact value (
const):"qdss_debug_xo"
Item 24
Exact value (
const):"vfe0"
Item 25
Exact value (
const):"vfe0_fast_ahb"
Item 26
Exact value (
const):"vfe1"
Item 27
Exact value (
const):"vfe1_fast_ahb"
Item 28
Exact value (
const):"vfe2"
Item 29
Exact value (
const):"vfe2_fast_ahb"
Item 30
Exact value (
const):"vfe_lite"
Item 31
Exact value (
const):"vfe_lite_ahb"
Item 32
Exact value (
const):"vfe_lite_cphy_rx"
Item 33
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Maximum number of items (maxItems): 16
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy2"
Item 9
Exact value (
const):"csiphy3"
Item 10
Exact value (
const):"csiphy4"
Item 11
Exact value (
const):"csiphy5"
Item 12
Exact value (
const):"vfe0"
Item 13
Exact value (
const):"vfe1"
Item 14
Exact value (
const):"vfe2"
Item 15
Exact value (
const):"vfe_lite0"
Item 16
Exact value (
const):"vfe_lite1"
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_mnoc"
iommus — required here #
Maximum number of items (maxItems): 3
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
IFE2 GDSC - Image Front End, Global Distributed Switch Controller.
Item 4
Titan GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"ife2"
Item 4
Exact value (
const):"top"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-5]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data from a CSIPHY.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
vdd-csiphy01-0p9-supply — not listed as required here #
Phandle to a 0.9V regulator supply to CSIPHY0 and CSIPHY1 IP blocks.
vdd-csiphy01-1p2-supply — not listed as required here #
Phandle to a 1.2V regulator supply to CSIPHY0 and CSIPHY1 IP blocks.
vdd-csiphy24-0p9-supply — not listed as required here #
Phandle to a 0.9V regulator supply to CSIPHY2 and CSIPHY4 IP blocks.
vdd-csiphy24-1p2-supply — not listed as required here #
Phandle to a 1.2V regulator supply to CSIPHY2 and CSIPHY4 IP blocks.
vdd-csiphy35-0p9-supply — not listed as required here #
Phandle to a 0.9V regulator supply to CSIPHY3 and CSIPHY5 IP blocks.
vdd-csiphy35-1p2-supply — not listed as required here #
Phandle to a 1.2V regulator supply to CSIPHY3 and CSIPHY5 IP blocks.
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interconnects", "interconnect-names", "interrupts", "interrupt-names", "iommus", "power-domains", "power-domain-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,sm8650-camcc.h>
#include <dt-bindings/clock/qcom,sm8650-gcc.h>
#include <dt-bindings/interconnect/qcom,sm8650-rpmh.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@acb6000 {
compatible = "qcom,sm8650-camss";
reg = <0 0x0acb6000 0 0x1000>,
<0 0x0acb8000 0 0x1000>,
<0 0x0acba000 0 0x1000>,
<0 0x0acbc000 0 0x1000>,
<0 0x0accb000 0 0x1000>,
<0 0x0acd0000 0 0x1000>,
<0 0x0ace4000 0 0x2000>,
<0 0x0ace6000 0 0x2000>,
<0 0x0ace8000 0 0x2000>,
<0 0x0acea000 0 0x2000>,
<0 0x0acec000 0 0x2000>,
<0 0x0acee000 0 0x2000>,
<0 0x0ac62000 0 0xf000>,
<0 0x0ac71000 0 0xf000>,
<0 0x0ac80000 0 0xf000>,
<0 0x0accc000 0 0x2000>,
<0 0x0acd1000 0 0x2000>;
reg-names = "csid_wrapper",
"csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
clocks = <&camcc CAM_CC_CAMNOC_AXI_RT_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
<&camcc CAM_CC_CPAS_IFE_0_CLK>,
<&camcc CAM_CC_CPAS_IFE_1_CLK>,
<&camcc CAM_CC_CPAS_IFE_2_CLK>,
<&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
<&camcc CAM_CC_CSID_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI3PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY3_CLK>,
<&camcc CAM_CC_CSI4PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY4_CLK>,
<&camcc CAM_CC_CSI5PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY5_CLK>,
<&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&camcc CAM_CC_QDSS_DEBUG_XO_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_2_CLK>,
<&camcc CAM_CC_IFE_2_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "camnoc_axi",
"cpas_ahb",
"cpas_fast_ahb",
"cpas_vfe0",
"cpas_vfe1",
"cpas_vfe2",
"cpas_vfe_lite",
"csid",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy3",
"csiphy3_timer",
"csiphy4",
"csiphy4_timer",
"csiphy5",
"csiphy5_timer",
"csiphy_rx",
"gcc_axi_hf",
"qdss_debug_xo",
"vfe0",
"vfe0_fast_ahb",
"vfe1",
"vfe1_fast_ahb",
"vfe2",
"vfe2_fast_ahb",
"vfe_lite",
"vfe_lite_ahb",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
interrupts = <GIC_SPI 601 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 603 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 605 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 89 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 602 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 604 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 688 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 606 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy3",
"csiphy4",
"csiphy5",
"vfe0",
"vfe1",
"vfe2",
"vfe_lite0",
"vfe_lite1";
interconnects = <&gem_noc MASTER_APPSS_PROC 0
&config_noc SLAVE_CAMERA_CFG 0>,
<&mmss_noc MASTER_CAMNOC_HF 0
&mc_virt SLAVE_EBI1 0>;
interconnect-names = "ahb", "hf_mnoc";
iommus = <&apps_smmu 0x800 0x20>,
<&apps_smmu 0x18a0 0x40>,
<&apps_smmu 0x1860 0x00>;
power-domains = <&camcc CAM_CC_IFE_0_GDSC>,
<&camcc CAM_CC_IFE_1_GDSC>,
<&camcc CAM_CC_IFE_2_GDSC>,
<&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "ife0", "ife1", "ife2", "top";
vdd-csiphy01-0p9-supply = <&vreg_0p9>;
vdd-csiphy01-1p2-supply = <&vreg_1p2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
csiphy1_ep: endpoint {
data-lanes = <0 1>;
remote-endpoint = <&camera_sensor>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 154: MEDIA_BUS_TYPE_CSI2_CPHY
Line 155: MEDIA_BUS_TYPE_CSI2_DPHY
Qualcomm SM8750 SoC Iris video encoder and decoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,sm8750-iris.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The Iris video processing unit on Qualcomm SM8750 SoC is a video encode and decode accelerator.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sm8750-iris"
clocks — not listed as required here #
Maximum number of items (maxItems): 6
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"iface"
Item 2
Exact value (
const):"core"
Item 3
Exact value (
const):"vcodec0_core"
Item 4
Exact value (
const):"iface1"
Item 5
Exact value (
const):"core_freerun"
Item 6
Exact value (
const):"vcodec0_core_freerun"
dma-coherent — required here #
true — No constraints added by this property rule.
interconnects — required here #
Maximum number of items (maxItems): 2
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cpu-cfg"
Item 2
Exact value (
const):"video-mem"
iommus — required here #
Maximum number of items (maxItems): 2
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
power-domains — not listed as required here #
Maximum number of items (maxItems): 4
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"venus"
Item 2
Exact value (
const):"vcodec0"
Item 3
Exact value (
const):"mxc"
Item 4
Exact value (
const):"mmcx"
resets — required here #
Maximum number of items (maxItems): 4
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"bus0"
Item 2
Exact value (
const):"bus1"
Item 3
Exact value (
const):"core"
Item 4
Exact value (
const):"vcodec0_core"
Required in this object (required): "compatible", "dma-coherent", "interconnects", "interconnect-names", "iommus", "power-domain-names", "resets", "reset-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,venus-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,rpmh.h>
#include <dt-bindings/clock/qcom,sm8750-gcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,sm8750-rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
video-codec@aa00000 {
compatible = "qcom,sm8750-iris";
reg = <0x0aa00000 0xf0000>;
clocks = <&gcc GCC_VIDEO_AXI0_CLK>,
<&videocc_mvs0c_clk>,
<&videocc_mvs0_clk>,
<&gcc GCC_VIDEO_AXI1_CLK>,
<&videocc_mvs0c_freerun_clk>,
<&videocc_mvs0_freerun_clk>;
clock-names = "iface",
"core",
"vcodec0_core",
"iface1",
"core_freerun",
"vcodec0_core_freerun";
dma-coherent;
iommus = <&apps_smmu 0x1940 0>,
<&apps_smmu 0x1947 0>;
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_VENUS_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_VIDEO_MVP QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "cpu-cfg",
"video-mem";
interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
operating-points-v2 = <&iris_opp_table>;
memory-region = <&video_mem>;
power-domains = <&videocc_mvs0c_gdsc>,
<&videocc_mvs0_gdsc>,
<&rpmhpd RPMHPD_MXC>,
<&rpmhpd RPMHPD_MMCX>;
power-domain-names = "venus",
"vcodec0",
"mxc",
"mmcx";
resets = <&gcc GCC_VIDEO_AXI0_CLK_ARES>,
<&gcc GCC_VIDEO_AXI1_CLK_ARES>,
<&videocc_mvs0c_freerun_clk_ares>,
<&videocc_mvs0_freerun_clk_ares>;
reset-names = "bus0",
"bus1",
"core",
"vcodec0_core";
iris_opp_table: opp-table {
compatible = "operating-points-v2";
opp-240000000 {
opp-hz = /bits/ 64 <240000000>;
required-opps = <&rpmhpd_opp_low_svs_d1>,
<&rpmhpd_opp_low_svs_d1>;
};
opp-338000000 {
opp-hz = /bits/ 64 <338000000>;
required-opps = <&rpmhpd_opp_low_svs>,
<&rpmhpd_opp_low_svs>;
};
opp-420000000 {
opp-hz = /bits/ 64 <420000000>;
required-opps = <&rpmhpd_opp_svs>,
<&rpmhpd_opp_svs>;
};
opp-444000000 {
opp-hz = /bits/ 64 <444000000>;
required-opps = <&rpmhpd_opp_svs_l1>,
<&rpmhpd_opp_svs_l1>;
};
opp-533333334 {
opp-hz = /bits/ 64 <533333334>;
required-opps = <&rpmhpd_opp_nom>,
<&rpmhpd_opp_nom>;
};
opp-630000000 {
opp-hz = /bits/ 64 <630000000>;
required-opps = <&rpmhpd_opp_turbo>,
<&rpmhpd_opp_turbo>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 26: AXI0
Line 29: AXI1
Qualcomm SoC Venus Video Encode and Decode Accelerators Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,venus-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanimir Varbanov <stanimir.k.varbanov@gmail.com>", "Vikash Garodia <quic_vgarodia@quicinc.com>"
The Venus IP is a video encode and decode accelerator present on Qualcomm platforms
Properties and child nodes (properties) #
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 7
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 7
firmware-name — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 20
memory-region — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
video-firmware — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Firmware subnode is needed when the platform does not have TrustZone.
Properties and child nodes (properties) #
iommus — required here
Maximum number of items (maxItems): 1
Required in this object (required): "iommus"
Required in this object (required): "reg", "clocks", "clock-names", "interrupts", "memory-region", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Qualcomm X1E80100 Camera Subsystem (CAMSS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/qcom,x1e80100-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bryan O'Donoghue <bryan.odonoghue@linaro.org>"
The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,x1e80100-camss"
reg — required here #
Maximum number of items (maxItems): 17
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csid_wrapper"
Item 7
Exact value (
const):"csiphy0"
Item 8
Exact value (
const):"csiphy1"
Item 9
Exact value (
const):"csiphy2"
Item 10
Exact value (
const):"csiphy4"
Item 11
Exact value (
const):"csitpg0"
Item 12
Exact value (
const):"csitpg1"
Item 13
Exact value (
const):"csitpg2"
Item 14
Exact value (
const):"vfe0"
Item 15
Exact value (
const):"vfe1"
Item 16
Exact value (
const):"vfe_lite0"
Item 17
Exact value (
const):"vfe_lite1"
clocks — required here #
Maximum number of items (maxItems): 29
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"camnoc_nrt_axi"
Item 2
Exact value (
const):"camnoc_rt_axi"
Item 3
Exact value (
const):"core_ahb"
Item 4
Exact value (
const):"cpas_ahb"
Item 5
Exact value (
const):"cpas_fast_ahb"
Item 6
Exact value (
const):"cpas_vfe0"
Item 7
Exact value (
const):"cpas_vfe1"
Item 8
Exact value (
const):"cpas_vfe_lite"
Item 9
Exact value (
const):"cphy_rx_clk_src"
Item 10
Exact value (
const):"csid"
Item 11
Exact value (
const):"csid_csiphy_rx"
Item 12
Exact value (
const):"csiphy0"
Item 13
Exact value (
const):"csiphy0_timer"
Item 14
Exact value (
const):"csiphy1"
Item 15
Exact value (
const):"csiphy1_timer"
Item 16
Exact value (
const):"csiphy2"
Item 17
Exact value (
const):"csiphy2_timer"
Item 18
Exact value (
const):"csiphy4"
Item 19
Exact value (
const):"csiphy4_timer"
Item 20
Exact value (
const):"gcc_axi_hf"
Item 21
Exact value (
const):"gcc_axi_sf"
Item 22
Exact value (
const):"vfe0"
Item 23
Exact value (
const):"vfe0_fast_ahb"
Item 24
Exact value (
const):"vfe1"
Item 25
Exact value (
const):"vfe1_fast_ahb"
Item 26
Exact value (
const):"vfe_lite"
Item 27
Exact value (
const):"vfe_lite_ahb"
Item 28
Exact value (
const):"vfe_lite_cphy_rx"
Item 29
Exact value (
const):"vfe_lite_csid"
interrupts — required here #
Maximum number of items (maxItems): 13
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csid0"
Item 2
Exact value (
const):"csid1"
Item 3
Exact value (
const):"csid2"
Item 4
Exact value (
const):"csid_lite0"
Item 5
Exact value (
const):"csid_lite1"
Item 6
Exact value (
const):"csiphy0"
Item 7
Exact value (
const):"csiphy1"
Item 8
Exact value (
const):"csiphy2"
Item 9
Exact value (
const):"csiphy4"
Item 10
Exact value (
const):"vfe0"
Item 11
Exact value (
const):"vfe1"
Item 12
Exact value (
const):"vfe_lite0"
Item 13
Exact value (
const):"vfe_lite1"
interconnects — required here #
Maximum number of items (maxItems): 4
interconnect-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ahb"
Item 2
Exact value (
const):"hf_mnoc"
Item 3
Exact value (
const):"sf_mnoc"
Item 4
Exact value (
const):"sf_icp_mnoc"
iommus — required here #
Maximum number of items (maxItems): 8
power-domains — required here #
Array item rules (items) #
Item 1
IFE0 GDSC - Image Front End, Global Distributed Switch Controller.
Item 2
IFE1 GDSC - Image Front End, Global Distributed Switch Controller.
Item 3
Titan Top GDSC - Titan ISP Block, Global Distributed Switch Controller.
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ife0"
Item 2
Exact value (
const):"ife1"
Item 3
Exact value (
const):"top"
vdd-csiphy-0p8-supply — required here #
0.8V supply to a PHY.
vdd-csiphy-1p2-supply — required here #
1.2V supply to a PHY.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
CSI input ports.
Properties matching a name pattern (patternProperties) #
^port@[0-3]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Input port for receiving CSI data from a CSIPHY.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
bus-type — not listed as required here
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names", "interconnects", "interconnect-names", "iommus", "power-domains", "power-domain-names", "vdd-csiphy-0p8-supply", "vdd-csiphy-1p2-supply", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,x1e80100-gcc.h>
#include <dt-bindings/clock/qcom,x1e80100-camcc.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h>
#include <dt-bindings/power/qcom-rpmpd.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
camss: isp@acb7000 {
compatible = "qcom,x1e80100-camss";
reg = <0 0x0acb7000 0 0x2000>,
<0 0x0acb9000 0 0x2000>,
<0 0x0acbb000 0 0x2000>,
<0 0x0acc6000 0 0x1000>,
<0 0x0acca000 0 0x1000>,
<0 0x0acb6000 0 0x1000>,
<0 0x0ace4000 0 0x1000>,
<0 0x0ace6000 0 0x1000>,
<0 0x0ace8000 0 0x1000>,
<0 0x0acec000 0 0x4000>,
<0 0x0acf6000 0 0x1000>,
<0 0x0acf7000 0 0x1000>,
<0 0x0acf8000 0 0x1000>,
<0 0x0ac62000 0 0x4000>,
<0 0x0ac71000 0 0x4000>,
<0 0x0acc7000 0 0x2000>,
<0 0x0accb000 0 0x2000>;
reg-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csid_wrapper",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy4",
"csitpg0",
"csitpg1",
"csitpg2",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1";
clocks = <&camcc CAM_CC_CAMNOC_AXI_NRT_CLK>,
<&camcc CAM_CC_CAMNOC_AXI_RT_CLK>,
<&camcc CAM_CC_CORE_AHB_CLK>,
<&camcc CAM_CC_CPAS_AHB_CLK>,
<&camcc CAM_CC_CPAS_FAST_AHB_CLK>,
<&camcc CAM_CC_CPAS_IFE_0_CLK>,
<&camcc CAM_CC_CPAS_IFE_1_CLK>,
<&camcc CAM_CC_CPAS_IFE_LITE_CLK>,
<&camcc CAM_CC_CPHY_RX_CLK_SRC>,
<&camcc CAM_CC_CSID_CLK>,
<&camcc CAM_CC_CSID_CSIPHY_RX_CLK>,
<&camcc CAM_CC_CSIPHY0_CLK>,
<&camcc CAM_CC_CSI0PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY1_CLK>,
<&camcc CAM_CC_CSI1PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY2_CLK>,
<&camcc CAM_CC_CSI2PHYTIMER_CLK>,
<&camcc CAM_CC_CSIPHY4_CLK>,
<&camcc CAM_CC_CSI4PHYTIMER_CLK>,
<&gcc GCC_CAMERA_HF_AXI_CLK>,
<&gcc GCC_CAMERA_SF_AXI_CLK>,
<&camcc CAM_CC_IFE_0_CLK>,
<&camcc CAM_CC_IFE_0_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_1_CLK>,
<&camcc CAM_CC_IFE_1_FAST_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CLK>,
<&camcc CAM_CC_IFE_LITE_AHB_CLK>,
<&camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>,
<&camcc CAM_CC_IFE_LITE_CSID_CLK>;
clock-names = "camnoc_nrt_axi",
"camnoc_rt_axi",
"core_ahb",
"cpas_ahb",
"cpas_fast_ahb",
"cpas_vfe0",
"cpas_vfe1",
"cpas_vfe_lite",
"cphy_rx_clk_src",
"csid",
"csid_csiphy_rx",
"csiphy0",
"csiphy0_timer",
"csiphy1",
"csiphy1_timer",
"csiphy2",
"csiphy2_timer",
"csiphy4",
"csiphy4_timer",
"gcc_axi_hf",
"gcc_axi_sf",
"vfe0",
"vfe0_fast_ahb",
"vfe1",
"vfe1_fast_ahb",
"vfe_lite",
"vfe_lite_ahb",
"vfe_lite_cphy_rx",
"vfe_lite_csid";
interrupts = <GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 466 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 431 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 468 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 359 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 477 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 478 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 479 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 122 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 467 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 469 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 360 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "csid0",
"csid1",
"csid2",
"csid_lite0",
"csid_lite1",
"csiphy0",
"csiphy1",
"csiphy2",
"csiphy4",
"vfe0",
"vfe1",
"vfe_lite0",
"vfe_lite1";
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&config_noc SLAVE_CAMERA_CFG QCOM_ICC_TAG_ACTIVE_ONLY>,
<&mmss_noc MASTER_CAMNOC_HF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&mmss_noc MASTER_CAMNOC_SF QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
<&mmss_noc MASTER_CAMNOC_ICP QCOM_ICC_TAG_ALWAYS
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>;
interconnect-names = "ahb",
"hf_mnoc",
"sf_mnoc",
"sf_icp_mnoc";
iommus = <&apps_smmu 0x800 0x60>,
<&apps_smmu 0x860 0x60>,
<&apps_smmu 0x1800 0x60>,
<&apps_smmu 0x1860 0x60>,
<&apps_smmu 0x18e0 0x00>,
<&apps_smmu 0x1980 0x20>,
<&apps_smmu 0x1900 0x00>,
<&apps_smmu 0x19a0 0x20>;
power-domains = <&camcc CAM_CC_IFE_0_GDSC>,
<&camcc CAM_CC_IFE_1_GDSC>,
<&camcc CAM_CC_TITAN_TOP_GDSC>;
power-domain-names = "ife0",
"ife1",
"top";
vdd-csiphy-0p8-supply = <&csiphy_0p8_supply>;
vdd-csiphy-1p2-supply = <&csiphy_1p2_supply>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csiphy_ep0: endpoint {
data-lanes = <0 1>;
remote-endpoint = <&sensor_ep>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 155: MEDIA_BUS_TYPE_CSI2_CPHY
Line 156: MEDIA_BUS_TYPE_CSI2_DPHY
Raspberry Pi PiSP Image Signal Processor (ISP) Back End
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/raspberrypi,pispbe.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>", "Jacopo Mondi <jacopo.mondi@ideasonboard.com>"
The Raspberry Pi PiSP Image Signal Processor (ISP) Back End is an image processor that fetches images in Bayer or Grayscale format from DRAM memory in tiles and produces images consumable by applications.
The full ISP documentation is available at https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Item 2
Exact value (
const):"raspberrypi,pispbe"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
isp@880000 {
compatible = "brcm,bcm2712-pispbe", "raspberrypi,pispbe";
reg = <0x10 0x00880000 0x0 0x4000>;
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&firmware_clocks 7>;
iommus = <&iommu2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Raspberry Pi PiSP Camera Front End
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/raspberrypi,rp1-cfe.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>", "Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>"
The Raspberry Pi PiSP Camera Front End is a module in Raspberrypi 5's RP1 I/O controller, that contains: - MIPI D-PHY - MIPI CSI-2 receiver - Simple image processor (called PiSP Front End, or FE)
The FE documentation is available at: https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf
The PHY and CSI-2 receiver part have no public documentation.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"raspberrypi,rp1-cfe"
reg — required here #
Array item rules (items) #
Item 1
CSI-2 registers
Item 2
D-PHY registers
Item 3
MIPI CFG (a simple top-level mux) registers
Item 4
FE registers
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
port — not listed as 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.
CSI-2 RX Port
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "data-lanes"
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
rp1 {
#address-cells = <2>;
#size-cells = <2>;
csi@110000 {
compatible = "raspberrypi,rp1-cfe";
reg = <0xc0 0x40110000 0x0 0x100>,
<0xc0 0x40114000 0x0 0x100>,
<0xc0 0x40120000 0x0 0x100>,
<0xc0 0x40124000 0x0 0x1000>;
interrupts = <42>;
clocks = <&rp1_clocks>;
port {
csi_ep: endpoint {
remote-endpoint = <&cam_endpoint>;
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)
Generic Infrared Remote Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mauro Carvalho Chehab <mchehab@kernel.org>", "Sean Young <sean@mess.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^ir(-receiver)?(@[a-f0-9]+)?$"
linux,rc-map-name — not listed as required here #
Specifies the scancode/key mapping table defined in-kernel for the remote controller.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "rc-adstech-dvb-t-pci", "rc-alink-dtu-m", "rc-anysee", "rc-apac-viewcomp", "rc-astrometa-t2hybrid", "rc-asus-pc39", "rc-asus-ps3-100", "rc-ati-tv-wonder-hd-600", "rc-ati-x10", "rc-avermedia", "rc-avermedia-a16d", "rc-avermedia-cardbus", "rc-avermedia-dvbt", "rc-avermedia-m135a", "rc-avermedia-m733a-rm-k6", "rc-avermedia-rm-ks", "rc-avertv-303", "rc-azurewave-ad-tu700", "rc-beelink-gs1", "rc-beelink-mxiii", "rc-behold", "rc-behold-columbus", "rc-budget-ci-old", "rc-cec", "rc-cinergy", "rc-cinergy-1400", "rc-ct-90405", "rc-d680-dmb", "rc-delock-61959", "rc-dib0700-nec", "rc-dib0700-rc5", "rc-digitalnow-tinytwin", "rc-digittrade", "rc-dm1105-nec", "rc-dntv-live-dvb-t", "rc-dntv-live-dvbt-pro", "rc-dreambox", "rc-dtt200u", "rc-dvbsky", "rc-dvico-mce", "rc-dvico-portable", "rc-em-terratec", "rc-empty", "rc-encore-enltv", "rc-encore-enltv-fm53", "rc-encore-enltv2", "rc-evga-indtube", "rc-eztv", "rc-flydvb", "rc-flyvideo", "rc-fusionhdtv-mce", "rc-gadmei-rm008z", "rc-geekbox", "rc-genius-tvgo-a11mce", "rc-gotview7135", "rc-hauppauge", "rc-hisi-poplar", "rc-hisi-tv-demo", "rc-imon-mce", "rc-imon-pad", "rc-imon-rsc", "rc-iodata-bctv7e", "rc-it913x-v1", "rc-it913x-v2", "rc-kaiomy", "rc-khadas", "rc-khamsin", "rc-kworld-315u", "rc-kworld-pc150u", "rc-kworld-plus-tv-analog", "rc-leadtek-y04g0051", "rc-lme2510", "rc-manli", "rc-mecool-kii-pro", "rc-mecool-kiii-pro", "rc-medion-x10", "rc-medion-x10-digitainer", "rc-medion-x10-or2x", "rc-minix-neo", "rc-msi-digivox-ii", "rc-msi-digivox-iii", "rc-msi-tvanywhere", "rc-msi-tvanywhere-plus", "rc-mygica-utv3", "rc-nebula", "rc-nec-terratec-cinergy-xs", "rc-norwood", "rc-npgtech", "rc-odroid", "rc-pctv-sedna", "rc-pine64", "rc-pinnacle-color", "rc-pinnacle-grey", "rc-pinnacle-pctv-hd", "rc-pixelview", "rc-pixelview-002t", "rc-pixelview-mk12", "rc-pixelview-new", "rc-powercolor-real-angel", "rc-proteus-2309", "rc-purpletv", "rc-pv951", "rc-rc5-tv", "rc-rc6-mce", "rc-real-audio-220-32-keys", "rc-reddo", "rc-snapstream-firefly", "rc-streamzap", "rc-su3000", "rc-tanix-tx3mini", "rc-tanix-tx5max", "rc-tbs-nec", "rc-technisat-ts35", "rc-technisat-usb2", "rc-terratec-cinergy-c-pci", "rc-terratec-cinergy-s2-hd", "rc-terratec-cinergy-xs", "rc-terratec-slim", "rc-terratec-slim-2", "rc-tevii-nec", "rc-tivo", "rc-total-media-in-hand", "rc-total-media-in-hand-02", "rc-trekstor", "rc-tt-1500", "rc-twinhan-dtv-cab-ci", "rc-twinhan1027", "rc-videomate-k100", "rc-videomate-s350", "rc-videomate-tv-pvr", "rc-videostrong-kii-pro", "rc-vega-s9x", "rc-wetek-hub", "rc-wetek-play2", "rc-winfast", "rc-winfast-usbii-deluxe", "rc-x96max", "rc-xbox-360", "rc-xbox-dvd", "rc-zx-irdec"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Renesas Capture Engine Unit (CEU)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,ceu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo+renesas@jmondi.org>", "linux-renesas-soc@vger.kernel.org"
The Capture Engine Unit is the image capture interface found in the Renesas SH Mobile, R-Mobile and RZ SoCs. The interface supports a single parallel input with data bus width of 8 or 16 bits.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "renesas,r7s72100-ceu", "renesas,r8a7740-ceu"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
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): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
field-even-active — not listed as required here
false — Not permitted by this property rule.
bus-width — not listed as required here
Default value (default): 8
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/r7s72100-clock.h>
ceu: ceu@e8210000 {
reg = <0xe8210000 0x209c>;
compatible = "renesas,r7s72100-ceu";
interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp6_clks R7S72100_CLK_CEU>;
power-domains = <&cpg_clocks>;
port {
ceu_in: endpoint {
remote-endpoint = <&ov7670_out>;
hsync-active = <1>;
vsync-active = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Renesas R-Car MIPI CSI-2 receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund@ragnatech.se>"
The R-Car CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas R-Car and RZ/G2 family of devices. It is used in conjunction with the R-Car VIN module, which provides the video capture capabilities.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a774a1-csi2","renesas,r8a774b1-csi2","renesas,r8a774c0-csi2","renesas,r8a774e1-csi2","renesas,r8a7795-csi2","renesas,r8a7796-csi2","renesas,r8a77961-csi2","renesas,r8a77965-csi2","renesas,r8a77970-csi2","renesas,r8a77980-csi2","renesas,r8a77990-csi2","renesas,r8a779a0-csi2","renesas,r8a779g0-csi2","renesas,r8a779h0-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — required here
Maximum number of items (maxItems): 1
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum value (
maximum):4
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node, multiple endpoints describing all the R-Car VIN modules connected the CSI-2 receiver.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7796-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7796-sysc.h>
csi20: csi2@fea80000 {
compatible = "renesas,r8a7796-csi2";
reg = <0xfea80000 0x10000>;
interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 714>;
power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
resets = <&cpg 714>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csi20_in: endpoint {
clock-lanes = <0>;
data-lanes = <1>;
remote-endpoint = <&adv7482_txb>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
csi20vin0: endpoint@0 {
reg = <0>;
remote-endpoint = <&vin0csi20>;
};
csi20vin1: endpoint@1 {
reg = <1>;
remote-endpoint = <&vin1csi20>;
};
csi20vin2: endpoint@2 {
reg = <2>;
remote-endpoint = <&vin2csi20>;
};
csi20vin3: endpoint@3 {
reg = <3>;
remote-endpoint = <&vin3csi20>;
};
csi20vin4: endpoint@4 {
reg = <4>;
remote-endpoint = <&vin4csi20>;
};
csi20vin5: endpoint@5 {
reg = <5>;
remote-endpoint = <&vin5csi20>;
};
csi20vin6: endpoint@6 {
reg = <6>;
remote-endpoint = <&vin6csi20>;
};
csi20vin7: endpoint@7 {
reg = <7>;
remote-endpoint = <&vin7csi20>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 2: Copyright (C) 2020 Renesas Electronics Corp.
Line 22: RZ/G2M
Line 23: RZ/G2N
Line 24: RZ/G2E
Line 25: RZ/G2H
Line 26: R-Car H3
Line 27: R-Car M3-W
Line 28: R-Car M3-W+
Line 29: R-Car M3-N
Line 30: R-Car V3M
Line 31: R-Car V3H
Line 32: R-Car E3
Line 33: R-Car V3U
Line 34: R-Car V4H
Line 35: R-Car V4M
Renesas R-Car Gen3 Digital Radio Interface Controller (DRIF)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,drif.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ramesh Shanmugasundaram <rashanmu@gmail.com>", "Fabrizio Castro <fabrizio.castro.jz@renesas.com>"
R-Car Gen3 DRIF is a SPI like receive only slave device. A general representation of DRIF interfacing with a master device is shown below.
+---------------------+ +---------------------+ | |-----SCK------->|CLK | | Master |-----SS-------->|SYNC DRIFn (slave) | | |-----SD0------->|D0 | | |-----SD1------->|D1 | +---------------------+ +---------------------+
As per datasheet, each DRIF channel (drifn) is made up of two internal channels (drifn0 & drifn1). These two internal channels share the common CLK & SYNC. Each internal channel has its own dedicated resources like irq, dma channels, address space & clock. This internal split is not visible to the external master device.
The device tree model represents each internal channel as a separate node. The internal channels sharing the CLK & SYNC are tied together by their phandles using a property called "renesas,bonding". For the rest of the documentation, unless explicitly stated, the word channel implies an internal channel.
When both internal channels are enabled they need to be managed together as one (i.e.) they cannot operate alone as independent devices. Out of the two, one of them needs to act as a primary device that accepts common properties of both the internal channels. This channel is identified by a property called "renesas,primary-bond".
To summarize,
* When both the internal channels that are bonded together are enabled,
the zeroth channel is selected as primary-bond. This channels accepts
properties common to all the members of the bond.
* When only one of the bonded channels need to be enabled, the property
"renesas,bonding" or "renesas,primary-bond" will have no effect. That
enabled channel can act alone as any other independent device.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a7795-drif","renesas,r8a7796-drif","renesas,r8a77965-drif","renesas,r8a77990-drif"
Item 2
Exact value (
const):"renesas,rcar-gen3-drif"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "fck"
resets — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
dma-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"rx"
renesas,bonding — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle to the other internal channel of DRIF
power-domains — required here #
Maximum number of items (maxItems): 1
renesas,primary-bond — not listed as required here #
Value type (type): "boolean"
Indicates that the channel acts as primary among the bonded channels.
port — not listed as 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.
Child port node corresponding to the data input. The port node must contain at least one endpoint.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/endpoint-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
sync-active — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Indicates sync signal polarity, 0/1 for low/high respectively. This property maps to SYNCAC bit in the hardware manual. The default is 1 (active high).
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "dmas", "dma-names", "renesas,bonding", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #Required in this object (
required):"pinctrl-0","pinctrl-names","port"
Rule 2 #
Condition (
if) #When the condition matches (
then) #Required in this object (
required):"pinctrl-0","pinctrl-names"When the condition does not match (
else) #Properties and child nodes (
properties)
pinctrl-0— not listed as required here
false— Not permitted by this property rule.
pinctrl-names— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
drif00: rif@e6f40000 {
compatible = "renesas,r8a7795-drif",
"renesas,rcar-gen3-drif";
reg = <0 0xe6f40000 0 0x64>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 515>;
clock-names = "fck";
dmas = <&dmac1 0x20>, <&dmac2 0x20>;
dma-names = "rx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
renesas,bonding = <&drif01>;
resets = <&cpg 515>;
renesas,primary-bond;
pinctrl-0 = <&drif0_pins>;
pinctrl-names = "default";
port {
drif0_ep: endpoint {
remote-endpoint = <&tuner_ep>;
};
};
};
drif01: rif@e6f50000 {
compatible = "renesas,r8a7795-drif",
"renesas,rcar-gen3-drif";
reg = <0 0xe6f50000 0 0x64>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 514>;
clock-names = "fck";
dmas = <&dmac1 0x22>, <&dmac2 0x22>;
dma-names = "rx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
renesas,bonding = <&drif00>;
resets = <&cpg 514>;
};
};
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
drif10: rif@e6f60000 {
compatible = "renesas,r8a7795-drif",
"renesas,rcar-gen3-drif";
reg = <0 0xe6f60000 0 0x64>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 513>;
clock-names = "fck";
dmas = <&dmac1 0x24>, <&dmac2 0x24>;
dma-names = "rx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 513>;
renesas,bonding = <&drif11>;
};
drif11: rif@e6f70000 {
compatible = "renesas,r8a7795-drif",
"renesas,rcar-gen3-drif";
reg = <0 0xe6f70000 0 0x64>;
interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 512>;
clock-names = "fck";
dmas = <&dmac1 0x26>, <&dmac2 0x26>;
dma-names = "rx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 512>;
renesas,bonding = <&drif10>;
pinctrl-0 = <&drif1_pins>;
pinctrl-names = "default";
port {
drif1_ep: endpoint {
remote-endpoint = <&tuner_ep1>;
sync-active = <0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 54: R-Car H3
Line 55: R-Car M3-W
Line 56: R-Car M3-N
Line 57: R-Car E3
Line 58: Generic R-Car Gen3 compatible device
Line 156: Example with both internal channels enabled.
Line 157:
Line 158: When interfacing with a third party tuner device with two data pins as shown
Line 159: below.
Line 160:
Line 161: +---------------------+ +---------------------+
Line 162: | |-----SCK------->|CLK |
Line 163: | Master |-----SS-------->|SYNC DRIFn (slave) |
Line 164: | |-----SD0------->|D0 |
Line 165: | |-----SD1------->|D1 |
Line 166: +---------------------+ +---------------------+
Line 213: Example with internal channel 1 alone enabled.
Line 214:
Line 215: When interfacing with a third party tuner device with one data pin as shown
Line 216: below.
Line 217:
Line 218: +---------------------+ +---------------------+
Line 219: | |-----SCK------->|CLK |
Line 220: | Master |-----SS-------->|SYNC DRIFn (slave) |
Line 221: | | |D0 (unused) |
Line 222: | |-----SD-------->|D1 |
Line 223: +---------------------+ +---------------------+
Renesas R-Car Frame Compression Processor (FCP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,fcp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The FCP is a companion module of video processing modules in the Renesas R-Car Gen3 and RZ/G2 SoCs. It provides data compression and decompression, data caching, and conversion of AXI transactions in order to reduce the memory bandwidth.
There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and FCP for FDP (FCPF). Their configuration and behaviour depend on the module they are paired with. These DT bindings currently support the FCPV and FCPF.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043u-fcpvd","renesas,r9a07g044-fcpvd","renesas,r9a07g054-fcpvd","renesas,r9a09g056-fcpvd","renesas,r9a09g057-fcpvd"Item 2
Exact value (
const):"renesas,fcpv"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Main clock
Item 2
Register access clock
Item 3
Video clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"vclk"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,r9a07g043u-fcpvd","renesas,r9a07g044-fcpvd","renesas,r9a07g054-fcpvd","renesas,r9a09g056-fcpvd","renesas,r9a09g057-fcpvd"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/power/r8a7795-sysc.h>
fcp@fea2f000 {
compatible = "renesas,fcpv";
reg = <0xfea2f000 0x200>;
clocks = <&cpg CPG_MOD 602>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 602>;
iommus = <&ipmmu_vi0 9>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 26: FCP for VSP
Line 27: FCP for FDP
Line 30: RZ/G2UL
Line 31: RZ/G2{L,LC}
Line 32: RZ/V2L
Line 33: RZ/V2N
Line 34: RZ/V2H(P)
Line 35: Generic FCP for VSP fallback
Line 95: R8A7795 (R-Car H3) FCP for VSP-D1
Renesas R-Car Fine Display Processor (FDP1)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,fdp1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The FDP1 is a de-interlacing module which converts interlaced video to progressive video. It is capable of performing pixel format conversion between YCbCr/YUV formats and RGB formats. Only YCbCr/YUV formats are supported as an input to the module.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "renesas,fdp1"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
renesas,fcp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle referencing the FCP that handles memory accesses for the FDP1. Not allowed on R-Car Gen2, mandatory on R-Car Gen3.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
fdp1@fe940000 {
compatible = "renesas,fdp1";
reg = <0xfe940000 0x2400>;
interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 119>;
power-domains = <&sysc R8A7795_PD_A3VP>;
resets = <&cpg 119>;
renesas,fcp = <&fcpf0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Renesas R-Car Image Renderer (Distortion Correction Engine)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,imr.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergei Shtylyov <sergei.shtylyov@gmail.com>"
The image renderer, or the distortion correction engine, is a drawing processor with a simple instruction system capable of referencing video capture data or data in an external memory as 2D texture data and performing texture mapping and drawing with respect to any shape that is split into triangular objects.
The image renderer light extended 4 (IMR-LX4) is found in R-Car Gen3 SoCs.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a7795-imr-lx4","renesas,r8a7796-imr-lx4"
Item 2
Exact value (
const):"renesas,imr-lx4"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
imr-lx4@fe860000 {
compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4";
reg = <0xfe860000 0x2000>;
interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 823>;
power-domains = <&sysc R8A7795_PD_A3VC>;
resets = <&cpg 823>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 25: R-Car H3
Line 26: R-Car M3-W
Line 27: R-Car Gen3
Renesas R-Car ISP Channel Selector
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,isp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund@ragnatech.se>"
The R-Car ISP Channel Selector provides MIPI CSI-2 VC and DT filtering capabilities for the Renesas R-Car family of devices. It is used in conjunction with the R-Car VIN and CSI-2 modules, which provides the video capture capabilities.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,r8a779a0-isp","renesas,r8a779g0-isp","renesas,r8a779h0-isp"
Item 2
Exact value (
const):"renesas,rcar-gen4-isp"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cs"
Item 2
Exact value (
const):"core"
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cs"
Item 2
Exact value (
const):"core"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cs"
Item 2
Exact value (
const):"core"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reset-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"cs"
Item 2
Exact value (
const):"core"
renesas,vspx — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the companion VSPX responsible for the Streaming Bridge functionality. The Streaming Bridge is responsible for feeding image and configuration data to the ISP when operating in memory-to-memory mode.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node, multiple endpoints describing the connected R-Car CSI-2 receivers.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 0.
port@2 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 1.
port@3 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 2.
port@4 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 3.
port@5 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 4.
port@6 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 5.
port@7 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 6.
port@8 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Single endpoint describing the R-Car VIN connected to output port 7.
Required in this object (required): "port@0", "port@1", "port@2", "port@3", "port@4", "port@5", "port@6", "port@7", "port@8"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "reset-names", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a779a0-sysc.h>
isp1: isp@fed20000 {
compatible = "renesas,r8a779a0-isp", "renesas,rcar-gen4-isp";
reg = <0xfed20000 0x10000>, <0xfee00000 0x100000>;
reg-names = "cs", "core";
interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "cs", "core";
clocks = <&cpg CPG_MOD 613>, <&cpg CPG_MOD 17>;
clock-names = "cs", "core";
power-domains = <&sysc R8A779A0_PD_A3ISP01>;
resets = <&cpg 613>, <&cpg 17>;
reset-names = "cs", "core";
renesas,vspx = <&vspx1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
isp1csi41: endpoint@1 {
reg = <1>;
remote-endpoint = <&csi41isp1>;
};
};
port@1 {
reg = <1>;
isp1vin08: endpoint {
remote-endpoint = <&vin08isp1>;
};
};
port@2 {
reg = <2>;
isp1vin09: endpoint {
remote-endpoint = <&vin09isp1>;
};
};
port@3 {
reg = <3>;
isp1vin10: endpoint {
remote-endpoint = <&vin10isp1>;
};
};
port@4 {
reg = <4>;
isp1vin11: endpoint {
remote-endpoint = <&vin11isp1>;
};
};
port@5 {
reg = <5>;
isp1vin12: endpoint {
remote-endpoint = <&vin12isp1>;
};
};
port@6 {
reg = <6>;
isp1vin13: endpoint {
remote-endpoint = <&vin13isp1>;
};
};
port@7 {
reg = <7>;
isp1vin14: endpoint {
remote-endpoint = <&vin14isp1>;
};
};
port@8 {
reg = <8>;
isp1vin15: endpoint {
remote-endpoint = <&vin15isp1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 2: Copyright (C) 2021 Renesas Electronics Corp.
Line 23: V3U
Line 24: V4H
Line 25: V4M
Line 26: Generic R-Car Gen4
Renesas JPEG Processing Unit
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,jpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>"
The JPEG processing unit (JPU) incorporates the JPEG codec with an encoding and decoding function conforming to the JPEG baseline process, so that the JPU can encode image data and decode JPEG data quickly.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"renesas,jpu-r8a7790","renesas,jpu-r8a7791","renesas,jpu-r8a7792","renesas,jpu-r8a7793"
Item 2
Exact value (
const):"renesas,rcar-gen2-jpu"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
jpeg-codec@fe980000 {
compatible = "renesas,jpu-r8a7790", "renesas,rcar-gen2-jpu";
reg = <0xfe980000 0x10300>;
interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 106>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 106>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 21: R-Car H2
Line 22: R-Car M2-W
Line 23: R-Car V2H
Line 24: R-Car M2-N
Line 25: R-Car Gen2
Renesas RZ/V2H(P) Input Video Control Block
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,r9a09g057-ivc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Scally <dan.scally@ideasonboard.com>"
The IVC block is a module that takes video frames from memory and feeds them to the Image Signal Processor for processing.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,r9a09g057-ivc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Input Video Control block register access clock
Item 2
Video input data AXI bus clock
Item 3
ISP system clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"axi"
Item 3
Exact value (
const):"isp"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
Input Video Control block register access reset
Item 2
Video input data AXI bus reset
Item 3
ISP core reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"reg"
Item 2
Exact value (
const):"axi"
Item 3
Exact value (
const):"isp"
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output parallel video bus
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "resets", "reset-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/renesas,r9a09g057-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
isp-input@16040000 {
compatible = "renesas,r9a09g057-ivc";
reg = <0x16040000 0x230>;
clocks = <&cpg CPG_MOD 0xe3>,
<&cpg CPG_MOD 0xe4>,
<&cpg CPG_MOD 0xe5>;
clock-names = "reg", "axi", "isp";
power-domains = <&cpg>;
resets = <&cpg 0xd4>,
<&cpg 0xd1>,
<&cpg 0xd3>;
reset-names = "reg", "axi", "isp";
interrupts = <GIC_SPI 861 IRQ_TYPE_EDGE_RISING>;
port {
ivc_out: endpoint {
remote-endpoint = <&isp_in>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: RZ/V2H(P)
Renesas RZ/G2L (and alike SoC's) Camera Data Receiving Unit (CRU) Image processing
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,rzg2l-cru.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
The CRU image processing module is a data conversion module equipped with pixel color space conversion, LUT, pixel format conversion, etc. An MIPI CSI-2 input and parallel (including ITU-R BT.656) input are provided as the image sensor interface.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043-cru","renesas,r9a07g044-cru","renesas,r9a07g054-cru"Item 2
Exact value (
const):"renesas,rzg2l-cru"
Rule 2
Exact value (
const):"renesas,r9a09g047-cru"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
CRU Interrupt for image_conv
Item 2
CRU Interrupt for image_conv_err
Item 3
CRU AXI master error interrupt
Rule 2
Array item rules (
items)Item 1
CRU Interrupt for image_conv
Item 2
CRU AXI master error interrupt
Item 3
CRU Video Data AXI Master Address 0 Write End interrupt
Item 4
CRU Statistics data AXI master addr 0 write end interrupt
Item 5
CRU Video statistics data AXI master addr 0 write end interrupt
interrupt-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"image_conv"Item 2
Exact value (
const):"image_conv_err"Item 3
Exact value (
const):"axi_mst_err"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"image_conv"Item 2
Exact value (
const):"axi_mst_err"Item 3
Exact value (
const):"vd_addr_wend"Item 4
Exact value (
const):"sd_addr_wend"Item 5
Exact value (
const):"vsd_addr_wend"
clocks — required here #
Array item rules (items) #
Item 1
CRU Main clock
Item 2
CRU Register access clock
Item 3
CRU image transfer clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"video"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"axi"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
CRU_PRESETN reset terminal
Item 2
CRU_ARESETN reset terminal
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"presetn"
Item 2
Exact value (
const):"aresetn"
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port node, single endpoint describing a parallel input source.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
bus-width — not listed as required here
true — No constraints added by this property rule.
data-shift — not listed as required here
true — No constraints added by this property rule.
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node, describing the Image Processing module connected to the CSI-2 receiver.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "resets", "reset-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,r9a07g044-cru","renesas,r9a07g054-cru"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):3
interrupt-names— not listed as required hereMaximum number of items (
maxItems):3
ports— not listed as required here
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):3
interrupt-names— not listed as required hereMaximum number of items (
maxItems):3
ports— not listed as required hereProperties and child nodes (
properties)
port@0— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g047-cru"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):5
interrupt-names— not listed as required hereMinimum number of items (
minItems):5
ports— not listed as required hereProperties and child nodes (
properties)
port@0— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
cru: video@10830000 {
compatible = "renesas,r9a07g044-cru", "renesas,rzg2l-cru";
reg = <0x10830000 0x400>;
interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "image_conv", "image_conv_err", "axi_mst_err";
clocks = <&cpg CPG_MOD R9A07G044_CRU_VCLK>,
<&cpg CPG_MOD R9A07G044_CRU_PCLK>,
<&cpg CPG_MOD R9A07G044_CRU_ACLK>;
clock-names = "video", "apb", "axi";
power-domains = <&cpg>;
resets = <&cpg R9A07G044_CRU_PRESETN>,
<&cpg R9A07G044_CRU_ARESETN>;
reset-names = "presetn", "aresetn";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
cru_parallel_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&ov5642>;
hsync-active = <1>;
vsync-active = <1>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
cru_csi_in: endpoint@0 {
reg = <0>;
remote-endpoint = <&csi_cru_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) 2022 Renesas Electronics Corp.
Line 23: RZ/G2UL
Line 24: RZ/G2{L,LC}
Line 25: RZ/V2L
Line 27: RZ/G3E
Line 178: Device node example with CSI-2
Renesas RZ/G2L (and alike SoC's) MIPI CSI-2 receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,rzg2l-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
The CSI-2 receiver device provides MIPI CSI-2 capabilities for the Renesas RZ/G2L (and alike SoCs). MIPI CSI-2 is part of the CRU block which is used in conjunction with the Image Processing module, which provides the video capture capabilities.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043-csi2","renesas,r9a07g044-csi2","renesas,r9a07g054-csi2"Item 2
Exact value (
const):"renesas,rzg2l-csi2"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a09g047-csi2"Item 2
Exact value (
const):"renesas,r9a09g057-csi2"
Rule 3
Exact value (
const):"renesas,r9a09g057-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Internal clock for connecting CRU and MIPI
Item 2
CRU Main clock
Item 3
CRU Register access clock
Rule 2
Array item rules (
items)Item 1
CRU Main clock
Item 2
CRU Register access clock
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"system"Item 2
Exact value (
const):"video"Item 3
Exact value (
const):"apb"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"video"Item 2
Exact value (
const):"apb"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Array item rules (items) #
Item 1
CRU_PRESETN reset terminal
Item 2
D-PHY reset (CRU_CMN_RSTB or CRU_n_S_RESETN)
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"presetn"
Item 2
Exact value (
const):"cmn-rstb"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node, single endpoint describing the CSI-2 transmitter.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Maximum value (
maximum):4
Required in this object (required): "clock-lanes", "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node, Image Processing block connected to the CSI-2 receiver.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "resets", "reset-names", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g057-csi2"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
csi: csi@10830400 {
compatible = "renesas,r9a07g044-csi2", "renesas,rzg2l-csi2";
reg = <0x10830400 0xfc00>;
interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD R9A07G044_CRU_SYSCLK>,
<&cpg CPG_MOD R9A07G044_CRU_VCLK>,
<&cpg CPG_MOD R9A07G044_CRU_PCLK>;
clock-names = "system", "video", "apb";
power-domains = <&cpg>;
resets = <&cpg R9A07G044_CRU_PRESETN>,
<&cpg R9A07G044_CRU_CMN_RSTB>;
reset-names = "presetn", "cmn-rstb";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
csi2_in: endpoint {
clock-lanes = <0>;
data-lanes = <1 2>;
remote-endpoint = <&ov5645_ep>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
csi2cru: endpoint@0 {
reg = <0>;
remote-endpoint = <&crucsi2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Renesas Electronics Corp.
Line 23: RZ/G2UL
Line 24: RZ/G2{L,LC}
Line 25: RZ/V2L
Line 28: RZ/G3E
Line 30: RZ/V2H(P)
Renesas R-Car Video Input (VIN)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,vin.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Niklas Söderlund <niklas.soderlund@ragnatech.se>"
The R-Car Video Input (VIN) device provides video input capabilities for the Renesas R-Car family of devices. Each VIN instance has a single parallel input that supports RGB and YUV video, with both external synchronization and BT.656 synchronization for the latter. Depending on the instance the VIN input is connected to external SoC pins, or on Gen3 and RZ/G2 platforms to a CSI-2 receiver.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,vin-r8a7742","renesas,vin-r8a7743","renesas,vin-r8a7744","renesas,vin-r8a7745","renesas,vin-r8a77470","renesas,vin-r8a7790","renesas,vin-r8a7791","renesas,vin-r8a7792","renesas,vin-r8a7793","renesas,vin-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-vin"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,vin-r8a774a1","renesas,vin-r8a774b1","renesas,vin-r8a774c0","renesas,vin-r8a774e1","renesas,vin-r8a7778","renesas,vin-r8a7779","renesas,vin-r8a7795","renesas,vin-r8a7796","renesas,vin-r8a77961","renesas,vin-r8a77965","renesas,vin-r8a77970","renesas,vin-r8a77980","renesas,vin-r8a77990","renesas,vin-r8a77995"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,vin-r8a779a0","renesas,vin-r8a779g0","renesas,vin-r8a779h0"Item 2
Exact value (
const):"renesas,rcar-gen4-vin"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
port — not listed as 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.
A node containing a parallel input
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsync-active — not listed as required here
If both HSYNC and VSYNC polarities are not specified, embedded synchronization is selected.
Default value (default): 1
vsync-active — not listed as required here
If both HSYNC and VSYNC polarities are not specified, embedded synchronization is selected.
Default value (default): 1
field-even-active — not listed as required here
true — No constraints added by this property rule.
bus-width — not listed as required here
true — No constraints added by this property rule.
data-shift — not listed as required here
true — No constraints added by this property rule.
data-enable-active — not listed as required here
Polarity of CLKENB signal
Default value (default): 1
pclk-sample — not listed as required here
true — No constraints added by this property rule.
data-active — not listed as required here
true — No constraints added by this property rule.
renesas,id — not listed as required here #
VIN channel number
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port node, single endpoint describing a parallel input source.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
hsync-active — not listed as required here
If both HSYNC and VSYNC polarities are not specified, embedded synchronization is selected.
Default value (default): 1
vsync-active — not listed as required here
If both HSYNC and VSYNC polarities are not specified, embedded synchronization is selected.
Default value (default): 1
field-even-active — not listed as required here
true — No constraints added by this property rule.
bus-width — not listed as required here
true — No constraints added by this property rule.
data-shift — not listed as required here
true — No constraints added by this property rule.
data-enable-active — not listed as required here
Polarity of CLKENB signal
Default value (default): 1
pclk-sample — not listed as required here
true — No constraints added by this property rule.
data-active — not listed as required here
true — No constraints added by this property rule.
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node, multiple endpoints describing all the R-Car CSI-2 modules connected the VIN.
Properties and child nodes (properties)
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to CSI20.
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to CSI21.
endpoint@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to CSI40.
endpoint@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to CSI41.
At least one of these rules must match (anyOf)
Rule 1
Rule 2
Rule 3
Rule 4
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port node, multiple endpoints describing all the R-Car ISP modules connected the VIN.
Properties and child nodes (properties)
endpoint@0 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to ISP0.
endpoint@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to ISP1.
endpoint@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to ISP2.
endpoint@3 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/endpoint
Endpoint connected to ISP3.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,vin-r8a7778","renesas,vin-r8a7779"When the condition matches (
then) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,vin-r8a7778","renesas,vin-r8a7779","renesas,rcar-gen2-vin"When the condition matches (
then) #When the condition does not match (
else) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
vin1: vin@e6ef1000 {
compatible = "renesas,vin-r8a7790",
"renesas,rcar-gen2-vin";
reg = <0xe6ef1000 0x1000>;
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 810>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 810>;
port {
vin1ep0: endpoint {
remote-endpoint = <&adv7180>;
bus-width = <8>;
};
};
};
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
vin0: video@e6ef0000 {
compatible = "renesas,vin-r8a7795";
reg = <0xe6ef0000 0x1000>;
interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 811>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 811>;
renesas,id = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
vin0csi20: endpoint@0 {
reg = <0>;
remote-endpoint = <&csi20vin0>;
};
vin0csi40: endpoint@2 {
reg = <2>;
remote-endpoint = <&csi40vin0>;
};
};
};
};
#include <dt-bindings/clock/r8a77970-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a77970-sysc.h>
vin2: video@e6ef2000 {
compatible = "renesas,vin-r8a77970";
reg = <0xe6ef2000 0x1000>;
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 809>;
power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
resets = <&cpg 809>;
renesas,id = <2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
vin2_in: endpoint {
remote-endpoint = <&adv7612_out>;
hsync-active = <0>;
vsync-active = <0>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
vin2csi40: endpoint@2 {
reg = <2>;
remote-endpoint = <&csi40vin2>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 2: Copyright (C) 2020 Renesas Electronics Corp.
Line 27: RZ/G1H
Line 28: RZ/G1M
Line 29: RZ/G1N
Line 30: RZ/G1E
Line 31: RZ/G1C
Line 32: R-Car H2
Line 33: R-Car M2-W
Line 34: R-Car V2H
Line 35: R-Car M2-N
Line 36: R-Car E2
Line 37: Generic R-Car Gen2 or RZ/G1
Line 41: RZ/G2M
Line 42: RZ/G2N
Line 43: RZ/G2E
Line 44: RZ/G2H
Line 45: R-Car M1
Line 46: R-Car H1
Line 47: R-Car H3
Line 48: R-Car M3-W
Line 49: R-Car M3-W+
Line 50: R-Car M3-N
Line 51: R-Car V3M
Line 52: R-Car V3H
Line 53: R-Car E3
Line 54: R-Car D3
Line 57: R-Car V3U
Line 58: R-Car V4H
Line 59: R-Car V4M
Line 60: Generic R-Car Gen4
Line 77: The per-board settings for Gen2 and RZ/G1 platforms:
Line 116: The per-board settings for Gen3 and RZ/G2 platforms:
Line 260: Device node example for Gen2 platform
Line 283: Device node example for Gen3 platform with only CSI-2
Line 320: Device node example for Gen3 platform with CSI-2 and parallel
Renesas VSP Video Processing Engine
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/renesas,vsp1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
The VSP is a video processing engine that supports up-/down-scaling, alpha blending, color space conversion and various other image processing features. It can be found in the Renesas R-Car Gen2, R-Car Gen3, RZ/G1, and RZ/G2 SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"renesas,r9a07g044-vsp2","renesas,vsp1","renesas,vsp2"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043u-vsp2","renesas,r9a07g054-vsp2","renesas,r9a09g056-vsp2","renesas,r9a09g057-vsp2"Item 2
Exact value (
const):"renesas,r9a07g044-vsp2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Main clock
Item 2
Register access clock
Item 3
Video clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"vclk"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
renesas,fcp — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle referencing the FCP that handles memory accesses for the VSP.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,vsp1"When the condition matches (
then) #Properties and child nodes (
properties)
renesas,fcp— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a07g044-vsp2"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
vsp@fe928000 {
compatible = "renesas,vsp1";
reg = <0xfe928000 0x8000>;
interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 131>;
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 131>;
};
#include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
vsp@fe920000 {
compatible = "renesas,vsp2";
reg = <0xfe920000 0x8000>;
interrupts = <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 624>;
power-domains = <&sysc R8A7795_PD_A3VP>;
resets = <&cpg 624>;
renesas,fcp = <&fcpvb1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 21: RZ/G2L
Line 22: R-Car Gen2 and RZ/G1
Line 23: R-Car Gen3 and RZ/G2
Line 26: RZ/G2UL
Line 27: RZ/V2L
Line 28: RZ/V2N
Line 29: RZ/V2H(P)
Line 30: RZ/G2L fallback
Line 103: R8A7790 (R-Car H2) VSP1-S
Line 118: R8A77951 (R-Car H3) VSP2-BC
Rockchip PX30 Video Input Processor (VIP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,px30-vip.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mehdi Djait <mehdi.djait@linux.intel.com>", "Michael Riesch <michael.riesch@collabora.com>"
The Rockchip PX30 Video Input Processor (VIP) receives the data from a camera sensor or CCIR656 encoder and transfers it into system main memory by AXI bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,px30-vip"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
ACLK
Item 2
HCLK
Item 3
PCLK
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"hclk"
Item 3
Exact value (
const):"pclk"
resets — not listed as required here #
Array item rules (items) #
Item 1
AXI
Item 2
AHB
Item 3
PCLK IN
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"pclkin"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
input port on the parallel interface
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
Required in this object (required): "bus-type"
Required in this object (required): "port@0"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/px30-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/power/px30-power.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
video-capture@ff490000 {
compatible = "rockchip,px30-vip";
reg = <0x0 0xff490000 0x0 0x200>;
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_CIF>, <&cru HCLK_CIF>, <&cru PCLK_CIF>;
clock-names = "aclk", "hclk", "pclk";
power-domains = <&power PX30_PD_VI>;
resets = <&cru SRST_CIF_A>, <&cru SRST_CIF_H>, <&cru SRST_CIF_PCLKIN>;
reset-names = "axi", "ahb", "pclkin";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
cif_in: endpoint {
remote-endpoint = <&tw9900_out>;
bus-type = <MEDIA_BUS_TYPE_BT656>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 71: MEDIA_BUS_TYPE_PARALLEL
Line 72: MEDIA_BUS_TYPE_BT656
Rockchip MIPI CSI-2 Receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,rk3568-mipi-csi2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Riesch <michael.riesch@collabora.com>"
The Rockchip MIPI CSI-2 Receiver is a CSI-2 bridge with one input port and one output port. It receives the data with the help of an external MIPI PHY (C-PHY or D-PHY) and passes it to the Rockchip Video Capture (VICAP) block.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3568-mipi-csi2"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Interrupt that signals changes in CSI2HOST_ERR1.
Item 2
Interrupt that signals changes in CSI2HOST_ERR2.
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"err1"
Item 2
Exact value (
const):"err2"
clocks — required here #
Maximum number of items (maxItems): 1
phys — required here #
Maximum number of items (maxItems): 1
MIPI C-PHY or D-PHY.
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port node. Connect to e.g., a MIPI CSI-2 image sensor.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
data-lanes — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "bus-type", "data-lanes"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port connected to a Rockchip VICAP port.
Required in this object (required): "port@0", "port@1"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "phys", "ports", "power-domains", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/power/rk3568-power.h>
soc {
interrupt-parent = <&gic>;
#address-cells = <2>;
#size-cells = <2>;
csi: csi@fdfb0000 {
compatible = "rockchip,rk3568-mipi-csi2";
reg = <0x0 0xfdfb0000 0x0 0x10000>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "err1", "err2";
clocks = <&cru PCLK_CSI2HOST1>;
phys = <&csi_dphy>;
power-domains = <&power RK3568_PD_VI>;
resets = <&cru SRST_P_CSI2HOST1>;
ports {
#address-cells = <1>;
#size-cells = <0>;
csi_in: port@0 {
reg = <0>;
csi_input: endpoint {
bus-type = <MEDIA_BUS_TYPE_CSI2_DPHY>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&imx415_output>;
};
};
csi_out: port@1 {
reg = <1>;
csi_output: endpoint {
remote-endpoint = <&vicap_mipi_input>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 59: MEDIA_BUS_TYPE_CSI2_CPHY
Line 60: MEDIA_BUS_TYPE_CSI2_DPHY
Hantro G1 VPU encoders implemented on Rockchip SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,rk3568-vepu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nicolas Frattaroli <frattaroli.nicolas@gmail.com>"
Hantro G1 video encode-only accelerators present on Rockchip SoCs.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "rockchip,rk3568-vepu", "rockchip,rk3588-vepu121"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"hclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3568-power.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
vepu: video-codec@fdee0000 {
compatible = "rockchip,rk3568-vepu";
reg = <0x0 0xfdee0000 0x0 0x800>;
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_JENC>, <&cru HCLK_JENC>;
clock-names = "aclk", "hclk";
iommus = <&vepu_mmu>;
power-domains = <&power RK3568_PD_RGA>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Rockchip RK3568 Video Capture (VICAP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,rk3568-vicap.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Riesch <michael.riesch@collabora.com>"
The Rockchip RK3568 Video Capture (VICAP) block features a digital video port (DVP, a parallel video interface) and a MIPI CSI-2 port. It receives the data from camera sensors, video decoders, or other companion ICs and transfers it into system main memory by AXI bus.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rockchip,rk3568-vicap"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
ACLK
Item 2
HCLK
Item 3
DCLK
Item 4
ICLK
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"hclk"
Item 3
Exact value (
const):"dclk"
Item 4
Exact value (
const):"iclk"
iommus — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Array item rules (items) #
Item 1
ARST
Item 2
HRST
Item 3
DRST
Item 4
PRST
Item 5
IRST
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"arst"
Item 2
Exact value (
const):"hrst"
Item 3
Exact value (
const):"drst"
Item 4
Exact value (
const):"prst"
Item 5
Exact value (
const):"irst"
rockchip,grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to general register file used for video input block control.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
The digital video port (DVP, a parallel video interface).
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
rockchip,dvp-clk-delay — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
Minimum value (minimum): 0
Maximum value (maximum): 127
Delay the DVP path clock input to align the sampling phase, only valid in dual edge sampling mode. Delay is zero by default and can be adjusted optionally.
Required in this object (required): "bus-type"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Port connected to the MIPI CSI-2 receiver output.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3568-power.h>
#include <dt-bindings/media/video-interfaces.h>
soc {
#address-cells = <2>;
#size-cells = <2>;
vicap: video-capture@fdfe0000 {
compatible = "rockchip,rk3568-vicap";
reg = <0x0 0xfdfe0000 0x0 0x200>;
interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
assigned-clocks = <&cru DCLK_VICAP>;
assigned-clock-rates = <300000000>;
clocks = <&cru ACLK_VICAP>, <&cru HCLK_VICAP>,
<&cru DCLK_VICAP>, <&cru ICLK_VICAP_G>;
clock-names = "aclk", "hclk", "dclk", "iclk";
iommus = <&vicap_mmu>;
power-domains = <&power RK3568_PD_VI>;
resets = <&cru SRST_A_VICAP>, <&cru SRST_H_VICAP>,
<&cru SRST_D_VICAP>, <&cru SRST_P_VICAP>,
<&cru SRST_I_VICAP>;
reset-names = "arst", "hrst", "drst", "prst", "irst";
rockchip,grf = <&grf>;
ports {
#address-cells = <1>;
#size-cells = <0>;
vicap_dvp: port@0 {
reg = <0>;
vicap_dvp_input: endpoint {
bus-type = <MEDIA_BUS_TYPE_BT656>;
bus-width = <16>;
pclk-sample = <MEDIA_PCLK_SAMPLE_DUAL_EDGE>;
remote-endpoint = <&it6801_output>;
};
};
vicap_mipi: port@1 {
reg = <1>;
vicap_mipi_input: endpoint {
remote-endpoint = <&csi_output>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 85: MEDIA_BUS_TYPE_PARALLEL
Line 86: MEDIA_BUS_TYPE_BT656
Rockchip Video Decoder (VDec)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip,vdec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"
Rockchip SoCs have variants of the same stateless Video Decoder that can decodes H.264, HEVC, VP9 and AV1 streams, depending on the variant.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"rockchip,rk3288-vdec"
Rule 2
Exact value (
const):"rockchip,rk3399-vdec"
Rule 3
Exact value (
const):"rockchip,rk3576-vdec"
Rule 4
Exact value (
const):"rockchip,rk3588-vdec"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"rockchip,rk3228-vdec","rockchip,rk3328-vdec"Item 2
Exact value (
const):"rockchip,rk3399-vdec"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"link"Item 2
Exact value (
const):"function"Item 3
Exact value (
const):"cache"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"function"Item 2
Exact value (
const):"link"Item 3
Exact value (
const):"cache"Deprecated (
deprecated):trueUse link,function,cache block order instead.
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
The Video Decoder AXI interface clock
Item 2
The Video Decoder AHB interface clock
Item 3
The Video Decoded CABAC clock
Item 4
The Video Decoder core clock
Item 5
The Video decoder HEVC CABAC clock
clock-names — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"cabac"
Item 4
Exact value (
const):"core"
Item 5
Exact value (
const):"hevc_cabac"
assigned-clocks — not listed as required here #
true — No constraints added by this property rule.
assigned-clock-rates — not listed as required here #
true — No constraints added by this property rule.
resets — not listed as required here #
Array item rules (items) #
Item 1
The Video Decoder AXI interface reset
Item 2
The Video Decoder AHB interface reset
Item 3
The Video Decoded CABAC reset
Item 4
The Video Decoder core reset
Item 5
The Video decoder HEVC CABAC reset
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"ahb"
Item 3
Exact value (
const):"cabac"
Item 4
Exact value (
const):"core"
Item 5
Exact value (
const):"hevc_cabac"
power-domains — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
sram — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phandle to a reserved on-chip SRAM regions. Some SoCs, like rk3588 provide on-chip SRAM to store temporary buffers during decoding.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"rockchip,rk3576-vdec","rockchip,rk3588-vdec"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):3
reg-names— required hereMinimum number of items (
minItems):3
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereMinimum number of items (
minItems):5
resets— not listed as required hereMinimum number of items (
minItems):5
reset-names— not listed as required hereMinimum number of items (
minItems):5When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required here
false— Not permitted by this property rule.
clocks— not listed as required hereMaximum number of items (
maxItems):4
clock-names— not listed as required hereMaximum number of items (
maxItems):4
resets— not listed as required here
false— Not permitted by this property rule.
reset-names— not listed as required here
false— Not permitted by this property rule.
sram— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/power/rk3399-power.h>
vdec: video-codec@ff660000 {
compatible = "rockchip,rk3399-vdec";
reg = <0xff660000 0x400>;
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru ACLK_VDU>, <&cru HCLK_VDU>,
<&cru SCLK_VDU_CA>, <&cru SCLK_VDU_CORE>;
clock-names = "axi", "ahb", "cabac", "core";
power-domains = <&power RK3399_PD_VDU>;
iommus = <&vdec_mmu>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Rockchip SoC Image Signal Processing unit v1
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip-isp1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Helen Koike <helen.koike@collabora.com>"
Rockchip ISP1 is the Camera interface for the Rockchip series of SoCs which contains image processing, scaling, and compression functions.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx8mp-isp", "rockchip,px30-cif-isp", "rockchip,rk3399-cif-isp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"isp"
Item 2
Exact value (
const):"mi"
Item 3
Exact value (
const):"mipi"
clocks — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
ISP clock (for imx8mp, clk)
Item 2
ISP AXI clock (for imx8mp, m_hclk)
Item 3
ISP AHB clock (for imx8mp, hclk)
Item 4
ISP Pixel clock
clock-names — required here #
Minimum number of items (minItems): 3
Array item rules (items) #
Item 1
Exact value (
const):"isp"
Item 2
Exact value (
const):"aclk"
Item 3
Exact value (
const):"hclk"
Item 4
Exact value (
const):"pclk"
fsl,blk-ctrl — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Maximum number of items (maxItems): 1
A phandle to the media block control for the ISP, followed by a cell containing the index of the gasket.
iommus — not listed as required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phandle for the PHY port
phy-names — not listed as required here #
Exact value (const): "dphy"
power-domains — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
ISP power domain
Item 2
MIPI CSI-2 power domain
power-domain-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"isp"
Item 2
Exact value (
const):"csi2"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
connection point for sensors at MIPI-DPHY RX0
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
port@1 — not listed as 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.
connection point for input on the parallel interface
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
Required in this object (required): "bus-type"
At least one of these rules must match (anyOf) #
Rule 1
Rule 2
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,rk3399-cif-isp"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):4
clock-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):4
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"rockchip,px30-cif-isp"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx8mp-isp"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4
clock-names— not listed as required hereMinimum number of items (
minItems):4
iommus— not listed as required here
false— Not permitted by this property rule.
phys— not listed as required here
false— Not permitted by this property rule.
phy-names— not listed as required here
false— Not permitted by this property rule.
power-domains— not listed as required hereMinimum number of items (
minItems):2
power-domain-names— required hereMinimum number of items (
minItems):2Required in this object (
required):"fsl,blk-ctrl","power-domain-names"When the condition does not match (
else) #Properties and child nodes (
properties)
fsl,blk-ctrl— not listed as required here
false— Not permitted by this property rule.
power-domains— not listed as required hereMaximum number of items (
maxItems):1
power-domain-names— not listed as required here
false— Not permitted by this property rule.Required in this object (
required):"iommus","phys","phy-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3399-power.h>
parent0: parent {
#address-cells = <2>;
#size-cells = <2>;
isp0: isp0@ff910000 {
compatible = "rockchip,rk3399-cif-isp";
reg = <0x0 0xff910000 0x0 0x4000>;
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&cru SCLK_ISP0>,
<&cru ACLK_ISP0_WRAPPER>,
<&cru HCLK_ISP0_WRAPPER>;
clock-names = "isp", "aclk", "hclk";
iommus = <&isp0_mmu>;
phys = <&dphy>;
phy-names = "dphy";
power-domains = <&power RK3399_PD_ISP0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in_wcam: endpoint@0 {
reg = <0>;
remote-endpoint = <&wcam_out>;
data-lanes = <1 2>;
};
mipi_in_ucam: endpoint@1 {
reg = <1>;
remote-endpoint = <&ucam_out>;
data-lanes = <1>;
};
};
};
};
i2c7: i2c {
#address-cells = <1>;
#size-cells = <0>;
wcam: camera@36 {
compatible = "ovti,ov5695";
reg = <0x36>;
clocks = <&cru SCLK_TESTCLKOUT1>;
port {
wcam_out: endpoint {
remote-endpoint = <&mipi_in_wcam>;
data-lanes = <1 2>;
};
};
};
ucam: camera@3c {
compatible = "ovti,ov2685";
reg = <0x3c>;
clocks = <&cru SCLK_TESTCLKOUT1>;
clock-names = "xvclk";
avdd-supply = <&pp2800_cam>;
dovdd-supply = <&pp1800>;
dvdd-supply = <&pp1800>;
port {
ucam_out: endpoint {
remote-endpoint = <&mipi_in_ucam>;
data-lanes = <1>;
};
};
};
};
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/px30-power.h>
parent1: parent {
#address-cells = <2>;
#size-cells = <2>;
isp: isp@ff4a0000 {
compatible = "rockchip,px30-cif-isp";
reg = <0x0 0xff4a0000 0x0 0x8000>;
interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "isp", "mi", "mipi";
clocks = <&cru SCLK_ISP0>,
<&cru ACLK_ISP0_WRAPPER>,
<&cru HCLK_ISP0_WRAPPER>,
<&cru PCLK_ISP1_WRAPPER>;
clock-names = "isp", "aclk", "hclk", "pclk";
iommus = <&isp_mmu>;
phys = <&csi_dphy>;
phy-names = "dphy";
power-domains = <&power PX30_PD_VI>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
mipi_in_ucam1: endpoint@0 {
reg = <0>;
remote-endpoint = <&ucam1_out>;
data-lanes = <1 2>;
};
};
};
};
i2c2: i2c {
#address-cells = <1>;
#size-cells = <0>;
ov5695: camera@36 {
compatible = "ovti,ov5647";
reg = <0x36>;
clocks = <&cru SCLK_CIF_OUT>;
port {
ucam1_out: endpoint {
remote-endpoint = <&mipi_in_ucam1>;
data-lanes = <1 2>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Line 39: isp0 and isp1
Line 43: only for isp1
Line 49: isp0 and isp1
Line 53: only for isp1
Rockchip 2D raster graphic acceleration controller (RGA)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip-rga.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
RGA is a standalone 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
Maintainers (maintainers): "Jacob Chen <jacob-chen@iotwrt.com>", "Ezequiel Garcia <ezequiel@collabora.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"rockchip,rk3288-rga"
Rule 2
Exact value (
const):"rockchip,rk3399-rga"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"rockchip,rk3228-rga","rockchip,rk3568-rga","rockchip,rk3588-rga"Item 2
Exact value (
const):"rockchip,rk3288-rga"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"hclk"
Item 3
Exact value (
const):"sclk"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 3
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"axi"
Item 3
Exact value (
const):"ahb"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3399-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3399-power.h>
rga: rga@ff680000 {
compatible = "rockchip,rk3399-rga";
reg = <0xff680000 0x10000>;
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru ACLK_RGA>,
<&cru HCLK_RGA>,
<&cru SCLK_RGA_CORE>;
clock-names = "aclk", "hclk", "sclk";
power-domains = <&power RK3399_PD_RGA>;
resets = <&cru SRST_RGA_CORE>,
<&cru SRST_A_RGA>,
<&cru SRST_H_RGA>;
reset-names = "core", "axi", "ahb";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Hantro G1 VPU codecs implemented on Rockchip SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/rockchip-vpu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ezequiel Garcia <ezequiel@collabora.com>"
Hantro G1 video encode and decode accelerators present on Rockchip SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"rockchip,rk3036-vpu","rockchip,rk3066-vpu","rockchip,rk3288-vpu","rockchip,rk3328-vpu","rockchip,rk3399-vpu","rockchip,px30-vpu","rockchip,rk3568-vpu","rockchip,rk3588-av1-vpu"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"rockchip,rk3128-vpu","rockchip,rk3188-vpu"Item 2
Exact value (
const):"rockchip,rk3066-vpu"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"rockchip,rk3228-vpu"Item 2
Exact value (
const):"rockchip,rk3399-vpu"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"rockchip,rk3588-vpu121"Item 2
Exact value (
const):"rockchip,rk3568-vpu"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"vdpu"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"vepu"Item 2
Exact value (
const):"vdpu"
clocks — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Maximum number of items (
maxItems):2
Rule 2
Maximum number of items (
maxItems):4
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"aclk"Item 2
Exact value (
const):"hclk"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"aclk_vdpu"Item 2
Exact value (
const):"hclk_vdpu"Item 3
Exact value (
const):"aclk_vepu"Item 4
Exact value (
const):"hclk_vepu"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Array item rules (items) #
Item 1
AXI reset line
Item 2
AXI bus interface unit reset line
Item 3
APB reset line
Item 4
APB bus interface unit reset line
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rk3288-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/rk3288-power.h>
video-codec@ff9a0000 {
compatible = "rockchip,rk3288-vpu";
reg = <0xff9a0000 0x800>;
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "vepu", "vdpu";
clocks = <&cru ACLK_VCODEC>, <&cru HCLK_VCODEC>;
clock-names = "aclk", "hclk";
power-domains = <&power RK3288_PD_VIDEO>;
iommus = <&vpu_mmu>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Samsung S5P/Exynos SoC series MIPI CSI-2 receiver (MIPI CSIS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos4210-csis.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-csis", "samsung,exynos4210-csis", "samsung,exynos4212-csis", "samsung,exynos5250-csis"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
bus-width — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Number of data lines supported.
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"csis"
Item 2
Exact value (
const):"sclk_csis"
clock-frequency — not listed as required here #
Default value (default): 166000000
The IP's main (system bus) clock frequency in Hz.
interrupts — required here #
Maximum number of items (maxItems): 1
phys — not listed as required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"csis"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
vddio-supply — required here #
MIPI CSIS I/O and PLL voltage supply (e.g. 1.8V).
vddcore-supply — required here #
MIPI CSIS Core voltage supply (e.g. 1.1V).
Properties matching a name pattern (patternProperties) #
^port@[34]$ — name matches this regular expression #
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.
Camera input port.
Properties and child nodes (properties) #
reg — required here
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
samsung,csis-hs-settle — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Differential receiver (HS-RX) settle time.
samsung,csis-wclk — not listed as required here
Value type (type): "boolean"
CSI-2 wrapper clock selection. If this property is present external clock from CMU will be used, or the bus clock if it's not specified.
Required in this object (required): "data-lanes"
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg", "bus-width", "clocks", "clock-names", "interrupts", "vddio-supply", "vddcore-supply"
At least one of these rules must match (anyOf) #
Rule 1 #
Rule 2 #
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
csis@11890000 {
compatible = "samsung,exynos4210-csis";
reg = <0x11890000 0x4000>;
clocks = <&clock CLK_CSIS1>,
<&clock CLK_SCLK_CSIS1>;
clock-names = "csis", "sclk_csis";
assigned-clocks = <&clock CLK_MOUT_CSIS1>,
<&clock CLK_SCLK_CSIS1>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
bus-width = <2>;
power-domains = <&pd_cam>;
phys = <&mipi_phy 2>;
phy-names = "csis";
vddcore-supply = <&ldo8_reg>;
vddio-supply = <&ldo10_reg>;
#address-cells = <1>;
#size-cells = <0>;
/* Camera D (4) MIPI CSI-2 (CSIS1) */
port@4 {
reg = <4>;
endpoint {
remote-endpoint = <&is_s5k6a3_ep>;
data-lanes = <1>;
samsung,csis-hs-settle = <18>;
samsung,csis-wclk;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5P/Exynos SoC Fully Integrated Mobile Camera
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos4210-fimc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
Each FIMC device should have an alias in the aliases node, in the form of fimc<n>, where <n> is an integer specifying the IP block instance.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos4210-fimc", "samsung,exynos4212-fimc", "samsung,s5pv210-fimc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fimc"
Item 2
Exact value (
const):"sclk_fimc"
clock-frequency — not listed as required here #
Maximum FIMC local clock (LCLK) frequency.
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,cam-if — not listed as required here #
Value type (type): "boolean"
The FIMC IP block includes the camera input interface.
samsung,isp-wb — not listed as required here #
Value type (type): "boolean"
The FIMC IP block has the ISP writeback input.
samsung,lcd-wb — not listed as required here #
Value type (type): "boolean"
The FIMC IP block has the LCD writeback input.
samsung,mainscaler-ext — not listed as required here #
Value type (type): "boolean"
FIMC IP supports extended image size and has CIEXTEN register.
samsung,min-pix-alignment — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Minimum supported image height alignment.
Item 2
Horizontal image offset.
The values are in pixels and default is <2 1>.
samsung,min-pix-sizes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 2
An array specifying minimum image size in pixels at the FIMC input and output DMA, in the first and second cell respectively. Default value is <16 16>.
samsung,pix-limits — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 4
An array of maximum supported image sizes in pixels, for details refer to Table 2-1 in the S5PV210 SoC User Manual. The meaning of each cell is as follows: 0 - scaler input horizontal size 1 - input horizontal size for the scaler bypassed 2 - REAL_WIDTH without input rotation 3 - REAL_HEIGHT with input rotation
samsung,rotators — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 17
A bitmask specifying whether this IP has the input and the output rotator. Bits 4 and 0 correspond to input and output rotator respectively. If a rotator is present its corresponding bit should be set.
samsung,sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
System Registers (SYSREG) node.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "samsung,pix-limits"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
fimc@11800000 {
compatible = "samsung,exynos4212-fimc";
reg = <0x11800000 0x1000>;
clocks = <&clock CLK_FIMC0>,
<&clock CLK_SCLK_FIMC0>;
clock-names = "fimc", "sclk_fimc";
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
iommus = <&sysmmu_fimc0>;
power-domains = <&pd_cam>;
samsung,sysreg = <&sys_reg>;
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,isp-wb;
samsung,cam-if;
assigned-clocks = <&clock CLK_MOUT_FIMC0>,
<&clock CLK_SCLK_FIMC0>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos4212/4412 SoC Imaging Subsystem (FIMC-IS)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos4212-fimc-is.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
The FIMC-IS is a subsystem for processing image signal from an image sensor. The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 processor, ISP, DRC and FD IP blocks and peripheral devices such as UART, I2C and SPI bus controllers, PWM and ADC.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos4212-fimc-is"
reg — required here #
Maximum number of items (maxItems): 1
ranges — required here #
true — No constraints added by this property rule.
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
clocks — required here #
Maximum number of items (maxItems): 21
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lite0"
Item 2
Exact value (
const):"lite1"
Item 3
Exact value (
const):"ppmuispx"
Item 4
Exact value (
const):"ppmuispmx"
Item 5
Exact value (
const):"isp"
Item 6
Exact value (
const):"drc"
Item 7
Exact value (
const):"fd"
Item 8
Exact value (
const):"mcuisp"
Item 9
Exact value (
const):"gicisp"
Item 10
Exact value (
const):"mcuctl_isp"
Item 11
Exact value (
const):"pwm_isp"
Item 12
Exact value (
const):"ispdiv0"
Item 13
Exact value (
const):"ispdiv1"
Item 14
Exact value (
const):"mcuispdiv0"
Item 15
Exact value (
const):"mcuispdiv1"
Item 16
Exact value (
const):"mpll"
Item 17
Exact value (
const):"aclk200"
Item 18
Exact value (
const):"aclk400mcuisp"
Item 19
Exact value (
const):"div_aclk200"
Item 20
Exact value (
const):"div_aclk400mcuisp"
Item 21
Exact value (
const):"uart"
interrupts — required here #
Maximum number of items (maxItems): 2
iommus — not listed as required here #
Maximum number of items (maxItems): 4
iommu-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"isp"
Item 2
Exact value (
const):"drc"
Item 3
Exact value (
const):"fd"
Item 4
Exact value (
const):"mcuctl"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,pmu-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Power Management Unit (PMU) system controller interface, used to power/start the ISP.
Properties matching a name pattern (patternProperties) #
^pmu@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Deprecated (deprecated): true
Node representing the SoC's Power Management Unit (duplicated with the correct PMU node in the SoC). Deprecated, use samsung,pmu-syscon.
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg"
^i2c-isp@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
ISP I2C bus controller
Properties and child nodes (properties) #
compatible — required here
Exact value (const): "samsung,exynos4212-i2c-isp"
reg — required here
Maximum number of items (maxItems): 1
clocks — required here
Maximum number of items (maxItems): 1
clock-names — required here
Array item rules (items)
Item 1
Exact value (
const):"i2c_isp"
pinctrl-0 — not listed as required here
true — No constraints added by this property rule.
pinctrl-names — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):"default"
Required in this object (required): "compatible", "reg", "clocks", "clock-names"
Required in this object (required): "compatible", "reg", "#address-cells", "clocks", "clock-names", "interrupts", "ranges", "samsung,pmu-syscon", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
fimc-is@12000000 {
compatible = "samsung,exynos4212-fimc-is";
reg = <0x12000000 0x260000>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&isp_clock CLK_ISP_FIMC_LITE0>,
<&isp_clock CLK_ISP_FIMC_LITE1>,
<&isp_clock CLK_ISP_PPMUISPX>,
<&isp_clock CLK_ISP_PPMUISPMX>,
<&isp_clock CLK_ISP_FIMC_ISP>,
<&isp_clock CLK_ISP_FIMC_DRC>,
<&isp_clock CLK_ISP_FIMC_FD>,
<&isp_clock CLK_ISP_MCUISP>,
<&isp_clock CLK_ISP_GICISP>,
<&isp_clock CLK_ISP_MCUCTL_ISP>,
<&isp_clock CLK_ISP_PWM_ISP>,
<&isp_clock CLK_ISP_DIV_ISP0>,
<&isp_clock CLK_ISP_DIV_ISP1>,
<&isp_clock CLK_ISP_DIV_MCUISP0>,
<&isp_clock CLK_ISP_DIV_MCUISP1>,
<&clock CLK_MOUT_MPLL_USER_T>,
<&clock CLK_ACLK200>,
<&clock CLK_ACLK400_MCUISP>,
<&clock CLK_DIV_ACLK200>,
<&clock CLK_DIV_ACLK400_MCUISP>,
<&clock CLK_UART_ISP_SCLK>;
clock-names = "lite0", "lite1", "ppmuispx",
"ppmuispmx", "isp",
"drc", "fd", "mcuisp",
"gicisp", "mcuctl_isp", "pwm_isp",
"ispdiv0", "ispdiv1", "mcuispdiv0",
"mcuispdiv1", "mpll", "aclk200",
"aclk400mcuisp", "div_aclk200",
"div_aclk400mcuisp", "uart";
iommus = <&sysmmu_fimc_isp>, <&sysmmu_fimc_drc>,
<&sysmmu_fimc_fd>, <&sysmmu_fimc_mcuctl>;
iommu-names = "isp", "drc", "fd", "mcuctl";
power-domains = <&pd_isp>;
samsung,pmu-syscon = <&pmu_system_controller>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
i2c-isp@12140000 {
compatible = "samsung,exynos4212-i2c-isp";
reg = <0x12140000 0x100>;
clocks = <&isp_clock CLK_ISP_I2C1_ISP>;
clock-names = "i2c_isp";
pinctrl-0 = <&fimc_is_i2c1>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
image-sensor@10 {
compatible = "samsung,s5k6a3";
reg = <0x10>;
svdda-supply = <&cam_io_reg>;
svddio-supply = <&ldo19_reg>;
afvdd-supply = <&ldo19_reg>;
clocks = <&camera 1>;
clock-names = "extclk";
assigned-clocks = <&camera 1>;
assigned-clock-rates = <24000000>;
gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
port {
endpoint {
remote-endpoint = <&csis1_ep>;
data-lanes = <1>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos SoC series camera host interface (FIMC-LITE)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos4212-fimc-lite.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
Each FIMC device should have an alias in the aliases node, in the form of fimc-lite<n>, where <n> is an integer specifying the IP block instance.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos4212-fimc-lite", "samsung,exynos5250-fimc-lite"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"flite"
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
fimc-lite@12390000 {
compatible = "samsung,exynos4212-fimc-lite";
reg = <0x12390000 0x1000>;
clocks = <&isp_clock CLK_ISP_FIMC_LITE0>;
clock-names = "flite";
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_isp>;
iommus = <&sysmmu_fimc_lite0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung Exynos SoC G-Scaler
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos5250-gsc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Seung-Woo Kim <sw0312.kim@samsung.com>"
G-Scaler is used for scaling and color space conversion on Samsung Exynos SoCs. Each G-Scaler node should have a numbered alias in the aliases node, in the form of gscN, N = 0...3.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynos5250-gsc","samsung,exynos5420-gsc"Item 2
Exact value (
const):"samsung,exynos5-gsc"
Rule 2
Rule 3
Exact value (
const):"samsung,exynos5-gsc"Deprecated (
deprecated):true
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
samsung,sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Syscon used to control the system registers to set writeback input and destination.
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos5-gsc","samsung,exynos5250-gsc","samsung,exynos5420-gsc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gscl"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk"Item 2
Exact value (
const):"aclk"Item 3
Exact value (
const):"aclk_xiu"Item 4
Exact value (
const):"aclk_gsclbend"Item 5
Exact value (
const):"gsd"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5250.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-scaler@13e00000 {
compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
reg = <0x13e00000 0x1000>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL0>;
clock-names = "gscl";
iommus = <&sysmmu_gsc0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5P/Exynos SoC Camera Subsystem (FIMC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,fimc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
The S5P/Exynos SoC Camera subsystem comprises of multiple sub-devices represented by separate device tree nodes. Currently this includes: Fully Integrated Mobile Camera (FIMC, in the S5P SoCs series known as CAMIF), MIPI CSIS, FIMC-LITE and FIMC-IS (ISP).
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,fimc"
ranges — required here #
true — No constraints added by this property rule.
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
#clock-cells — required here #
Exact value (const): 1
The clock specifier cell stores an index of a clock: 0, 1 for CAM_A_CLKOUT, CAM_B_CLKOUT clocks respectively.
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"sclk_cam0"
Item 2
Exact value (
const):"sclk_cam1"
Item 3
Exact value (
const):"pxl_async0"
Item 4
Exact value (
const):"pxl_async1"
clock-output-names — required here #
Maximum number of items (maxItems): 2
parallel-ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Active parallel video input ports.
Properties matching a name pattern (patternProperties) #
^port@[01]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Camera A and camera B inputs.
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.
pinctrl-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"idle"
Item 3
Exact value (
const):"active_a"
Item 4
Exact value (
const):"active_b"
Properties matching a name pattern (patternProperties) #
^csis@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): samsung,exynos4210-csis.yaml#
MIPI CSI-2 receiver.
^fimc@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): samsung,exynos4210-fimc.yaml#
Fully Integrated Mobile Camera.
^fimc-is@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): samsung,exynos4212-fimc-is.yaml#
Imaging Subsystem (FIMC-IS).
^fimc-lite@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Shared schema rule ($ref): samsung,exynos4212-fimc-lite.yaml#
Camera host interface (FIMC-LITE).
Required in this object (required): "compatible", "#address-cells", "#clock-cells", "clocks", "clock-names", "clock-output-names", "ranges", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
camera@11800000 {
compatible = "samsung,fimc";
#clock-cells = <1>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0xba1000>;
clocks = <&clock CLK_SCLK_CAM0>, <&clock CLK_SCLK_CAM1>,
<&clock CLK_PIXELASYNCM0>, <&clock CLK_PIXELASYNCM1>;
clock-names = "sclk_cam0", "sclk_cam1", "pxl_async0", "pxl_async1";
clock-output-names = "cam_a_clkout", "cam_b_clkout";
assigned-clocks = <&clock CLK_MOUT_CAM0>,
<&clock CLK_MOUT_CAM1>;
assigned-clock-parents = <&clock CLK_XUSBXTI>,
<&clock CLK_XUSBXTI>;
pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
pinctrl-names = "default";
fimc@0 {
compatible = "samsung,exynos4212-fimc";
reg = <0x00000000 0x1000>;
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_FIMC0>,
<&clock CLK_SCLK_FIMC0>;
clock-names = "fimc", "sclk_fimc";
power-domains = <&pd_cam>;
samsung,sysreg = <&sys_reg>;
iommus = <&sysmmu_fimc0>;
samsung,pix-limits = <4224 8192 1920 4224>;
samsung,mainscaler-ext;
samsung,isp-wb;
samsung,cam-if;
};
/* ... FIMC 1-3 */
csis@80000 {
compatible = "samsung,exynos4210-csis";
reg = <0x00080000 0x4000>;
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_CSIS0>,
<&clock CLK_SCLK_CSIS0>;
clock-names = "csis", "sclk_csis";
assigned-clocks = <&clock CLK_MOUT_CSIS0>,
<&clock CLK_SCLK_CSIS0>;
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
assigned-clock-rates = <0>, <176000000>;
bus-width = <4>;
power-domains = <&pd_cam>;
phys = <&mipi_phy 0>;
phy-names = "csis";
#address-cells = <1>;
#size-cells = <0>;
vddcore-supply = <&ldo8_reg>;
vddio-supply = <&ldo10_reg>;
/* Camera C (3) MIPI CSI-2 (CSIS0) */
port@3 {
reg = <3>;
endpoint {
remote-endpoint = <&s5c73m3_ep>;
data-lanes = <1 2 3 4>;
samsung,csis-hs-settle = <12>;
};
};
};
/* ... CSIS 1 */
fimc-lite@b90000 {
compatible = "samsung,exynos4212-fimc-lite";
reg = <0xb90000 0x1000>;
interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_isp>;
clocks = <&isp_clock CLK_ISP_FIMC_LITE0>;
clock-names = "flite";
iommus = <&sysmmu_fimc_lite0>;
};
/* ... FIMC-LITE 1 */
fimc-is@800000 {
compatible = "samsung,exynos4212-fimc-is";
reg = <0x00800000 0x260000>;
interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&isp_clock CLK_ISP_FIMC_LITE0>,
<&isp_clock CLK_ISP_FIMC_LITE1>,
<&isp_clock CLK_ISP_PPMUISPX>,
<&isp_clock CLK_ISP_PPMUISPMX>,
<&isp_clock CLK_ISP_FIMC_ISP>,
<&isp_clock CLK_ISP_FIMC_DRC>,
<&isp_clock CLK_ISP_FIMC_FD>,
<&isp_clock CLK_ISP_MCUISP>,
<&isp_clock CLK_ISP_GICISP>,
<&isp_clock CLK_ISP_MCUCTL_ISP>,
<&isp_clock CLK_ISP_PWM_ISP>,
<&isp_clock CLK_ISP_DIV_ISP0>,
<&isp_clock CLK_ISP_DIV_ISP1>,
<&isp_clock CLK_ISP_DIV_MCUISP0>,
<&isp_clock CLK_ISP_DIV_MCUISP1>,
<&clock CLK_MOUT_MPLL_USER_T>,
<&clock CLK_ACLK200>,
<&clock CLK_ACLK400_MCUISP>,
<&clock CLK_DIV_ACLK200>,
<&clock CLK_DIV_ACLK400_MCUISP>,
<&clock CLK_UART_ISP_SCLK>;
clock-names = "lite0", "lite1", "ppmuispx",
"ppmuispmx", "isp",
"drc", "fd", "mcuisp",
"gicisp", "mcuctl_isp", "pwm_isp",
"ispdiv0", "ispdiv1", "mcuispdiv0",
"mcuispdiv1", "mpll", "aclk200",
"aclk400mcuisp", "div_aclk200",
"div_aclk400mcuisp", "uart";
iommus = <&sysmmu_fimc_isp>, <&sysmmu_fimc_drc>,
<&sysmmu_fimc_fd>, <&sysmmu_fimc_mcuctl>;
iommu-names = "isp", "drc", "fd", "mcuctl";
power-domains = <&pd_isp>;
samsung,pmu-syscon = <&pmu_system_controller>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
i2c-isp@940000 {
compatible = "samsung,exynos4212-i2c-isp";
reg = <0x00940000 0x100>;
clocks = <&isp_clock CLK_ISP_I2C1_ISP>;
clock-names = "i2c_isp";
pinctrl-0 = <&fimc_is_i2c1>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
image-sensor@10 {
compatible = "samsung,s5k6a3";
reg = <0x10>;
svdda-supply = <&cam_io_reg>;
svddio-supply = <&ldo19_reg>;
afvdd-supply = <&ldo19_reg>;
/* CAM_B_CLKOUT */
clocks = <&camera 1>;
clock-names = "extclk";
assigned-clocks = <&camera 1>;
assigned-clock-rates = <24000000>;
gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
port {
endpoint {
remote-endpoint = <&csis1_ep>;
data-lanes = <1>;
};
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Samsung S5C73M3 8Mp camera ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,s5c73m3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video data busses. The I2C bus is the main control bus and additionally the SPI bus is used, mostly for transferring the firmware to and from the device. Two slave device nodes corresponding to these control bus interfaces are required and should be placed under respective bus controller nodes.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5c73m3"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cis_extclk"
clock-frequency — not listed as required here #
Default value (default): 24000000
cis_extclk clock frequency.
standby-gpios — not listed as required here #
Maximum number of items (maxItems): 1
STANDBY pin.
vdda-supply — not listed as required here #
Analog power supply (1.2V).
vdd-af-supply — not listed as required here #
lens power supply (2.8V).
vddio-cis-supply — not listed as required here #
CIS I/O power supply (1.2V to 1.8V).
vddio-host-supply — not listed as required here #
Host I/O power supply (1.8V to 2.8V).
vdd-int-supply — not listed as required here #
Digital power supply (1.2V).
vdd-reg-supply — not listed as required here #
Regulator input power supply (2.8V).
xshutdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
XSHUTDOWN pin.
port — not listed as 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.
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 — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required here
false— Not permitted by this property rule.
clock-names— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required here
false— Not permitted by this property rule.
vdda-supply— not listed as required here
false— Not permitted by this property rule.
vdd-af-supply— not listed as required here
false— Not permitted by this property rule.
vddio-cis-supply— not listed as required here
false— Not permitted by this property rule.
vddio-host-supply— not listed as required here
false— Not permitted by this property rule.
vdd-int-supply— not listed as required here
false— Not permitted by this property rule.
vdd-reg-supply— not listed as required here
false— Not permitted by this property rule.
xshutdown-gpios— not listed as required here
false— Not permitted by this property rule.
port— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Required in this object (
required):"clocks","clock-names","standby-gpios","vdda-supply","vdd-af-supply","vddio-cis-supply","vddio-host-supply","vdd-int-supply","vdd-reg-supply","xshutdown-gpios","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>;
image-sensor@3c {
compatible = "samsung,s5c73m3";
reg = <0x3c>;
clock-frequency = <24000000>;
clocks = <&camera 0>;
clock-names = "cis_extclk";
standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>;
vdda-supply = <&cam_vdda_reg>;
vdd-af-supply = <&cam_af_reg>;
vddio-cis-supply = <&ldo9_reg>;
vddio-host-supply = <&ldo18_reg>;
vdd-int-supply = <&buck9_reg>;
vdd-reg-supply = <&cam_io_reg>;
xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
port {
s5c73m3_ep: endpoint {
remote-endpoint = <&csis0_ep>;
data-lanes = <1 2 3 4>;
};
};
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
image-sensor@0 {
compatible = "samsung,s5c73m3";
reg = <0>;
spi-max-frequency = <50000000>;
controller-data {
samsung,spi-feedback-delay = <2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 93: The SPI node is simplified firmware-transfer interface only
Samsung Exynos Multi Format Codec (MFC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,s5p-mfc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Szyprowski <m.szyprowski@samsung.com>", "Aakarsh Jain <aakarsh.jain@samsung.com>"
Multi Format Codec (MFC) is the IP present in Samsung SoCs which supports high resolution decoding and encoding functionalities.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"samsung,exynos5433-mfc","samsung,mfc-v5","samsung,mfc-v6","samsung,mfc-v7","samsung,mfc-v8","samsung,mfc-v10","tesla,fsd-mfc"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"samsung,mfc-v7"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
iommu-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"left"
Item 2
Exact value (
const):"right"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
memory-region — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mfc"Item 2
Exact value (
const):"sclk_mfc"
iommus— not listed as required hereMaximum number of items (
maxItems):1
iommu-names— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk"Item 2
Exact value (
const):"aclk"Item 3
Exact value (
const):"aclk_xiu"
iommus— not listed as required hereMinimum number of items (
minItems):2
iommu-names— not listed as required hereMinimum number of items (
minItems):2
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mfc"Item 2
Exact value (
const):"sclk_mfc"
iommus— not listed as required hereMinimum number of items (
minItems):2
iommu-names— not listed as required hereMinimum number of items (
minItems):2
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mfc"
iommus— not listed as required hereMinimum number of items (
minItems):2
iommu-names— not listed as required hereMinimum number of items (
minItems):2
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):2
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mfc"
iommus— not listed as required hereMaximum number of items (
maxItems):2
iommus-names— not listed as required here
false— Not permitted by this property rule.
Examples (examples) #
#include <dt-bindings/clock/exynos4.h>
#include <dt-bindings/clock/exynos-audss-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
codec@13400000 {
compatible = "samsung,mfc-v5";
reg = <0x13400000 0x10000>;
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_mfc>;
clocks = <&clock CLK_MFC>, <&clock CLK_SCLK_MFC>;
clock-names = "mfc", "sclk_mfc";
iommus = <&sysmmu_mfc_l>, <&sysmmu_mfc_r>;
iommu-names = "left", "right";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 21: Exynos5433
Line 22: Exynos4
Line 23: Exynos5
Line 24: Exynos5420
Line 25: Exynos5800
Line 26: Exynos7880
Line 27: Tesla FSD
Line 30: Exynos3250
Line 31: Fall back for Exynos3250
Samsung S5PV210 and Exynos SoC JPEG codec
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,s5pv210-jpeg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacek Anaszewski <jacek.anaszewski@gmail.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-jpeg", "samsung,exynos3250-jpeg", "samsung,exynos4210-jpeg", "samsung,exynos4212-jpeg", "samsung,exynos5420-jpeg", "samsung,exynos5433-jpeg"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,s5pv210-jpeg","samsung,exynos4210-jpeg","samsung,exynos4212-jpeg","samsung,exynos5420-jpeg"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"jpeg"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"jpeg"Item 2
Exact value (
const):"sclk"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"pclk"Item 2
Exact value (
const):"aclk"Item 3
Exact value (
const):"aclk_xiu"Item 4
Exact value (
const):"sclk"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5433.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
codec@15020000 {
compatible = "samsung,exynos5433-jpeg";
reg = <0x15020000 0x10000>;
interrupts = <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "pclk", "aclk", "aclk_xiu", "sclk";
clocks = <&cmu_mscl CLK_PCLK_JPEG>,
<&cmu_mscl CLK_ACLK_JPEG>,
<&cmu_mscl CLK_ACLK_XIU_MSCLX>,
<&cmu_mscl CLK_SCLK_JPEG>;
iommus = <&sysmmu_jpeg>;
power-domains = <&pd_mscl>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Silicon Labs Si470x FM Radio Receiver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/silabs,si470x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hans Verkuil <hverkuil@kernel.org>", "Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "silabs,si470x"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
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>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
fmradio@10 {
compatible = "silabs,si470x";
reg = <0x10>;
interrupt-parent = <&gpj2>;
interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpj2 5 GPIO_ACTIVE_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Synopsys DesignWare HDMI RX Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/snps,dw-hdmi-rx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dmitry Osipenko <dmitry.osipenko@collabora.com>"
Synopsys DesignWare HDMI Input Controller preset on RK3588 SoCs allowing devices to receive and decode high-resolution video streams from external sources like media players, cameras, laptops, etc.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rockchip,rk3588-hdmirx-ctrler"
Item 2
Exact value (
const):"snps,dw-hdmi-rx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 3
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cec"
Item 2
Exact value (
const):"hdmi"
Item 3
Exact value (
const):"dma"
clocks — required here #
Maximum number of items (maxItems): 7
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"aclk"
Item 2
Exact value (
const):"audio"
Item 3
Exact value (
const):"cr_para"
Item 4
Exact value (
const):"pclk"
Item 5
Exact value (
const):"ref"
Item 6
Exact value (
const):"hclk_s_hdmirx"
Item 7
Exact value (
const):"hclk_vo1"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 4
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"axi"
Item 2
Exact value (
const):"apb"
Item 3
Exact value (
const):"ref"
Item 4
Exact value (
const):"biu"
memory-region — not listed as required here #
Maximum number of items (maxItems): 1
hpd-gpios — required here #
GPIO specifier for HPD.
Maximum number of items (maxItems): 1
rockchip,grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the syscon node for the general register file containing HDMIRX PHY status bits.
rockchip,vo1-grf — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
The phandle of the syscon node for the Video Output GRF register to enable EDID transfer through SDAIN and SCLIN.
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "clocks", "clock-names", "power-domains", "resets", "pinctrl-0", "hpd-gpios"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/power/rk3588-power.h>
#include <dt-bindings/reset/rockchip,rk3588-cru.h>
hdmi_receiver: hdmi-receiver@fdee0000 {
compatible = "rockchip,rk3588-hdmirx-ctrler", "snps,dw-hdmi-rx";
reg = <0xfdee0000 0x6000>;
interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH 0>,
<GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH 0>;
interrupt-names = "cec", "hdmi", "dma";
clocks = <&cru ACLK_HDMIRX>,
<&cru CLK_HDMIRX_AUD>,
<&cru CLK_CR_PARA>,
<&cru PCLK_HDMIRX>,
<&cru CLK_HDMIRX_REF>,
<&cru PCLK_S_HDMIRX>,
<&cru HCLK_VO1>;
clock-names = "aclk",
"audio",
"cr_para",
"pclk",
"ref",
"hclk_s_hdmirx",
"hclk_vo1";
power-domains = <&power RK3588_PD_VO1>;
resets = <&cru SRST_A_HDMIRX>, <&cru SRST_P_HDMIRX>,
<&cru SRST_HDMIRX_REF>, <&cru SRST_A_HDMIRX_BIU>;
reset-names = "axi", "apb", "ref", "biu";
memory-region = <&hdmi_receiver_cma>;
pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_5v_detection>;
pinctrl-names = "default";
hpd-gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Device Tree bindings for Synopsys DesignWare HDMI RX Controller
STMicroelectronics STM32 Digital Camera Memory Interface (DCMI)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32-dcmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugues Fruchet <hugues.fruchet@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32-dcmi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mclk"
dmas — required here #
Maximum number of items (maxItems): 1
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
resets — required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
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.
DCMI supports a single port node with parallel bus.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
Default value (default): 5
bus-width — not listed as required here
Allowed values (enum): 8, 10, 12, 14
Default value (default): 8
All of these rules must match (allOf)
Rule 1
Condition (
if)Properties and child nodes (
properties)
bus-type— not listed as required hereExact value (
const):6When the condition matches (
then)Properties and child nodes (
properties)
hsync-active— not listed as required here
false— Not permitted by this property rule.
vsync-active— not listed as required here
false— Not permitted by this property rule.
bus-width— not listed as required here
Required in this object (required): "bus-type", "pclk-sample"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "dmas", "dma-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp1-clks.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/reset/stm32mp1-resets.h>
dcmi: dcmi@4c006000 {
compatible = "st,stm32-dcmi";
reg = <0x4c006000 0x400>;
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rcc CAMITF_R>;
clocks = <&rcc DCMI>;
clock-names = "mclk";
dmas = <&dmamux1 75 0x400 0x0d>;
dma-names = "tx";
port {
dcmi_0: endpoint {
remote-endpoint = <&ov5640_0>;
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 DCMIPP Digital Camera Memory Interface Pixel Processor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32-dcmipp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugues Fruchet <hugues.fruchet@foss.st.com>", "Alain Volmat <alain.volmat@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32mp13-dcmipp", "st,stm32mp25-dcmipp"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
bus clock
Item 2
csi clock
Minimum number of items (minItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"kclk"
Item 2
Exact value (
const):"mclk"
Minimum number of items (minItems): 1
resets — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
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.
DCMIPP supports a single port node with parallel bus.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — not listed as required here
Allowed values (enum): 4, 5, 6
Default value (default): 5
bus-width — not listed as required here
Allowed values (enum): 8, 10, 12, 14
Default value (default): 8
pclk-sample — not listed as required here
true — No constraints added by this property rule.
hsync-active — not listed as required here
true — No constraints added by this property rule.
vsync-active — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets", "port"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
port— not listed as required hereProperties and child nodes (
properties)
endpoint— not listed as required hereProperties and child nodes (
properties)
bus-type— not listed as required hereWhen the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/stm32mp13-clks.h>
#include <dt-bindings/reset/stm32mp13-resets.h>
dcmipp@5a000000 {
compatible = "st,stm32mp13-dcmipp";
reg = <0x5a000000 0x400>;
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rcc DCMIPP_R>;
clocks = <&rcc DCMIPP_K>;
port {
endpoint {
remote-endpoint = <&mipid02_2>;
bus-width = <8>;
hsync-active = <0>;
vsync-active = <0>;
pclk-sample = <0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 Chrom-Art Accelerator DMA2D
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32-dma2d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Chrom-ART Accelerator(DMA2D), graphical hardware accelerator enabling enhanced graphical user interface with minimum CPU load It can perform the following operations. - Filling a part or the whole of a destination image with a specific color. - Copying a part or the whole of a source image into a part or the whole of a destination image. - Copying a part or the whole of a source image into a part or the whole of a destination image with a pixel format conversion. - Blending a part and/or two complete source images with different pixel format and copy the result into a part or the whole of a destination image with a different color format. (TODO)
Maintainers (maintainers): "Dillon Min <dillon.minfei@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stm32-dma2d"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dma2d"
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stm32fx-clock.h>
#include <dt-bindings/mfd/stm32f4-rcc.h>
dma2d: dma2d@4002b000 {
compatible = "st,stm32-dma2d";
reg = <0x4002b000 0xc00>;
interrupts = <90>;
resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>;
clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>;
clock-names = "dma2d";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 CSI controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32mp25-csi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The STM32 CSI controller, coupled with a D-PHY allows connecting a CSI-2 based camera to the DCMIPP camera pipeline.
Maintainers (maintainers): "Alain Volmat <alain.volmat@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32mp25-csi"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 3
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pclk"
Item 2
Exact value (
const):"txesc"
Item 3
Exact value (
const):"csi2phy"
resets — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
Digital core power supply (0.91V)
vdda18-supply — not listed as required here #
System analog power supply (1.8V)
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Input port node
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): 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
Minimum number of items (minItems): 1
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Required in this object (required): "data-lanes"
port@1 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Output port node
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "resets", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/st,stm32mp25-rcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/media/video-interfaces.h>
#include <dt-bindings/reset/st,stm32mp25-rcc.h>
csi@48020000 {
compatible = "st,stm32mp25-csi";
reg = <0x48020000 0x2000>;
interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
resets = <&rcc CSI_R>;
clocks = <&rcc CK_KER_CSI>, <&rcc CK_KER_CSITXESC>, <&rcc CK_KER_CSIPHY>;
clock-names = "pclk", "txesc", "csi2phy";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&imx335_ep>;
data-lanes = <1 2>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&dcmipp_0>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32MP25 VDEC video decoder & VENC video encoder
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/st,stm32mp25-video-codec.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugues Fruchet <hugues.fruchet@foss.st.com>"
The STMicroelectronics STM32MP25 SOCs embeds a VDEC video hardware decoder peripheral based on Verisilicon VC8000NanoD IP (former Hantro G1) and a VENC video hardware encoder peripheral based on Verisilicon VC8000NanoE IP (former Hantro H1).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32mp25-vdec", "st,stm32mp25-venc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-codec@580d0000 {
compatible = "st,stm32mp25-vdec";
reg = <0x580d0000 0x3c8>;
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&ck_icn_p_vdec>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Starfive SoC CAMSS ISP
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/starfive,jh7110-camss.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jack Zhu <jack.zhu@starfivetech.com>", "Changhuang Liang <changhuang.liang@starfivetech.com>"
The Starfive CAMSS ISP is a Camera interface for Starfive JH7110 SoC. It consists of a VIN controller (Video In Controller, a top-level control unit) and an ISP.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "starfive,jh7110-camss"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"syscon"
Item 2
Exact value (
const):"isp"
clocks — required here #
Maximum number of items (maxItems): 7
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"apb_func"
Item 2
Exact value (
const):"wrapper_clk_c"
Item 3
Exact value (
const):"dvp_inv"
Item 4
Exact value (
const):"axiwr"
Item 5
Exact value (
const):"mipi_rx0_pxl"
Item 6
Exact value (
const):"ispcore_2x"
Item 7
Exact value (
const):"isp_axi"
resets — required here #
Maximum number of items (maxItems): 6
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"wrapper_p"
Item 2
Exact value (
const):"wrapper_c"
Item 3
Exact value (
const):"axird"
Item 4
Exact value (
const):"axiwr"
Item 5
Exact value (
const):"isp_top_n"
Item 6
Exact value (
const):"isp_top_axi"
power-domains — required here #
Array item rules (items) #
Item 1
JH7110 ISP Power Domain Switch Controller.
interrupts — required here #
Maximum number of items (maxItems): 4
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
Input port for receiving DVP data.
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
bus-type — required here
bus-width — required here
Allowed values (enum): 8, 10, 12
data-shift — not listed as required here
Default value (default): 0
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
Required in this object (required): "bus-type", "bus-width"
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input port for receiving CSI data.
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "resets", "reset-names", "power-domains", "interrupts", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
isp@19840000 {
compatible = "starfive,jh7110-camss";
reg = <0x19840000 0x10000>,
<0x19870000 0x30000>;
reg-names = "syscon", "isp";
clocks = <&ispcrg 0>,
<&ispcrg 13>,
<&ispcrg 2>,
<&ispcrg 12>,
<&ispcrg 1>,
<&syscrg 51>,
<&syscrg 52>;
clock-names = "apb_func",
"wrapper_clk_c",
"dvp_inv",
"axiwr",
"mipi_rx0_pxl",
"ispcore_2x",
"isp_axi";
resets = <&ispcrg 0>,
<&ispcrg 1>,
<&ispcrg 10>,
<&ispcrg 11>,
<&syscrg 41>,
<&syscrg 42>;
reset-names = "wrapper_p",
"wrapper_c",
"axird",
"axiwr",
"isp_top_n",
"isp_top_axi";
power-domains = <&pwrc 5>;
interrupts = <92>, <87>, <88>, <90>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
vin_from_sc2235: endpoint {
remote-endpoint = <&sc2235_to_vin>;
bus-type = <5>;
bus-width = <8>;
data-shift = <2>;
hsync-active = <1>;
vsync-active = <0>;
pclk-sample = <1>;
};
};
port@1 {
reg = <1>;
vin_from_csi2rx: endpoint {
remote-endpoint = <&csi2rx_to_vin>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/ti,cal.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benoit Parrot <bparrot@ti.com>"
The Camera Adaptation Layer (CAL) is a key component for image capture applications. The capture module provides the system interface and the processing capability to connect CSI2 image-sensor modules to the DRA72x device.
CAL supports 2 camera port nodes on MIPI bus.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,dra72-cal", "ti,dra72-pre-es2-cal", "ti,dra76-cal", "ti,am654-cal"
reg — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
The CAL main register region
Item 2
The RX Core0 (DPHY0) register region
Item 3
The RX Core1 (DPHY1) register region
reg-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"cal_top"
Item 2
Exact value (
const):"cal_rx_core0"
Item 3
Exact value (
const):"cal_rx_core1"
interrupts — required here #
Maximum number of items (maxItems): 1
ti,camerrx-control — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to device control module
Item 2
offset to the control_camerarx_core register
phandle to the device control module and offset to the control_camerarx_core register
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "fck"
power-domains — not listed as required here #
List of phandle and PM domain specifier as documented in Documentation/devicetree/bindings/power/power_domain.txt
Maximum number of items (maxItems): 1
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — 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.
CSI2 Port #0
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — not listed as required here
Maximum number of items (maxItems): 1
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
port@1 — not listed as 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.
CSI2 Port #1
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
clock-lanes — not listed as required here
Maximum number of items (maxItems): 1
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "port@0"
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "ti,camerrx-control"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
cal: cal@4845b000 {
compatible = "ti,dra72-cal";
reg = <0x4845B000 0x400>,
<0x4845B800 0x40>,
<0x4845B900 0x40>;
reg-names = "cal_top",
"cal_rx_core0",
"cal_rx_core1";
interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
ti,camerrx-control = <&scm_conf 0xE94>;
ports {
#address-cells = <1>;
#size-cells = <0>;
csi2_0: port@0 {
reg = <0>;
csi2_phy0: endpoint {
remote-endpoint = <&csi2_cam0>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
};
i2c {
clock-frequency = <400000>;
#address-cells = <1>;
#size-cells = <0>;
camera-sensor@3c {
compatible = "ovti,ov5640";
reg = <0x3c>;
AVDD-supply = <®_2p8v>;
DOVDD-supply = <®_1p8v>;
DVDD-supply = <®_1p5v>;
clocks = <&clk_ov5640_fixed>;
clock-names = "xclk";
port {
csi2_cam0: endpoint {
remote-endpoint = <&csi2_phy0>;
clock-lanes = <0>;
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)
Line 23: for DRA72 controllers
Line 25: for DRA72 controllers pre ES2.0
Line 27: for DRA76 controllers
Line 29: for AM654 controllers
TI J721E CSI2RX Shim
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/ti,j721e-csi2rx-shim.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The TI J721E CSI2RX Shim is a wrapper around Cadence CSI2RX bridge that enables sending captured frames to memory over PSI-L DMA. In the J721E Technical Reference Manual (SPRUIL1B) it is referred to as "SHIM" under the CSI_RX_IF section.
Maintainers (maintainers): "Jai Luthra <jai.luthra@linux.dev>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,j721e-csi2rx-shim"
dmas — required here #
Maximum number of items (maxItems): 1
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx0"
reg — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
ranges — required here #
true — No constraints added by this property rule.
#address-cells — required here #
true — No constraints added by this property rule.
#size-cells — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^csi-bridge@ — name matches this regular expression #
Value type (type): "object"
CSI2 bridge node.
Shared schema rule ($ref): cdns,csi2rx.yaml#
Required in this object (required): "compatible", "reg", "dmas", "dma-names", "power-domains", "ranges", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/soc/ti,sci_pm_domain.h>
ti_csi2rx0: ticsi2rx@4500000 {
compatible = "ti,j721e-csi2rx-shim";
dmas = <&main_udmap 0x4940>;
dma-names = "rx0";
reg = <0x4500000 0x1000>;
power-domains = <&k3_pds 26 TI_SCI_PD_EXCLUSIVE>;
#address-cells = <1>;
#size-cells = <1>;
ranges;
cdns_csi2rx: csi-bridge@4504000 {
compatible = "ti,j721e-csi2rx", "cdns,csi2rx";
reg = <0x4504000 0x1000>;
clocks = <&k3_clks 26 2>, <&k3_clks 26 0>, <&k3_clks 26 2>,
<&k3_clks 26 2>, <&k3_clks 26 3>, <&k3_clks 26 3>;
clock-names = "sys_clk", "p_clk", "pixel_if0_clk",
"pixel_if1_clk", "pixel_if2_clk", "pixel_if3_clk";
phys = <&dphy0>;
phy-names = "dphy";
ports {
#address-cells = <1>;
#size-cells = <0>;
csi2_0: port@0 {
reg = <0>;
csi2rx0_in_sensor: endpoint {
remote-endpoint = <&csi2_cam0>;
bus-type = <4>; /* CSI2 DPHY. */
clock-lanes = <0>;
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)
Texas Instruments OMAP 3 Image Signal Processor (ISP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/ti,omap3isp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Sakari Ailus <sakari.ailus@iki.fi>"
The OMAP 3 ISP is an image signal processor present in OMAP 3 SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,omap3-isp"
reg — required here #
Array item rules (items) #
Item 1
Core ISP registers up to the end of the SBL block
Item 2
CSI PHYs and receivers registers
interrupts — required here #
Maximum number of items (maxItems): 1
iommus — required here #
Maximum number of items (maxItems): 1
syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
phandle to System Control Module
Item 2
register offset to Complex I/O or CSI-PHY register
Phandle and register offset to the Complex I/O or CSI-PHY register
ti,phy-type — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
0 - OMAP3ISP_PHY_TYPE_COMPLEX_IO (e.g. OMAP 3430) 1 - OMAP3ISP_PHY_TYPE_CSIPHY (e.g. OMAP 3630)
#clock-cells — required here #
Exact value (const): 1
The ISP provides two external clocks, cam_xclka and cam_xclkb, at indices 0 and 1 respectively.
vdd-csiphy1-supply — not listed as required here #
Voltage supply of the CSI-2 PHY 1
vdd-csiphy2-supply — not listed as required here #
Voltage supply of the CSI-2 PHY 2
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — not listed as 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.
Parallel (CCDC) interface
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.
port@1 — not listed as 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.
CSIPHY1 interface:
OMAP 3630: CSI2C / CCP2B
OMAP 3430: CSI1 (CSIb)
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)
lane-polarities — not listed as required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
Minimum value (
minimum):1Maximum value (
maximum):3
clock-lanes — not listed as required here
Minimum value (minimum): 1
Maximum value (maximum): 3
port@2 — not listed as 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.
CSIPHY2 interface:
OMAP 3630: CSI2A / CCP2B
OMAP 3430: CSI2 (CSIa)
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)
lane-polarities — not listed as required here
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
Minimum value (
minimum):1Maximum value (
maximum):3
clock-lanes — not listed as required here
Minimum value (minimum): 1
Maximum value (maximum): 3
Required in this object (required): "compatible", "reg", "interrupts", "iommus", "syscon", "ti,phy-type", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/media/omap3-isp.h>
isp@480bc000 {
compatible = "ti,omap3-isp";
reg = <0x480bc000 0x12fc>,
<0x480bd800 0x0600>;
interrupts = <24>;
iommus = <&mmu_isp>;
syscon = <&scm_conf 0x2f0>;
ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
#clock-cells = <1>;
vdd-csiphy1-supply = <&vaux2>;
vdd-csiphy2-supply = <&vaux2>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
parallel_ep: endpoint {
remote-endpoint = <¶llel>;
};
};
port@1 {
reg = <1>;
csi1_ep: endpoint {
remote-endpoint = <&smia_1>;
clock-lanes = <1>;
data-lanes = <2>;
lane-polarities = <0 0>;
};
};
port@2 {
reg = <2>;
csi2a_ep: endpoint {
remote-endpoint = <&smia_2>;
clock-lanes = <2>;
data-lanes = <1 3>;
lane-polarities = <1 1 1>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments DRA7x Video Input Port (VIP)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/ti,vip.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Yemike Abhilash Chandra <y-abhilashchandra@ti.com>"
Video Input Port (VIP) can be found on devices such as DRA7xx and provides the system interface and the processing capability to connect parallel image-sensor as well as BT.656/1120 capable encoder chip to DRA7x device.
Each VIP instance supports 2 independently configurable external video input capture slices (Slice 0 and Slice 1) each providing up to two video input ports (Port A and Port B).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,dra7-vip"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
IRQ index 0 is used for Slice0 interrupts
Item 2
IRQ index 1 is used for Slice1 interrupts
ti,ctrl-module — required here #
Reference to the device control module that provides clock-edge inversion control for VIP ports. These controls allow the VIP to sample pixel data on the correct clock edge.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Array item rules (
items)Item 1
phandle to device control module
Item 2
offset to the CTRL_CORE_SMA_SW_1 register
Item 3
Bit field to slice 0 port A
Item 4
Bit field to slice 0 port B
Item 5
Bit field to slice 1 port A
Item 6
Bit field to slice 1 port B
Maximum number of items (maxItems): 1
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties matching a name pattern (patternProperties) #
^port@[0-3]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Each VIP instance supports 2 independently configurable external video input capture slices (Slice 0 and Slice 1) each providing up to two video input ports (Port A and Port B). These ports represent the following port@0 -> Slice 0 Port A port@1 -> Slice 0 Port B port@2 -> Slice 1 Port A port@3 -> Slice 1 Port B
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)
bus-width — not listed as required here
Allowed values (enum): 8, 16, 24
Default value (default): 8
Required in this object (required): "compatible", "reg", "interrupts", "ti,ctrl-module", "ports"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
video@48970000 {
compatible = "ti,dra7-vip";
reg = <0x48970000 0x1000>;
interrupts = <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>;
ti,ctrl-module = <&scm_conf 0x534 0x0 0x2 0x1 0x3>;
ports {
#address-cells = <1>;
#size-cells = <0>;
vin1a: port@0 {
reg = <0>;
vin1a_ep: endpoint {
remote-endpoint = <&camera1>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
bus-width = <8>;
};
};
vin1b: port@1 {
reg = <1>;
vin1b_ep: endpoint {
remote-endpoint = <&camera2>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
bus-width = <8>;
};
};
vin2a: port@2 {
reg = <2>;
vin2a_ep: endpoint {
remote-endpoint = <&camera3>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
bus-width = <16>;
};
};
vin2b: port@3 {
reg = <3>;
vin2b_ep: endpoint {
remote-endpoint = <&camera4>;
hsync-active = <1>;
vsync-active = <1>;
pclk-sample = <0>;
bus-width = <8>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2025 Texas Instruments Incorporated - http://www.ti.com/
Texas Instruments DRA7x Video Processing Engine (VPE)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/ti,vpe.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Benoit Parrot <bparrot@ti.com>"
The Video Processing Engine (VPE) is a key component for image post processing applications. VPE consist of a single memory to memory path which can perform chroma up/down sampling, deinterlacing, scaling and color space conversion.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,dra7-vpe"
reg — required here #
Array item rules (items) #
Item 1
The VPE main register region
Item 2
Scaler (SC) register region
Item 3
Color Space Conversion (CSC) register region
Item 4
Video Port Direct Memory Access (VPDMA) register region
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"vpe_top"
Item 2
Exact value (
const):"sc"
Item 3
Exact value (
const):"csc"
Item 4
Exact value (
const):"vpdma"
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "reg-names", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
vpe: vpe@489d0000 {
compatible = "ti,dra7-vpe";
reg = <0x489d0000 0x120>,
<0x489d0700 0x80>,
<0x489d5700 0x18>,
<0x489dd000 0x400>;
reg-names = "vpe_top",
"sc",
"csc",
"vpdma";
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Common Properties for Video Receiver and Transmitter Devices
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/video-interface-devices.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jacopo Mondi <jacopo@jmondi.org>", "Sakari Ailus <sakari.ailus@linux.intel.com>"
Properties and child nodes (properties) #
flash-leds — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
An array of phandles, each referring to a flash LED, a sub-node of the LED driver device node.
leds — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 1
led-names — not listed as required here #
Allowed values (enum): "privacy"
lens-focus — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
A phandle to the node of the focus lens controller.
rotation — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 90, 180, 270
The camera rotation is expressed as the angular difference in degrees between two reference systems, one relative to the camera module, and one defined on the external world scene to be captured when projected on the image sensor pixel array.
A camera sensor has a 2-dimensional reference system 'Rc' defined by its pixel array read-out order. The origin is set to the first pixel being read out, the X-axis points along the column read-out direction towards the last columns, and the Y-axis along the row read-out direction towards the last row.
A typical example for a sensor with a 2592x1944 pixel array matrix observed from the front is:
2591 X-axis 0
<------------------------+ 0
.......... ... ..........!
.......... ... ..........! Y-axis
... !
.......... ... ..........!
.......... ... ..........! 1943
V
The external world scene reference system 'Rs' is a 2-dimensional reference system on the focal plane of the camera module. The origin is placed on the top-left corner of the visible scene, the X-axis points towards the right, and the Y-axis points towards the bottom of the scene. The top, bottom, left and right directions are intentionally not defined and depend on the environment in which the camera is used.
A typical example of a (very common) picture of a shark swimming from left to right, as seen from the camera, is:
0 X-axis
0 +------------------------------------->
!
!
!
! |\____)\___
! ) _____ __`<
! |/ )/
!
!
!
V
Y-axis
with the reference system 'Rs' placed on the camera focal plane:
¸.·˙!
¸.·˙ !
_ ¸.·˙ !
+-/ \-+¸.·˙ !
| (o) | ! Camera focal plane
+-----+˙·.¸ !
˙·.¸ !
˙·.¸ !
˙·.¸!
When projected on the sensor's pixel array, the image and the associated reference system 'Rs' are typically (but not always) inverted, due to the camera module's lens optical inversion effect.
Assuming the above represented scene of the swimming shark, the lens inversion projects the scene and its reference system onto the sensor pixel array, seen from the front of the camera sensor, as follows:
Y-axis
^
!
!
!
! |\_____)\__
! ) ____ ___.<
! |/ )/
!
!
!
0 +------------------------------------->
0 X-axis
Note the shark being upside-down.
The resulting projected reference system is named 'Rp'.
The camera rotation property is then defined as the angular difference in the counter-clockwise direction between the camera reference system 'Rc' and the projected scene reference system 'Rp'. It is expressed in degrees as a number in the range [0, 360[.
Examples
0 degrees camera rotation:
Y-Rp
^
Y-Rc !
^ !
! !
! !
! !
! !
! !
! !
! !
! 0 +------------------------------------->
! 0 X-Rp
0 +------------------------------------->
0 X-Rc
X-Rc 0
<------------------------------------+ 0
X-Rp 0 !
<------------------------------------+ 0 !
! !
! !
! !
! !
! !
! !
! !
! V
! Y-Rc
V
Y-Rp
90 degrees camera rotation:
0 Y-Rc
0 +-------------------->
! Y-Rp
! ^
! !
! !
! !
! !
! !
! !
! !
! !
! !
! 0 +------------------------------------->
! 0 X-Rp
!
!
!
!
V
X-Rc
180 degrees camera rotation:
0
<------------------------------------+ 0
X-Rc !
Y-Rp !
^ !
! !
! !
! !
! !
! !
! !
! V
! Y-Rc
0 +------------------------------------->
0 X-Rp
270 degrees camera rotation:
0 Y-Rc
0 +-------------------->
! 0
! <-----------------------------------+ 0
! X-Rp !
! !
! !
! !
! !
! !
! !
! !
! !
! V
! Y-Rp
!
!
!
!
V
X-Rc
Example one - Webcam
A camera module installed on the user facing part of a laptop screen casing used for video calls. The captured images are meant to be displayed in landscape mode (width > height) on the laptop screen.
The camera is typically mounted upside-down to compensate the lens optical inversion effect:
Y-Rp
Y-Rc ^
^ !
! !
! ! |\_____)\__
! ! ) ____ ___.<
! ! |/ )/
! !
! !
! !
! 0 +------------------------------------->
! 0 X-Rp
0 +------------------------------------->
0 X-Rc
The two reference systems are aligned, the resulting camera rotation is 0 degrees, no rotation correction needs to be applied to the resulting image once captured to memory buffers to correctly display it to users:
+--------------------------------------+
! !
! !
! !
! |\____)\___ !
! ) _____ __`< !
! |/ )/ !
! !
! !
! !
+--------------------------------------+
If the camera sensor is not mounted upside-down to compensate for the lens optical inversion, the two reference systems will not be aligned, with 'Rp' being rotated 180 degrees relatively to 'Rc':
X-Rc 0
<------------------------------------+ 0
!
Y-Rp !
^ !
! !
! |\_____)\__ !
! ) ____ ___.< !
! |/ )/ !
! !
! !
! V
! Y-Rc
0 +------------------------------------->
0 X-Rp
The image once captured to memory will then be rotated by 180 degrees:
+--------------------------------------+
! !
! !
! !
! __/(_____/| !
! >.___ ____ ( !
! \( \| !
! !
! !
! !
+--------------------------------------+
A software rotation correction of 180 degrees should be applied to correctly display the image:
+--------------------------------------+
! !
! !
! !
! |\____)\___ !
! ) _____ __`< !
! |/ )/ !
! !
! !
! !
+--------------------------------------+
Example two - Phone camera
A camera installed on the back side of a mobile device facing away from the user. The captured images are meant to be displayed in portrait mode (height > width) to match the device screen orientation and the device usage orientation used when taking the picture.
The camera sensor is typically mounted with its pixel array longer side aligned to the device longer side, upside-down mounted to compensate for the lens optical inversion effect:
0 Y-Rc
0 +-------------------->
! Y-Rp
! ^
! !
! !
! !
! ! |\_____)\__
! ! ) ____ ___.<
! ! |/ )/
! !
! !
! !
! 0 +------------------------------------->
! 0 X-Rp
!
!
!
!
V
X-Rc
The two reference systems are not aligned and the 'Rp' reference system is rotated by 90 degrees in the counter-clockwise direction relatively to the 'Rc' reference system.
The image once captured to memory will be rotated:
+-------------------------------------+
| _ _ |
| \ / |
| | | |
| | | |
| | > |
| < | |
| | | |
| . |
| V |
+-------------------------------------+
A correction of 90 degrees in counter-clockwise direction has to be applied to correctly display the image in portrait mode on the device screen:
+--------------------+
| |
| |
| |
| |
| |
| |
| |\____)\___ |
| ) _____ __`< |
| |/ )/ |
| |
| |
| |
| |
| |
+--------------------+
orientation — not listed as required here #
The orientation of a device (typically an image sensor or a flash LED) describing its mounting position relative to the usage orientation of the system where the device is installed on.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 397: Front. The device is mounted on the front facing side of the system. For
Line 398: mobile devices such as smartphones, tablets and laptops the front side
Line 399: is the user facing side.
Line 401: Back. The device is mounted on the back side of the system, which is
Line 402: defined as the opposite side of the front facing one.
Line 404: External. The device is not attached directly to the system but is
Line 405: attached in a way that allows it to move freely.
Common Properties for Video Receiver and Transmitter Interface Endpoints
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/video-interfaces.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
Video data pipelines usually consist of external devices, e.g. camera sensors, controlled over an I2C, SPI or UART bus, and SoC internal IP blocks, including video DMA engines and video data processors.
SoC internal blocks are described by DT nodes, placed similarly to other SoC blocks. External devices are represented as child nodes of their respective bus controller nodes, e.g. I2C.
Data interfaces on all video devices are described by their child 'port' nodes. Configuration of a port depends on other devices participating in the data transfer and is described by 'endpoint' subnodes.
device {
...
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
...
endpoint@0 { ... };
endpoint@1 { ... };
};
port@1 { ... };
};
};
If a port can be configured to work with more than one remote device on the same bus, an 'endpoint' child node must be provided for each of them. If more than one port is present in a device node or there is more than one endpoint at a port, or port node needs to be associated with a selected hardware interface, a common scheme using '#address-cells', '#size-cells' and 'reg' properties is used.
All 'port' nodes can be grouped under optional 'ports' node, which allows to specify #address-cells, #size-cells properties independently for the 'port' and 'endpoint' nodes and any child device nodes a device might have.
Two 'endpoint' nodes are linked with each other through their 'remote-endpoint' phandles. An endpoint subnode of a device contains all properties needed for configuration of this device for data exchange with other device. In most cases properties at the peer 'endpoint' nodes will be identical, however they might need to be different when there is any signal modifications on the bus between two devices, e.g. there are logic signal inverters on the lines.
It is allowed for multiple endpoints at a port to be active simultaneously, where supported by a device. For example, in case where a data interface of a device is partitioned into multiple data busses, e.g. 16-bit input port divided into two separate ITU-R BT.656 8-bit busses. In such case bus-width and data-shift properties can be used to assign physical data lines to each endpoint node (logical bus).
Documenting bindings for devices --------------------------------
All required and optional bindings the device supports shall be explicitly documented in device DT binding documentation. This also includes port and endpoint nodes for the device, including unit-addresses and reg properties where relevant.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/graph.yaml#/$defs/endpoint-base
Properties and child nodes (properties) #
slave-mode — not listed as required here #
Value type (type): "boolean"
Indicates that the link is run in slave mode. The default when this property is not specified is master mode. In the slave mode horizontal and vertical synchronization signals are provided to the slave device (data source) by the master device (data sink). In the master mode the data source device is also the source of the synchronization signals.
bus-type — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 3, 4, 5, 6, 7
Data bus type. See include/dt-bindings/media/video-interfaces.h.
bus-width — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 64
Number of data lines actively used, valid for the parallel busses.
data-shift — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 64
On the parallel data busses, if bus-width is used to specify the number of data lines, data-shift can be used to specify which data lines are used, e.g. "bus-width=<8>; data-shift=<2>;" means, that lines 9:2 are used.
hsync-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Active state of the HSYNC signal, 0/1 for LOW/HIGH respectively.
vsync-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Active state of the VSYNC signal, 0/1 for LOW/HIGH respectively. Note, that if HSYNC and VSYNC polarities are not specified, embedded synchronization may be required, where supported.
data-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Similar to HSYNC and VSYNC, specifies data line polarity.
data-enable-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Similar to HSYNC and VSYNC, specifies the data enable signal polarity.
field-even-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Field signal level during the even field data transmission.
pclk-sample — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Sample data on falling (0), rising (1) or both (2) edges of the pixel clock signal.
sync-on-green-active — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Active state of Sync-on-green (SoG) signal, 0/1 for LOW/HIGH respectively.
data-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Items must be unique (uniqueItems): true
Array item rules (items) #
Maximum value (
maximum):8
An array of physical data lane indexes. Position of an entry determines the logical lane number, while the value of an entry indicates physical lane, e.g. for 2-lane MIPI CSI-2 bus we could have "data-lanes = <1 2>;", assuming the clock lane is on hardware lane 0. If the hardware does not support lane reordering, monotonically incremented values shall be used from 0 or 1 onwards, depending on whether or not there is also a clock lane. This property is valid for serial busses only (e.g. MIPI CSI-2).
clock-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 8
Physical clock lane index. Position of an entry determines the logical lane number, while the value of an entry indicates physical lane, e.g. for a MIPI CSI-2 bus we could have "clock-lanes = <0>;", which places the clock lane on hardware lane 0. This property is valid for serial busses only (e.g. MIPI CSI-2).
clock-noncontinuous — not listed as required here #
Value type (type): "boolean"
Allow MIPI CSI-2 non-continuous clock mode.
link-frequencies — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint64-array
Allowed data bus frequencies. For MIPI CSI-2, for instance, this is the actual frequency of the bus, not bits per clock per lane value. An array of 64-bit unsigned integers.
lane-polarities — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 9
Array item rules (items) #
An array of polarities of the lanes starting from the clock lane and followed by the data lanes in the same order as in data-lanes. Valid values are 0 (normal) and 1 (inverted). The length of the array should be the combined length of data-lanes and clock-lanes properties. If the lane-polarities property is omitted, the value must be interpreted as 0 (normal). This property is valid for serial busses only.
line-orders — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
Array item rules (items) #
An array of line orders of the CSI-2 C-PHY data lanes. The order of the lanes are the same as in data-lanes property. Valid values are 0-5 as defined in the MIPI Discovery and Configuration (DisCo) Specification for Imaging. The length of the array must be the same length as the data-lanes property. If the line-orders property is omitted, the value shall be interpreted as 0 (ABC). This property is valid for CSI-2 C-PHY busses only. See include/dt-bindings/media/video-interfaces.h.
strobe — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Whether the clock signal is used as clock (0) or strobe (1). Used with CCP2, for instance.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 90: MIPI CSI-2 C-PHY
Line 91: MIPI CSI1
Line 92: CCP2
Line 93: MIPI CSI-2 D-PHY
Line 94: Parallel
Line 95: BT.656
Line 96: DPI
Line 165: Assume up to 9 physical lane indices
Line 178: Assume up to 9 physical lane indices
Line 219: ABC
Line 220: ACB
Line 221: BAC
Line 222: BCA
Line 223: CAB
Line 224: CBA
Video Multiplexer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Media bindings
Schema identifier ($id): "http://devicetree.org/schemas/media/video-mux.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sakari Ailus <sakari.ailus@linux.intel.com>", "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"
Video multiplexers allow to select between multiple input ports. Video received on the active input port is passed through to the output port. Muxes described by this binding are controlled by a multiplexer controller.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "video-mux"
mux-controls — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
ports — not listed as required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties matching a name pattern (patternProperties) #
^port@ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "port@0", "port@1", "port@2"
Properties matching a name pattern (patternProperties) #
^port@ — name matches this regular expression #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
At least three port nodes containing endpoints connecting to the source and sink devices according to of_graph bindings. The last port is the output port, all others are inputs.
Required in this object (required): "compatible", "mux-controls"
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Required in this object (
required):"port@0","port@1","port@2"
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>
mux: mux-controller {
compatible = "gpio-mux";
#mux-control-cells = <0>;
mux-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
};
video-mux {
compatible = "video-mux";
mux-controls = <&mux>;
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
mux_in0: endpoint {
remote-endpoint = <&video_source0_out>;
};
};
port@1 {
reg = <1>;
mux_in1: endpoint {
remote-endpoint = <&video_source1_out>;
};
};
port@2 {
reg = <2>;
mux_out: endpoint {
remote-endpoint = <&capture_interface_in>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0