<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/i2c/muxes, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-04-11T13:21:33Z</updated>
<entry>
<title>i2c: muxes: pca954x: support PCA9543 I2C switch</title>
<updated>2019-04-11T13:21:33Z</updated>
<author>
<name>Luca Ceresoli</name>
</author>
<published>2019-04-09T06:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9985b74bf6d6550b83370e28057f11eab2a647d7'/>
<id>urn:sha1:9985b74bf6d6550b83370e28057f11eab2a647d7</id>
<content type='text'>
The PCA9543 is a 2-channel I2C switch.

Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Heiko Schocher&lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: clarify enable field</title>
<updated>2019-04-11T13:21:33Z</updated>
<author>
<name>Luca Ceresoli</name>
</author>
<published>2019-04-09T06:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5995cdb167a4e8d3049cc25ca37c13ab85a63ac0'/>
<id>urn:sha1:5995cdb167a4e8d3049cc25ca37c13ab85a63ac0</id>
<content type='text'>
The chip_desc.enable field is used only for muxes, not for switches.
Document it and remove the unused values.

Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Heiko Schocher&lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: update list of supported devices</title>
<updated>2019-04-11T13:21:33Z</updated>
<author>
<name>Luca Ceresoli</name>
</author>
<published>2019-04-09T06:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4cdf4e0655823fbb0c937cab939e54a1527fa01e'/>
<id>urn:sha1:4cdf4e0655823fbb0c937cab939e54a1527fa01e</id>
<content type='text'>
The Kconfig help has not been updated while adding PCA9547 and PCA9646.

Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Acked-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Heiko Schocher&lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: Generate longer i2c mux name</title>
<updated>2019-02-11T08:38:23Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2019-01-31T15:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=c4bd12a7dad43ed9de3070c7c5e8b690d8c03a79'/>
<id>urn:sha1:c4bd12a7dad43ed9de3070c7c5e8b690d8c03a79</id>
<content type='text'>
For !DM case busses are listed as
ZynqMP&gt; i2c bus
Bus 0:	zynq_0
Bus 1:	zynq_0-&gt;PCA9544A@0x75:0
Bus 2:	zynq_0-&gt;PCA9544A@0x75:1
Bus 3:	zynq_0-&gt;PCA9544A@0x75:2
Bus 4:	zynq_1
Bus 5:	zynq_1-&gt;PCA9548@0x74:0
Bus 6:	zynq_1-&gt;PCA9548@0x74:1
Bus 7:	zynq_1-&gt;PCA9548@0x74:2
Bus 8:	zynq_1-&gt;PCA9548@0x74:3
Bus 9:	zynq_1-&gt;PCA9548@0x74:4
Bus 10:	zynq_1-&gt;PCA9548@0x75:0
Bus 11:	zynq_1-&gt;PCA9548@0x75:1
Bus 12:	zynq_1-&gt;PCA9548@0x75:2
Bus 13:	zynq_1-&gt;PCA9548@0x75:3
Bus 14:	zynq_1-&gt;PCA9548@0x75:4
Bus 15:	zynq_1-&gt;PCA9548@0x75:5
Bus 16:	zynq_1-&gt;PCA9548@0x75:6
Bus 17:	zynq_1-&gt;PCA9548@0x75:7

where is exactly describing i2c bus topology.
By moving to DM case i2c mux buses are using names from DT and because
i2c-muxes describing sub busses with the same names like i2c@0, etc it
is hard to identify which bus is where.
Linux is adding topology information to i2c-mux busses to identify them
better.
This patch is doing the same and composing bus name with topology
information.

When patch is applied with topology information on zcu102-revA.
ZynqMP&gt; i2c bus
Bus 0:	i2c@ff020000
   20: gpio@20, offset len 1, flags 0
   21: gpio@21, offset len 1, flags 0
   75: i2c-mux@75, offset len 1, flags 0
Bus 2:	i2c@ff020000-&gt;i2c-mux@75-&gt;i2c@0
Bus 3:	i2c@ff020000-&gt;i2c-mux@75-&gt;i2c@1
Bus 4:	i2c@ff020000-&gt;i2c-mux@75-&gt;i2c@2
Bus 1:	i2c@ff030000  (active 1)
   74: i2c-mux@74, offset len 1, flags 0
   75: i2c-mux@75, offset len 1, flags 0
Bus 5:	i2c@ff030000-&gt;i2c-mux@74-&gt;i2c@0  (active 5)
   54: eeprom@54, offset len 1, flags 0
Bus 6:	i2c@ff030000-&gt;i2c-mux@74-&gt;i2c@1
Bus 7:	i2c@ff030000-&gt;i2c-mux@74-&gt;i2c@2
Bus 8:	i2c@ff030000-&gt;i2c-mux@74-&gt;i2c@3
Bus 9:	i2c@ff030000-&gt;i2c-mux@74-&gt;i2c@4
Bus 10:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@0
Bus 11:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@1
Bus 12:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@2
Bus 13:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@3
Bus 14:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@4
Bus 15:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@5
Bus 16:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@6
Bus 17:	i2c@ff030000-&gt;i2c-mux@75-&gt;i2c@7

Behavior before the patch is applied.
ZynqMP&gt; i2c bus
Bus 0:	i2c@ff020000
   20: gpio@20, offset len 1, flags 0
   21: gpio@21, offset len 1, flags 0
   75: i2c-mux@75, offset len 1, flags 0
Bus 2:	i2c@0
Bus 3:	i2c@1
Bus 4:	i2c@2
Bus 1:	i2c@ff030000  (active 1)
   74: i2c-mux@74, offset len 1, flags 0
   75: i2c-mux@75, offset len 1, flags 0
Bus 5:	i2c@0  (active 5)
   54: eeprom@54, offset len 1, flags 0
Bus 6:	i2c@1
Bus 7:	i2c@2
Bus 8:	i2c@3
Bus 9:	i2c@4
Bus 10:	i2c@0
Bus 11:	i2c@1
Bus 12:	i2c@2
Bus 13:	i2c@3
Bus 14:	i2c@4
Bus 15:	i2c@5
Bus 16:	i2c@6
Bus 17:	i2c@7

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>i2c: mux: Covert to livetree functions</title>
<updated>2019-01-15T08:06:28Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2019-01-09T10:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=58dc4a99b7f55fa906f1f797c51fb63daccf8a6d'/>
<id>urn:sha1:58dc4a99b7f55fa906f1f797c51fb63daccf8a6d</id>
<content type='text'>
Updates i2c muxes drivers to support livetree.
Similar changes were done by:
"net: zynq_gem: convert to use livetree"
(sha1: 26026e695afa794ac018a09e79a48120d322b60d)

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>kconfig: fix typo 'parition'</title>
<updated>2018-08-17T13:22:35Z</updated>
<author>
<name>Simon Goldschmidt</name>
</author>
<published>2018-08-16T07:44:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=004167048defc61cbef44a819e4afd4b18c0b7e5'/>
<id>urn:sha1:004167048defc61cbef44a819e4afd4b18c0b7e5</id>
<content type='text'>
Replaced misspelled words "parition"/"paritioning" (missing 't') in two
Kconfig files by correct words "partition"/"partitioning"

Signed-off-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>i2c-mux: pca954x: support pca9646 i2c switch</title>
<updated>2018-08-06T12:28:20Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2018-07-17T12:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=16f513ee78e54d71ffcd92248caea0b1360c0ed7'/>
<id>urn:sha1:16f513ee78e54d71ffcd92248caea0b1360c0ed7</id>
<content type='text'>
Add the PCA9646 support, which is 2-wire bus switch and buffered 4-channel.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: look up width from chip_desc</title>
<updated>2017-10-11T04:17:22Z</updated>
<author>
<name>Chris Packham</name>
</author>
<published>2017-09-28T21:53:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=5bc90a8953a902152bd640322ffc8111dccbe3ab'/>
<id>urn:sha1:5bc90a8953a902152bd640322ffc8111dccbe3ab</id>
<content type='text'>
Commit 8e6eda7cda6c ("drivers/i2c/muxes/pca954x: Add pca9547 I2C mux
support") introduced a chip_desc for the pca954x devices but failed to
update pca954x_ofdata_to_platdata() to be aware of it. Make
pca954x_ofdata_to_platdata() lookup the chip_desc to validate the device
width.

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Marek Behun &lt;marek.behun@nic.cz&gt;
</content>
</entry>
<entry>
<title>i2c: muxes: pca954x: Add support for GPIO reset line</title>
<updated>2017-09-13T03:35:48Z</updated>
<author>
<name>Moritz Fischer</name>
</author>
<published>2017-09-12T13:46:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=36bdeb75a4f4f276c841644775e687eb6b3d9ec4'/>
<id>urn:sha1:36bdeb75a4f4f276c841644775e687eb6b3d9ec4</id>
<content type='text'>
This commit adds support for GPIO reset lines matching the
common linux "reset-gpios" devicetree binding.

Signed-off-by: Moritz Fischer &lt;moritz.fischer@ettus.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
