<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/power, branch v2015.10-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/include/power?h=v2015.10-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/include/power?h=v2015.10-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-08-02T11:40:37Z</updated>
<entry>
<title>Merge branch 'master' of git://www.denx.de/git/u-boot-imx</title>
<updated>2015-08-02T11:40:37Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2015-08-02T11:40:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7a1af7a79bd79ded6a78d0c1afdbc3353669e313'/>
<id>urn:sha1:7a1af7a79bd79ded6a78d0c1afdbc3353669e313</id>
<content type='text'>
</content>
</entry>
<entry>
<title>power: pmic: Add support for MAX77696 PMIC</title>
<updated>2015-07-26T10:11:33Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2015-07-21T22:48:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a643acd44c342afbbe14eb073f86a6d0a355c121'/>
<id>urn:sha1:a643acd44c342afbbe14eb073f86a6d0a355c121</id>
<content type='text'>
Add support for MAX77696 PMIC.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
</content>
</entry>
<entry>
<title>dm: pmic: Add functions to adjust PMIC registers</title>
<updated>2015-07-21T23:39:27Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:39:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c69c7fb57be1e184126aa29782942243ced7421'/>
<id>urn:sha1:6c69c7fb57be1e184126aa29782942243ced7421</id>
<content type='text'>
It is a common requirement to update some PMIC registers. Provide some
simple convenience functions to do this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
<entry>
<title>dm: power: Add a function to set up all regulators</title>
<updated>2015-07-21T23:39:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:38:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=083fc83a4e1187a3f42575c8e3df089d3be622ad'/>
<id>urn:sha1:083fc83a4e1187a3f42575c8e3df089d3be622ad</id>
<content type='text'>
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 &lt;sjg@chromium.org&gt;
Tested-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
<entry>
<title>dm: pmic: Split output from function</title>
<updated>2015-07-21T23:39:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:38:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3b55d30f6ff2f16c5fd02685bff7639211e6d326'/>
<id>urn:sha1:3b55d30f6ff2f16c5fd02685bff7639211e6d326</id>
<content type='text'>
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 &lt;sjg@chromium.org&gt;
Tested-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
<entry>
<title>dm: power: Add regulator flags to centralise auto-set logic</title>
<updated>2015-07-21T23:39:26Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:38:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7837ceab1ef8d4a88fb218bfa6b042b0b865b15f'/>
<id>urn:sha1:7837ceab1ef8d4a88fb218bfa6b042b0b865b15f</id>
<content type='text'>
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 &lt;sjg@chromium.org&gt;
Tested-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
<entry>
<title>pmic: pfuze100 fix typo</title>
<updated>2015-05-19T13:13:38Z</updated>
<author>
<name>Peng Fan</name>
<email>Peng.Fan@freescale.com</email>
</author>
<published>2015-05-18T05:37:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3fd10f3e25487121563fddfdd9c44cd863662b7a'/>
<id>urn:sha1:3fd10f3e25487121563fddfdd9c44cd863662b7a</id>
<content type='text'>
Change PUZE_100_SW1ABCONF to PFUZE100_SW1ABCONF

Signed-off-by: Peng Fan &lt;Peng.Fan@freescale.com&gt;
</content>
</entry>
<entry>
<title>test: dm: add sandbox PMIC framework tests</title>
<updated>2015-05-15T01:58:34Z</updated>
<author>
<name>Przemyslaw Marczak</name>
<email>p.marczak@samsung.com</email>
</author>
<published>2015-05-13T11:38:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8f339e0e8bb15ba6e4079d0a239ddc211a02935'/>
<id>urn:sha1:e8f339e0e8bb15ba6e4079d0a239ddc211a02935</id>
<content type='text'>
This change adds new file to sandbox driver model test environment.
The file is: test/dm/power.c, and it includes tests for PMIC framework,
which includes PMIC uclass and REGULATOR uclass.

All tests are based od Sandbox PMIC emulated device. Some test constants for
this device are defined in the header: include/power/sandbox_pmic.h

PMIC tests includes:
- pmic get - tests, that pmic_get() returns the requested device
- pmic I/O - tests I/O by writing and reading some values to PMIC's registers
             and then compares, that the write/read values are equal.

The regulator tests includes:
- Regulator get by devname/platname
- Voltage set/get
- Current set/get
- Enable set/get
- Mode set/get
- Autoset
- List autoset

For the regulator 'get' test, the returned device pointers are compared,
and their names are also compared to the requested one.
Every other test, first sets the given attribute and next try to get it.
The test pass, when the set/get values are equal.

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>
<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>
<email>p.marczak@samsung.com</email>
</author>
<published>2015-05-13T11:38:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/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>
<entry>
<title>dm: regulator: uclass driver code cleanup</title>
<updated>2015-05-15T01:58:34Z</updated>
<author>
<name>Przemyslaw Marczak</name>
<email>p.marczak@samsung.com</email>
</author>
<published>2015-05-13T11:38:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3b880757abcaf676dd599663e5b79dd26ea97a80'/>
<id>urn:sha1:3b880757abcaf676dd599663e5b79dd26ea97a80</id>
<content type='text'>
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 &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>
