mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
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";
|
||
|
+ };
|
||
|
};
|
||
|
};
|
||
|
|