Rockchip SoC Image Signal Processing unit v1
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