Message ID | 20241226050205.30241-6-val@packett.cool |
---|---|
State | New |
Headers | show |
Series | mt6397: Add support for the MT6392 PMIC | expand |
Il 26/12/24 05:58, Val Packett ha scritto: > The MT6392 PMIC is equivalent to the MT6323 in terms of pwrap. > Add the compatible to use the same configuration. > > Signed-off-by: Val Packett <val@packett.cool> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index 9fdc0ef792026..59611ef0b144f 100644 --- a/drivers/soc/mediatek/mtk-pmic-wrap.c +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c @@ -2249,6 +2249,7 @@ static const struct pwrap_slv_type pmic_mt6397 = { static const struct of_device_id of_slave_match_tbl[] = { { .compatible = "mediatek,mt6323", .data = &pmic_mt6323 }, + { .compatible = "mediatek,mt6392", .data = &pmic_mt6323 }, { .compatible = "mediatek,mt6331", .data = &pmic_mt6331 }, { .compatible = "mediatek,mt6351", .data = &pmic_mt6351 }, { .compatible = "mediatek,mt6357", .data = &pmic_mt6357 },
The MT6392 PMIC is equivalent to the MT6323 in terms of pwrap. Add the compatible to use the same configuration. Signed-off-by: Val Packett <val@packett.cool> --- drivers/soc/mediatek/mtk-pmic-wrap.c | 1 + 1 file changed, 1 insertion(+)