mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
i2c: fix rk change for i2c gpio
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
# 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
|
||||
|
||||
|
||||
@@ -942,6 +942,7 @@ if I2C_RK29
|
||||
config RK29_I2C0_CONTROLLER
|
||||
bool "With i2c controller"
|
||||
config RK29_I2C0_GPIO
|
||||
select I2C_GPIO
|
||||
bool "Simulation with GPIO"
|
||||
endchoice
|
||||
endif
|
||||
@@ -957,6 +958,7 @@ if I2C_RK29
|
||||
config RK29_I2C1_CONTROLLER
|
||||
bool "With i2c controller"
|
||||
config RK29_I2C1_GPIO
|
||||
select I2C_GPIO
|
||||
bool "Simulation with GPIO"
|
||||
endchoice
|
||||
endif
|
||||
@@ -973,6 +975,7 @@ if I2C_RK29
|
||||
config RK29_I2C2_CONTROLLER
|
||||
bool "With i2c controller"
|
||||
config RK29_I2C2_GPIO
|
||||
select I2C_GPIO
|
||||
bool "Simulation with GPIO"
|
||||
endchoice
|
||||
endif
|
||||
@@ -989,6 +992,7 @@ if I2C_RK29
|
||||
config RK29_I2C3_CONTROLLER
|
||||
bool "With i2c controller"
|
||||
config RK29_I2C3_GPIO
|
||||
select I2C_GPIO
|
||||
bool "Simulation with GPIO"
|
||||
endchoice
|
||||
endif
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user