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