Skip to content

Commit

Permalink
soc: apple: Add DockChannel driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
marcan committed Oct 17, 2022
1 parent 98e513e commit a0a2a03
Show file tree
Hide file tree
Showing 4 changed files with 446 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/soc/apple/Kconfig
Expand Up @@ -41,6 +41,16 @@ config APPLE_SART

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

config APPLE_DOCKCHANNEL
tristate "Apple DockChannel FIFO"
depends on ARCH_APPLE || COMPILE_TEST
default ARCH_APPLE
help
DockChannel is a simple FIFO used on Apple SoCs for debug and inter-processor
communications.

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

endmenu

endif
3 changes: 3 additions & 0 deletions drivers/soc/apple/Makefile
Expand Up @@ -6,3 +6,6 @@ apple-rtkit-y = rtkit.o rtkit-crashlog.o

obj-$(CONFIG_APPLE_SART) += apple-sart.o
apple-sart-y = sart.o

obj-$(CONFIG_APPLE_DOCKCHANNEL) += apple-dockchannel.o
apple-dockchannel-y = dockchannel.o

0 comments on commit a0a2a03

Please sign in to comment.