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
This commit is contained in:
Cixi Geng 2022-04-25 21:24:10 +08:00 committed by Lee Jones
parent 3474b838f4
commit 875709f978

View 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);