tristate "Support spi control interface"
depends on REGULATOR_WM831X
default ns
-
+config RK29_I2C_INSRAM
+ tristate "Support i2c control interface"
+ depends on REGULATOR_ACT8891
+ default ns
config RK29_PWM_INSRAM
tristate "Support pwm control interface"
depends on RK29_PWM_REGULATOR
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
obj-$(CONFIG_DDR_FREQ) += ddrfreq.o
obj-$(CONFIG_RK29_VPU) += vpu_mem.o
+obj-$(CONFIG_RK29_I2C_INSRAM) += i2c_sram.o
obj-y += spi_sram.o
obj-$(CONFIG_RK29_VPU_SERVICE) += vpu_service.o
obj-$(CONFIG_RK29_VPU_OLD) += vpu.o
#define RK29_PWM_PHYS 0x20050000
#define RK29_PWM_SIZE SZ_16K
#define RK29_I2C1_PHYS 0x20054000
+#define RK29_I2C1_BASE (RK29_ADDR_BASE1+0x54000)
#define RK29_I2C1_SIZE SZ_16K
#define RK29_I2C2_PHYS 0x20058000
+#define RK29_I2C2_BASE (RK29_ADDR_BASE1+0x58000)
#define RK29_I2C2_SIZE SZ_16K
#define RK29_I2C3_PHYS 0x2005C000
+#define RK29_I2C3_BASE (RK29_ADDR_BASE1+0x5c000)
#define RK29_I2C3_SIZE SZ_16K
#define RK29_UART1_PHYS 0x20060000
#define RK29_UART1_BASE (RK29_ADDR_BASE1+0x60000)