<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/i2c/muxes, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-22T08:54:32Z</updated>
<entry>
<title>i2c: muxes: fix wrong use of sizeof(ptr)</title>
<updated>2013-01-22T08:54:32Z</updated>
<author>
<name>Laurent Navet</name>
</author>
<published>2013-01-08T13:40:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43a2bd42d077de6ad40b00a2abfc4677e24d239c'/>
<id>urn:sha1:43a2bd42d077de6ad40b00a2abfc4677e24d239c</id>
<content type='text'>
sizeof when applied to a pointer typed expression gives the size of
the pointer

The semantic patch that makes this output is available
in scripts/coccinelle/misc/noderef.cocci.

More information about semantic patching is available at
http://coccinelle.lip6.fr/

Signed-off-by: Laurent Navet &lt;laurent.navet@gmail.com&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c: remove __dev* attributes from subsystem</title>
<updated>2012-12-22T19:13:45Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2012-11-27T20:59:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b255e927d47b550620dfd3475ee74b0f52e09c8'/>
<id>urn:sha1:0b255e927d47b550620dfd3475ee74b0f52e09c8</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Acked-by: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt; (for ocores and mux-gpio)
Acked-by: Havard Skinnemoen &lt;hskinnemoen@gmail.com&gt; (for i2c-gpio)
Acked-by: Guan Xuetao &lt;gxt@mprc.pku.edu.cn&gt; (for puf3)
Acked-by: Barry Song &lt;baohua.song@csr.com&gt; (for sirf)
Reviewed-by: Jean Delvare &lt;khali@linux-fr.org&gt;
[wsa: Fixed "foo* bar" flaws while we are here]
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux</title>
<updated>2012-12-19T00:51:10Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-12-19T00:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=752451f01c4567b506bf4343082682dbb8fb30dd'/>
<id>urn:sha1:752451f01c4567b506bf4343082682dbb8fb30dd</id>
<content type='text'>
Pull i2c-embedded changes from Wolfram Sang:
 - CBUS driver (an I2C variant)
 - continued rework of the omap driver
 - s3c2410 gets lots of fixes and gains pinctrl support
 - at91 gains DMA support
 - the GPIO muxer gains devicetree probing
 - typical fixes and additions all over

* 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux: (45 commits)
  i2c: omap: Remove the OMAP_I2C_FLAG_RESET_REGS_POSTIDLE flag
  i2c: at91: add dma support
  i2c: at91: change struct members indentation
  i2c: at91: fix compilation warning
  i2c: mxs: Do not disable the I2C SMBus quick mode
  i2c: mxs: Handle i2c DMA failure properly
  i2c: s3c2410: Remove recently introduced performance overheads
  i2c: ocores: Move grlib set/get functions into #ifdef CONFIG_OF block
  i2c: s3c2410: Add fix for i2c suspend/resume
  i2c: s3c2410: Fix code to free gpios
  i2c: i2c-cbus-gpio: introduce driver
  i2c: ocores: Add support for the GRLIB port of the controller and use function pointers for getreg and setreg functions
  i2c: ocores: Add irq support for sparc
  i2c: omap: Move the remove constraint
  ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049
  i2c: s3c2410: do not special case HDMIPHY stuck bus detection
  i2c: s3c2410: use exponential back off while polling for bus idle
  i2c: s3c2410: do not generate STOP for QUIRK_HDMIPHY
  i2c: s3c2410: grab adapter lock while changing i2c clock
  i2c: s3c2410: Add support for pinctrl
  ...
</content>
</entry>
<entry>
<title>i2c: mux: Add dt support to i2c-mux-gpio driver</title>
<updated>2012-11-16T08:28:27Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2012-10-25T16:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b7a0c40de6c5c04371f8cdb9153a0a5a0af5243'/>
<id>urn:sha1:9b7a0c40de6c5c04371f8cdb9153a0a5a0af5243</id>
<content type='text'>
Allow the i2c-mux-gpio to be used by a device tree enabled device. The
bindings are inspired by the one found in the i2c-mux-pinctrl driver.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;

[wsa: fixed some whitespace]

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>i2c-mux-pinctrl: Fix probe error path</title>
<updated>2012-11-13T21:27:19Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2012-11-13T21:27:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa1e3e81e75ceb3d977c3292cefafcd5179eb8b8'/>
<id>urn:sha1:aa1e3e81e75ceb3d977c3292cefafcd5179eb8b8</id>
<content type='text'>
When allocating the memory for i2c busses, the code checked the wrong
variable and thus never detected if there was a memory error.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c-mux-gpio: Add support for dynamically allocated GPIO pins</title>
<updated>2012-10-05T20:23:54Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-10-05T20:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7ee51405835cac72e7b6e0ff26dba608cf186cc'/>
<id>urn:sha1:e7ee51405835cac72e7b6e0ff26dba608cf186cc</id>
<content type='text'>
The code instantiating an i2c-mux-gpio platform device doesn't
necessarily know in advance the GPIO pin numbers it wants to use. If
pins are on a GPIO device which gets its base GPIO number assigned
dynamically at run-time, the values can't be hard-coded.

In that case, let the caller tell i2c-mux-gpio the name of the GPIO
chip and the (relative) GPIO pin numbers to use. At probe time, the
i2c-mux-gpio driver will look for the chip and apply the proper offset
to turn relative GPIO pin numbers to absolute GPIO pin numbers.

The same could be (and was so far) done on the caller's end, however
doing it in i2c-mux-gpio has two benefits:
* It avoids duplicating the code on every caller's side (about 30
  lines of code.)
* It allows for deferred probing for the muxed part of the I2C bus
  only. If finding the GPIO chip is the caller's responsibility, then
  deferred probing (if the GPIO chip isn't there yet) will not only
  affect the mux and the I2C bus segments behind it, but also the I2C
  bus trunk.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;
</content>
</entry>
<entry>
<title>i2c-mux-gpio: Use devm_kzalloc instead of kzalloc</title>
<updated>2012-10-05T20:23:53Z</updated>
<author>
<name>Maxime Ripard</name>
</author>
<published>2012-10-05T20:23:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2614a8594152cad49047ed02255a3d9fbbbea8dd'/>
<id>urn:sha1:2614a8594152cad49047ed02255a3d9fbbbea8dd</id>
<content type='text'>
Use the devm_kzalloc managed function to stripdown the error and remove
code.

Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Acked-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c-mux: Add support for device auto-detection</title>
<updated>2012-10-05T20:23:51Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2012-10-05T20:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eee543e8248150e8fb833943c71f40c7b1724600'/>
<id>urn:sha1:eee543e8248150e8fb833943c71f40c7b1724600</id>
<content type='text'>
Let I2C bus segments behind multiplexers have a class. This allows for
device auto-detection on these segments. As long as parent segments
don't share the same class, it should be fine.

I implemented support in drivers i2c-mux-gpio and i2c-mux-pca954x. I
left i2c-mux-pca9541 and i2c-mux-pinctrl alone for the moment as I
don't know if this feature makes sense for the use cases of these
drivers.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Peter Korsgaard &lt;peter.korsgaard@barco.com&gt;
Cc: David Daney &lt;david.daney@cavium.com&gt;
Cc: Michael Lawnick &lt;ml.lawnick@gmx.de&gt;
Cc: Rodolfo Giometti &lt;giometti@linux.it&gt;
</content>
</entry>
<entry>
<title>i2c: Update Guenter Roeck's e-mail address</title>
<updated>2012-07-24T12:13:56Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2012-07-24T12:13:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=83a638df36eee8b6b6aeda9d122359e55adad2a2'/>
<id>urn:sha1:83a638df36eee8b6b6aeda9d122359e55adad2a2</id>
<content type='text'>
My old e-mail address won't be valid for much longer. Time to update it.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>i2c: Add generic I2C multiplexer using pinctrl API</title>
<updated>2012-06-04T14:49:43Z</updated>
<author>
<name>Stephen Warren</name>
</author>
<published>2012-05-18T15:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae58d1e406986f31d1e88b32f5ac601506c196d8'/>
<id>urn:sha1:ae58d1e406986f31d1e88b32f5ac601506c196d8</id>
<content type='text'>
This is useful for SoCs whose I2C module's signals can be routed to
different sets of pins at run-time, using the pinctrl API.

                                 +-----+  +-----+
                                 | dev |  | dev |
    +------------------------+   +-----+  +-----+
    | SoC                    |      |        |
    |                   /----|------+--------+
    |   +---+   +------+     | child bus A, on first set of pins
    |   |I2C|---|Pinmux|     |
    |   +---+   +------+     | child bus B, on second set of pins
    |                   \----|------+--------+--------+
    |                        |      |        |        |
    +------------------------+  +-----+  +-----+  +-----+
                                | dev |  | dev |  | dev |
                                +-----+  +-----+  +-----+

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
</content>
</entry>
</feed>
