mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
66 lines
1.5 KiB
Diff
66 lines
1.5 KiB
Diff
|
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";
|