<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/i2c/muxes, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-10T10:54:49Z</updated>
<entry>
<title>i2c: mux: reg: wrong condition checked for of_address_to_resource return value</title>
<updated>2016-08-10T10:54:49Z</updated>
<author>
<name>Lukasz Gemborowski</name>
</author>
<published>2016-06-27T10:57:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed87c21407e4d781dc88c4b4fce0113336ba501d'/>
<id>urn:sha1:ed87c21407e4d781dc88c4b4fce0113336ba501d</id>
<content type='text'>
commit 22ebf00eb56fe77922de8138aa9af9996582c2b3 upstream.

of_address_to_resource return 0 on successful call but
devm_ioremap_resource is called only if it returns non-zero value

Signed-off-by: Lukasz Gemborowski &lt;lukasz.gemborowski@nokia.com&gt;
Reviewed-by: Alexander Sverdlin &lt;alexander.sverdlin@nokia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>i2c: mux: demux-pinctrl: Clean up sysfs attributes</title>
<updated>2016-04-01T11:00:07Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2016-03-31T15:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0c508a418f9daeb49bf9c387c84d89381b28540'/>
<id>urn:sha1:c0c508a418f9daeb49bf9c387c84d89381b28540</id>
<content type='text'>
sysfs attributes should use the same format for reads and writes,
rather than pretty-printing on read.

* Make the "cur_master" attribute read back as just the name of the
  master
* Expose the list of all masters as a read-only "available_masters"
  attribute, using space separators as in similar attributes of other
  devices

Also, spell out "cur_master" in full as "current_master".

Fixes: 50a5ba876908 ("i2c: mux: demux-pinctrl: add driver")
Signed-off-by: Ben Hutchings &lt;ben.hutchings@codethink.co.uk&gt;
Tested-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: demux-pinctrl: add driver</title>
<updated>2016-02-12T18:16:04Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2016-01-13T14:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50a5ba876908147b36441c754e835588143c6b54'/>
<id>urn:sha1:50a5ba876908147b36441c754e835588143c6b54</id>
<content type='text'>
This driver allows an I2C bus to switch between multiple masters. This
is not hot-switching because connected I2C slaves will be
re-instantiated. It is meant to select the best I2C core at runtime once
the task is known. Example: Prefer i2c-gpio over another I2C core
because of HW errata affecting your use case.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: reg Change ioread endianness for readback</title>
<updated>2015-09-03T09:58:42Z</updated>
<author>
<name>York Sun</name>
</author>
<published>2015-09-02T16:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a73882fd2c3a86b502d54da532d373a1f2db15e'/>
<id>urn:sha1:5a73882fd2c3a86b502d54da532d373a1f2db15e</id>
<content type='text'>
Reading the register (if allowed) after writing is to ensure writing
is completed on a posted bus. The endianness of reading doesn't matter.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: reg: fix compilation warnings</title>
<updated>2015-09-03T09:56:23Z</updated>
<author>
<name>Mike Rapoport</name>
</author>
<published>2015-09-02T08:03:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a05a34e7f6ff4a942186e99932885b10c6bc1d1a'/>
<id>urn:sha1:a05a34e7f6ff4a942186e99932885b10c6bc1d1a</id>
<content type='text'>
With CONFIG_OF=n, the following warnings occur when compiling
drivers/i2c/muxes/i2c-mux-reg.c:

  CC      drivers/i2c/muxes/i2c-mux-reg.o
drivers/i2c/muxes/i2c-mux-reg.c:170:13: warning: ‘struct gpiomux’ declared inside parameter list [enabled by default]
      struct platform_device *pdev)
             ^
drivers/i2c/muxes/i2c-mux-reg.c:170:13: warning: its scope
is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/i2c/muxes/i2c-mux-reg.c: In function ‘i2c_mux_reg_probe’:
drivers/i2c/muxes/i2c-mux-reg.c:201:3: warning: passing argument 1 of ‘i2c_mux_reg_probe_dt’ from incompatible pointer type [enabled by default]
   ret = i2c_mux_reg_probe_dt(mux, pdev);
   ^

Signed-off-by: Mike Rapoport &lt;mike.rapoport@gmail.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: reg: simplify register size checking</title>
<updated>2015-09-03T09:54:41Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2015-08-20T21:40:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fce388afd633cdf20844e17f47b0d97c7ee06e69'/>
<id>urn:sha1:fce388afd633cdf20844e17f47b0d97c7ee06e69</id>
<content type='text'>
Checking was done at three different locations, just do it once and
properly at probing time.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Tested-by: York Sun &lt;yorksun@freescale.com&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: fix leaked i2c adapter device node references</title>
<updated>2015-08-31T20:40:34Z</updated>
<author>
<name>Vladimir Zapolskiy</name>
</author>
<published>2015-08-26T20:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdbf4a29ee5bbe5b6743ba47bc7b10ec2cba8b21'/>
<id>urn:sha1:bdbf4a29ee5bbe5b6743ba47bc7b10ec2cba8b21</id>
<content type='text'>
Every call of of_parse_phandle() increments user count of found device
node, if OF_DYNAMIC is enabled.

The change fixes all similar addressed cases in drivers/i2c.

Signed-off-by: Vladimir Zapolskiy &lt;vz@mleia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: Add register-based mux i2c-mux-reg</title>
<updated>2015-08-24T12:05:18Z</updated>
<author>
<name>York Sun</name>
</author>
<published>2015-08-17T18:53:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3fdd32799d834e2626fae087906e886037350c6'/>
<id>urn:sha1:b3fdd32799d834e2626fae087906e886037350c6</id>
<content type='text'>
Based on i2c-mux-gpio driver, similarly the register-based mux
switch from one bus to another by setting a single register.
The register can be on PCIe bus, local bus, or any memory-mapped
address. The endianness of such register can be specified in device
tree if used, or in platform data.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
Acked-by: Alexander Sverdlin &lt;alexander.sverdlin@nokia.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: arb-gpio-challenge: use of_get_i2c_adapter_by_node interface</title>
<updated>2015-08-10T06:37:36Z</updated>
<author>
<name>Vladimir Zapolskiy</name>
</author>
<published>2015-07-27T14:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d1ad98dd837c069572d16faf77fa7f50748c7d5'/>
<id>urn:sha1:0d1ad98dd837c069572d16faf77fa7f50748c7d5</id>
<content type='text'>
This change is needed to properly lock I2C parent bus driver.

Prior to this change i2c_put_adapter() is misused, which may lead
to an overflow over zero of I2C bus driver user counter.

Signed-off-by: Vladimir Zapolskiy &lt;vladimir_zapolskiy@mentor.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>i2c: Drop owner assignment from i2c_driver</title>
<updated>2015-08-10T06:37:35Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-07-10T05:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475'/>
<id>urn:sha1:069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475</id>
<content type='text'>
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
</feed>
