mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Enable speakers on the M1 Pro/Max/Ultra machines
ok tobhe@, sthen@
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FW_DRIVER= apple-boot
|
||||
FW_VER= 1.0
|
||||
REVISION= 4
|
||||
REVISION= 5
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
DISTFILES=
|
||||
@@ -11,7 +11,7 @@ PERMIT_PACKAGE= firmware
|
||||
PERMIT_DISTFILES= Yes
|
||||
|
||||
BUILD_DEPENDS= m1n1-=1.1.6p2:sysutils/m1n1:build \
|
||||
u-boot-asahi-=2022.07.3p4:sysutils/u-boot-asahi:build
|
||||
u-boot-asahi-=2022.07.3p5:sysutils/u-boot-asahi:build
|
||||
|
||||
ASAHI_BUILD= ${WRKSRC}/sysutils/u-boot-asahi/u-boot-asahi-*/build
|
||||
M1N1_BUILD= ${WRKSRC}/sysutils/m1n1/m1n1-*/build
|
||||
|
||||
@@ -6,7 +6,7 @@ VERSION= 2022.07-3
|
||||
GH_ACCOUNT= AsahiLinux
|
||||
GH_PROJECT= u-boot
|
||||
GH_TAGNAME= asahi-v${VERSION}
|
||||
REVISION= 4
|
||||
REVISION= 5
|
||||
|
||||
PKGNAME= u-boot-asahi-${VERSION:S/-/./g}
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Index: arch/arm/dts/t6001-j375c.dts
|
||||
--- arch/arm/dts/t6001-j375c.dts.orig
|
||||
+++ arch/arm/dts/t6001-j375c.dts
|
||||
@@ -260,15 +260,6 @@
|
||||
compatible = "apple,j375-macaudio", "apple,macaudio";
|
||||
model = "Mac Studio J375 integrated audio";
|
||||
|
||||
- /*
|
||||
- * 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";
|
||||
-
|
||||
dai-link@0 {
|
||||
link-name = "Speaker";
|
||||
mclk-fs = <64>;
|
||||
@@ -0,0 +1,19 @@
|
||||
Index: arch/arm/dts/t6002-j375d.dts
|
||||
--- arch/arm/dts/t6002-j375d.dts.orig
|
||||
+++ arch/arm/dts/t6002-j375d.dts
|
||||
@@ -352,15 +352,6 @@
|
||||
compatible = "apple,j375-macaudio", "apple,macaudio";
|
||||
model = "Mac Studio J375 integrated audio";
|
||||
|
||||
- /*
|
||||
- * 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";
|
||||
-
|
||||
dai-link@0 {
|
||||
link-name = "Speaker";
|
||||
mclk-fs = <64>;
|
||||
@@ -0,0 +1,19 @@
|
||||
Index: arch/arm/dts/t600x-j314-j316.dtsi
|
||||
--- arch/arm/dts/t600x-j314-j316.dtsi.orig
|
||||
+++ arch/arm/dts/t600x-j314-j316.dtsi
|
||||
@@ -313,15 +313,6 @@
|
||||
compatible = "apple,j314-macaudio", "apple,macaudio";
|
||||
model = "MacBook Pro J314/6 integrated audio";
|
||||
|
||||
- /*
|
||||
- * 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";
|
||||
-
|
||||
dai-link@0 {
|
||||
link-name = "Speakers";
|
||||
mclk-fs = <256>;
|
||||
Reference in New Issue
Block a user