History log of /rk3399_rockchip-uboot/drivers/power/regulator/regulator-uclass.c (Results 1 – 25 of 48)
Revision Date Author Comments
# d5e408ad 15-Jan-2025 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: Add get_ramp_delay() support

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0dd9fcd8a499df21a791d62dccc8daa5a857eec1


# b270c27c 09-Dec-2024 Shengfei Xu <xsf@rock-chips.com>

dm: regulator: the always-on regulator should never be disabled

If the regulator is an always on regulator, we don't need to
do work for disable calls.

Change-Id: Ie6a9181abd249abd8559d7c9b0ff93eaa

dm: regulator: the always-on regulator should never be disabled

If the regulator is an always on regulator, we don't need to
do work for disable calls.

Change-Id: Ie6a9181abd249abd8559d7c9b0ff93eaa5f3b9bc
Signed-off-by: Shengfei Xu <xsf@rock-chips.com>

show more ...


# 219e0f93 21-Oct-2024 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: Enable fixed reglator all the time

REGULATOR_FLAG_AUTOSET_UV will be set if min_uV == max_uV, and then
the regulator_set_value() will be called and returns -ENOSYS for
fixed regulator

dm: regulator: Enable fixed reglator all the time

REGULATOR_FLAG_AUTOSET_UV will be set if min_uV == max_uV, and then
the regulator_set_value() will be called and returns -ENOSYS for
fixed regulator, it makes the following regulator_set_enable() was
not called.

This patch follow upstream solution, but we have to ignore result
to compabile the old possible failure before this patch.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0d89c0abc48c29c913cf30ad4ae919852750c2b8

show more ...


# 172237e2 07-Mar-2023 Jon Lin <jon.lin@rock-chips.com>

Revert "dm: regulator: skip probed pre-reloc regulators"

This reverts commit 9a7b7f26ec66fca6fc43ff0ea333e16b2f6317f8.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Change-Id: Icd35e4a5b67e6fa701

Revert "dm: regulator: skip probed pre-reloc regulators"

This reverts commit 9a7b7f26ec66fca6fc43ff0ea333e16b2f6317f8.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Change-Id: Icd35e4a5b67e6fa701c6e87aba3e4434f7dd22a9

show more ...


# 9a7b7f26 25-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: skip probed pre-reloc regulators

Some regulator like fixed/gpio regultor applies a default
output state when probed. It maybe reverse the state which
was set by the pre-reloc regulato

dm: regulator: skip probed pre-reloc regulators

Some regulator like fixed/gpio regultor applies a default
output state when probed. It maybe reverse the state which
was set by the pre-reloc regulator. Example: vcc3v3_pcie.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I47c191013b0467d57d709705c8e069a804a1c526

show more ...


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 54c0dba4 06-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: print uc_pdata name instead of dev name

The uc_pdata->name is from property "regulator-name" which
is more accuracy to descript this regulator.

Change-Id: I813604ff528b757a1f9b9191db

dm: regulator: print uc_pdata name instead of dev name

The uc_pdata->name is from property "regulator-name" which
is more accuracy to descript this regulator.

Change-Id: I813604ff528b757a1f9b9191dbdd4472f838a367
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 6999767b 26-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: add "regulator-loader-ignore" property support

The property indicates this regulator should skip init setting
sequence, usually for saving boot time.

Change-Id: I40a81c84b0696c70b16d

dm: regulator: add "regulator-loader-ignore" property support

The property indicates this regulator should skip init setting
sequence, usually for saving boot time.

Change-Id: I40a81c84b0696c70b16ddba50aeb457412287116
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 45ec5783 10-Jan-2019 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: avoid double print voltage

regulator would print value when set init voltage.

Change-Id: I8bc9df40d452ae89cced7145e8760e29d7339ac8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 71ebef54 03-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: update regulator init voltage message

Change-Id: Ic24328579e765d011840e383618b771a31370d9c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 0ae9790c 07-Oct-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: drop regulator-state-mem initial from autoset

init regulator-state-mem wastes time a lot and is only needed when
system suspend is called, so provide regulators_enable_state_mem()
the

dm: regulator: drop regulator-state-mem initial from autoset

init regulator-state-mem wastes time a lot and is only needed when
system suspend is called, so provide regulators_enable_state_mem()
the driver that implements system suspend.

Change-Id: I2499df7caa9224879eed057d9269e8dcdce11c51
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 32db71f8 03-Sep-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: print unfixed bucks voltage

This is mainly for debugging since voltage info is so important
when system abort at early boot flow of U-Boot or kernel. On
rockchip platforms, it usually

dm: regulator: print unfixed bucks voltage

This is mainly for debugging since voltage info is so important
when system abort at early boot flow of U-Boot or kernel. On
rockchip platforms, it usually prints vdd_arm and vdd_logic.

Change-Id: Ibb58cb8865ab6857a51a8f50d8a7633c9132985d
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 8152d3f6 03-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: update message print format

Change-Id: Ibaa0a21c64f672b59f4e1dc3881ecf232f471444
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 71aebe78 03-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: add regulator_get_suspend_enable and regulator_get_suspend_value

Change-Id: Ib5148f588896ff76a465923fb12956dc6c433de7
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# a538876e 09-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: print init voltage

Change-Id: I266a76f43485eac8770e51787985b93992ef0668
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# f98160cb 29-Jun-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: verbose more regulator configure message

regulator_show() is used as an debug way, so its verbose
message should be detail enough, this helps a lot.

Change-Id: Iabe5fc65e8b6ff27b9c92

dm: regulator: verbose more regulator configure message

regulator_show() is used as an debug way, so its verbose
message should be detail enough, this helps a lot.

Change-Id: Iabe5fc65e8b6ff27b9c92bc3f0b6948e1013a9c8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 34483cf7 28-Jun-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: make suspend and normal configure non relative

suspend configure result should not influence normal configure

Change-Id: I7107ad5f3303d1f1456ada5949deced5fa8e4ec2
Signed-off-by: Jose

dm: regulator: make suspend and normal configure non relative

suspend configure result should not influence normal configure

Change-Id: I7107ad5f3303d1f1456ada5949deced5fa8e4ec2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# b29e2b63 25-Mar-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: add "regulator-ramp-delay" support

Change-Id: Ic5bc78b2688b88d726c54dfff4f790746d92966b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 0e1b20c5 24-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: add "regulator-init-microvolt" support

Change-Id: I5045dc33157d071460302b513b67b942fef1586d
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 2f22a22f 07-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: uclass: remove suspend voltage min and max validate

min and max voltage are used to limit run time voltage, suspend
voltage should not limited by them.

Change-Id: I8b3660c51992d8baec6401

regulator: uclass: remove suspend voltage min and max validate

min and max voltage are used to limit run time voltage, suspend
voltage should not limited by them.

Change-Id: I8b3660c51992d8baec6401630e3ec093b01b1260
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# fbc6dab9 27-Nov-2017 Joseph Chen <chenjh@rock-chips.com>

dm: regulator: support regulator set suspend state

support parse regulator standard property:
regulator-off-in-suspend;
regulator-suspend-microvolt;

Change-Id: I59bf60b28293e891b4d2817462efb36447

dm: regulator: support regulator set suspend state

support parse regulator standard property:
regulator-off-in-suspend;
regulator-suspend-microvolt;

Change-Id: I59bf60b28293e891b4d2817462efb36447c46887
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 06bdf600 13-Jun-2017 Keerthy <j-keerthy@ti.com>

regulator: Change get_enable return type to integer from bool

Change get_enable return type to int so errors can be returned.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg

regulator: Change get_enable return type to integer from bool

Change get_enable return type to int so errors can be returned.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

show more ...


# 8cb3ce64 10-Jun-2017 Tom Rini <trini@konsulko.com>

Merge git://git.denx.de/u-boot-dm


# 422f04b6 31-May-2017 Simon Glass <sjg@chromium.org>

power: regulator: Add more debugging and fix a missing newline

This file does not report a few possible errors and one message is missing
a newline. Fix these.

Signed-off-by: Simon Glass <sjg@chrom

power: regulator: Add more debugging and fix a missing newline

This file does not report a few possible errors and one message is missing
a newline. Fix these.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

show more ...


# f15cd4f1 19-May-2017 Simon Glass <sjg@chromium.org>

dm: regulator: Convert regulator uclass to support livetree

Update the regulator uclass to support a live device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>


12