<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pm24.git/include/linux/regulator, branch v3.19-rc7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.kobert.dev/pm24.git/atom?h=v3.19-rc7</id>
<link rel='self' href='https://git.kobert.dev/pm24.git/atom?h=v3.19-rc7'/>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/'/>
<updated>2014-12-05T11:14:43Z</updated>
<entry>
<title>Merge remote-tracking branches 'regulator/topic/sky81452' and 'regulator/topic/stub' into regulator-next</title>
<updated>2014-12-05T11:14:43Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-12-05T11:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=176488fbc121a4670849f2d10332b0fac333886b'/>
<id>urn:sha1:176488fbc121a4670849f2d10332b0fac333886b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regulator/topic/max77686', 'regulator/topic/max77693', 'regulator/topic/max77802', 'regulator/topic/power-off' and 'regulator/topic/rk808' into regulator-next</title>
<updated>2014-12-05T11:14:37Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-12-05T11:14:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=92d07a8ff6e2e7844d1bce4e35c98c6a773d6f17'/>
<id>urn:sha1:92d07a8ff6e2e7844d1bce4e35c98c6a773d6f17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regulator/topic/anatop', 'regulator/topic/disable', 'regulator/topic/dummy' and 'regulator/topic/gpio' into regulator-next</title>
<updated>2014-12-05T11:14:35Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-12-05T11:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=af012d6278d87ea612f2f9b74a0ffa75d2d92f20'/>
<id>urn:sha1:af012d6278d87ea612f2f9b74a0ffa75d2d92f20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge tag 'v3.18-rc4' into regulator-max77802</title>
<updated>2014-11-26T20:37:57Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-11-26T20:37:57Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=cf2394f70cf7774a107fbaa1ef5010db4bd69baa'/>
<id>urn:sha1:cf2394f70cf7774a107fbaa1ef5010db4bd69baa</id>
<content type='text'>
Linux 3.18-rc4
</content>
</entry>
<entry>
<title>regulator: of: Pass the regulator description in the match table</title>
<updated>2014-11-26T18:58:14Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier.martinez@collabora.co.uk</email>
</author>
<published>2014-11-10T13:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=75d6b2faf79cbe9086e831351d5d9085f1852928'/>
<id>urn:sha1:75d6b2faf79cbe9086e831351d5d9085f1852928</id>
<content type='text'>
Drivers can use the of_regulator_match() function to parse the regulator
init_data from DT. A match table is used to specify the name of the node
containing the regulators, the device node and to return the init_data
to the caller.

But also the static regulator descriptor is needed to correctly extract
some DT properties like the regulator initial and suspend modes. Use the
match table to pass that information.

Signed-off-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: of: Add regulator desc param to of_get_regulator_init_data()</title>
<updated>2014-11-26T18:58:14Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier.martinez@collabora.co.uk</email>
</author>
<published>2014-11-10T13:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=072e78b12bf5182a3e2e460388214a291023ef1c'/>
<id>urn:sha1:072e78b12bf5182a3e2e460388214a291023ef1c</id>
<content type='text'>
The of_get_regulator_init_data() function is used to extract the regulator
init_data but information on how to extract certain data is defined in the
static regulator descriptor (e.g: how to map the hardware operating modes).

Add a const struct regulator_desc * parameter to the function signature so
the parsing logic could use the information in the struct regulator_desc.

of_get_regulator_init_data() relies on of_get_regulation_constraints() to
actually extract the init_data so it has to pass the struct regulator_desc
but that is modified on a later patch.

Signed-off-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Add mode mapping function to struct regulator_desc</title>
<updated>2014-11-26T18:58:14Z</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier.martinez@collabora.co.uk</email>
</author>
<published>2014-11-10T13:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=87e1e0f29f703e91c54e81f05d831432ec659dde'/>
<id>urn:sha1:87e1e0f29f703e91c54e81f05d831432ec659dde</id>
<content type='text'>
The "regulator-initial-mode" and "regulator-mode" DT properties allows
to configure the regulator operating modes at startup or when a system
enters into a susend state.

But these properties use as valid values the operating modes supported
by each device while the core deals with the standard operating modes.
So a mapping function is needed to translate from the hardware specific
modes to the standard ones.

This mapping is a non-varying configuration for each regulator, so add
a function pointer to struct regulator_desc that will allow drivers to
define their callback to do the modes translation.

Signed-off-by: Javier Martinez Canillas &lt;javier.martinez@collabora.co.uk&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add PRE_DISABLE notification</title>
<updated>2014-11-24T15:26:02Z</updated>
<author>
<name>Richard Fitzgerald</name>
<email>rf@opensource.wolfsonmicro.com</email>
</author>
<published>2014-11-24T14:10:52Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=a1c8a5512b7cddc81767172f0de37b155cea039f'/>
<id>urn:sha1:a1c8a5512b7cddc81767172f0de37b155cea039f</id>
<content type='text'>
Add a PRE_DISABLE notification so that consumers can use a
notifier to run any steps required to prepare for the
regulator being switched off. Since the regulator disable
can fail an abort notification is also added.

Signed-off-by: Richard Fitzgerald &lt;rf@opensource.wolfsonmicro.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Return an error from stubbed regulator_get_exclusive()</title>
<updated>2014-10-24T21:19:12Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2014-10-24T20:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=70b946f9acf4e805361bd877a7e25cc05e497c52'/>
<id>urn:sha1:70b946f9acf4e805361bd877a7e25cc05e497c52</id>
<content type='text'>
The user hasn't got a regulator and shouldn't be mislead into thinking
they have one; really we should probably remove this stub entirely (and
may well before the next merge window).

Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: Add ena_gpio_initialized to regulator_config</title>
<updated>2014-10-20T11:23:45Z</updated>
<author>
<name>Markus Pargmann</name>
<email>mpa@pengutronix.de</email>
</author>
<published>2014-10-08T13:47:05Z</published>
<link rel='alternate' type='text/html' href='https://git.kobert.dev/pm24.git/commit/?id=76f439df50aba1838e06dd01e5f20dada7473f57'/>
<id>urn:sha1:76f439df50aba1838e06dd01e5f20dada7473f57</id>
<content type='text'>
Most drivers do not set the ena_gpio field of struct regulator_config
before passing it to the regulator core. This is fine as long as the
gpio identifier that is passed is a positive integer. But the gpio
identifier 0 is also valid. So we are not able to decide wether we got a
real gpio identifier or not based on a 0 in ena_gpio.

To be able to decide if it is a valid gpio that got passed, this patch
adds a ena_gpio_initialized field that should be set if was initialized
with a correct value, either a gpio &gt;= 0 or a negative error number. The
core then checks if ena_gpio or ena_gpio_initialized before handling it
as a gpio. This way we maintain backwards compatibility and fix the
behaviour for gpio number 0.

Signed-off-by: Markus Pargmann &lt;mpa@pengutronix.de&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
