<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/power/regulator, branch v2019.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/power/regulator?h=v2019.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/power/regulator?h=v2019.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-03-11T06:53:19Z</updated>
<entry>
<title>power: regulator: s2mps11: Add enable delay</title>
<updated>2019-03-11T06:53:19Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2019-03-06T18:37:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=000ee4b7395236a50c7cb261d74efec6207cfa80'/>
<id>urn:sha1:000ee4b7395236a50c7cb261d74efec6207cfa80</id>
<content type='text'>
According to datasheet, the output on LDO regulators will start
appearing after 10-15 us.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Anand Moon &lt;linux.amoon@gmail.com&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>regulator: Add support for ramp delay</title>
<updated>2019-03-11T06:53:19Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2019-03-06T18:37:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e66d1cb3c2344ee5bbf2059e75fa94350aea9f5f'/>
<id>urn:sha1:e66d1cb3c2344ee5bbf2059e75fa94350aea9f5f</id>
<content type='text'>
Changing voltage and enabling regulator might require delays so the
regulator stabilizes at expected level.

Add support for "regulator-ramp-delay" binding which can introduce
required time to both enabling the regulator and to changing the
voltage.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Anand Moon &lt;linux.amoon@gmail.com&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: s2mps11: Fix step for LDO27 and LDO35</title>
<updated>2019-03-11T06:53:19Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>krzk@kernel.org</email>
</author>
<published>2019-03-06T18:37:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=311eaf743075da4f8a0b33faf1c75e6a8ba67df4'/>
<id>urn:sha1:311eaf743075da4f8a0b33faf1c75e6a8ba67df4</id>
<content type='text'>
LDO27 and LDO35 have 25 mV step, not 50 mV.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Tested-by: Anand Moon &lt;linux.amoon@gmail.com&gt;
Signed-off-by: Minkyu Kang &lt;mk7.kang@samsung.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: Introduce regulator_set_enable_if_allowed api</title>
<updated>2019-02-09T19:50:22Z</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-01-11T09:45:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cc4a224af226b2ea818d32af26742aaad8a3983e'/>
<id>urn:sha1:cc4a224af226b2ea818d32af26742aaad8a3983e</id>
<content type='text'>
regulator_set_enable() api throws an error in the following three cases:
- when requested to disable an always-on regulator
- when set_enable() ops not provided by regulator driver
- when enabling is actually failed.(Error returned by the regulator driver)

Sometimes consumer drivers doesn't want to track the first two scenarios
and just need to worry about the case where enabling is actually failed.
But it is also a good practice to have an error value returned in the
first two cases.

So introduce an api regulator_set_enable_if_allowed() which ignores the
first two error cases and returns an error as given by regulator driver.
Consumer drivers can use this api need not worry about the first two
error conditions.

Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Revert "power: regulator: Return success on attempt to disable an always-on regulator"</title>
<updated>2019-02-09T19:50:22Z</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2019-01-11T09:45:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f93fab312615ce0bc9aac33f9dcd876a3fed1290'/>
<id>urn:sha1:f93fab312615ce0bc9aac33f9dcd876a3fed1290</id>
<content type='text'>
This reverts commit e17e0ceb83538c015a50b965547f2f4d38f81c5d.

It is advised to return an error when trying to disable an always-on
regulator and let the consumer driver handle the error if needed.

Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>regulator: pbias: Handle extended drain IO when changing omap36 PBIAS</title>
<updated>2019-02-01T19:13:45Z</updated>
<author>
<name>Adam Ford</name>
<email>aford173@gmail.com</email>
</author>
<published>2019-01-24T20:33:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3c29a5673617c8f03e0494febca310c2ea1f7ed9'/>
<id>urn:sha1:3c29a5673617c8f03e0494febca310c2ea1f7ed9</id>
<content type='text'>
The OMAP36 and DM37 TRM state to disable extneded drain IO before
changing the PBIAS.  This patch does this before pmic writes if
the CONFIG_MMC_OMAP36XX_PINS flag is set and the cpu family is
omap36xx

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: Allow PWM regulator to be omitted from SPL.</title>
<updated>2019-01-02T21:38:09Z</updated>
<author>
<name>Christoph Muellner</name>
<email>christoph.muellner@theobroma-systems.com</email>
</author>
<published>2019-01-02T14:09:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ddc824f89aa81d2e6749a9c6967eeb70a2fcdbb1'/>
<id>urn:sha1:ddc824f89aa81d2e6749a9c6967eeb70a2fcdbb1</id>
<content type='text'>
This patch allows to enable the PWM regulator driver
independent for U-Boot and SPL.

Signed-off-by: Christoph Muellner &lt;christoph.muellner@theobroma-systems.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: Return success on attempt to disable an always-on regulator</title>
<updated>2018-12-27T12:48:31Z</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2018-12-24T11:07:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e17e0ceb83538c015a50b965547f2f4d38f81c5d'/>
<id>urn:sha1:e17e0ceb83538c015a50b965547f2f4d38f81c5d</id>
<content type='text'>
commit 4f86a724e82c0 ("power: regulator: denied disable on always-on
regulator") throws an error when requested to disable an always-on
regulator. It is right that an always-on regulator should not be
attempted to be disabled. But at the same time regulator framework
should not return an error when such request is received. Instead
it should just return success without attempting to disable the
specified regulator. This is because the requesting driver will
not have the idea if the regulator is always-on or not. The
requesting driver will always try to enable/disable regulator as
per the required flow. So it is upto regulator framework to not
break such scenarios.

Fixes: 4f86a724e82c0 ("power: regulator: denied disable on always-on regulator")
Reported-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
Reviewed-by: Faiz Abbas &lt;faiz_abbas@ti.com&gt;
Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
</content>
</entry>
<entry>
<title>power: add FAN53555 family support</title>
<updated>2018-12-10T09:04:45Z</updated>
<author>
<name>Philipp Tomsich</name>
<email>philipp.tomsich@theobroma-systems.com</email>
</author>
<published>2018-11-30T19:00:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dfb0a70a1abc16c1db1e2f30db6f3605db7e774c'/>
<id>urn:sha1:dfb0a70a1abc16c1db1e2f30db6f3605db7e774c</id>
<content type='text'>
This adds a driver for the FAN53555 family of regulators and wraps it
in a PMIC implementation.

While these devices support a 'normal' and 'suspend' mode (controlled
via an external pin) to switch between two programmable voltages, this
incarnation of the driver assumes that the device is always operating
in 'normal' mode.

Only setting/reading the programmed voltage is supported at this time
and the following device functionality remains unsupported:
  - switching the selected voltage (via a GPIO)
  - disabling the voltage output via software-control
This matches the functionality of the Linux driver.

Tested on a RK3399-Q7 (with 'option 5' devices): setting voltages from
the U-Boot shell and verifying output voltages on the board.

Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Tested-by: Klaus Goger &lt;klaus.goger@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: denied disable on always-on regulator</title>
<updated>2018-12-05T13:06:44Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2018-11-15T12:45:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4f86a724e82c0b74d9ffb7b65f8ae4b011dd0b03'/>
<id>urn:sha1:4f86a724e82c0b74d9ffb7b65f8ae4b011dd0b03</id>
<content type='text'>
Don't disable regulator which are tagged as "regulator-always-on" in DT.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jack Mitchell &lt;jack@embed.me.uk&gt;
Tested-by: Jack Mitchell &lt;jack@embed.me.uk&gt;
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Richard Röjfors &lt;richard@puffinpack.se&gt;
Tested-by: Richard Röjfors &lt;richard@puffinpack.se&gt;
Reviewed-by: Felix Brack &lt;fb@ltec.ch&gt;
Tested-by: Felix Brack &lt;fb@ltec.ch&gt;
</content>
</entry>
</feed>
