Rockchip PX30 Video Input Processor (VIP)

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

Allowed values (enum): 5, 6

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

Edit this page