All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frieder Schrempf <frieder@fris.de>
To: u-boot@lists.denx.de, Fabio Estevam <festevam@denx.de>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>
Cc: Frieder Schrempf <frieder.schrempf@kontron.de>,
	Joy Zou <joy.zou@nxp.com>, Peng Fan <peng.fan@nxp.com>,
	Ye Li <ye.li@nxp.com>
Subject: [PATCH 2/6] pmic: pca9450: Fix enable register for LDO5
Date: Mon, 11 Aug 2025 15:11:58 +0200	[thread overview]
Message-ID: <20250811131213.211124-3-frieder@fris.de> (raw)
In-Reply-To: <20250811131213.211124-1-frieder@fris.de>

From: Frieder Schrempf <frieder.schrempf@kontron.de>

The LDO5 regulator has two configuration registers, but only
LDO5CTRL_L contains the bits for enabling/disabling the regulator.

This is equivalent to the following change in Linux:

f5aab0438ef1 ("regulator: pca9450: Fix enable register for LDO5")

Fixes: 326337fb005f ("pmic: pca9450: Add regulator driver")
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
---
 drivers/power/regulator/pca9450.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/regulator/pca9450.c b/drivers/power/regulator/pca9450.c
index a2a34244723..27db55e688d 100644
--- a/drivers/power/regulator/pca9450.c
+++ b/drivers/power/regulator/pca9450.c
@@ -144,7 +144,7 @@ static struct pca9450_plat pca9450_reg_data[] = {
 	PCA_DATA("LDO4", PCA9450_LDO4CTRL, HW_STATE_CONTROL,
 		 PCA9450_LDO4CTRL, PCA9450_LDO34_MASK,
 		 pca9450_ldo34_vranges),
-	PCA_DATA("LDO5", PCA9450_LDO5CTRL_H, HW_STATE_CONTROL,
+	PCA_DATA("LDO5", PCA9450_LDO5CTRL_L, HW_STATE_CONTROL,
 		 PCA9450_LDO5CTRL_H, PCA9450_LDO5_MASK,
 		 pca9450_ldo5_vranges),
 };
-- 
2.50.1


  parent reply	other threads:[~2025-08-11 13:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-11 13:11 [PATCH 0/6] Use correct LDO5 control registers for PCA9450 Frieder Schrempf
2025-08-11 13:11 ` [PATCH 1/6] Revert "pmic: pca9450: Add optional SD_VSEL GPIO for LDO5" Frieder Schrempf
2025-08-11 13:11 ` Frieder Schrempf [this message]
2025-08-11 13:11 ` [PATCH 3/6] pmic: pca9450: Fix control register for LDO5 Frieder Schrempf
2025-08-11 13:12 ` [PATCH 4/6] pmic: pca9450: Handle hardware with fixed SD_VSEL " Frieder Schrempf
2025-08-11 13:12 ` [PATCH 5/6] arm: dts: imx8mp-data-modul-edm-sbc: Remove deprecated sd-vsel-gpios Frieder Schrempf
2025-08-11 14:22   ` Marek Vasut
2025-08-11 13:12 ` [PATCH 6/6] arm: dts: imx8mp-dhcom-som: " Frieder Schrempf
2025-08-11 14:21   ` Marek Vasut
2025-08-25  8:40 ` [PATCH 0/6] Use correct LDO5 control registers for PCA9450 Frieder Schrempf
2025-08-27  5:46   ` Peng Fan
2025-08-27  7:37     ` Frieder Schrempf
2025-08-27 14:32       ` Tom Rini
2025-09-01  7:44 ` Peng Fan (OSS)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250811131213.211124-3-frieder@fris.de \
    --to=frieder@fris.de \
    --cc=festevam@denx.de \
    --cc=frieder.schrempf@kontron.de \
    --cc=jh80.chung@samsung.com \
    --cc=joy.zou@nxp.com \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.