Skip to content

Commit 7c1543b

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 c45d7d4 commit 7c1543b

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
@@ -6,3 +6,6 @@ apple-rtkit-y = rtkit.o rtkit-crashlog.o
66

77
obj-$(CONFIG_APPLE_SART) += apple-sart.o
88
apple-sart-y = sart.o
9+
10+
obj-$(CONFIG_APPLE_DOCKCHANNEL) += apple-dockchannel.o
11+
apple-dockchannel-y = dockchannel.o

0 commit comments

Comments
 (0)