<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/power/pmic/pmic-uclass.c, branch v2016.09</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/power/pmic/pmic-uclass.c?h=v2016.09</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/power/pmic/pmic-uclass.c?h=v2016.09'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-01-22T03:42:35Z</updated>
<entry>
<title>dm: power: Tidy up debugging output and return values</title>
<updated>2016-01-22T03:42:35Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-01-22T02:43:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d5779993dbc487695fbfe88716fd70618a5db99'/>
<id>urn:sha1:7d5779993dbc487695fbfe88716fd70618a5db99</id>
<content type='text'>
The currect PMIC debugging is a little confusing. Adjust it so that it is
clear whether the operation succeeded or failed. Also, avoid creating a new
error return value when a perfectly good one is already available.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: power: Allow regulators to be omitted from SPL</title>
<updated>2016-01-22T03:42:35Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-01-22T02:43:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1f2b4b06ae327ea899d63b1dd0d12751b9ac850b'/>
<id>urn:sha1:1f2b4b06ae327ea899d63b1dd0d12751b9ac850b</id>
<content type='text'>
For some boards the pmic interface is useful but the regulator interface
(which comes with it) is too large. Allow them to be separated such that
SPL can decide which it needs.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: pmic: Correct the pmic_reg_write() implementation</title>
<updated>2015-08-06T03:06:12Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-03T00:16:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cd367d89979c0476e2fcbca445a49008b372872b'/>
<id>urn:sha1:cd367d89979c0476e2fcbca445a49008b372872b</id>
<content type='text'>
This should write the register, not read it. Fix this bug.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
</entry>
<entry>
<title>power: pmic: Use trailing_strtol() instead of a local function</title>
<updated>2015-07-21T23:39:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:39:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e15bb3e63c87672c1f3b82edd9853eb7c3abfa20'/>
<id>urn:sha1:e15bb3e63c87672c1f3b82edd9853eb7c3abfa20</id>
<content type='text'>
Use the common function to obtain the number from the end of the string,
instead of a local function. Also tweak the position of a debug() statement.

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: 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: Avoid case-insensitve match for child names</title>
<updated>2015-07-21T23:39:25Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-06-23T21:38:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=23ec2b570d948519109c284eddd14146c84d1f62'/>
<id>urn:sha1:23ec2b570d948519109c284eddd14146c84d1f62</id>
<content type='text'>
This is not user input (i.e. from the command line). It should be possible
to get the case correct and avoid the case-insensitive match. This will
help avoid sloppy device tree setups.

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: code cleanup of PMIC uclass driver</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:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f415a3ec9dfafc887ddf34aee0c579fc948c5740'/>
<id>urn:sha1:f415a3ec9dfafc887ddf34aee0c579fc948c5740</id>
<content type='text'>
The cleanup includes:
- pmic.h - fix mistakes in a few comments
- pmic operations: value 'reg_count' - redefine as function call
- fix function name: pmic_bind_childs() -&gt; pmic_bind_children()
- pmic_bind_children: change the 'while' loop with the 'for'
- add implementation of pmic_reg_count() method
- pmic_bind_children() - update function call name
- Kconfig: add new line at the end of file
- Update MAX77686 driver code

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: pmic: add implementation of driver model pmic uclass</title>
<updated>2015-05-15T00:49:37Z</updated>
<author>
<name>Przemyslaw Marczak</name>
<email>p.marczak@samsung.com</email>
</author>
<published>2015-04-20T18:07:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4d9057e82be11a862db411c4867e859fe0d4ca2a'/>
<id>urn:sha1:4d9057e82be11a862db411c4867e859fe0d4ca2a</id>
<content type='text'>
This commit introduces the PMIC uclass implementation.
It allows providing the basic I/O interface for PMIC devices.
For the multi-function PMIC devices, this can be used as I/O
parent device, for each IC's interface. Then, each PMIC particular
function can be provided by the child device's operations, and the
child devices will use its parent for read/write by the common API.

Core files:
- 'include/power/pmic.h'
- 'drivers/power/pmic/pmic-uclass.c'

The old pmic framework is still kept and is independent.

For more detailed informations, please look into the header file.

Changes:
- new uclass-id: UCLASS_PMIC
- new config: CONFIG_DM_PMIC

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