Marvell MMP2 camera host interface

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>

Edit this page