History log of /rk3399_rockchip-uboot/drivers/power/regulator/pwm_regulator.c (Results 1 – 19 of 19)
Revision Date Author Comments
# 25a7c60a 27-May-2020 Joseph Chen <chenjh@rock-chips.com>

Revert "regulator: pwm: remove init voltage setting"

This reverts commit ef473e3642fe16fd46ded9815791b623cd11c4f3.

We merged this commit while we didn't notice that this driver gets
init voltage fr

Revert "regulator: pwm: remove init voltage setting"

This reverts commit ef473e3642fe16fd46ded9815791b623cd11c4f3.

We merged this commit while we didn't notice that this driver gets
init voltage from legacy "rockchip,pwm_voltage = <...>", but regulator
uclass gets it from "regulator-init-microvolt = <...>". so we have to
revert this commit to compatible the legacy one.

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

show more ...


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

Merge branch 'next-dev' into thunder-boot


# ef473e36 14-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

regulator: pwm: remove init voltage setting

Regulator uclass takes over this job, avoid to init twice.

Change-Id: Idea56143bd7008742936d3bbe1ebadb00c683a47
Signed-off-by: Joseph Chen <chenjh@rock-c

regulator: pwm: remove init voltage setting

Regulator uclass takes over this job, avoid to init twice.

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

show more ...


# f1ba13f8 04-Mar-2018 Masahiro Yamada <yamada.masahiro@socionext.com>

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt header

UPSTREAM: libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>

Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.

This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.h

and replaces include directives:
#include <libfdt.h> -> #include <linux/libfdt.h>
#include <libfdt_env.h> -> #include <linux/libfdt_env.h>

Change-Id: I68fd5734d6460c169fa5ee2893c57cb5d73340b6
Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit b08c8c4870831c9315dcae237772238e80035bd5)

show more ...


# 53dc0e67 29-Nov-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: pwm: use debug to verbose init voltage

dm regulator uclass would verbose this message.

Change-Id: I76c73bdcf6354d7d892f75ad022be416d3ab0c09
Signed-off-by: Joseph Chen <chenjh@rock-chips.

regulator: pwm: use debug to verbose init voltage

dm regulator uclass would verbose this message.

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

show more ...


# 537b230e 06-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

regulator: pwm: support "rockchip,pwm_voltage" init voltage

1. add this property to compabile legacy pwm regulator driver
on rkdevelop;
2. give default init voltage 1.1v;

Change-Id: I7b1f989c28d

regulator: pwm: support "rockchip,pwm_voltage" init voltage

1. add this property to compabile legacy pwm regulator driver
on rkdevelop;
2. give default init voltage 1.1v;

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

show more ...


# 917ec9ee 22-Jun-2018 Joseph Chen <chenjh@rock-chips.com>

power: pwm regulator: make message from printf to debug

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


# 27b7c228 24-May-2018 Kever Yang <kever.yang@rock-chips.com>

pwm-regulator: do not fail if no regulator-init-microvolt found

There are many boards in kernel do not have a regulator-init-microvolt
in pwm regulator, let's make it available.

Change-Id: Ib8235af

pwm-regulator: do not fail if no regulator-init-microvolt found

There are many boards in kernel do not have a regulator-init-microvolt
in pwm regulator, let's make it available.

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

show more ...


# b33ebddf 23-Mar-2018 Andy Yan <andy.yan@rock-chips.com>

power: pwm regulator: support live tree

Use live tree compatible api for pwm regulator.

Change-Id: Id12c96c0631b6d963d663ef83e3df50abef5e827
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>


# 3030c951 19-Jul-2017 Kever Yang <kever.yang@rock-chips.com>

power: pwm_regulator: remove redundant code

The regulator_enable() should be called from upper layer like
regulators_enable_boot_on(), remove it from pwm regulator driver.

Signed-off-by: Kever Yang

power: pwm_regulator: remove redundant code

The regulator_enable() should be called from upper layer like
regulators_enable_boot_on(), remove it from pwm regulator driver.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[fixed up typo in commit message:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


# f339bca2 19-Jul-2017 Kever Yang <kever.yang@rock-chips.com>

power: pwm_regulator: fix the pwm_set_config parameter order

The rkpwm reg order has fixed by below patch:
e3ef41d rockchip: pwm: fix the register layout for the PWM controller

We need to correct t

power: pwm_regulator: fix the pwm_set_config parameter order

The rkpwm reg order has fixed by below patch:
e3ef41d rockchip: pwm: fix the register layout for the PWM controller

We need to correct the parameter order for pwm_set_config() to make
the pwm regulator works correctly.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

show more ...


# 156d64fa 08-Jun-2017 Tom Rini <trini@konsulko.com>

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

Here is additional rk3368 and rk3399 support, rv1108 support,
refactoring HDMI video (brought in from Anatolij's tree to resolve
conflicts), some mkimage fixe

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

Here is additional rk3368 and rk3399 support, rv1108 support,
refactoring HDMI video (brought in from Anatolij's tree to resolve
conflicts), some mkimage fixes and a few other things.

show more ...


# c40d48bb 13-May-2017 Mark Kettenis <kettenis@openbsd.org>

regulator: pwm: Fix handling of missing init voltage

Since priv->init_voltage is an unsigned integer it can never be
negative. So the current code fails to detect a missing
'regulator-init-microvol

regulator: pwm: Fix handling of missing init voltage

Since priv->init_voltage is an unsigned integer it can never be
negative. So the current code fails to detect a missing
'regulator-init-microvolt' property and instead misconfigures the
PWM device. Fix this by making the relevant members of
'struct pwm_regulator_info' signed integers.

Signed-off-by: Mark Kettenis <kettenis@openbsd.org>

show more ...


# 1f5541c8 10-May-2017 Tom Rini <trini@konsulko.com>

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

This adds a new firefly-rk3399 board, MIPI support for rk3399 and
rk3288, rk818 pmic support, mkimage improvements for rockchip and a few
other things.


# 0b60111a 24-Apr-2017 Kever Yang <kever.yang@rock-chips.com>

power: regulator: pwm: support pwm polarity setting

The latest kernel PWM drivers enable the polarity settings. When system
run from U-Boot to kerenl, if there are differences in polarity set or
dut

power: regulator: pwm: support pwm polarity setting

The latest kernel PWM drivers enable the polarity settings. When system
run from U-Boot to kerenl, if there are differences in polarity set or
duty cycle, the PMW will re-init:
close -> set polarity and duty cycle -> enable the PWM.
The power supply controled by pwm regulator may have voltage shaking,
which lead to the system not stable.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...


# 21342d4a 08-Feb-2017 Tom Rini <trini@konsulko.com>

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


# e160f7d4 17-Jan-2017 Simon Glass <sjg@chromium.org>

dm: core: Replace of_offset with accessor

At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree,

dm: core: Replace of_offset with accessor

At present devices use a simple integer offset to record the device tree
node associated with the device. In preparation for supporting a live
device tree, which uses a node pointer instead, refactor existing code to
access this field through an inline function.

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

show more ...


# 51b4a639 03-Oct-2016 Tom Rini <trini@konsulko.com>

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


# 1a016956 23-Sep-2016 Kever Yang <kever.yang@rock-chips.com>

power: regulator: add pwm regulator

add driver support for pwm regulator.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simo

power: regulator: add pwm regulator

add driver support for pwm regulator.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>

show more ...