Message ID | 20221025095503.1254110-4-martyn.welch@collabora.com |
---|---|
State | Accepted |
Commit | e0554577598adf3b559d0a8b705e4078ef9fba17 |
Delegated to: | Stefano Babic |
Headers | show |
Series | [v5,1/5] imx8m: USDHC3 base address definition for i.MX8MP | expand |
> -----Original Message----- > From: Martyn Welch [mailto:martyn.welch@collabora.com] > Sent: Tuesday, October 25, 2022 6:55 PM > To: uboot-imx@nxp.com; sbabic@denx.de; Jaehoon Chung <jh80.chung@samsung.com> > Cc: Martyn Welch <martyn.welch@collabora.co.uk>; Simon Glass <sjg@chromium.org>; u- > boot@lists.denx.de > Subject: [PATCH v5 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL > > From: Martyn Welch <martyn.welch@collabora.co.uk> > > The support added later in this series tweaks the PMIC voltages in the > SPL. Enable support for the rn5t567 in SPL builds to allow this to be done > cleanly. > > Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> > Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Best Regards, Jaehoon Chung > --- > > Changes in v3: > - New patch (replaces addition of legacy support for rn5t567) > > Changes in v4: > - None > > Changes in v5: > - Rebase to current master branch > > drivers/power/pmic/Kconfig | 8 ++++++++ > drivers/power/pmic/Makefile | 2 +- > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig > index 0478f2aa1d..628d3a94bc 100644 > --- a/drivers/power/pmic/Kconfig > +++ b/drivers/power/pmic/Kconfig > @@ -300,6 +300,14 @@ config PMIC_RN5T567 > regulators Real-Time Clock and 4 GPIOs. This driver provides > register access only. > > +config SPL_PMIC_RN5T567 > + bool "Enable driver for Ricoh RN5T567 PMIC in SPL" > + depends on SPL_DM_PMIC > + ---help--- > + The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO > + regulators Real-Time Clock and 4 GPIOs. This driver provides > + register access only. > + > config PMIC_TPS65090 > bool "Enable driver for Texas Instruments TPS65090 PMIC" > ---help--- > diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile > index e1d3545490..58c6507c58 100644 > --- a/drivers/power/pmic/Makefile > +++ b/drivers/power/pmic/Makefile > @@ -22,7 +22,7 @@ obj-$(CONFIG_$(SPL_)PMIC_AXP) += axp.o > obj-$(CONFIG_PMIC_MAX8997) += max8997.o > obj-$(CONFIG_PMIC_QCOM) += pmic_qcom.o > obj-$(CONFIG_$(SPL_TPL_)PMIC_RK8XX) += rk8xx.o > -obj-$(CONFIG_PMIC_RN5T567) += rn5t567.o > +obj-$(CONFIG_$(SPL_)PMIC_RN5T567) += rn5t567.o > obj-$(CONFIG_PMIC_TPS65090) += tps65090.o > obj-$(CONFIG_PMIC_S5M8767) += s5m8767.o > obj-$(CONFIG_DM_PMIC_TPS65910) += pmic_tps65910_dm.o > -- > 2.35.1
> From: Martyn Welch <martyn.welch@collabora.co.uk> > The support added later in this series tweaks the PMIC voltages in the > SPL. Enable support for the rn5t567 in SPL builds to allow this to be done > cleanly. > Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk> > Reviewed-by: Simon Glass <sjg@chromium.org> > Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig index 0478f2aa1d..628d3a94bc 100644 --- a/drivers/power/pmic/Kconfig +++ b/drivers/power/pmic/Kconfig @@ -300,6 +300,14 @@ config PMIC_RN5T567 regulators Real-Time Clock and 4 GPIOs. This driver provides register access only. +config SPL_PMIC_RN5T567 + bool "Enable driver for Ricoh RN5T567 PMIC in SPL" + depends on SPL_DM_PMIC + ---help--- + The RN5T567 is a PMIC with 4 step-down DC/DC converters, 5 LDO + regulators Real-Time Clock and 4 GPIOs. This driver provides + register access only. + config PMIC_TPS65090 bool "Enable driver for Texas Instruments TPS65090 PMIC" ---help--- diff --git a/drivers/power/pmic/Makefile b/drivers/power/pmic/Makefile index e1d3545490..58c6507c58 100644 --- a/drivers/power/pmic/Makefile +++ b/drivers/power/pmic/Makefile @@ -22,7 +22,7 @@ obj-$(CONFIG_$(SPL_)PMIC_AXP) += axp.o obj-$(CONFIG_PMIC_MAX8997) += max8997.o obj-$(CONFIG_PMIC_QCOM) += pmic_qcom.o obj-$(CONFIG_$(SPL_TPL_)PMIC_RK8XX) += rk8xx.o -obj-$(CONFIG_PMIC_RN5T567) += rn5t567.o +obj-$(CONFIG_$(SPL_)PMIC_RN5T567) += rn5t567.o obj-$(CONFIG_PMIC_TPS65090) += tps65090.o obj-$(CONFIG_PMIC_S5M8767) += s5m8767.o obj-$(CONFIG_DM_PMIC_TPS65910) += pmic_tps65910_dm.o