[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240425094829.2.I04ec53442753147c35efad1307b6ec133f53b471@changeid>
Date: Thu, 25 Apr 2024 09:48:33 +0200
From: Patrick Delaunay <patrick.delaunay@...s.st.com>
To: Alexandre TORGUE <alexandre.torgue@...s.st.com>,
Liam Girdwood
<lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Maxime Coquelin
<mcoquelin.stm32@...il.com>
CC: Patrick Delaunay <patrick.delaunay@...s.st.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>
Subject: [PATCH 2/3] regulator: stm32-pwr: add support of correct compatible
Remove the unexpected comma in the compatible "st,stm32mp1,pwr-reg",
and support the new compatible "st,stm32mp1-pwr-reg".
The old compatible is keept for compatibility with old device trees.
Signed-off-by: Patrick Delaunay <patrick.delaunay@...s.st.com>
---
drivers/regulator/stm32-pwr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/stm32-pwr.c b/drivers/regulator/stm32-pwr.c
index 85b0102fb9b1..f6a761167726 100644
--- a/drivers/regulator/stm32-pwr.c
+++ b/drivers/regulator/stm32-pwr.c
@@ -165,6 +165,7 @@ static int stm32_pwr_regulator_probe(struct platform_device *pdev)
}
static const struct of_device_id __maybe_unused stm32_pwr_of_match[] = {
+ { .compatible = "st,stm32mp1-pwr-reg", },
{ .compatible = "st,stm32mp1,pwr-reg", },
{},
};
--
2.25.1
Powered by blists - more mailing lists