# Makefile for the i2c algorithms
#
-#obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
-obj-y += i2c-algo-bit.o
+obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
config RK29_I2C0_CONTROLLER
bool "With i2c controller"
config RK29_I2C0_GPIO
+ select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
config RK29_I2C1_CONTROLLER
bool "With i2c controller"
config RK29_I2C1_GPIO
+ select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
config RK29_I2C2_CONTROLLER
bool "With i2c controller"
config RK29_I2C2_GPIO
+ select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
config RK29_I2C3_CONTROLLER
bool "With i2c controller"
config RK29_I2C3_GPIO
+ select I2C_GPIO
bool "Simulation with GPIO"
endchoice
endif
obj-$(CONFIG_I2C_RK29) += i2c-rk29.o
obj-$(CONFIG_I2C_DEV_RK29) += i2c-dev-rk29.o
obj-$(CONFIG_I2C_RK30) += i2c-rk30.o i2c-rk29-adapter.o i2c-rk30-adapter.o i2c-rk30-test.o
-obj-y += i2c-gpio.o
# ACPI drivers
obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o