From ba120ad91d5645739c32a2bf2811adad4c4f8bd2 Mon Sep 17 00:00:00 2001 From: Algea Cao Date: Mon, 27 Apr 2020 09:19:41 +0800 Subject: [PATCH] mfd: Add RK630 mfd driver Change-Id: I03c127df4ec2ad80cbaf4b0d4ad540cb5b32a245 Signed-off-by: Algea Cao --- drivers/mfd/Kconfig | 23 +++++++++++++++++++++++ drivers/mfd/Makefile | 3 +++ 2 files changed, 26 insertions(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index cbb5f2665f86..820653112155 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1115,6 +1115,29 @@ config MFD_RC5T583 Additional drivers must be enabled in order to use the different functionality of the device. +config MFD_RK630 + tristate "RK630 CORE module support" + select MFD_CORE + help + if you say yes here you get support for the RK630, with func as + TVEncoder or CODEC. + +config MFD_RK630_I2C + tristate "RK630 I2C interface support" + select MFD_RK630 + select REGMAP_I2C + help + if you say yes here you get support for the RK630 when controlled + using I2C. + +config MFD_RK630_SPI + tristate "RK630 SPI interface support" + select MFD_RK630 + select REGMAP_SPI + help + if you say yes here you get support for the RK630 when controlled + using SPI. + config MFD_RK808 tristate "Rockchip RK805/RK808/RK809/RK816/RK817/RK818 Power Management Chip" depends on I2C && OF diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 1780019d2474..f9e07716635f 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -219,6 +219,9 @@ obj-$(CONFIG_MFD_INTEL_PMC_BXT) += intel_pmc_bxt.o obj-$(CONFIG_MFD_PALMAS) += palmas.o obj-$(CONFIG_MFD_VIPERBOARD) += viperboard.o obj-$(CONFIG_MFD_RC5T583) += rc5t583.o rc5t583-irq.o +obj-$(CONFIG_MFD_RK630) += rk630.o +obj-$(CONFIG_MFD_RK630_I2C) += rk630-i2c.o +obj-$(CONFIG_MFD_RK630_SPI) += rk630-spi.o obj-$(CONFIG_MFD_RK808) += rk808.o obj-$(CONFIG_MFD_RN5T618) += rn5t618.o obj-$(CONFIG_MFD_SEC_CORE) += sec-core.o sec-irq.o