<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/regmap/regmap.c, branch v3.6</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v3.6</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2012-07-22T18:26:07Z</updated>
<entry>
<title>Merge branches 'regmap-core', 'regmap-irq' and 'regmap-page' into regmap-next</title>
<updated>2012-07-22T18:26:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-07-22T18:26:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=38e23194e1c95e73819d25a63bcf94fe4709d4c5'/>
<id>urn:sha1:38e23194e1c95e73819d25a63bcf94fe4709d4c5</id>
<content type='text'>
Conflicts (trivial context stuff):
	drivers/base/regmap/regmap.c
	include/linux/regmap.h
</content>
</entry>
<entry>
<title>regmap: Add hook for printk logging for debugging during early init</title>
<updated>2012-07-06T13:16:16Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-07-06T13:10:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1044c180de4ba426aa5fb1b4b13b5f219ddb7105'/>
<id>urn:sha1:1044c180de4ba426aa5fb1b4b13b5f219ddb7105</id>
<content type='text'>
Sometimes for failures during very early init the trace infrastructure
isn't available early enough to be used.  For this sort of problem
defining LOG_DEVICE will add printks for basic register I/O on a specific
device, allowing trace to be extracted when the trace system doesn't come
up early enough to work with.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: Fix work_buf switching for page update during virtual range access.</title>
<updated>2012-06-19T09:42:56Z</updated>
<author>
<name>Krystian Garbaciak</name>
<email>krystian.garbaciak@diasemi.com</email>
</author>
<published>2012-06-18T12:04:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=632a5b01db8cd4068a06f8a67720ea4f9b00d9b3'/>
<id>urn:sha1:632a5b01db8cd4068a06f8a67720ea4f9b00d9b3</id>
<content type='text'>
After page update, orginal work_buf has to be restored regardless of
the result.

Signed-off-by: Krystian Garbaciak &lt;krystian.garbaciak@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: Add support for register indirect addressing.</title>
<updated>2012-06-17T20:34:18Z</updated>
<author>
<name>Krystian Garbaciak</name>
<email>krystian.garbaciak@diasemi.com</email>
</author>
<published>2012-06-15T10:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6863ca6227598d15c372f1e03449bbb4cfbcca7f'/>
<id>urn:sha1:6863ca6227598d15c372f1e03449bbb4cfbcca7f</id>
<content type='text'>
Devices with register paging or indirectly accessed registers can configure
register mapping to map those on virtual address range. During access to
virtually mapped register range, indirect addressing is processed
automatically, in following steps:
  1. selector for page or indirect register is updated (when needed);
  2. register in data window is accessed.

Configuration should provide minimum and maximum register for virtual range,
details of selector field for page selection, minimum and maximum register of
data window for indirect access.

Virtual range registers are managed by cache as well as direct access
registers. In order to make indirect access more efficient, selector register
should be declared as non-volatile, if possible.

struct regmap_config is extended with the following:
struct regmap_range_cfg	*ranges;
unsigned int		n_ranges;

[Also reordered debugfs init to later on since the cleanup code was
conflicting with the new cleanup code for ranges anyway -- broonie]

Signed-off-by: Krystian Garbaciak &lt;krystian.garbaciak@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: Move lock out from internal function _regmap_update_bits().</title>
<updated>2012-06-17T20:30:39Z</updated>
<author>
<name>Krystian Garbaciak</name>
<email>krystian.garbaciak@diasemi.com</email>
</author>
<published>2012-06-15T10:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fc3ebd788e894b4dd6c9524cb3874eeeb1e862d6'/>
<id>urn:sha1:fc3ebd788e894b4dd6c9524cb3874eeeb1e862d6</id>
<content type='text'>
Locks are moved to regmap_update_bits(), which allows to reenter internal
function _regmap_update_bits() from inside of regmap read/write routines.

Signed-off-by: Krystian Garbaciak &lt;krystian.garbaciak@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: Export regmap_reinit_cache()</title>
<updated>2012-06-07T21:57:21Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-14T09:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=752a6a5f84bfed18d0709383913d9d9d21b61c77'/>
<id>urn:sha1:752a6a5f84bfed18d0709383913d9d9d21b61c77</id>
<content type='text'>
It's supposed to be there for drivers.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: Fix the size calculation for map-&gt;format.buf_size</title>
<updated>2012-06-03T12:14:01Z</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2012-06-01T00:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5494a98f451d59f6c05f3f688510e0832445f661'/>
<id>urn:sha1:5494a98f451d59f6c05f3f688510e0832445f661</id>
<content type='text'>
The word to be transmitted/received via regmap is composed by the following
parts:

config-&gt;reg_bits
config-&gt;val_bits
config-&gt;pad_bits

,so the total size should be calculated by summing up the number of bits of
each element and using a DIV_ROUND_UP to return the number of bytes.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: clean up debugfs if regmap_init fails</title>
<updated>2012-06-03T12:13:38Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-05-23T22:30:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bfaa25f33425db16a942b7c71e396a47581c646d'/>
<id>urn:sha1:bfaa25f33425db16a942b7c71e396a47581c646d</id>
<content type='text'>
If debugfs isn't cleaned up, stale files will be left in the filesystem
which will cause an OOPS when accessed the first time, and hang the
accessing application when accessed again, presumably due to some lock
being left held.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regmap: allow busses to request formatting with specific endianness</title>
<updated>2012-06-03T12:11:43Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-05-24T16:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=141eba2e006dd8145bed2e49fae3de5af65ab9b0'/>
<id>urn:sha1:141eba2e006dd8145bed2e49fae3de5af65ab9b0</id>
<content type='text'>
Add a field to struct regmap_bus that allows bus drivers to request that
register addresses and values be formatted with a specific endianness.

The default endianness is unchanged from current operation: Big.

Implement native endian formatting/parsing for 16- and 32-bit values.
This will be enough to support regmap-mmio.c.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>Merge branches 'regmap-core', 'regmap-stride', 'regmap-mmio' and 'regmap-irq' into regmap-next</title>
<updated>2012-05-13T18:20:47Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-13T18:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=06e65cb322f91dc20fbcfc1a7ee2fb105ecc417b'/>
<id>urn:sha1:06e65cb322f91dc20fbcfc1a7ee2fb105ecc417b</id>
<content type='text'>
</content>
</entry>
</feed>
