15 obj-
$(CONFIG_GREYBUS
) += greybus.o
17 # needed for trace events
21 # Greybus Host controller drivers
24 obj-
$(CONFIG_GREYBUS_ES2
) += gb-es2.o
26 # Greybus class drivers
27 gb-bootrom-y
:= bootrom.o
28 gb-camera-y
:= camera.o
29 gb-firmware-y
:= fw-core.o fw-download.o fw-management.o authentication.o
30 gb-spilib-y
:= spilib.o
34 gb-loopback-y
:= loopback.o
35 gb-power-supply-y
:= power_supply.o
37 gb-vibrator-y
:= vibrator.o
39 obj-
$(CONFIG_GREYBUS_BOOTROM
) += gb-bootrom.o
40 obj-
$(CONFIG_GREYBUS_CAMERA
) += gb-camera.o
41 obj-
$(CONFIG_GREYBUS_FIRMWARE
) += gb-firmware.o gb-spilib.o
42 obj-
$(CONFIG_GREYBUS_HID
) += gb-hid.o
43 obj-
$(CONFIG_GREYBUS_LIGHT
) += gb-light.o
44 obj-
$(CONFIG_GREYBUS_LOG
) += gb-log.o
45 obj-
$(CONFIG_GREYBUS_LOOPBACK
) += gb-loopback.o
46 obj-
$(CONFIG_GREYBUS_POWER
) += gb-power-supply.o
47 obj-
$(CONFIG_GREYBUS_RAW
) += gb-raw.o
48 obj-
$(CONFIG_GREYBUS_VIBRATOR
) += gb-vibrator.o
50 # Greybus Audio is a bunch of modules
51 gb-audio-module-y
:= audio_module.o audio_topology.o
52 gb-audio-codec-y
:= audio_codec.o
53 gb-audio-gb-y
:= audio_gb.o
54 gb-audio-apbridgea-y
:= audio_apbridgea.o
55 gb-audio-manager-y
:= audio_manager.o audio_manager_module.o
57 # Greybus Audio sysfs helpers can be useful when debugging
58 #GB_AUDIO_MANAGER_SYSFS ?= true
59 #ifeq ($(GB_AUDIO_MANAGER_SYSFS),true)
60 #gb-audio-manager-y += audio_manager_sysfs.o
61 #ccflags-y += -DGB_AUDIO_MANAGER_SYSFS
64 obj-
$(CONFIG_GREYBUS_AUDIO_MSM8994
) += gb-audio-codec.o
65 obj-
$(CONFIG_GREYBUS_AUDIO_MSM8994
) += gb-audio-module.o
66 obj-
$(CONFIG_GREYBUS_AUDIO
) += gb-audio-gb.o
67 obj-
$(CONFIG_GREYBUS_AUDIO
) += gb-audio-apbridgea.o
68 obj-
$(CONFIG_GREYBUS_AUDIO
) += gb-audio-manager.o
71 # Greybus Bridged PHY drivers
81 obj-
$(CONFIG_GREYBUS_BRIDGED_PHY
) += gb-gbphy.o
82 obj-
$(CONFIG_GREYBUS_GPIO
) += gb-gpio.o
83 obj-
$(CONFIG_GREYBUS_I2C
) += gb-i2c.o
84 obj-
$(CONFIG_GREYBUS_PWM
) += gb-pwm.o
85 obj-
$(CONFIG_GREYBUS_SDIO
) += gb-sdio.o
86 obj-
$(CONFIG_GREYBUS_SPI
) += gb-spi.o gb-spilib.o
87 obj-
$(CONFIG_GREYBUS_UART
) += gb-uart.o
88 obj-
$(CONFIG_GREYBUS_USB
) += gb-usb.o
91 # Greybus Platform driver
92 gb-arche-y
:= arche-platform.o arche-apb-ctrl.o
94 obj-
$(CONFIG_USB_HSIC_USB3613
) += gb-arche.o