mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
266e36f7ec
This driver supports the I2C module on the Renesas RZ/G2L (R9A07G044) SoC, also known as the RIIC module. This patch is based on both the u-boot driver in the Renesas RZ BSP 3.0.5 release [1] (commit 7fcc1fdc2534), and the Linux v6.7 driver (commit 0dd3ee311255). Support for deblocking the I2C bus is included as this may be needed after triggering a reset via the Power Management IC (PMIC) over I2C (the PMIC asserts the reset line before the SoC completes the I2C write transaction with obvious bus locking effects). If the SDA line is observed to be low during initialisation, we automatically attempt to deblock. [1]: https://github.com/renesas-rz/renesas-u-boot-cip Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
59 lines
2.4 KiB
Makefile
59 lines
2.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
obj-$(CONFIG_$(SPL_)DM_I2C) += i2c-uclass.o
|
|
ifdef CONFIG_$(SPL_)ACPIGEN
|
|
obj-$(CONFIG_$(SPL_)DM_I2C) += acpi_i2c.o
|
|
endif
|
|
obj-$(CONFIG_$(SPL_)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_$(SPL_)SYS_I2C_LEGACY) += i2c_core.o
|
|
obj-$(CONFIG_SYS_I2C_ASPEED) += ast_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_AST2600) += ast2600_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
|
|
obj-$(CONFIG_SYS_I2C_DW_PCI) += designware_i2c_pci.o
|
|
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_LPC32XX) += lpc32xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MESON) += meson_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MICROCHIP) += i2c-microchip.o
|
|
obj-$(CONFIG_SYS_I2C_MV) += mv_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o
|
|
obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MTK) += mtk_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_NEXELL) += nx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_NPCM) += npcm_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OCORES) += ocores_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OCTEON) += octeon_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_QUP) += qup_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_RZ_RIIC) += rz_riic.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_SUN6I_P2WI) += sun6i_p2wi.o
|
|
obj-$(CONFIG_SYS_I2C_SUN8I_RSB) += sun8i_rsb.o
|
|
obj-$(CONFIG_SYS_I2C_SYNQUACER) += synquacer_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/
|