aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0744-overlays-fixes-probing-of-Hifiberry-DAC2-HD.patch
blob: 0d79868c634b2ae16d9640765fb51982b33a4ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
From 26637f1e9fad7dd14501088c1cac1b5e5c611dbb Mon Sep 17 00:00:00 2001
From: Joerg Schambacher <joerg@hifiberry.com>
Date: Wed, 23 Feb 2022 12:08:42 +0100
Subject: [PATCH] overlays:fixes probing of Hifiberry DAC2 HD

Removed clocks-declarations in I2C sections of the DT-overlay
which kept the devices from probing.

Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
---
 .../dts/overlays/hifiberry-dacplushd-overlay.dts | 16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

--- a/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
+++ b/arch/arm/boot/dts/overlays/hifiberry-dacplushd-overlay.dts
@@ -8,23 +8,13 @@
 	compatible = "brcm,bcm2835";
 
 	fragment@0 {
-		target-path = "/";
-		__overlay__ {
-			dachd_osc: pll_dachd_osc {
-				compatible = "hifiberry,dachd-clk";
-				#clock-cells = <0>;
-			};
-		};
-	};
-
-	fragment@1 {
 		target = <&i2s>;
 		__overlay__ {
 			status = "okay";
 		};
 	};
 
-	fragment@2 {
+	fragment@1 {
 		target = <&i2c1>;
 		__overlay__ {
 			#address-cells = <1>;
@@ -35,7 +25,6 @@
 				compatible = "ti,pcm1792a";
 				#sound-dai-cells = <0>;
 				#clock-cells = <0>;
-				clocks = <&dachd_osc>;
 				reg = <0x4c>;
 				status = "okay";
 			};
@@ -43,7 +32,6 @@
 				compatible = "hifiberry,dachd-clk";
 				#clock-cells = <0>;
 				reg = <0x62>;
-				clocks = <&dachd_osc>;
 				status = "okay";
 				common_pll_regs = [
 					02 53 03 00 07 20 0F 00
@@ -92,7 +80,7 @@
 		};
 	};
 
-	fragment@3 {
+	fragment@2 {
 		target = <&sound>;
 		__overlay__ {
 			compatible = "hifiberry,hifiberry-dacplushd";