ca87cbac8398e7cc108fd0c0aa272cb88548ea3f
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.4 / 950-0537-dt-bindings-clock-Add-BCM2711-DVP-binding.patch
1 From 67405a5468f8972f3a3db44292aff8fc05188db9 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 13 Feb 2020 17:50:31 +0100
4 Subject: [PATCH] dt-bindings: clock: Add BCM2711 DVP binding
5
6 The BCM2711 has a unit controlling the HDMI0 and HDMI1 clock and reset
7 signals. Let's add a binding for it.
8
9 Cc: Philipp Zabel <p.zabel@pengutronix.de>
10 Cc: Rob Herring <robh+dt@kernel.org>
11 Cc: devicetree@vger.kernel.org
12 Reviewed-by: Rob Herring <robh+dt@kernel.org>
13 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
14 ---
15 .../bindings/clock/brcm,bcm2711-dvp.yaml | 47 +++++++++++++++++++
16 1 file changed, 47 insertions(+)
17 create mode 100644 Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml
18
19 --- /dev/null
20 +++ b/Documentation/devicetree/bindings/clock/brcm,bcm2711-dvp.yaml
21 @@ -0,0 +1,47 @@
22 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
23 +%YAML 1.2
24 +---
25 +$id: http://devicetree.org/schemas/clock/brcm,bcm2711-dvp.yaml#
26 +$schema: http://devicetree.org/meta-schemas/core.yaml#
27 +
28 +title: Broadcom BCM2711 HDMI DVP Device Tree Bindings
29 +
30 +maintainers:
31 + - Maxime Ripard <mripard@kernel.org>
32 +
33 +properties:
34 + "#clock-cells":
35 + const: 1
36 +
37 + "#reset-cells":
38 + const: 1
39 +
40 + compatible:
41 + const: brcm,brcm2711-dvp
42 +
43 + reg:
44 + maxItems: 1
45 +
46 + clocks:
47 + maxItems: 1
48 +
49 +required:
50 + - "#clock-cells"
51 + - "#reset-cells"
52 + - compatible
53 + - reg
54 + - clocks
55 +
56 +additionalProperties: false
57 +
58 +examples:
59 + - |
60 + dvp: clock@7ef00000 {
61 + compatible = "brcm,brcm2711-dvp";
62 + reg = <0x7ef00000 0x10>;
63 + clocks = <&clk_108MHz>;
64 + #clock-cells = <1>;
65 + #reset-cells = <1>;
66 + };
67 +
68 +...