History log of /rk3399_rockchip-uboot/drivers/power/regulator/rk8xx.c (Results 1 – 25 of 29)
Revision Date Author Comments
# c8147680 26-Aug-2024 Shengfei Xu <xsf@rock-chips.com>

regulator: rk817: Add boost support

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


# ef9c5d10 27-Nov-2023 shengfei Xu <xsf@rock-chips.com>

power: rk806: Add i2c interface support for regulator

Merge rk806 regulator into drivers/power/regulator/rk8xx.c

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

power: rk806: Add i2c interface support for regulator

Merge rk806 regulator into drivers/power/regulator/rk8xx.c

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

show more ...


# b509cd39 02-Jul-2023 Jonas Karlman <jonas@kwiboo.se>

UPSTREAM: power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled

A quick power cycle of a LDO regulator during dw-mmc signal voltage
change has shown that SD-card does not always ge

UPSTREAM: power: regulator: rk8xx: Add 500us delay after LDO regulator is enabled

A quick power cycle of a LDO regulator during dw-mmc signal voltage
change has shown that SD-card does not always get recognized.

Linux driver use an enable_time of 400us for LDO regulators. Apply a
500us delay when a LDO regulator is enabled to fix possible issues.

Fixes: 94afc1cb466a ("power: regulator: rk8xx: update the driver for rk808 and rk818")
Change-Id: I8c09302f1c7eee97c8f776f0b37337ec856829eb
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: elaine.zhang<elaine.zhang@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>

show more ...


# 293182c3 29-Nov-2021 William Wu <william.wu@rock-chips.com>

regulator: rk809: fix switch set wrong value

The SWOUT1 of RK809 is used for VCC5V0_HOST of USB2.0 Host
interface on RV1126 EVB, without this patch, it fails to
power off the SWOUT1. This patch fixe

regulator: rk809: fix switch set wrong value

The SWOUT1 of RK809 is used for VCC5V0_HOST of USB2.0 Host
interface on RV1126 EVB, without this patch, it fails to
power off the SWOUT1. This patch fixes the set value to
power on/off the SWOUT1 successfully.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I3d9ca571ba586e73f997459b83716770ab53f400

show more ...


# a4d1e7ee 03-Apr-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 68a90c31 31-Mar-2020 shengfei Xu <xsf@rock-chips.com>

regulator: rk809/817: implement get the switch voltage

If the switch is enabled, it's voltage is same as parent supply.

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

regulator: rk809/817: implement get the switch voltage

If the switch is enabled, it's voltage is same as parent supply.

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

show more ...


# d4c8c996 31-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 3fe21f02 30-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

regulator: rk8xx: fix buck get wrong value

Before this, we always get the 1st of BUCK range group which
brings the problems we face now.

Let's traverse all the possible BUCK ranges to fix this issu

regulator: rk8xx: fix buck get wrong value

Before this, we always get the 1st of BUCK range group which
brings the problems we face now.

Let's traverse all the possible BUCK ranges to fix this issue.

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

show more ...


# 573b2cce 24-Jan-2019 Shunqing Chen <csq@rock-chips.com>

regulator: rk8xx: add switch get/set value

RK8xx switch does not need to set the voltage,
but if dts set regulator-min-microvolt/regulator-max-microvolt,
will cause regulator set value fail and not

regulator: rk8xx: add switch get/set value

RK8xx switch does not need to set the voltage,
but if dts set regulator-min-microvolt/regulator-max-microvolt,
will cause regulator set value fail and not to enable this switch.
So add an empty function to return success.

Change-Id: Ifc3cfe24902123d7434f3f6560a8e530c03d0b2a
Signed-off-by: Shunqing Chen <csq@rock-chips.com>

show more ...


# 5e347bef 10-Jul-2018 Elaine Zhang <zhangqing@rock-chips.com>

regulator: rk816: support rk816 ES2 chip

Change-Id: Idaba0e148b520e2d43d2185461acaab3ff9cb16d
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>


# 712b6f80 03-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: rk8xx: implement get suspend value and enable callback

- regulator_get_suspend_enable;
- regulator_get_suspend_value;

Change-Id: Id2326f4286d6eb45cfa5c0b47bcbf0030dbfd128
Signed-off-by:

regulator: rk8xx: implement get suspend value and enable callback

- regulator_get_suspend_enable;
- regulator_get_suspend_value;

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

show more ...


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

regulator: rk8xx: remove REG_DCDC_UV_ACT setting

no special reason to remove, just to keep the same setting
with rkdevelop which is stable.

Change-Id: I3fe810d7080e29525cdf24c4475b0acb5380a9c5
Sign

regulator: rk8xx: remove REG_DCDC_UV_ACT setting

no special reason to remove, just to keep the same setting
with rkdevelop which is stable.

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

show more ...


# 04d4208b 02-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: rk8xx: fix LDO 'config_reg' missing

1. use 'NA' to indicate not unsed or not exist configure;
2. there is not configure register for ldo, so define it as NA;

Change-Id: Ic87e5c9fe6128c14

regulator: rk8xx: fix LDO 'config_reg' missing

1. use 'NA' to indicate not unsed or not exist configure;
2. there is not configure register for ldo, so define it as NA;

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

show more ...


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

regulator: rk8xx: add ops->set_ramp_delay() implement

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


# 1b6b965c 22-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

pmic: add rk809 support

include sub modules: pmic, regulator, pwrkey

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


# 3e092505 07-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: add min_sel for rk816 buck and ldo

This fixes get voltage error

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


# 7f18d96c 07-Feb-2018 Joseph Chen <chenjh@rock-chips.com>

pmic: add RK817 support

include sub modules: pmic, regulator, pwrkey

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


# 48e66864 20-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

power: rk8xx: fix compile warning

If CONFIG_SPL_BUILD is not enable, some functions are defined but
not used.

Change-Id: I1d67f8f5d69c92d2d26209a17d7a765a56b10e59
Signed-off-by: Kever Yang <kever.y

power: rk8xx: fix compile warning

If CONFIG_SPL_BUILD is not enable, some functions are defined but
not used.

Change-Id: I1d67f8f5d69c92d2d26209a17d7a765a56b10e59
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


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

regulator: rk8xx: add regulator suspend state setting implement

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


# 4b6f5dc9 08-Sep-2017 Elaine Zhang <zhangqing@rock-chips.com>

power: pmic: rk805: support rk805 pmic

Change-Id: I2d757eb748e5903e0287557f3c6a64b8e3c89596
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>


# 5e1bceea 08-Sep-2017 Elaine Zhang <zhangqing@rock-chips.com>

power: pmic: rk816: support rk816 pmic

Change-Id: I609eef4efe25833d3d878a74931ca240365faa30
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>


# 585c7032 13-Jun-2017 Keerthy <j-keerthy@ti.com>

power: regulator: rk8xx: get_enable should return integer

get_enable should be able to return error values. Hence change
the return type to integer.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Review

power: regulator: rk8xx: get_enable should return integer

get_enable should be able to return error values. Hence change
the return type to integer.

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

show more ...


# d43ef73b 11-Jul-2017 Tom Rini <trini@konsulko.com>

Merge branch 'master' of git://git.denx.de/u-boot-rockchip


# ad98f882 19-Jun-2017 Wadim Egorov <w.egorov@phytec.de>

power: regulator: rk8xx: Allow input current/charger shutdown configuration

The RK818 PMIC contains a charger. Add very basic charger functionality
to be able to regulate the USB input current and c

power: regulator: rk8xx: Allow input current/charger shutdown configuration

The RK818 PMIC contains a charger. Add very basic charger functionality
to be able to regulate the USB input current and charger shutdown limits.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


# 8926c2f5 19-Jun-2017 Wadim Egorov <w.egorov@phytec.de>

power: regulator: rk8xx: Build get_ldo_reg only for SPL

Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning:
‘get_ldo_reg’ defined but not used [-Wunused-function]

Let's wrap get_ldo_

power: regulator: rk8xx: Build get_ldo_reg only for SPL

Enabling CONFIG_SPL_POWER_SUPPORT will cause a compiler warning:
‘get_ldo_reg’ defined but not used [-Wunused-function]

Let's wrap get_ldo_reg(), rk808_ldo and rk818_ldo with ENABLE_DRIVER
which is only set for non SPL builds.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


12