# SPDX-License-Identifier: GPL-2.0 # needed for trace events ccflags-y += -I$(src) # Greybus class drivers gb-bootrom-y := bootrom.o gb-camera-y := camera.o gb-firmware-y := fw-core.o fw-download.o fw-management.o authentication.o gb-spilib-y := spilib.o gb-hid-y := hid.o gb-light-y := light.o gb-log-y := log.o gb-loopback-y := loopback.o gb-power-supply-y := power_supply.o gb-raw-y := raw.o gb-vibrator-y := vibrator.o obj-$([31mCONFIG_GREYBUS_BOOTROM[0m) += gb-bootrom.o obj-$([31mCONFIG_GREYBUS_CAMERA[0m) += gb-camera.o obj-$([31mCONFIG_GREYBUS_FIRMWARE[0m) += gb-firmware.o gb-spilib.o obj-$([31mCONFIG_GREYBUS_HID[0m) += gb-hid.o obj-$([31mCONFIG_GREYBUS_LIGHT[0m) += gb-light.o obj-$([31mCONFIG_GREYBUS_LOG[0m) += gb-log.o obj-$([31mCONFIG_GREYBUS_LOOPBACK[0m) += gb-loopback.o obj-$([31mCONFIG_GREYBUS_POWER[0m) += gb-power-supply.o obj-$([31mCONFIG_GREYBUS_RAW[0m) += gb-raw.o obj-$([31mCONFIG_GREYBUS_VIBRATOR[0m) += gb-vibrator.o # Greybus Audio is a bunch of modules gb-audio-module-y := audio_module.o audio_topology.o gb-audio-codec-y := audio_codec.o gb-audio-gb-y := audio_gb.o gb-audio-apbridgea-y := audio_apbridgea.o gb-audio-manager-y := audio_manager.o audio_manager_module.o # Greybus Audio sysfs helpers can be useful when debugging #GB_AUDIO_MANAGER_SYSFS ?= true #ifeq ($(GB_AUDIO_MANAGER_SYSFS),true) #gb-audio-manager-y += audio_manager_sysfs.o #ccflags-y += -DGB_AUDIO_MANAGER_SYSFS #endif obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-codec.o obj-$(CONFIG_GREYBUS_AUDIO_MSM8994) += gb-audio-module.o obj-$([31mCONFIG_GREYBUS_AUDIO[0m) += gb-audio-gb.o obj-$([31mCONFIG_GREYBUS_AUDIO[0m) += gb-audio-apbridgea.o obj-$([31mCONFIG_GREYBUS_AUDIO[0m) += gb-audio-manager.o # Greybus Bridged PHY drivers gb-gbphy-y := gbphy.o gb-gpio-y := gpio.o gb-i2c-y := i2c.o gb-pwm-y := pwm.o gb-sdio-y := sdio.o gb-spi-y := spi.o gb-uart-y := uart.o gb-usb-y := usb.o obj-$([31mCONFIG_GREYBUS_BRIDGED_PHY[0m) += gb-gbphy.o obj-$([31mCONFIG_GREYBUS_GPIO[0m) += gb-gpio.o obj-$([31mCONFIG_GREYBUS_I2C[0m) += gb-i2c.o obj-$([31mCONFIG_GREYBUS_PWM[0m) += gb-pwm.o obj-$([31mCONFIG_GREYBUS_SDIO[0m) += gb-sdio.o obj-$([31mCONFIG_GREYBUS_SPI[0m) += gb-spi.o gb-spilib.o obj-$([31mCONFIG_GREYBUS_UART[0m) += gb-uart.o obj-$([31mCONFIG_GREYBUS_USB[0m) += gb-usb.o # Greybus Platform driver gb-arche-y := arche-platform.o arche-apb-ctrl.o obj-$([31mCONFIG_GREYBUS_ARCHE[0m) += gb-arche.o |