* [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565
@ 2019-06-06 10:36 Keerthy
2019-06-06 10:36 ` [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR " Keerthy
2019-07-14 13:08 ` [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC " Tom Rini
0 siblings, 2 replies; 4+ messages in thread
From: Keerthy @ 2019-06-06 10:36 UTC (permalink / raw)
To: u-boot
Add SPL_PMIC configs for palmas/lp873x/lp87565. These were missing
and the Makefile already assumes them to be defined. Add the corresponding
SPL config options. This enables the pmics in SPL.
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
Changes in v3:
* As per Tom's comments added the SPL_* configs instead of removing
SPL in Makefile
drivers/power/pmic/Kconfig | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index b0cd260354..064b383880 100644
--- a/drivers/power/pmic/Kconfig
+++ b/drivers/power/pmic/Kconfig
@@ -238,3 +238,24 @@ config PMIC_STPMIC1
The STPMIC1 PMIC provides 4 BUCKs, 6 LDOs, 1 VREF and 2 power switches.
It is accessed via an I2C interface. The device is used with STM32MP1
SoCs. This driver implements register read/write operations.
+
+config SPL_PMIC_PALMAS
+ bool "Enable driver for Texas Instruments PALMAS PMIC"
+ depends on DM_PMIC
+ help
+ The PALMAS is a PMIC containing several LDOs, SMPS.
+ This driver binds the pmic children in SPL.
+
+config SPL_PMIC_LP873X
+ bool "Enable driver for Texas Instruments LP873X PMIC"
+ depends on DM_PMIC
+ help
+ The LP873X is a PMIC containing couple of LDOs and couple of SMPS.
+ This driver binds the pmic children in SPL.
+
+config SPL_PMIC_LP87565
+ bool "Enable driver for Texas Instruments LP87565 PMIC"
+ depends on DM_PMIC
+ help
+ The LP87565 is a PMIC containing a bunch of SMPS.
+ This driver binds the pmic children in SPL.
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565
2019-06-06 10:36 [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565 Keerthy
@ 2019-06-06 10:36 ` Keerthy
2019-07-14 13:08 ` Tom Rini
2019-07-14 13:08 ` [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC " Tom Rini
1 sibling, 1 reply; 4+ messages in thread
From: Keerthy @ 2019-06-06 10:36 UTC (permalink / raw)
To: u-boot
Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565. These were missing
and the Makefile already assumes them to be defined. Add the corresponding
SPL config options. This enables the regulator support in SPL.
Signed-off-by: Keerthy <j-keerthy@ti.com>
---
Changes in v3:
* As per Tom's comments added the SPL_* configs instead of removing
SPL in Makefile
drivers/power/regulator/Kconfig | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index 72dfc48981..4e6c440d13 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -258,3 +258,29 @@ config SPL_DM_REGULATOR_STPMIC1
depends on SPL_DM_REGULATOR && PMIC_STPMIC1
help
Enable support for the regulator functions of the STPMIC1 PMIC in SPL.
+
+config SPL_DM_REGULATOR_PALMAS
+ bool "Enable driver for PALMAS PMIC regulators"
+ depends on SPL_PMIC_PALMAS
+ help
+ This enables implementation of driver-model regulator uclass
+ features for REGULATOR PALMAS and the family of PALMAS PMICs.
+ The driver implements get/set api for: value and enable in SPL.
+
+config SPL_DM_REGULATOR_LP87565
+ bool "Enable driver for LP87565 PMIC regulators"
+ depends on SPL_PMIC_LP87565
+ help
+ This enables implementation of driver-model regulator uclass
+ features for REGULATOR LP87565 and the family of LP87565 PMICs.
+ LP87565 series of PMICs have 4 single phase BUCKs that can also
+ be configured in multi phase modes. The driver implements
+ get/set api for value and enable in SPL.
+
+config SPL_DM_REGULATOR_LP873X
+ bool "Enable driver for LP873X PMIC regulators"
+ depends on SPL_PMIC_LP873X
+ help
+ This enables implementation of driver-model regulator uclass
+ features for REGULATOR LP873X and the family of LP873X PMICs.
+ The driver implements get/set api for: value and enable in SPL.
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565
2019-06-06 10:36 [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565 Keerthy
2019-06-06 10:36 ` [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR " Keerthy
@ 2019-07-14 13:08 ` Tom Rini
1 sibling, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-07-14 13:08 UTC (permalink / raw)
To: u-boot
On Thu, Jun 06, 2019 at 04:06:55PM +0530, Keerthy wrote:
> Add SPL_PMIC configs for palmas/lp873x/lp87565. These were missing
> and the Makefile already assumes them to be defined. Add the corresponding
> SPL config options. This enables the pmics in SPL.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190714/b922ff4f/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565
2019-06-06 10:36 ` [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR " Keerthy
@ 2019-07-14 13:08 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2019-07-14 13:08 UTC (permalink / raw)
To: u-boot
On Thu, Jun 06, 2019 at 04:06:56PM +0530, Keerthy wrote:
> Add SPL_DM_REGULATOR configs for palmas/lp873x/lp87565. These were missing
> and the Makefile already assumes them to be defined. Add the corresponding
> SPL config options. This enables the regulator support in SPL.
>
> Signed-off-by: Keerthy <j-keerthy@ti.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190714/558e86df/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-14 13:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-06 10:36 [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC configs for palmas/lp873x/lp87565 Keerthy
2019-06-06 10:36 ` [U-Boot] [PATCH v3 2/2] power: regulator: Kconfig: Add SPL_DM_REGULATOR " Keerthy
2019-07-14 13:08 ` Tom Rini
2019-07-14 13:08 ` [U-Boot] [PATCH v3 1/2] power: pmic: Kconfig: Add SPL_PMIC " Tom Rini
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.