Merge series "ASoC: meson: tdm fixes" from Jerome Brunet <jbrunet@baylibre.com>:
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / display / renesas,cmm.yaml
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/renesas,cmm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Renesas R-Car Color Management Module (CMM)
8
9 maintainers:
10   - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
11   - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
12   - Jacopo Mondi <jacopo+renesas@jmondi.org>
13
14 description: |+
15   Renesas R-Car color management module connected to R-Car DU video channels.
16   It provides image enhancement functions such as 1-D look-up tables (LUT),
17   3-D look-up tables (CLU), 1D-histogram generation (HGO), and color
18   space conversion (CSC).
19
20 properties:
21   compatible:
22     oneOf:
23       - items:
24           - enum:
25               - renesas,r8a7795-cmm
26               - renesas,r8a7796-cmm
27               - renesas,r8a77965-cmm
28               - renesas,r8a77990-cmm
29               - renesas,r8a77995-cmm
30           - const: renesas,rcar-gen3-cmm
31       - items:
32           - const: renesas,rcar-gen2-cmm
33
34   reg:
35     maxItems: 1
36
37   clocks:
38     maxItems: 1
39
40   resets:
41     maxItems: 1
42
43   power-domains:
44     maxItems: 1
45
46 required:
47   - compatible
48   - reg
49   - clocks
50   - resets
51   - power-domains
52
53 additionalProperties: false
54
55 examples:
56   - |
57     #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
58     #include <dt-bindings/power/r8a7796-sysc.h>
59
60     cmm0: cmm@fea40000 {
61          compatible = "renesas,r8a7796-cmm",
62                       "renesas,rcar-gen3-cmm";
63          reg = <0xfea40000 0x1000>;
64          power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
65          clocks = <&cpg CPG_MOD 711>;
66          resets = <&cpg 711>;
67     };