Skip to content
Closed
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
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/arm/apple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,10 @@ properties:

- description: Apple M5 SoC based platforms
items:
- const: apple,j813 # MacBook Air (13-inch, M5, 2026)
- enum:
- apple,j704 # MacBook Pro (14-inch, M5)
- apple,j813 # MacBook Air (13-inch, M5, 2026)
- apple,j815 # MacBook Air (15-inch, M5)
- const: apple,t8142
- const: apple,arm-platform

Expand Down
5 changes: 4 additions & 1 deletion arch/arm64/boot/dts/apple/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ dtb-$(CONFIG_ARCH_APPLE) += t8132-j713.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8132-j715.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8132-j773g.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8140-j700.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8142-j813.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8152-j873g.dtb

# Explicit cold-ANE lead test; never select as the production board DTB.
Expand All @@ -128,3 +127,7 @@ dtb-$(CONFIG_ARCH_APPLE) += t6050-k114c.dtb
dtb-$(CONFIG_ARCH_APPLE) += t6050-k114s.dtb
dtb-$(CONFIG_ARCH_APPLE) += t6050-k116c.dtb
dtb-$(CONFIG_ARCH_APPLE) += t6050-k116s.dtb

dtb-$(CONFIG_ARCH_APPLE) += t8142-j704.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8142-j813.dtb
dtb-$(CONFIG_ARCH_APPLE) += t8142-j815.dtb
68 changes: 68 additions & 0 deletions arch/arm64/boot/dts/apple/t8142-j704-audio-topology.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// SPDX-License-Identifier: GPL-2.0+ OR MIT
/* Codec identities only; no amplifier programming or acoustic configuration. */

&hw_i2c1 {
#address-cells = <1>;
#size-cells = <0>;

hw_jack_codec: codec@4b {
compatible = "cirrus,cs42l84";
reg = <0x4b>;
#sound-dai-cells = <0>;
sound-name-prefix = "Jack";
status = "disabled";
};
};

&hw_i2c3 {
#address-cells = <1>;
#size-cells = <0>;

hw_audio_speaker: codec@38 {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x38>;
#sound-dai-cells = <0>;
sound-name-prefix = "Speaker 0";
status = "disabled";
};

hw_audio_speaker_left_woofer_2: codec@39 {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x39>;
#sound-dai-cells = <0>;
sound-name-prefix = "Left Woofer 2";
status = "disabled";
};

hw_audio_speaker_left_tweeter: codec@3a {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x3a>;
#sound-dai-cells = <0>;
sound-name-prefix = "Left Tweeter";
status = "disabled";
};

hw_audio_speaker_right_woofer_1: codec@3b {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x3b>;
#sound-dai-cells = <0>;
sound-name-prefix = "Right Woofer 1";
status = "disabled";
};

hw_audio_speaker_right_woofer_2: codec@3c {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x3c>;
#sound-dai-cells = <0>;
sound-name-prefix = "Right Woofer 2";
status = "disabled";
};

hw_audio_speaker_right_tweeter: codec@3d {
compatible = "ti,sn012776", "ti,tas2764";
reg = <0x3d>;
#sound-dai-cells = <0>;
sound-name-prefix = "Right Tweeter";
status = "disabled";
};
};
Loading