mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 21:24:29 +00:00
fd42f263ce
Many I2C devices produce roughly the same ACPI data with just things like the GPIO/interrupt information being different. This can be handled by a generic driver along with some information in the device tree. Add a generic i2c driver for this purpose. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
52 lines
2 KiB
Makefile
52 lines
2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
obj-$(CONFIG_DM_I2C) += i2c-uclass.o
|
|
ifdef CONFIG_ACPIGEN
|
|
obj-$(CONFIG_DM_I2C) += acpi_i2c.o
|
|
endif
|
|
obj-$(CONFIG_DM_I2C_GPIO) += i2c-gpio.o
|
|
obj-$(CONFIG_$(SPL_)I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o
|
|
obj-$(CONFIG_$(SPL_)I2C_CROS_EC_LDO) += cros_ec_ldo.o
|
|
|
|
obj-$(CONFIG_I2C_MV) += mv_i2c.o
|
|
obj-$(CONFIG_SYS_I2C) += i2c_core.o
|
|
obj-$(CONFIG_SYS_I2C_ASPEED) += ast_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_AT91) += at91_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_CADENCE) += i2c-cdns.o
|
|
obj-$(CONFIG_SYS_I2C_CA) += i2c-cortina.o
|
|
obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o
|
|
ifdef CONFIG_DM_PCI
|
|
obj-$(CONFIG_SYS_I2C_DW) += designware_i2c_pci.o
|
|
endif
|
|
obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_INTEL) += intel_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_IMX_LPI2C) += imx_lpi2c.o
|
|
obj-$(CONFIG_SYS_I2C_IPROC) += iproc_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_KONA) += kona_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_LPC32XX) += lpc32xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MESON) += meson_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o
|
|
obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_NEXELL) += nx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OCTEON) += octeon_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_RCAR_I2C) += rcar_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_RCAR_IIC) += rcar_iic.o
|
|
obj-$(CONFIG_SYS_I2C_ROCKCHIP) += rk_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_i2c.o exynos_hs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o
|
|
obj-$(CONFIG_SYS_I2C_SH) += sh_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_SOFT) += soft_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_STM32F7) += stm32f7_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
|
|
obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
|
|
obj-$(CONFIG_SYS_I2C_VERSATILE) += i2c-versatile.o
|
|
obj-$(CONFIG_SYS_I2C_XILINX_XIIC) += xilinx_xiic.o
|
|
obj-$(CONFIG_TEGRA186_BPMP_I2C) += tegra186_bpmp_i2c.o
|
|
|
|
obj-$(CONFIG_$(SPL_)I2C_MUX) += muxes/
|