summaryrefslogtreecommitdiff
path: root/drivers/staging/vc04_services/Makefile
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2023-09-23 17:31:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-05 11:04:45 +0300
commit027e5703de6bfa1887443ed335118658e6fb41aa (patch)
treec18d8e448ddaa79355ad51c313a5857781fafa4c /drivers/staging/vc04_services/Makefile
parent311b94dc641dcb06b54e5e70555f19c6413eda96 (diff)
downloadlinux-027e5703de6bfa1887443ed335118658e6fb41aa.tar.xz
staging: vc04_services: vchiq_arm: Add new bus type and device type
The devices that the vchiq interface registers (bcm2835-audio, bcm2835-camera) are implemented and exposed by the VC04 firmware. The device tree describes the VC04 itself with the resources required to communicate with it through a mailbox interface. However, the vchiq interface registers these devices as platform devices. This also means the specific drivers for these devices are getting registered as platform drivers. This is not correct and a blatant abuse of platform device/driver. Add a new bus type, vchiq_bus_type and device type (struct vchiq_device) which will be used to migrate child devices that the vchiq interfaces creates/registers from the platform device/driver. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Link: https://lore.kernel.org/r/20230923143200.268063-4-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/Makefile')
-rw-r--r--drivers/staging/vc04_services/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile
index 44794bdf6173..e8b897a7b9a6 100644
--- a/drivers/staging/vc04_services/Makefile
+++ b/drivers/staging/vc04_services/Makefile
@@ -4,6 +4,7 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vchiq.o
vchiq-objs := \
interface/vchiq_arm/vchiq_core.o \
interface/vchiq_arm/vchiq_arm.o \
+ interface/vchiq_arm/vchiq_bus.o \
interface/vchiq_arm/vchiq_debugfs.o \
interface/vchiq_arm/vchiq_connected.o \