* [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver
@ 2025-11-03 3:26 Joy Zou
2025-11-03 3:26 ` [PATCH 1/3] regulator: pf9453: change the device ID register address Joy Zou
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Joy Zou @ 2025-11-03 3:26 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Frank Li; +Cc: linux-kernel, imx, Joy Zou
For the details, please check the patch commit log.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
Joy Zou (3):
regulator: pf9453: change the device ID register address
regulator: pf9453: remove low power mode
regulator: pf9453: remove unused I2C_LT register
drivers/regulator/pf9453-regulator.c | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
---
base-commit: 98bd8b16ae57e8f25c95d496fcde3dfdd8223d41
change-id: 20251103-b4-next-pf9453-c9f8fb6e0c10
Best regards,
--
Joy Zou <joy.zou@nxp.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] regulator: pf9453: change the device ID register address
2025-11-03 3:26 [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Joy Zou
@ 2025-11-03 3:26 ` Joy Zou
2025-11-03 3:26 ` [PATCH 2/3] regulator: pf9453: remove low power mode Joy Zou
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Joy Zou @ 2025-11-03 3:26 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Frank Li; +Cc: linux-kernel, imx, Joy Zou
Remove unnecessary register OTP_Ver and change the device ID address to
0x1. Previous version chip is never mass production. So not broken
compatibility.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
drivers/regulator/pf9453-regulator.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/regulator/pf9453-regulator.c b/drivers/regulator/pf9453-regulator.c
index be627f49b61762bb2b3a1830c14ae3a7255034e2..d522715a7c74908b39880ce9f0bfc252a4dd4ba2 100644
--- a/drivers/regulator/pf9453-regulator.c
+++ b/drivers/regulator/pf9453-regulator.c
@@ -65,8 +65,7 @@ enum {
#define PF9453_LDOSNVS_VOLTAGE_NUM 0x59
enum {
- PF9453_REG_DEV_ID = 0x00,
- PF9453_REG_OTP_VER = 0x01,
+ PF9453_REG_DEV_ID = 0x01,
PF9453_REG_INT1 = 0x02,
PF9453_REG_INT1_MASK = 0x03,
PF9453_REG_INT1_STATUS = 0x04,
--
2.37.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] regulator: pf9453: remove low power mode
2025-11-03 3:26 [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Joy Zou
2025-11-03 3:26 ` [PATCH 1/3] regulator: pf9453: change the device ID register address Joy Zou
@ 2025-11-03 3:26 ` Joy Zou
2025-11-03 3:26 ` [PATCH 3/3] regulator: pf9453: remove unused I2C_LT register Joy Zou
2025-11-04 15:06 ` [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Joy Zou @ 2025-11-03 3:26 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Frank Li; +Cc: linux-kernel, imx, Joy Zou
Remove low power mode support to align with the Rev.1.0 -- 25 June 2025
datasheet, which no longer support this feature.
Datasheet is available at
https://www.nxp.com/docs/en/data-sheet/PF9453.pdf.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
drivers/regulator/pf9453-regulator.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/regulator/pf9453-regulator.c b/drivers/regulator/pf9453-regulator.c
index d522715a7c74908b39880ce9f0bfc252a4dd4ba2..fded3e65b856f51be97d9d4b307a2291d247a21a 100644
--- a/drivers/regulator/pf9453-regulator.c
+++ b/drivers/regulator/pf9453-regulator.c
@@ -119,7 +119,6 @@ enum {
#define LDO_ENMODE_ONREQ_STBY_DPSTBY 0x03
/* PF9453_REG_BUCK1_CTRL bits */
-#define BUCK1_LPMODE 0x30
#define BUCK1_AD 0x08
#define BUCK1_FPWM 0x04
#define BUCK1_ENMODE_MASK GENMASK(1, 0)
@@ -130,19 +129,16 @@ enum {
#define BUCK2_RAMP_12P5MV 0x1
#define BUCK2_RAMP_6P25MV 0x2
#define BUCK2_RAMP_3P125MV 0x3
-#define BUCK2_LPMODE 0x30
#define BUCK2_AD 0x08
#define BUCK2_FPWM 0x04
#define BUCK2_ENMODE_MASK GENMASK(1, 0)
/* PF9453_REG_BUCK3_CTRL bits */
-#define BUCK3_LPMODE 0x30
#define BUCK3_AD 0x08
#define BUCK3_FPWM 0x04
#define BUCK3_ENMODE_MASK GENMASK(1, 0)
/* PF9453_REG_BUCK4_CTRL bits */
-#define BUCK4_LPMODE 0x30
#define BUCK4_AD 0x08
#define BUCK4_FPWM 0x04
#define BUCK4_ENMODE_MASK GENMASK(1, 0)
@@ -535,14 +531,6 @@ static int buck_set_dvs(const struct regulator_desc *desc,
}
}
- if (ret == 0) {
- struct pf9453_regulator_desc *regulator = container_of(desc,
- struct pf9453_regulator_desc, desc);
-
- /* Enable DVS control through PMIC_STBY_REQ for this BUCK */
- ret = pf9453_pmic_write(pf9453, regulator->desc.enable_reg,
- BUCK2_LPMODE, BUCK2_LPMODE);
- }
return ret;
}
--
2.37.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] regulator: pf9453: remove unused I2C_LT register
2025-11-03 3:26 [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Joy Zou
2025-11-03 3:26 ` [PATCH 1/3] regulator: pf9453: change the device ID register address Joy Zou
2025-11-03 3:26 ` [PATCH 2/3] regulator: pf9453: remove low power mode Joy Zou
@ 2025-11-03 3:26 ` Joy Zou
2025-11-04 15:06 ` [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Joy Zou @ 2025-11-03 3:26 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Frank Li; +Cc: linux-kernel, imx, Joy Zou
Remove unused I2C_LT registers, which not defined in PF9453 datasheet.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
---
drivers/regulator/pf9453-regulator.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/regulator/pf9453-regulator.c b/drivers/regulator/pf9453-regulator.c
index fded3e65b856f51be97d9d4b307a2291d247a21a..4cd7a9068836f61d6308e6bd733bdff95dd158a3 100644
--- a/drivers/regulator/pf9453-regulator.c
+++ b/drivers/regulator/pf9453-regulator.c
@@ -187,13 +187,6 @@ enum {
#define WDOG_B_CFG_WARM 0x40
#define WDOG_B_CFG_COLD 0x80
-/* PF9453_REG_CONFIG2 bits */
-#define I2C_LT_MASK GENMASK(1, 0)
-#define I2C_LT_FORCE_DISABLE 0x00
-#define I2C_LT_ON_STANDBY_RUN 0x01
-#define I2C_LT_ON_RUN 0x02
-#define I2C_LT_FORCE_ENABLE 0x03
-
static const struct regmap_range pf9453_status_range = {
.range_min = PF9453_REG_INT1,
.range_max = PF9453_REG_PWRON_STAT,
--
2.37.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver
2025-11-03 3:26 [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Joy Zou
` (2 preceding siblings ...)
2025-11-03 3:26 ` [PATCH 3/3] regulator: pf9453: remove unused I2C_LT register Joy Zou
@ 2025-11-04 15:06 ` Mark Brown
3 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2025-11-04 15:06 UTC (permalink / raw)
To: Liam Girdwood, Frank Li, Joy Zou; +Cc: linux-kernel, imx
On Mon, 03 Nov 2025 11:26:46 +0800, Joy Zou wrote:
> For the details, please check the patch commit log.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/3] regulator: pf9453: change the device ID register address
commit: a2d4691b3fec6a2360e4ec953d06819ea055c3e7
[2/3] regulator: pf9453: remove low power mode
commit: 0144a2b29d95af8523c308116de65d398d6e935b
[3/3] regulator: pf9453: remove unused I2C_LT register
commit: 2ecc8c089802e033d2e5204d21a9f467e2517df9
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-11-04 15:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 3:26 [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Joy Zou
2025-11-03 3:26 ` [PATCH 1/3] regulator: pf9453: change the device ID register address Joy Zou
2025-11-03 3:26 ` [PATCH 2/3] regulator: pf9453: remove low power mode Joy Zou
2025-11-03 3:26 ` [PATCH 3/3] regulator: pf9453: remove unused I2C_LT register Joy Zou
2025-11-04 15:06 ` [PATCH 0/3] regulator: pf9453: optimize PMIC PF9453 driver Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox