Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions arch/arm64/boot/dts/apple/t8132-j604.dts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
* slot (LW1 0, RW1 1, LW2 2, RW2 3, LT 4, RT 5). The idle masks are
* the ADT amp-tx-zd-config rows 0 and 1: LW1 drives zeros in the right
* amps' sense slots, RW1 in the left amps'.
*
* The speakers wait for their own bring-up and a J604 protection
* profile; until then the card and the amps stay disabled.
*/
sound: sound {
compatible = "apple,j604-macaudio", "apple,macaudio";
Expand All @@ -50,7 +47,6 @@
<&pinctrl_ap 13 GPIO_ACTIVE_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";

dai-link@0 {
reg = <0>;
Expand Down Expand Up @@ -111,8 +107,7 @@
* The six SN012776 speaker amps (ADT /arm-io/i2c3/audio-speaker at 0x38
* and its speaker1..5): one interrupt line on AP GPIO 14, level low; sense
* slots from speaker-config (amp i at bytes 4i and 4i + 2, in provider
* order). Every amp joins the SDZ fail-closed group. Disabled until the
* speakers' bring-up.
* order). Every amp joins the SDZ fail-closed group.
*/
&i2c3 {
status = "okay";
Expand All @@ -128,7 +123,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <0>;
ti,vmon-slot-no = <2>;
status = "disabled";
};

speaker_left_woof2: codec@39 {
Expand All @@ -142,7 +136,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <8>;
ti,vmon-slot-no = <10>;
status = "disabled";
};

speaker_left_tweet: codec@3a {
Expand All @@ -156,7 +149,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <16>;
ti,vmon-slot-no = <18>;
status = "disabled";
};

speaker_right_woof1: codec@3b {
Expand All @@ -170,7 +162,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <4>;
ti,vmon-slot-no = <6>;
status = "disabled";
};

speaker_right_woof2: codec@3c {
Expand All @@ -184,7 +175,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <12>;
ti,vmon-slot-no = <14>;
status = "disabled";
};

speaker_right_tweet: codec@3d {
Expand All @@ -198,7 +188,6 @@
interrupts-extended = <&pinctrl_ap 14 IRQ_TYPE_LEVEL_LOW>;
ti,imon-slot-no = <20>;
ti,vmon-slot-no = <22>;
status = "disabled";
};
};

Expand Down
11 changes: 6 additions & 5 deletions sound/soc/apple/macaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -4226,12 +4226,13 @@ struct macaudio_platform_cfg macaudio_j614_cfg = {
};

/*
* J604 (T8132, MacBook Pro 14" M4): the J614s's amps, frame and chassis,
* but its speakers have not been brought up. Keep them off entirely: the
* speaker link is not bound, so no stream ever reaches the amps.
* J604 (T8132, MacBook Pro 14" M4): the J614s's six amps, two woofers and a
* tweeter per side, on all six playback and twelve sense slots of the same
* frame. The speakers stay at their safe level until speakersafetyd takes
* them with the J604 profile.
*/
struct macaudio_platform_cfg macaudio_j604_cfg = {
.enable_speakers = false,
.enable_speakers = true,
.amp = AMP_SN012776,
.speakers = SPKR_2W1T,
.stereo = true,
Expand Down Expand Up @@ -4409,7 +4410,7 @@ static const struct of_device_id macaudio_snd_device_id[] = {
{ .compatible = "apple,j575c-macaudio-jack", .data = &macaudio_j616_jack_cfg },
/* j613 AID20 sn012776 15 2x 1W+1T Compat: apple,j413-macaudio */
/* j615 AID21 sn012776 15 2x 2W+1T Compat: apple,j415-macaudio */
/* j604 - sn012776 15 2x 2W+1T (AOP-fed; speakers off until bring-up) */
/* j604 - sn012776 15 2x 2W+1T (AOP-fed) */
{ .compatible = "apple,j604-macaudio", .data = &macaudio_j604_cfg },
/* j604 - cs42l84 - the jack, a card of its own (AOP-fed) */
{ .compatible = "apple,j604-macaudio-jack", .data = &macaudio_j616_jack_cfg },
Expand Down
Loading