| #
85f143db |
| 07-Mar-2023 |
Jon Lin <jon.lin@rock-chips.com> |
regulator: fixed: Support gpios property
Change-Id: I90e9146153cdc62e6908d406afe7f911e5668ff7 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
3c74eaaa |
| 20-Jul-2021 |
Joseph Chen <chenjh@rock-chips.com> |
regulator: fixed: Enable gpio when requested
This patch refers to upstream commit: (e88d6979d1 regulator: fix: enable gpio when requested)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-
regulator: fixed: Enable gpio when requested
This patch refers to upstream commit: (e88d6979d1 regulator: fix: enable gpio when requested)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ide388dfc084c43675d8e6b4c7b97fb82f540da2c
show more ...
|
| #
5d3e5a0a |
| 08-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "regulator: fixed: print failed message"
This reverts commit b8f8a3972937ba2875934a41a15347c0c664a8dd.
Change-Id: I6a2d474504833b9a4efa3ef37dc76c4051db1098 Signed-off-by: Joseph Chen <chenjh
Revert "regulator: fixed: print failed message"
This reverts commit b8f8a3972937ba2875934a41a15347c0c664a8dd.
Change-Id: I6a2d474504833b9a4efa3ef37dc76c4051db1098 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
b8f8a397 |
| 06-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
regulator: fixed: print failed message
Fixed-regulator maybe the first device probed by regulators_enable_boot_on(), its failure ends up the other regulator traverse(e.g. PMIC regulator), we hope to
regulator: fixed: print failed message
Fixed-regulator maybe the first device probed by regulators_enable_boot_on(), its failure ends up the other regulator traverse(e.g. PMIC regulator), we hope to get this information.
Change-Id: I2f1f67232dbb8a1b72dc8dfec75f1f6414b2abb9 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
90aa625c |
| 16-Sep-2017 |
Masahiro Yamada <yamada.masahiro@socionext.com> |
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h
treewide: replace with error() with pr_err()
U-Boot widely uses error() as a bit noisier variant of printf().
This macro causes name conflict with the following line in include/linux/compiler-gcc.h:
# define __compiletime_error(message) __attribute__((error(message)))
This prevents us from using __compiletime_error(), and makes it difficult to fully sync BUILD_BUG macros with Linux. (Notice Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)
Let's convert error() into now treewide-available pr_err().
Done with the help of Coccinelle, excluing tools/ directory.
The semantic patch I used is as follows:
// <smpl> @@@@ -error +pr_err (...) // </smpl>
Change-Id: I921807c1770d36a91e692c48ab477558bb2ed0b8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Re-run Coccinelle] Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 9b643e312d528f291966c1f30b0d90bf3b1d43dc)
show more ...
|
| #
0f2194d8 |
| 13-Jun-2017 |
Keerthy <j-keerthy@ti.com> |
power: regulator: fixed: 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: fixed: 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 ...
|
| #
a5493f82 |
| 19-May-2017 |
Simon Glass <sjg@chromium.org> |
dm: regulator: Update fixed regulator to support livetree.
Update this driver to support a live device tree.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
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 ...
|
| #
bd2e9714 |
| 07-Dec-2016 |
Vignesh R <vigneshr@ti.com> |
regulator: fixed: Add support to handle enable-active-high DT property
Add support to handle enable-active-high DT property. This property is used to drive the gpio controlling fixed regulator as ac
regulator: fixed: Add support to handle enable-active-high DT property
Add support to handle enable-active-high DT property. This property is used to drive the gpio controlling fixed regulator as active high when claiming gpio line.
Signed-off-by: Vignesh R <vigneshr@ti.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
f812574e |
| 12-Oct-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-tegra
|
| #
dc06f63f |
| 28-Sep-2016 |
Marcel Ziswiler <marcel.ziswiler@toradex.com> |
regulator: fixed: honour optionality of enable gpio
According to the binding documentation the fixed regulator enable GPIO is optional. However so far registration thereof failed if no enable GPIO w
regulator: fixed: honour optionality of enable gpio
According to the binding documentation the fixed regulator enable GPIO is optional. However so far registration thereof failed if no enable GPIO was specified. Fix this by making it entirely optional whether an enable GPIO is used.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
show more ...
|
| #
7302fbb3 |
| 22-Aug-2016 |
John Keeping <john@metanate.com> |
regulator: fixed: obey startup delay
When enabling a fixed regulator, it may take some time to rise to the correct voltage. If we do not delay here then subsequent operations will fail.
Signed-off
regulator: fixed: obey startup delay
When enabling a fixed regulator, it may take some time to rise to the correct voltage. If we do not delay here then subsequent operations will fail.
Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9923a8b4 |
| 20-Apr-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
dm: regulator: add fixed voltage regulator driver
This driver implements regulator operations for fixed Voltage/Current value regulators. beside the standard regulator constraints, which are put int
dm: regulator: add fixed voltage regulator driver
This driver implements regulator operations for fixed Voltage/Current value regulators. beside the standard regulator constraints, which are put into the uclass platform data, a typical fixed regulator node provides few additional properties like: - gpio - gpio-open-drain - enable-active-high - startup-delay-us The only 'gpio' is used by this driver and is kept in structure of type 'fixed_regulator_platdata', as a device platform data (dev->platdata).
The driver implements: - get_value - get_current - get_enable - set_enable
The regulator calls and commands can be used for fixed-regulator devices, and the proper error will be returned for prohibited.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|