1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/media/renesas,fcp.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Renesas R-Car Frame Compression Processor (FCP) 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot The FCP is a companion module of video processing modules in the Renesas 14*c66ec88fSEmmanuel Vadot R-Car Gen3 and RZ/G2 SoCs. It provides data compression and decompression, 15*c66ec88fSEmmanuel Vadot data caching, and conversion of AXI transactions in order to reduce the 16*c66ec88fSEmmanuel Vadot memory bandwidth. 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and 19*c66ec88fSEmmanuel Vadot FCP for FDP (FCPF). Their configuration and behaviour depend on the module 20*c66ec88fSEmmanuel Vadot they are paired with. These DT bindings currently support the FCPV and FCPF. 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadotproperties: 23*c66ec88fSEmmanuel Vadot compatible: 24*c66ec88fSEmmanuel Vadot enum: 25*c66ec88fSEmmanuel Vadot - renesas,fcpv # FCP for VSP 26*c66ec88fSEmmanuel Vadot - renesas,fcpf # FCP for FDP 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot reg: 29*c66ec88fSEmmanuel Vadot maxItems: 1 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel Vadot clocks: 32*c66ec88fSEmmanuel Vadot maxItems: 1 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadot iommus: 35*c66ec88fSEmmanuel Vadot maxItems: 1 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadot power-domains: 38*c66ec88fSEmmanuel Vadot maxItems: 1 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot resets: 41*c66ec88fSEmmanuel Vadot maxItems: 1 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadotrequired: 44*c66ec88fSEmmanuel Vadot - compatible 45*c66ec88fSEmmanuel Vadot - reg 46*c66ec88fSEmmanuel Vadot - clocks 47*c66ec88fSEmmanuel Vadot - power-domains 48*c66ec88fSEmmanuel Vadot - resets 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel VadotadditionalProperties: false 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadotexamples: 53*c66ec88fSEmmanuel Vadot # R8A7795 (R-Car H3) FCP for VSP-D1 54*c66ec88fSEmmanuel Vadot - | 55*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/renesas-cpg-mssr.h> 56*c66ec88fSEmmanuel Vadot #include <dt-bindings/power/r8a7795-sysc.h> 57*c66ec88fSEmmanuel Vadot 58*c66ec88fSEmmanuel Vadot fcp@fea2f000 { 59*c66ec88fSEmmanuel Vadot compatible = "renesas,fcpv"; 60*c66ec88fSEmmanuel Vadot reg = <0xfea2f000 0x200>; 61*c66ec88fSEmmanuel Vadot clocks = <&cpg CPG_MOD 602>; 62*c66ec88fSEmmanuel Vadot power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 63*c66ec88fSEmmanuel Vadot resets = <&cpg 602>; 64*c66ec88fSEmmanuel Vadot iommus = <&ipmmu_vi0 9>; 65*c66ec88fSEmmanuel Vadot }; 66*c66ec88fSEmmanuel Vadot... 67