@@ -135,6 +135,9 @@ static const struct mfd_cell mt6323_devs[] = {
static const struct mfd_cell mt6357_devs[] = {
{
+ .name = "mt6359-auxadc",
+ .of_compatible = "mediatek,mt6357-auxadc"
+ }, {
.name = "mt6357-regulator",
}, {
.name = "mt6357-rtc",
@@ -175,6 +178,9 @@ static const struct mfd_cell mt6331_mt6332_devs[] = {
static const struct mfd_cell mt6358_devs[] = {
{
+ .name = "mt6359-auxadc",
+ .of_compatible = "mediatek,mt6358-auxadc"
+ }, {
.name = "mt6358-regulator",
.of_compatible = "mediatek,mt6358-regulator"
}, {
@@ -194,6 +200,10 @@ static const struct mfd_cell mt6358_devs[] = {
};
static const struct mfd_cell mt6359_devs[] = {
+ {
+ .name = "mt6359-auxadc",
+ .of_compatible = "mediatek,mt6359-auxadc"
+ },
{ .name = "mt6359-regulator", },
{
.name = "mt6359-rtc",
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> --- drivers/mfd/mt6397-core.c | 10 ++++++++++ 1 file changed, 10 insertions(+)