1 From b0682b4ef5d4eb82ee702d8c3f3560349f1a231c Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 13 Feb 2020 17:51:09 +0100
4 Subject: [PATCH] dt-bindings: clock: Add a binding for the RPi
7 The firmare running on the RPi VideoCore can be used to discover and
8 change the various clocks running in the BCM2711. Since devices will
9 need to use them through the DT, let's add a pretty simple binding.
11 Cc: Michael Turquette <mturquette@baylibre.com>
12 Cc: Stephen Boyd <sboyd@kernel.org>
13 Cc: Rob Herring <robh+dt@kernel.org>
14 Cc: linux-clk@vger.kernel.org
15 Cc: devicetree@vger.kernel.org
16 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
18 .../clock/raspberrypi,firmware-clocks.yaml | 39 +++++++++++++++++++
19 1 file changed, 39 insertions(+)
20 create mode 100644 Documentation/devicetree/bindings/clock/raspberrypi,firmware-clocks.yaml
23 +++ b/Documentation/devicetree/bindings/clock/raspberrypi,firmware-clocks.yaml
25 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28 +$id: http://devicetree.org/schemas/clock/raspberrypi,firmware-clocks.yaml#
29 +$schema: http://devicetree.org/meta-schemas/core.yaml#
31 +title: RaspberryPi Firmware Clocks Device Tree Bindings
34 + - Maxime Ripard <mripard@kernel.org>
41 + const: raspberrypi,firmware-clocks
43 + raspberrypi,firmware:
44 + $ref: /schemas/types.yaml#/definitions/phandle
46 + Phandle to the mailbox node to communicate with the firmware.
51 + - raspberrypi,firmware
53 +additionalProperties: false
57 + firmware_clocks: firmware-clocks {
58 + compatible = "raspberrypi,firmware-clocks";
59 + raspberrypi,firmware = <&firmware>;