public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: u-boot@lists.denx.de
Cc: Romain Naour <romain.naour@gmail.com>
Subject: [PATCH 4/4] ARM: omap3_beagle: Enable DM_PMIC and DM_REGULATOR
Date: Fri, 25 Feb 2022 12:18:34 +0100	[thread overview]
Message-ID: <20220225111834.231005-4-romain.naour@gmail.com> (raw)
In-Reply-To: <20220225111834.231005-1-romain.naour@gmail.com>

Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO
gives us the ability to better monitor voltages and enable
hardware through the device tree. The TL4030 (TPS65950) is
not yet migrated to DM, so this patch only enables the fixed
and GPIO controlled regulators.

Based on commit [1][2].

[1] a40d3cc845756e1e38af5ac31986539417e64abb
[2] 2448e42d73fb91e4b56bb41b2677e18ab99a6c83

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 configs/omap3_beagle_defconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig
index a9b2c15cee..c7111f4e63 100644
--- a/configs/omap3_beagle_defconfig
+++ b/configs/omap3_beagle_defconfig
@@ -85,6 +85,11 @@ CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
 CONFIG_DM_ETH=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_SINGLE=y
+CONFIG_DM_PMIC=y
+# CONFIG_SPL_PMIC_CHILDREN is not set
+CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_OMAP3_SPI=y
-- 
2.35.1


  parent reply	other threads:[~2022-02-25 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-25 11:18 [PATCH 1/4] ARM: omap3_beagle: Remove non-DM initialization Romain Naour
2022-02-25 11:18 ` [PATCH 2/4] ARM: omap3_beagle: Power on MMC when setting up PMIC Romain Naour
2022-03-14 13:07   ` Tom Rini
2022-02-25 11:18 ` [PATCH 3/4] ARM: omap3_beagle: Enable Pinctrl Romain Naour
2022-03-14 13:07   ` Tom Rini
2022-02-25 11:18 ` Romain Naour [this message]
2022-03-14 13:07   ` [PATCH 4/4] ARM: omap3_beagle: Enable DM_PMIC and DM_REGULATOR Tom Rini
2022-03-14 13:07 ` [PATCH 1/4] ARM: omap3_beagle: Remove non-DM initialization Tom Rini

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=20220225111834.231005-4-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox