forked from luck/tmp_suning_uos_patched
7f9fb67358
This patch add support for regmap APIs that are intended to be used by the drivers of some SPI slave chips which integrate the "SPI slave to Avalon Master Bridge" (spi-avmm) IP. The spi-avmm IP acts as a bridge to convert encoded streams of bytes from the host to the chip's internal register read/write on Avalon bus. The driver implements the register read/write operations for a generic SPI master to access the sub devices behind spi-avmm bridge. Signed-off-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Wu Hao <hao.wu@intel.com> Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com> Signed-off-by: Russ Weight <russell.h.weight@intel.com> Reviewed-by: Tom Rix <trix@redhat.com> Reviewed-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com> Link: https://lore.kernel.org/r/1597822497-25107-2-git-send-email-yilun.xu@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
21 lines
837 B
Makefile
21 lines
837 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# For include/trace/define_trace.h to include trace.h
|
|
CFLAGS_regmap.o := -I$(src)
|
|
|
|
obj-$(CONFIG_REGMAP) += regmap.o regcache.o
|
|
obj-$(CONFIG_REGMAP) += regcache-rbtree.o regcache-flat.o
|
|
obj-$(CONFIG_REGCACHE_COMPRESSED) += regcache-lzo.o
|
|
obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o
|
|
obj-$(CONFIG_REGMAP_AC97) += regmap-ac97.o
|
|
obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o
|
|
obj-$(CONFIG_REGMAP_SLIMBUS) += regmap-slimbus.o
|
|
obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o
|
|
obj-$(CONFIG_REGMAP_SPMI) += regmap-spmi.o
|
|
obj-$(CONFIG_REGMAP_MMIO) += regmap-mmio.o
|
|
obj-$(CONFIG_REGMAP_IRQ) += regmap-irq.o
|
|
obj-$(CONFIG_REGMAP_W1) += regmap-w1.o
|
|
obj-$(CONFIG_REGMAP_SOUNDWIRE) += regmap-sdw.o
|
|
obj-$(CONFIG_REGMAP_SCCB) += regmap-sccb.o
|
|
obj-$(CONFIG_REGMAP_I3C) += regmap-i3c.o
|
|
obj-$(CONFIG_REGMAP_SPI_AVMM) += regmap-spi-avmm.o
|