summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sprd-sc27xx-spi.c
diff options
context:
space:
mode:
authorCixi Geng <cixi.geng1@unisoc.com>2022-04-25 15:24:10 +0200
committerLee Jones <lee.jones@linaro.org>2022-04-27 09:36:48 +0200
commit875709f9787c7ee48a7539d2d578f09cbdba7380 (patch)
tree921ae2b521de220e2f6483e722b1776969232589 /drivers/mfd/sprd-sc27xx-spi.c
parentdt-bindings: Drop undocumented i.MX iomuxc-gpr bindings in examples (diff)
downloadlinux-875709f9787c7ee48a7539d2d578f09cbdba7380.tar.xz
linux-875709f9787c7ee48a7539d2d578f09cbdba7380.zip
mfd: sprd: Add SC2730 PMIC to SPI device ID table
Add the SC2730 PMIC support for module autoloading through SPI modalises. Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20220425132410.2708304-1-gengcixi@gmail.com
Diffstat (limited to 'drivers/mfd/sprd-sc27xx-spi.c')
-rw-r--r--drivers/mfd/sprd-sc27xx-spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
index 55d2c31bdfb2..cf4f89114ae4 100644
--- a/drivers/mfd/sprd-sc27xx-spi.c
+++ b/drivers/mfd/sprd-sc27xx-spi.c
@@ -248,6 +248,7 @@ MODULE_DEVICE_TABLE(of, sprd_pmic_match);
static const struct spi_device_id sprd_pmic_spi_ids[] = {
{ .name = "sc2731", .driver_data = (unsigned long)&sc2731_data },
+ { .name = "sc2730", .driver_data = (unsigned long)&sc2730_data },
{},
};
MODULE_DEVICE_TABLE(spi, sprd_pmic_spi_ids);