You've already forked linux-t2-patches
mirror of
https://github.com/t2linux/linux-t2-patches.git
synced 2026-04-30 13:52:11 -07:00
Update apple-bce for kernel v6.12.74
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
From 30f1eaa550605bc721f7ec3604d692f0f91c4fd0 Mon Sep 17 00:00:00 2001
|
From a6bdd6788fb10b49a344771c6d405bebac03794f Mon Sep 17 00:00:00 2001
|
||||||
From: "github-actions[bot]"
|
From: "github-actions[bot]"
|
||||||
<41898282+github-actions[bot]@users.noreply.github.com>
|
<41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
Date: Thu, 26 Feb 2026 08:51:38 +0000
|
Date: Thu, 26 Feb 2026 09:30:55 +0000
|
||||||
Subject: [PATCH] Add apple-bce driver
|
Subject: [PATCH] Add apple-bce driver
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
From dc27d4db5787546ae5eacf3483f3b87f2d4fb1c1 Mon Sep 17 00:00:00 2001
|
From fadb2ac8daab306e0899975b12473262bc819e7b Mon Sep 17 00:00:00 2001
|
||||||
From: Redecorating <69827514+Redecorating@users.noreply.github.com>
|
From: "github-actions[bot]"
|
||||||
Date: Mon, 7 Nov 2022 14:56:34 +0530
|
<41898282+github-actions[bot]@users.noreply.github.com>
|
||||||
|
Date: Thu, 26 Feb 2026 09:30:55 +0000
|
||||||
Subject: [PATCH] Put apple-bce in drivers/staging
|
Subject: [PATCH] Put apple-bce in drivers/staging
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -12,10 +13,10 @@ Subject: [PATCH] Put apple-bce in drivers/staging
|
|||||||
create mode 100644 drivers/staging/apple-bce/Kconfig
|
create mode 100644 drivers/staging/apple-bce/Kconfig
|
||||||
|
|
||||||
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
|
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
|
||||||
index 5cfabd537..3b8e61d26 100644
|
index 7aa37f54a..54e3b68cc 100644
|
||||||
--- a/drivers/staging/Kconfig
|
--- a/drivers/staging/Kconfig
|
||||||
+++ b/drivers/staging/Kconfig
|
+++ b/drivers/staging/Kconfig
|
||||||
@@ -80,4 +80,6 @@ source "drivers/staging/qlge/Kconfig"
|
@@ -62,4 +62,6 @@ source "drivers/staging/fieldbus/Kconfig"
|
||||||
|
|
||||||
source "drivers/staging/vme_user/Kconfig"
|
source "drivers/staging/vme_user/Kconfig"
|
||||||
|
|
||||||
@@ -23,38 +24,38 @@ index 5cfabd537..3b8e61d26 100644
|
|||||||
+
|
+
|
||||||
endif # STAGING
|
endif # STAGING
|
||||||
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
|
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
|
||||||
index f8c3aa9c2..1e148d6c3 100644
|
index 2e18fe5b7..8cf5c43e0 100644
|
||||||
--- a/drivers/staging/Makefile
|
--- a/drivers/staging/Makefile
|
||||||
+++ b/drivers/staging/Makefile
|
+++ b/drivers/staging/Makefile
|
||||||
@@ -29,3 +29,4 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
|
@@ -20,3 +20,4 @@ obj-$(CONFIG_GREYBUS) += greybus/
|
||||||
obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
|
obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/
|
||||||
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
|
obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/
|
||||||
obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
|
obj-$(CONFIG_FIELDBUS_DEV) += fieldbus/
|
||||||
+obj-$(CONFIG_APPLE_BCE) += apple-bce/
|
+obj-$(CONFIG_APPLE_BCE) += apple-bce/
|
||||||
diff --git a/drivers/staging/apple-bce/Kconfig b/drivers/staging/apple-bce/Kconfig
|
diff --git a/drivers/staging/apple-bce/Kconfig b/drivers/staging/apple-bce/Kconfig
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 000000000..fe92bc441
|
index 000000000..c7962ae5d
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/staging/apple-bce/Kconfig
|
+++ b/drivers/staging/apple-bce/Kconfig
|
||||||
@@ -0,0 +1,18 @@
|
@@ -0,0 +1,18 @@
|
||||||
+config APPLE_BCE
|
+config APPLE_BCE
|
||||||
+ tristate "Apple BCE driver (VHCI and Audio support)"
|
+ tristate "Apple BCE driver (VHCI and Audio support)"
|
||||||
+ default m
|
+ default m
|
||||||
+ depends on X86
|
+ depends on X86
|
||||||
+ select SOUND
|
+ select SOUND
|
||||||
+ select SND
|
+ select SND
|
||||||
+ select SND_PCM
|
+ select SND_PCM
|
||||||
+ select SND_JACK
|
+ select SND_JACK
|
||||||
+ help
|
+ help
|
||||||
+ VHCI and audio support on Apple MacBooks with the T2 Chip.
|
+ VHCI and audio support on Apple MacBooks with the T2 Chip.
|
||||||
+ This driver is divided in three components:
|
+ This driver is divided in three components:
|
||||||
+ - BCE (Buffer Copy Engine): which establishes a basic communication
|
+ - BCE (Buffer Copy Engine): which establishes a basic communication
|
||||||
+ channel with the T2 chip. This component is required by the other two:
|
+ channel with the T2 chip. This component is required by the other two:
|
||||||
+ - VHCI (Virtual Host Controller Interface): Access to keyboard, mouse
|
+ - VHCI (Virtual Host Controller Interface): Access to keyboard, mouse
|
||||||
+ and other system devices depend on this virtual USB host controller
|
+ and other system devices depend on this virtual USB host controller
|
||||||
+ - Audio: a driver for the T2 audio interface.
|
+ - Audio: a driver for the T2 audio interface.
|
||||||
+
|
+
|
||||||
+ If "M" is selected, the module will be called apple-bce.'
|
+ If "M" is selected, the module will be called apple-bce.'
|
||||||
diff --git a/drivers/staging/apple-bce/Makefile b/drivers/staging/apple-bce/Makefile
|
diff --git a/drivers/staging/apple-bce/Makefile b/drivers/staging/apple-bce/Makefile
|
||||||
index a6a656f06..8cfbd3f64 100644
|
index a6a656f06..8cfbd3f64 100644
|
||||||
--- a/drivers/staging/apple-bce/Makefile
|
--- a/drivers/staging/apple-bce/Makefile
|
||||||
@@ -67,4 +68,5 @@ index a6a656f06..8cfbd3f64 100644
|
|||||||
apple-bce-objs := apple_bce.o mailbox.o queue.o queue_dma.o vhci/vhci.o vhci/queue.o vhci/transfer.o audio/audio.o audio/protocol.o audio/protocol_bce.o audio/pcm.o
|
apple-bce-objs := apple_bce.o mailbox.o queue.o queue_dma.o vhci/vhci.o vhci/queue.o vhci/transfer.o audio/audio.o audio/protocol.o audio/protocol_bce.o audio/pcm.o
|
||||||
|
|
||||||
--
|
--
|
||||||
2.34.1
|
2.53.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user