summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@codeaurora.org>2014-02-12 13:44:27 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-15 11:55:28 -0800
commitc9afbb05a9ffbef0976242ab1135af6814ccff0f (patch)
tree2fc72c3dabe1bf6963661cdf6797a434464dfe1f /drivers/w1
parent2c9e577d979b87b1c500a736b68319830a984a2f (diff)
regmap: spmi: support base and extended register spaces
SPMI states that a slave may contain two register spaces, the Base register space is a 5-bit byte-addressable space accessed via the Register Read/Write and Register Zero Write command sequences, and the Extended register space: a 16-bit byte-addressable space accessed via the Extended Read/Write and Extended Read/Write Long command sequences. Provide support for accessing both of these spaces, taking advantage of the more bandwidth-efficient commands ('Register 0 Write' vs 'Register Write', and 'Extended Register Read/Write' vs 'Extended Register Read/Write Long') when possible. Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Acked-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions