mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
f48eaf01b2
Add a driver to support the special LDO access used by spring. This is a custom method in the cros_ec protocol - it does not use an I2C pass-through. There are two implementation choices: 1. Write a special LDO driver which can talk across the EC. Duplicate all the logic from TPS65090 for retrying when the LDO fails to come up. 2. Write a special I2C bus driver which pretends to be a TPS65090 and transfers reads and writes using the LDO message. Either is distasteful. The latter method is chosen since it results in less code duplication and a fairly simple (30-line) implementation of the core logic. The crosec 'ldo' subcommand could be removed (since i2c md/mw will work instead) but is retained as a convenience. Signed-off-by: Simon Glass <sjg@chromium.org>
43 lines
1.6 KiB
Makefile
43 lines
1.6 KiB
Makefile
#
|
|
# (C) Copyright 2000-2007
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
obj-$(CONFIG_DM_I2C) += i2c-uclass.o
|
|
obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o
|
|
obj-$(CONFIG_DM_I2C_GPIO) += i2c-gpio.o
|
|
obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += cros_ec_tunnel.o
|
|
obj-$(CONFIG_I2C_CROS_EC_LDO) += cros_ec_ldo.o
|
|
|
|
obj-$(CONFIG_SYS_I2C_ADI) += adi_i2c.o
|
|
obj-$(CONFIG_I2C_MV) += mv_i2c.o
|
|
obj-$(CONFIG_PCA9564_I2C) += pca9564_i2c.o
|
|
obj-$(CONFIG_TSI108_I2C) += tsi108_i2c.o
|
|
obj-$(CONFIG_U8500_I2C) += u8500_i2c.o
|
|
obj-$(CONFIG_SH_SH7734_I2C) += sh_sh7734_i2c.o
|
|
obj-$(CONFIG_SYS_I2C) += i2c_core.o
|
|
obj-$(CONFIG_SYS_I2C_DAVINCI) += davinci_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_DW) += designware_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_FSL) += fsl_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_FTI2C010) += fti2c010.o
|
|
obj-$(CONFIG_SYS_I2C_IHS) += ihs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_KONA) += kona_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_LPC32XX) += lpc32xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MVTWSI) += mvtwsi.o
|
|
obj-$(CONFIG_SYS_I2C_MXC) += mxc_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_MXS) += mxs_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP24XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_OMAP34XX) += omap24xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_PPC4XX) += ppc4xx_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_RCAR) += rcar_i2c.o
|
|
obj-$(CONFIG_SYS_I2C_S3C24X0) += s3c24x0_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_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_ZYNQ) += zynq_i2c.o
|
|
|
|
obj-y += muxes/
|