<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/doc/device-tree-bindings/regulator, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-03-11T06:53:19Z</updated>
<entry>
<title>regulator: Add support for ramp delay</title>
<updated>2019-03-11T06:53:19Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2019-03-06T18:37:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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: add FAN53555 family support</title>
<updated>2018-12-10T09:04:45Z</updated>
<author>
<name>Philipp Tomsich</name>
</author>
<published>2018-11-30T19:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/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>drivers: regulator: fixed: add u-boot, off-on-delay-us</title>
<updated>2018-08-20T00:38:39Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2018-07-26T11:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=39dd00fc5dbae60c4165a06b50420a36270c68ab'/>
<id>urn:sha1:39dd00fc5dbae60c4165a06b50420a36270c68ab</id>
<content type='text'>
Add u-boot,off-on-delay-us for fixed regulator.

Depends on board design, the gpio regulator sometimes
connects with a big capacitance. When need to off, then
on the regulator, if there is no enough delay,
the voltage does not drop to 0, so introduce this
property to handle such case.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>power: regulator: Add support for stm32-vrefbuf</title>
<updated>2018-05-08T13:07:39Z</updated>
<author>
<name>Fabrice Gasnier</name>
</author>
<published>2018-04-26T15:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=93cf0ae7758d66475963a6b2186e41c51a1840aa'/>
<id>urn:sha1:93cf0ae7758d66475963a6b2186e41c51a1840aa</id>
<content type='text'>
Add regulator driver for STM32 voltage reference buffer which can be
used as voltage reference for ADCs, DACs and external components through
dedicated VREF+ pin.

Signed-off-by: Fabrice Gasnier &lt;fabrice.gasnier@st.com&gt;
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</content>
</entry>
<entry>
<title>power: extend prefix match to regulator-name property</title>
<updated>2017-12-13T02:53:45Z</updated>
<author>
<name>Felix Brack</name>
</author>
<published>2017-11-27T08:14:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bf802f5d544f85c03b4097ab23d078be43c61855'/>
<id>urn:sha1:bf802f5d544f85c03b4097ab23d078be43c61855</id>
<content type='text'>
This patch extends pmic_bind_children prefix matching. In addition to
the node name the property regulator-name is used while trying to match
prefixes. This allows assigning different drivers to regulator nodes
named regulator@1 and regulator@10 for example.
I have discarded the idea of using other properties then regulator-name
as I do not see any benefit in using property compatible or even
regulator-compatible. Of course I am open to change this if there are
good reasons to do so.

Signed-off-by: Felix Brack &lt;fb@ltec.ch&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>doc: Fix statements on case sensitivity for regulator prefix</title>
<updated>2017-10-06T15:28:17Z</updated>
<author>
<name>Felix Brack</name>
</author>
<published>2017-09-22T12:27:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bd2259e3c40c097c47e1dfc58a03b1df66b44840'/>
<id>urn:sha1:bd2259e3c40c097c47e1dfc58a03b1df66b44840</id>
<content type='text'>
The regulator bindings state that regulator prefixes are allowd to be
in upper or lower case. However pmic_bind_children from pmic_uclass uses
strncmp to compare DT node name against prefix. This comparison is case
sensitive hence the regulator driver prefix case matters.

Signed-off-by: Felix Brack &lt;fb@ltec.ch&gt;
</content>
</entry>
<entry>
<title>regulator: fixed: Add support to handle enable-active-high DT property</title>
<updated>2016-12-27T13:22:57Z</updated>
<author>
<name>Vignesh R</name>
</author>
<published>2016-12-07T11:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bd2e9714c851770652253fab858cb50ecd95d329'/>
<id>urn:sha1:bd2e9714c851770652253fab858cb50ecd95d329</id>
<content type='text'>
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 &lt;vigneshr@ti.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>regulator: fixed: obey startup delay</title>
<updated>2016-09-06T17:18:21Z</updated>
<author>
<name>John Keeping</name>
</author>
<published>2016-08-22T14:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=7302fbb31d1ba8b208ae5e400028c692167c7072'/>
<id>urn:sha1:7302fbb31d1ba8b208ae5e400028c692167c7072</id>
<content type='text'>
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 &lt;john@metanate.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>power: regulator: update comments for regulator-name</title>
<updated>2015-08-12T08:03:04Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2015-08-07T08:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=40ade2ce58ed57fe1bff20265b3e015710ff862e'/>
<id>urn:sha1:40ade2ce58ed57fe1bff20265b3e015710ff862e</id>
<content type='text'>
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 &lt;Peng.Fan@freescale.com&gt;
Cc: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator</title>
<updated>2015-05-15T01:58:34Z</updated>
<author>
<name>Przemyslaw Marczak</name>
</author>
<published>2015-05-13T11:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5d387d0df9816cdf05d7bce3b7379057068a7e58'/>
<id>urn:sha1:5d387d0df9816cdf05d7bce3b7379057068a7e58</id>
<content type='text'>
This commit adds emulation of sandbox PMIC device, which includes:
- PMIC I2C emulation driver
- PMIC I/O driver (UCLASS_PMIC)
- PMIC regulator driver (UCLASS_REGULATOR)

The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes,
which allows using 'i2c md' command with the default count (16).

The sandbox PMIC provides regulators:
- 2x BUCK
- 2x LDO

Each, with adjustable output:
- Enable state
- Voltage
- Current limit (LDO1/BUCK1 only)
- Operation mode (different for BUCK and LDO)

Each attribute has it's own register, beside the enable state, which depends
on operation mode.

The header file: sandbox_pmic.h includes PMIC's default register values,
which are set on i2c pmic emul driver's probe() method.

Signed-off-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested on sandbox:
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
