Skip to content

Commit 0b2d52e

Browse files
committed
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 <[email protected]>
1 parent abf8954 commit 0b2d52e

4 files changed

Lines changed: 446 additions & 0 deletions

File tree

drivers/soc/apple/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,16 @@ config APPLE_SART
4141

4242
Say 'y' here if you have an Apple SoC.
4343

44+
config APPLE_DOCKCHANNEL
45+
tristate "Apple DockChannel FIFO"
46+
depends on ARCH_APPLE || COMPILE_TEST
47+
default ARCH_APPLE
48+
help
49+
DockChannel is a simple FIFO used on Apple SoCs for debug and inter-processor
50+
communications.
51+
52+
Say 'y' here if you have an Apple SoC.
53+
4454
endmenu
4555

4656
endif

drivers/soc/apple/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ apple-rtkit-y = rtkit.o rtkit-crashlog.o
44

55
obj-$(CONFIG_APPLE_SART) += apple-sart.o
66
apple-sart-y = sart.o
7+
8+
obj-$(CONFIG_APPLE_DOCKCHANNEL) += apple-dockchannel.o
9+
apple-dockchannel-y = dockchannel.o

0 commit comments

Comments
 (0)