Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: mt6397-core: Add support for AUXADCs on MT6357/58/59 PMICs

Add the relevant AUXADC driver entries to the MFD cells of the
MT6357, MT6358, MT6359 PMICs to support their Auxiliary ADCs.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240530093410.112716-4-angelogioacchino.delregno@collabora.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

AngeloGioacchino Del Regno and committed by
Lee Jones
316b8ab3 5bbd03db

+10
+10
drivers/mfd/mt6397-core.c
··· 135 135 136 136 static const struct mfd_cell mt6357_devs[] = { 137 137 { 138 + .name = "mt6359-auxadc", 139 + .of_compatible = "mediatek,mt6357-auxadc" 140 + }, { 138 141 .name = "mt6357-regulator", 139 142 }, { 140 143 .name = "mt6357-rtc", ··· 178 175 179 176 static const struct mfd_cell mt6358_devs[] = { 180 177 { 178 + .name = "mt6359-auxadc", 179 + .of_compatible = "mediatek,mt6358-auxadc" 180 + }, { 181 181 .name = "mt6358-regulator", 182 182 .of_compatible = "mediatek,mt6358-regulator" 183 183 }, { ··· 200 194 }; 201 195 202 196 static const struct mfd_cell mt6359_devs[] = { 197 + { 198 + .name = "mt6359-auxadc", 199 + .of_compatible = "mediatek,mt6359-auxadc" 200 + }, 203 201 { .name = "mt6359-regulator", }, 204 202 { 205 203 .name = "mt6359-rtc",