0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/media/renesas,fcp.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Renesas R-Car Frame Compression Processor (FCP)
0008
0009 maintainers:
0010 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
0011
0012 description: |
0013 The FCP is a companion module of video processing modules in the Renesas
0014 R-Car Gen3 and RZ/G2 SoCs. It provides data compression and decompression,
0015 data caching, and conversion of AXI transactions in order to reduce the
0016 memory bandwidth.
0017
0018 There are three types of FCP: FCP for Codec (FCPC), FCP for VSP (FCPV) and
0019 FCP for FDP (FCPF). Their configuration and behaviour depend on the module
0020 they are paired with. These DT bindings currently support the FCPV and FCPF.
0021
0022 properties:
0023 compatible:
0024 enum:
0025 - renesas,fcpv # FCP for VSP
0026 - renesas,fcpf # FCP for FDP
0027
0028 reg:
0029 maxItems: 1
0030
0031 clocks:
0032 maxItems: 1
0033
0034 iommus:
0035 maxItems: 1
0036
0037 power-domains:
0038 maxItems: 1
0039
0040 resets:
0041 maxItems: 1
0042
0043 required:
0044 - compatible
0045 - reg
0046 - clocks
0047 - power-domains
0048 - resets
0049
0050 additionalProperties: false
0051
0052 examples:
0053 # R8A7795 (R-Car H3) FCP for VSP-D1
0054 - |
0055 #include <dt-bindings/clock/renesas-cpg-mssr.h>
0056 #include <dt-bindings/power/r8a7795-sysc.h>
0057
0058 fcp@fea2f000 {
0059 compatible = "renesas,fcpv";
0060 reg = <0xfea2f000 0x200>;
0061 clocks = <&cpg CPG_MOD 602>;
0062 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
0063 resets = <&cpg 602>;
0064 iommus = <&ipmmu_vi0 9>;
0065 };
0066 ...