diff mbox series

[5/9] soc: mediatek: mtk-pmic-wrap: add compatible for MT6392 PMIC

Message ID 20241226050205.30241-6-val@packett.cool (mailing list archive)
State New
Headers show
Series mt6397: Add support for the MT6392 PMIC | expand

Commit Message

Val Packett Dec. 26, 2024, 4:58 a.m. UTC
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(+)

Comments

AngeloGioacchino Del Regno Jan. 2, 2025, 10:26 a.m. UTC | #1
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 mbox series

Patch

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 },