mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
20ea6adbf1
Build system: x86_64 Build-tested: bcm2708, bcm2709, bcm2710, bcm2711 Run-tested: bcm2708/RPiB+, bcm2709/RPi3B, bcm2710/RPi3B, bcm2711/RPi4B Signed-off-by: Marty Jones <mj8263788@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
865 B
Diff
30 lines
865 B
Diff
From b1a85e3d9bdb3cc4d850b110ce08331fbc8e9172 Mon Sep 17 00:00:00 2001
|
|
From: Joerg Schambacher <joerg@hifiberry.com>
|
|
Date: Wed, 6 Oct 2021 17:19:58 +0200
|
|
Subject: [PATCH] Hifiberry DAC+ADCPro DT overlay: add optional
|
|
headphone amp
|
|
|
|
This is a copy of the approach from our DAC+ driver.
|
|
It allows to probe (and activate) an optional TPA6130A2 headphone
|
|
amplifier.
|
|
|
|
Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
|
|
---
|
|
.../boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/hifiberry-dacplusadcpro-overlay.dts
|
|
@@ -43,6 +43,11 @@
|
|
clocks = <&dacpro_osc>;
|
|
status = "okay";
|
|
};
|
|
+ hpamp: hpamp@60 {
|
|
+ compatible = "ti,tpa6130a2";
|
|
+ reg = <0x60>;
|
|
+ status = "disabled";
|
|
+ };
|
|
};
|
|
};
|
|
|