104 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/renesas,fcp.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Renesas R-Car Frame Compression Processor (FCP)8 9maintainers:10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>11 12description: |13 The FCP is a companion module of video processing modules in the Renesas14 R-Car Gen3 and RZ/G2 SoCs. It provides data compression and decompression,15 data caching, and conversion of AXI transactions in order to reduce the16 memory bandwidth.17 18 There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and19 FCP for FDP (FCPF). Their configuration and behaviour depend on the module20 they are paired with. These DT bindings currently support the FCPV and FCPF.21 22properties:23 compatible:24 oneOf:25 - enum:26 - renesas,fcpv # FCP for VSP27 - renesas,fcpf # FCP for FDP28 - items:29 - enum:30 - renesas,r9a07g043u-fcpvd # RZ/G2UL31 - renesas,r9a07g044-fcpvd # RZ/G2{L,LC}32 - renesas,r9a07g054-fcpvd # RZ/V2L33 - const: renesas,fcpv # Generic FCP for VSP fallback34 35 reg:36 maxItems: 137 38 clocks: true39 40 clock-names: true41 42 iommus:43 maxItems: 144 45 power-domains:46 maxItems: 147 48 resets:49 maxItems: 150 51required:52 - compatible53 - reg54 - clocks55 - power-domains56 - resets57 58additionalProperties: false59 60allOf:61 - if:62 properties:63 compatible:64 contains:65 enum:66 - renesas,r9a07g043u-fcpvd67 - renesas,r9a07g044-fcpvd68 - renesas,r9a07g054-fcpvd69 then:70 properties:71 clocks:72 items:73 - description: Main clock74 - description: Register access clock75 - description: Video clock76 clock-names:77 items:78 - const: aclk79 - const: pclk80 - const: vclk81 required:82 - clock-names83 else:84 properties:85 clocks:86 maxItems: 187 clock-names: false88 89examples:90 # R8A7795 (R-Car H3) FCP for VSP-D191 - |92 #include <dt-bindings/clock/renesas-cpg-mssr.h>93 #include <dt-bindings/power/r8a7795-sysc.h>94 95 fcp@fea2f000 {96 compatible = "renesas,fcpv";97 reg = <0xfea2f000 0x200>;98 clocks = <&cpg CPG_MOD 602>;99 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;100 resets = <&cpg 602>;101 iommus = <&ipmmu_vi0 9>;102 };103...104