public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: FUKAUMI Naoki <naoki@radxa.com>
To: sjg@chromium.org, philipp.tomsich@vrull.eu,
	kever.yang@rock-chips.com, gajjar04akash@gmail.com,
	jagan@amarulasolutions.com, jonas@kwiboo.se
Cc: u-boot@lists.denx.de, FUKAUMI Naoki <naoki@radxa.com>
Subject: [PATCH v2 2/4] configs: rockchip: radxa-cm3-io, rock-3a: enable commands for i2c/pmic/regulator
Date: Thu, 20 Apr 2023 12:00:39 +0000	[thread overview]
Message-ID: <20230420120041.18043-2-naoki@radxa.com> (raw)
In-Reply-To: <20230420120041.18043-1-naoki@radxa.com>

enable commands for i2c/pmic/regulator and relevant configs.
also drop configs for unused regulators.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
---
v2:
- collect R-b

 configs/radxa-cm3-io-rk3566_defconfig | 8 ++++++--
 configs/rock-3a-rk3568_defconfig      | 3 ++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig
index 2100cf2cb2..9b99181714 100644
--- a/configs/radxa-cm3-io-rk3566_defconfig
+++ b/configs/radxa-cm3-io-rk3566_defconfig
@@ -37,9 +37,12 @@ CONFIG_SPL_BSS_MAX_SIZE=0x4000
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_ATF=y
 CONFIG_CMD_GPT=y
+CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_PMIC=y
+CONFIG_CMD_REGULATOR=y
 # CONFIG_SPL_DOS_PARTITION is not set
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
@@ -60,8 +63,9 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_GMAC_ROCKCHIP=y
 CONFIG_PHY_ROCKCHIP_INNO_USB2=y
 CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
-CONFIG_REGULATOR_PWM=y
-CONFIG_DM_REGULATOR_GPIO=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_RK8XX=y
+CONFIG_REGULATOR_RK8XX=y
 CONFIG_PWM_ROCKCHIP=y
 CONFIG_SPL_RAM=y
 CONFIG_BAUDRATE=1500000
diff --git a/configs/rock-3a-rk3568_defconfig b/configs/rock-3a-rk3568_defconfig
index 16a8b6092c..92562026a7 100644
--- a/configs/rock-3a-rk3568_defconfig
+++ b/configs/rock-3a-rk3568_defconfig
@@ -41,6 +41,8 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_CMD_PMIC=y
+CONFIG_CMD_REGULATOR=y
 # CONFIG_SPL_DOS_PARTITION is not set
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
@@ -64,7 +66,6 @@ CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_RK8XX=y
 CONFIG_SPL_PMIC_RK8XX=y
-CONFIG_REGULATOR_PWM=y
 CONFIG_REGULATOR_RK8XX=y
 CONFIG_PWM_ROCKCHIP=y
 CONFIG_SPL_RAM=y
-- 
2.39.2


  reply	other threads:[~2023-04-20 12:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20  9:56 [PATCH 1/3] configs: rockchip: rock-3a: make usb host work FUKAUMI Naoki
2023-04-20  9:56 ` [PATCH 2/3] configs: rockchip: radxa-cm3-io, rock-3a: enable commands for i2c/pmic/regulator FUKAUMI Naoki
2023-04-20 10:08   ` Kever Yang
2023-04-20  9:56 ` [PATCH 3/3] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb FUKAUMI Naoki
2023-04-20 10:08   ` Kever Yang
2023-04-20 10:43   ` Jonas Karlman
2023-04-20 10:07 ` [PATCH 1/3] configs: rockchip: rock-3a: make usb host work Kever Yang
2023-04-20 10:37 ` Jonas Karlman
2023-04-20 12:00 ` [PATCH v2 1/4] " FUKAUMI Naoki
2023-04-20 12:00   ` FUKAUMI Naoki [this message]
2023-04-20 12:00   ` [PATCH v2 3/4] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb FUKAUMI Naoki
2023-04-20 12:00   ` [PATCH v2 4/4] configs: rockchip: radxa-cm3-io: drop CONFIG_USB_DWC3_GENERIC FUKAUMI Naoki
2023-04-21  8:03     ` Kever Yang
2023-04-21  8:02   ` [PATCH v2 1/4] configs: rockchip: rock-3a: make usb host work Kever Yang

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=20230420120041.18043-2-naoki@radxa.com \
    --to=naoki@radxa.com \
    --cc=gajjar04akash@gmail.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --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