Skip to content

Commit 082a516

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 a7d2964 commit 082a516

4 files changed

Lines changed: 445 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
@@ -8,3 +8,6 @@ apple-rtkit-y = rtkit.o rtkit-crashlog.o
88

99
obj-$(CONFIG_APPLE_SART) += apple-sart.o
1010
apple-sart-y = sart.o
11+
12+
obj-$(CONFIG_APPLE_DOCKCHANNEL) += apple-dockchannel.o
13+
apple-dockchannel-y = dockchannel.o

0 commit comments

Comments
 (0)