0d79868c634b2ae16d9640765fb51982b33a4ce1
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0744-overlays-fixes-probing-of-Hifiberry-DAC2-HD.patch
1 From 26637f1e9fad7dd14501088c1cac1b5e5c611dbb Mon Sep 17 00:00:00 2001
2 From: Joerg Schambacher <joerg@hifiberry.com>
3 Date: Wed, 23 Feb 2022 12:08:42 +0100
4 Subject: [PATCH] overlays:fixes probing of Hifiberry DAC2 HD
5
6 Removed clocks-declarations in I2C sections of the DT-overlay
7 which kept the devices from probing.
8
9 Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
10 ---
11 .../dts/overlays/hifiberry-dacplushd-overlay.dts | 16 ++--------------
12 1 file changed, 2 insertions(+), 14 deletions(-)
13
14 --- a/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
15 +++ b/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
16 @@ -8,23 +8,13 @@
17 compatible = "brcm,bcm2835";
18
19 fragment@0 {
20 - target-path = "/";
21 - __overlay__ {
22 - dachd_osc: pll_dachd_osc {
23 - compatible = "hifiberry,dachd-clk";
24 - #clock-cells = <0>;
25 - };
26 - };
27 - };
28 -
29 - fragment@1 {
30 target = <&i2s>;
31 __overlay__ {
32 status = "okay";
33 };
34 };
35
36 - fragment@2 {
37 + fragment@1 {
38 target = <&i2c1>;
39 __overlay__ {
40 #address-cells = <1>;
41 @@ -35,7 +25,6 @@
42 compatible = "ti,pcm1792a";
43 #sound-dai-cells = <0>;
44 #clock-cells = <0>;
45 - clocks = <&dachd_osc>;
46 reg = <0x4c>;
47 status = "okay";
48 };
49 @@ -43,7 +32,6 @@
50 compatible = "hifiberry,dachd-clk";
51 #clock-cells = <0>;
52 reg = <0x62>;
53 - clocks = <&dachd_osc>;
54 status = "okay";
55 common_pll_regs = [
56 02 53 03 00 07 20 0F 00
57 @@ -92,7 +80,7 @@
58 };
59 };
60
61 - fragment@3 {
62 + fragment@2 {
63 target = <&sound>;
64 __overlay__ {
65 compatible = "hifiberry,hifiberry-dacplushd";