]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
d4f56b47 | 2 | # Greybus core |
de536e30 | 3 | greybus-y := core.o \ |
de536e30 | 4 | debugfs.o \ |
7bc6faac | 5 | hd.o \ |
b09c94a1 | 6 | manifest.o \ |
b15d97d7 | 7 | module.o \ |
a93938a2 | 8 | interface.o \ |
3bdec699 | 9 | bundle.o \ |
c68adb2f | 10 | connection.o \ |
cdee4f75 | 11 | control.o \ |
ab69c4ce | 12 | svc.o \ |
ed7279ae | 13 | svc_watchdog.o \ |
bdfb95c4 | 14 | operation.o |
e1308c1f | 15 | |
d4f56b47 | 16 | obj-$(CONFIG_GREYBUS) += greybus.o |
7486dfd1 | 17 | |
5c8ad599 BD |
18 | # needed for trace events |
19 | ccflags-y += -I$(src) | |
20 | ||
8db00736 | 21 | |
d4f56b47 GKH |
22 | # Greybus Host controller drivers |
23 | gb-es2-y := es2.o | |
c8a797a9 | 24 | |
d4f56b47 GKH |
25 | obj-$(CONFIG_GREYBUS_ES2) += gb-es2.o |
26 | ||
27 | # Greybus class drivers | |
28 | gb-bootrom-y := bootrom.o | |
29 | gb-camera-y := camera.o | |
30 | gb-firmware-y := fw-core.o fw-download.o fw-management.o authentication.o | |
31 | gb-spilib-y := spilib.o | |
32 | gb-hid-y := hid.o | |
33 | gb-light-y := light.o | |
34 | gb-log-y := log.o | |
35 | gb-loopback-y := loopback.o | |
36 | gb-power-supply-y := power_supply.o | |
37 | gb-raw-y := raw.o | |
38 | gb-vibrator-y := vibrator.o | |
39 | ||
40 | obj-$(CONFIG_GREYBUS_BOOTROM) += gb-bootrom.o | |
41 | obj-$(CONFIG_GREYBUS_CAMERA) += gb-camera.o | |
42 | obj-$(CONFIG_GREYBUS_FIRMWARE) += gb-firmware.o gb-spilib.o | |
43 | obj-$(CONFIG_GREYBUS_HID) += gb-hid.o | |
44 | obj-$(CONFIG_GREYBUS_LIGHT) += gb-light.o | |
45 | obj-$(CONFIG_GREYBUS_LOG) += gb-log.o | |
46 | obj-$(CONFIG_GREYBUS_LOOPBACK) += gb-loopback.o | |
47 | obj-$(CONFIG_GREYBUS_POWER) += gb-power-supply.o | |
48 | obj-$(CONFIG_GREYBUS_RAW) += gb-raw.o | |
49 | obj-$(CONFIG_GREYBUS_VIBRATOR) += gb-vibrator.o | |
50 | ||
51 | # Greybus Audio is a bunch of modules | |
52 | gb-audio-module-y := audio_module.o audio_topology.o | |
53 | gb-audio-codec-y := audio_codec.o | |
54 | gb-audio-gb-y := audio_gb.o | |
55 | gb-audio-apbridgea-y := audio_apbridgea.o | |
56 | gb-audio-manager-y := audio_manager.o audio_manager_module.o | |
57 | ||
58 | # Greybus Audio sysfs helpers can be useful when debugging | |
59 | #GB_AUDIO_MANAGER_SYSFS ?= true | |
60 | #ifeq ($(GB_AUDIO_MANAGER_SYSFS),true) | |
61 | #gb-audio-manager-y += audio_manager_sysfs.o | |
62 | #ccflags-y += -DGB_AUDIO_MANAGER_SYSFS | |
63 | #endif | |
64 | ||
65 | obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-codec.o | |
66 | obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-module.o | |
67 | obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-gb.o | |
68 | obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-apbridgea.o | |
69 | obj-$(CONFIG_GREYBUS_AUDIO) += gb-audio-manager.o | |
70 | ||
71 | ||
72 | # Greybus Bridged PHY drivers | |
73 | gb-gbphy-y := gbphy.o | |
74 | gb-gpio-y := gpio.o | |
75 | gb-i2c-y := i2c.o | |
76 | gb-pwm-y := pwm.o | |
77 | gb-sdio-y := sdio.o | |
78 | gb-spi-y := spi.o | |
79 | gb-uart-y := uart.o | |
80 | gb-usb-y := usb.o | |
c8a797a9 | 81 | |
d4f56b47 GKH |
82 | obj-$(CONFIG_GREYBUS_BRIDGED_PHY) += gb-gbphy.o |
83 | obj-$(CONFIG_GREYBUS_GPIO) += gb-gpio.o | |
84 | obj-$(CONFIG_GREYBUS_I2C) += gb-i2c.o | |
85 | obj-$(CONFIG_GREYBUS_PWM) += gb-pwm.o | |
86 | obj-$(CONFIG_GREYBUS_SDIO) += gb-sdio.o | |
b04f56c6 | 87 | obj-$(CONFIG_GREYBUS_SPI) += gb-spi.o gb-spilib.o |
d4f56b47 GKH |
88 | obj-$(CONFIG_GREYBUS_UART) += gb-uart.o |
89 | obj-$(CONFIG_GREYBUS_USB) += gb-usb.o | |
ac7171ea | 90 | |
c8a797a9 | 91 | |
d4f56b47 GKH |
92 | # Greybus Platform driver |
93 | gb-arche-y := arche-platform.o arche-apb-ctrl.o | |
c8a797a9 | 94 | |
2eccd4aa | 95 | obj-$(CONFIG_GREYBUS_ARCHE) += gb-arche.o |