mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mfd: pca9450: add support for PCA9450B variant
@ 2024-11-20 13:07 Ahmad Fatoum
  2024-11-25  8:25 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-11-20 13:07 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The PCA9450B is the PMIC used on the i.MX8M Nano EVKs and as far as the
Linux driver is concerned is handled identically to the PCA9450C that we
already support. Match the B-compatible as well, so we can read the
reset source off that PMIC.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/mfd/pca9450.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/pca9450.c b/drivers/mfd/pca9450.c
index 89eca9f890e3..744d529faf93 100644
--- a/drivers/mfd/pca9450.c
+++ b/drivers/mfd/pca9450.c
@@ -114,6 +114,7 @@ static int __init pca9450_probe(struct device *dev)
 
 static __maybe_unused struct of_device_id pca9450_dt_ids[] = {
 	{ .compatible = "nxp,pca9450a" },
+	{ .compatible = "nxp,pca9450b" },
 	{ .compatible = "nxp,pca9450c" },
 	{ .compatible = "nxp,pca9451a" },
 	{ /* sentinel */ }
-- 
2.39.5




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mfd: pca9450: add support for PCA9450B variant
  2024-11-20 13:07 [PATCH] mfd: pca9450: add support for PCA9450B variant Ahmad Fatoum
@ 2024-11-25  8:25 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2024-11-25  8:25 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Wed, 20 Nov 2024 14:07:19 +0100, Ahmad Fatoum wrote:
> The PCA9450B is the PMIC used on the i.MX8M Nano EVKs and as far as the
> Linux driver is concerned is handled identically to the PCA9450C that we
> already support. Match the B-compatible as well, so we can read the
> reset source off that PMIC.
> 
> 

Applied, thanks!

[1/1] mfd: pca9450: add support for PCA9450B variant
      https://git.pengutronix.de/cgit/barebox/commit/?id=01915f5ee2e7 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-25  8:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-20 13:07 [PATCH] mfd: pca9450: add support for PCA9450B variant Ahmad Fatoum
2024-11-25  8:25 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox