1 From c182949e33dc3ac4d718386f97c75583bae0e46b Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 28 Feb 2020 11:22:40 +0000
4 Subject: [PATCH] ARM: dts: overlays: Create custom clocks in /
6 Change [1] removes the simple-bus compatible string from the "/clocks"
7 node, preventing any custom clocks placed there from being initialised.
8 Rather than reinstate the compatible string and trigger DT warnings at
9 kernel build time, change the overlays to instantiate those clocks under
12 See: https://github.com/raspberrypi/linux/issues/3481
14 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
16 [1] 4b2d24662126 ("ARM: dts: bcm283x: Remove simple-bus from fixed clocks")
18 .../boot/dts/overlays/allo-boss-dac-pcm512x-audio-overlay.dts | 2 +-
19 arch/arm/boot/dts/overlays/hifiberry-dacplus-overlay.dts | 2 +-
20 arch/arm/boot/dts/overlays/hifiberry-dacplusadc-overlay.dts | 2 +-
21 arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts | 2 +-
22 arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts | 2 +-
23 5 files changed, 5 insertions(+), 5 deletions(-)
25 --- a/arch/arm/boot/dts/overlays/allo-boss-dac-pcm512x-audio-overlay.dts
26 +++ b/arch/arm/boot/dts/overlays/allo-boss-dac-pcm512x-audio-overlay.dts
28 compatible = "brcm,bcm2835";
31 - target-path = "/clocks";
35 compatible = "allo,dac-clk";
36 --- a/arch/arm/boot/dts/overlays/hifiberry-dacplus-overlay.dts
37 +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplus-overlay.dts
39 compatible = "brcm,bcm2835";
42 - target-path = "/clocks";
45 dacpro_osc: dacpro_osc {
46 compatible = "hifiberry,dacpro-clk";
47 --- a/arch/arm/boot/dts/overlays/hifiberry-dacplusadc-overlay.dts
48 +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplusadc-overlay.dts
50 compatible = "brcm,bcm2835";
53 - target-path = "/clocks";
56 dacpro_osc: dacpro_osc {
57 compatible = "hifiberry,dacpro-clk";
58 --- a/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts
59 +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts
61 compatible = "brcm,bcm2835";
64 - target-path = "/clocks";
67 dacpro_osc: dacpro_osc {
68 compatible = "hifiberry,dacpro-clk";
69 --- a/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
70 +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
72 compatible = "brcm,bcm2835";
75 - target-path = "/clocks";
78 dachd_osc: pll_dachd_osc {
79 compatible = "hifiberry,dachd-clk";