Starfive SoC CAMSS ISP
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)