| #
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
|
| #
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 ...
|
| #
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 ...
|
| #
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>
|
| #
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>
|
| #
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 ...
|
| #
2d221489 |
| 29-Nov-2016 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
|
| #
8d089854 |
| 26-Nov-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-rockchip
|
| #
2f5d532f |
| 26-Oct-2016 |
Keerthy <j-keerthy@ti.com> |
power: regulator: Introduce regulator_set_value_force function
In case we want to force a particular value on a regulator irrespective of the min/max constraints for testing purposes one can call re
power: regulator: Introduce regulator_set_value_force function
In case we want to force a particular value on a regulator irrespective of the min/max constraints for testing purposes one can call regulator_set_value_force function.
Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
79493609 |
| 13-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
34514b8b |
| 30-Sep-2016 |
Keerthy <j-keerthy@ti.com> |
power: regulator: Add ctrl_reg and volt_reg fields for pmic
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The re
power: regulator: Add ctrl_reg and volt_reg fields for pmic
The ctrl reg contains bit fields to enable and disable regulators, and volt_reg has the bit fields to configure the voltage values. The registers are frequently accessed hence make them part of dm_regulator_uclass_platdata structure.
Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
477dfe2f |
| 15-Sep-2016 |
Keerthy <j-keerthy@ti.com> |
power: regulator: Add support for gpio regulators
Add support for gpio regulators. As of now this driver caters to gpio regulators with one gpio. Supports setting voltage values to gpio regulators a
power: regulator: Add support for gpio regulators
Add support for gpio regulators. As of now this driver caters to gpio regulators with one gpio. Supports setting voltage values to gpio regulators and retrieving the values.
Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
fe34b6a4 |
| 28-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
2e3f1ff6 |
| 05-Jul-2016 |
Simon Glass <sjg@chromium.org> |
dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()
This new function is more convenient for callers, and handles pre-relocation situations automatically.
Signed-off-by: Simon Glass <sjg
dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()
This new function is more convenient for callers, and handles pre-relocation situations automatically.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5f5620ab |
| 12-Nov-2015 |
Stefano Babic <sbabic@denx.de> |
Merge git://git.denx.de/u-boot
|
| #
60b25259 |
| 05-Nov-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-samsung
|
| #
7c816e24 |
| 27-Oct-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
dm: regulator: add function device_get_supply_regulator()
Some devices are supplied by configurable regulator's output. But there was no function for getting it. This commit adds function, that allo
dm: regulator: add function device_get_supply_regulator()
Some devices are supplied by configurable regulator's output. But there was no function for getting it. This commit adds function, that allows for getting the supply device by it's phandle.
The returned regulator device can be used with regulator uclass's API.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
show more ...
|
| #
40ade2ce |
| 07-Aug-2015 |
Peng Fan <Peng.Fan@freescale.com> |
power: regulator: update comments for regulator-name
We do not need that "regulator-name" property must be provided in dts. If "regulator-name" property is not provided in dts, node name will chosen
power: regulator: update comments for regulator-name
We do not need that "regulator-name" property must be provided in dts. If "regulator-name" property is not provided in dts, node name will chosen for settings '.name' field of uc_pdata.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org>
show more ...
|
| #
083fc83a |
| 23-Jun-2015 |
Simon Glass <sjg@chromium.org> |
dm: power: Add a function to set up all regulators
The device tree provides information about which regulators should be on at boot, or always on. Use this to set them up automatically.
Signed-off-
dm: power: Add a function to set up all regulators
The device tree provides information about which regulators should be on at boot, or always on. Use this to set them up automatically.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
show more ...
|
| #
3b55d30f |
| 23-Jun-2015 |
Simon Glass <sjg@chromium.org> |
dm: pmic: Split output from function
The regulator_autoset() function mixes printf() output and PMIC adjustment code. It provides a boolean to control the output. It is better to avoid missing logic
dm: pmic: Split output from function
The regulator_autoset() function mixes printf() output and PMIC adjustment code. It provides a boolean to control the output. It is better to avoid missing logic and output, and this permits a smaller SPL code size. So split the output into a separate function.
Also rename the function to have a by_name() suffix, since we would like to be able to pass a device when we know it, and thus avoid the name search.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
show more ...
|
| #
7837ceab |
| 23-Jun-2015 |
Simon Glass <sjg@chromium.org> |
dm: power: Add regulator flags to centralise auto-set logic
Decide when the regulator is set up whether we want to auto-set the voltage or current. This avoids the complex logic spilling into the pr
dm: power: Add regulator flags to centralise auto-set logic
Decide when the regulator is set up whether we want to auto-set the voltage or current. This avoids the complex logic spilling into the processing code.
Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
show more ...
|
| #
3b880757 |
| 13-May-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
dm: regulator: uclass driver code cleanup
This cleanup includes: - remove of the preprocessor macros which pointed to long name functions - update of the names of some regulator uclass driver functi
dm: regulator: uclass driver code cleanup
This cleanup includes: - remove of the preprocessor macros which pointed to long name functions - update of the names of some regulator uclass driver functions - cleanup of the function regulator_autoset() - reword of some comments of regulator uclass header file - regulator_get_by_platname: check error for uclass_find_* function calls - add function: regulator_name_is_unique - regulator post_bind(): check regulator name uniqueness - fix mistakes in: regulator/Kconfig - regulator.h: update comments - odroid u3: cleanup the regulator calls
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
1757df46 |
| 20-Apr-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
dm: regulator: add max77686 regulator driver
This commit adds support to MAX77686 regulator driver, based on a driver model regulator's API. It implements almost all regulator operations, beside tho
dm: regulator: add max77686 regulator driver
This commit adds support to MAX77686 regulator driver, based on a driver model regulator's API. It implements almost all regulator operations, beside those for setting and geting the Current value. For proper bind and operation it requires the MAX77686 PMIC driver.
New file: drivers/power/regulator/max77686.c New config: CONFIG_DM_REGULATOR_MAX77686
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|