[PATCH 20/28] arm64: dts: apple: t8103-j45x: Add headset jack nodes
James Calligeros
jcalligeros99 at gmail.com
Sat Sep 19 21:53:59 PDT 2026
The M1 iMacs integrate Apple-specific variants of the TI TAS2770
and Cirrus CS42L42. Since it is not yet safe to expose the speakers
on these machines, add the headset jack nodes and advertise them
to the machine driver via the sound node.
Signed-off-by: James Calligeros <jcalligeros99 at gmail.com>
---
arch/arm64/boot/dts/apple/t8103-j456.dts | 33 +++++++++++++++++++++++++
arch/arm64/boot/dts/apple/t8103-j457.dts | 33 +++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/arch/arm64/boot/dts/apple/t8103-j456.dts b/arch/arm64/boot/dts/apple/t8103-j456.dts
index 090c97bb781b..41ec1398f981 100644
--- a/arch/arm64/boot/dts/apple/t8103-j456.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j456.dts
@@ -88,3 +88,36 @@ &pcie0_dart_1 {
&pcie0_dart_2 {
status = "okay";
};
+
+&i2c1 {
+ status = "okay";
+
+ jack_codec: codec at 48 {
+ compatible = "cirrus,cs42l83";
+ reg = <0x48>;
+ interrupts-extended = <&pinctrl_ap 183 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&pinctrl_nub 11 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ sound-name-prefix = "Jack";
+ cirrus,ts-inv = <1>;
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j456-macaudio", "apple,macaudio";
+ model = "iMac J456";
+
+ dai-link at 1 {
+ link-name = "Headphone Jack";
+
+ codec {
+ sound-dai = <&jack_codec>;
+ };
+
+ cpu {
+ sound-dai = <&mca 2>;
+ };
+ };
+ };
+};
diff --git a/arch/arm64/boot/dts/apple/t8103-j457.dts b/arch/arm64/boot/dts/apple/t8103-j457.dts
index ebddde75455c..aa2a08cb22cb 100644
--- a/arch/arm64/boot/dts/apple/t8103-j457.dts
+++ b/arch/arm64/boot/dts/apple/t8103-j457.dts
@@ -69,3 +69,36 @@ ethernet0: ethernet at 0,0 {
&pcie0_dart_2 {
status = "okay";
};
+
+&i2c1 {
+ status = "okay";
+
+ jack_codec: codec at 48 {
+ compatible = "cirrus,cs42l83";
+ reg = <0x48>;
+ interrupts-extended = <&pinctrl_ap 183 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&pinctrl_nub 11 GPIO_ACTIVE_HIGH>;
+ #sound-dai-cells = <0>;
+ sound-name-prefix = "Jack";
+ cirrus,ts-inv = <1>;
+ };
+};
+
+/ {
+ sound: sound {
+ compatible = "apple,j457-macaudio", "apple,macaudio";
+ model = "iMac J457";
+
+ dai-link at 1 {
+ link-name = "Headphone Jack";
+
+ codec {
+ sound-dai = <&jack_codec>;
+ };
+
+ cpu {
+ sound-dai = <&mca 2>;
+ };
+ };
+ };
+};
--
2.55.0
More information about the linux-arm-kernel
mailing list