Qualcomm CAMSS ISP
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