mfd: sprd: Add SC2730 PMIC to SPI device ID table
authorCixi Geng <cixi.geng1@unisoc.com>
Mon, 25 Apr 2022 13:24:10 +0000 (21:24 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 27 Apr 2022 07:36:48 +0000 (08:36 +0100)
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
drivers/mfd/sprd-sc27xx-spi.c

index 55d2c31..cf4f891 100644 (file)
@@ -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);