Skip to content

Commit c764407

Browse files
marcanjannau
authored andcommitted
soc: apple: Add DockChannel driver
DockChannel is a simple FIFO interface used to communicate between SoC blocks. Add a driver that represents the shared interrupt controller for the DockChannel block, and then exposes probe and data transfer functions that child device drivers can use to instantiate individual FIFOs. Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent 0839f2c commit c764407

4 files changed

Lines changed: 444 additions & 0 deletions

File tree

drivers/soc/apple/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ if ARCH_APPLE || COMPILE_TEST
44

55
menu "Apple SoC drivers"
66

7+
config APPLE_DOCKCHANNEL
8+
tristate "Apple DockChannel FIFO"
9+
depends on ARCH_APPLE || COMPILE_TEST
10+
help
11+
DockChannel is a simple FIFO used on Apple SoCs for debug and inter-processor
12+
communications.
13+
14+
Say 'y' here if you have an Apple SoC.
15+
716
config APPLE_MAILBOX
817
tristate "Apple SoC mailboxes"
918
depends on PM

drivers/soc/apple/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3+
obj-$(CONFIG_APPLE_DOCKCHANNEL) += apple-dockchannel.o
4+
apple-dockchannel-y = dockchannel.o
5+
36
obj-$(CONFIG_APPLE_MAILBOX) += apple-mailbox.o
47
apple-mailbox-y = mailbox.o
58

0 commit comments

Comments
 (0)