Skip to content

Instantly share code, notes, and snippets.

@jannau
Last active August 23, 2022 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jannau/5e4801a5af9707f769976e976f2c0362 to your computer and use it in GitHub Desktop.
Save jannau/5e4801a5af9707f769976e976f2c0362 to your computer and use it in GitHub Desktop.
M2 Macbook Pro 13" cs42l82 headphone fix
From ea6dcb19a253ad55b489fd4c10ee3dcfbd93338e Mon Sep 17 00:00:00 2001
From: Janne Grunau <j@jannau.net>
Date: Tue, 23 Aug 2022 23:52:55 +0200
Subject: [PATCH 1/1] fixup! arm64: dts: apple: t8112: Initial t8112 (M2)
device trees
Signed-off-by: Janne Grunau <j@jannau.net>
---
arch/arm64/boot/dts/apple/t8112-j493.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8112-j493.dts b/arch/arm64/boot/dts/apple/t8112-j493.dts
index 35e8a7a5bdc4..f3b8a186668f 100644
--- a/arch/arm64/boot/dts/apple/t8112-j493.dts
+++ b/arch/arm64/boot/dts/apple/t8112-j493.dts
@@ -69,6 +69,8 @@ &typec1 {
/delete-node/ &port03;
&i2c1 {
+ status = "okay";
+
speaker_left_rear: codec@38 {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x38>;
@@ -91,6 +93,8 @@ &i2c2 {
};
&i2c3 {
+ status = "okay";
+
speaker_right_rear: codec@3b {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x3b>;
@@ -113,6 +117,7 @@ jack_codec: codec@4b {
reset-gpios = <&pinctrl_nub 12 GPIO_ACTIVE_HIGH>;
#sound-dai-cells = <0>;
interrupts-extended = <&pinctrl_ap 149 IRQ_TYPE_LEVEL_LOW>;
+ sound-name-prefix = "Jack";
};
};
--
2.37.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment