Enable speakers on the M1 13" MacBook Pro and the M1 MacBook Air

ok tobhe@, sthen@
This commit is contained in:
kettenis 2023-01-17 21:00:22 +00:00
parent 13e5fed20e
commit af4ba663c7
4 changed files with 41 additions and 3 deletions

View File

@ -1,6 +1,6 @@
FW_DRIVER= apple-boot
FW_VER= 1.0
REVISION= 0
REVISION= 1
WRKDIST= ${WRKDIR}
DISTFILES=
@ -11,7 +11,7 @@ PERMIT_PACKAGE= firmware
PERMIT_DISTFILES= Yes
BUILD_DEPENDS= m1n1-=1.1.6p1:sysutils/m1n1 \
u-boot-asahi-=2022.07.3p1:sysutils/u-boot-asahi
u-boot-asahi-=2022.07.3p2:sysutils/u-boot-asahi
do-install:
cat ${LOCALBASE}/share/m1n1/m1n1.bin \

View File

@ -6,7 +6,7 @@ VERSION= 2022.07-3
GH_ACCOUNT= AsahiLinux
GH_PROJECT= u-boot
GH_TAGNAME= asahi-v${VERSION}
REVISION= 1
REVISION= 2
PKGNAME= u-boot-asahi-${VERSION:S/-/./g}

View File

@ -0,0 +1,19 @@
Index: arch/arm/dts/t8103-j293.dts
--- arch/arm/dts/t8103-j293.dts.orig
+++ arch/arm/dts/t8103-j293.dts
@@ -138,15 +138,6 @@
model = "MacBook Pro J293 integrated audio";
dai-link@0 {
- /*
- * DANGER ZONE: You can blow your speakers!
- *
- * The drivers are not ready, and unless you are careful
- * to attenuate the audio stream, you run the risk of
- * blowing your speakers.
- */
- status = "disabled";
-
link-name = "Speakers";
mclk-fs = <64>;

View File

@ -0,0 +1,19 @@
Index: arch/arm/dts/t8103-j313.dts
--- arch/arm/dts/t8103-j313.dts.orig
+++ arch/arm/dts/t8103-j313.dts
@@ -116,15 +116,6 @@
model = "MacBook Air J313 integrated audio";
dai-link@0 {
- /*
- * DANGER ZONE: You can blow your speakers!
- *
- * The drivers are not ready, and unless you are careful
- * to attenuate the audio stream, you run the risk of
- * blowing your speakers.
- */
- status = "disabled";
-
link-name = "Speakers";
mclk-fs = <64>;