From d55e0faa1243216d7909aa8289f4ddb238ce31f9 Mon Sep 17 00:00:00 2001 From: Cixi Geng Date: Mon, 25 Apr 2022 21:24:10 +0800 Subject: [PATCH] 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 Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20220425132410.2708304-1-gengcixi@gmail.com --- drivers/mfd/sprd-sc27xx-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index 55d2c31bdfb20..cf4f89114ae4f 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); -- 2.39.5