<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/clk/sunxi, 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-16T10:59:00Z</updated>
<entry>
<title>clk: sunxi: r40: Fix GMAC reset reg offset</title>
<updated>2019-04-16T10:59:00Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-04-15T11:12:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=33685372cf7dc8687c15e426b3a11281d4efce47'/>
<id>urn:sha1:33685372cf7dc8687c15e426b3a11281d4efce47</id>
<content type='text'>
GMAC reset reg offset added by below commit seems to assume
it as EMAC but R40 indeed using GMAC.
"clk: sunxi: Implement EMAC, GMAC clocks, resets"
(sha1: 68620c9698f109c1f001f80d282138a5c67cabef)

So, fix by updating the reg offset for RST_BUS_GMAC.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: a10: Add CLK_AHB_GMAC</title>
<updated>2019-04-01T16:15:15Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-03-28T08:16:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=9d1e136734b80414c803301d69d4cd358001be93'/>
<id>urn:sha1:9d1e136734b80414c803301d69d4cd358001be93</id>
<content type='text'>
CLK_AHB_GMAC was suppose to be part of previous commit
"clk: sunxi: Implement A10 EMAC clocks" add it so-that
we can get rid of sunxi_set_gate warning on boot message.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: h3: Implement EPHY CLK and RESET</title>
<updated>2019-03-09T07:46:35Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=aefc0b7a60b9147b79b7a735c045e28daba712f1'/>
<id>urn:sha1:aefc0b7a60b9147b79b7a735c045e28daba712f1</id>
<content type='text'>
EPHY CLK and RESET is available in Allwinner H3 EMAC
via mdio-mux node of internal PHY. Add the respective
clock and reset reg and bits.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: Implement EMAC, GMAC clocks, resets</title>
<updated>2019-03-09T07:46:35Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:56:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=68620c9698f109c1f001f80d282138a5c67cabef'/>
<id>urn:sha1:68620c9698f109c1f001f80d282138a5c67cabef</id>
<content type='text'>
- Implement EMAC, GMAC clocks via ccu_clk_gate for
  all supported Allwinner SoCs.
- Implement EMAC, GMAC resets via ccu_reset for all
  supported Allwinner SoCs.

Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: Implement A10 EMAC clocks</title>
<updated>2019-03-09T07:46:35Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T18:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=3d83c4a1d4dd7ea230d5b5c073e503dca883e409'/>
<id>urn:sha1:3d83c4a1d4dd7ea230d5b5c073e503dca883e409</id>
<content type='text'>
Implement EMAC clocks via ccu_clk_gate for Allwinner A10 SoC.

Which would eventually used in sunxi_emac.c driver.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: Implement SPI clocks, resets</title>
<updated>2019-03-04T12:38:56Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-02-27T14:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=82111469a5451adeb14413dc744c96f1bf13c758'/>
<id>urn:sha1:82111469a5451adeb14413dc744c96f1bf13c758</id>
<content type='text'>
- Implement SPI AHB, MOD clocks via ccu_clk_gate for all
  supported Allwinner SoCs
- Implement SPI resets via ccu_reset for all supported
  Allwinner SoCs.

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Reviewed-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
</content>
</entry>
<entry>
<title>sunxi: clk: enable clk and reset for CCU devices</title>
<updated>2019-01-30T12:51:35Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2019-01-29T15:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=13b0867dc3d2f911e0eb2636394ad79dfffc54e6'/>
<id>urn:sha1:13b0867dc3d2f911e0eb2636394ad79dfffc54e6</id>
<content type='text'>
Some Allwinner clock devices have parent clocks and reset gates itself,
which need to be activated for them to work.

Add some code to just assert all resets and enable all clocks given.
This should enable the A80 MMC config clock, which requires both to be
activated. The full CCU devices typically don't require resets, and have
just fixed clocks as their parents. Since we treat both as optional and
enabling fixed clocks is a NOP, this works for all cases, without the need
to differentiate between those clock types.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
Acked-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sunxi: clk: A80: add MMC clock support</title>
<updated>2019-01-29T18:03:08Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2019-01-29T15:54:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=e0c7ce7e52b73a1eeb3568b8a6bbcc7f189bb389'/>
<id>urn:sha1:e0c7ce7e52b73a1eeb3568b8a6bbcc7f189bb389</id>
<content type='text'>
The A80 handles resets and clock gates for the MMC devices differently,
outside of the CCU IP block. Consequently we have a separate clock
device with a separate binding for that.

Implement that with the respective clock gates and resets to allow the
A80 taking part in the DM_MMC game.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
[jagan: fix a80 mmc clock config compatible]
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>sunxi: clk: add MMC gates/resets</title>
<updated>2019-01-29T18:00:11Z</updated>
<author>
<name>Andre Przywara</name>
</author>
<published>2019-01-29T15:54:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=bb3e5aa2896d69a6fe86861004d7d4e33824efbe'/>
<id>urn:sha1:bb3e5aa2896d69a6fe86861004d7d4e33824efbe</id>
<content type='text'>
Add the MMC clock gates and reset bits for all the Allwinner SoCs.
This allows them to be used by the MMC driver.

We don't advertise the mod clock yet, as this is still handled by the
MMC driver.

Signed-off-by: Andre Przywara &lt;andre.przywara@arm.com&gt;
[jagan: add V3S, A80 gates/resets]
Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>clk: sunxi: Add Allwinner A80 CLK driver</title>
<updated>2019-01-18T16:49:09Z</updated>
<author>
<name>Jagan Teki</name>
</author>
<published>2019-01-11T10:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6901aab8e35183115ae65362f3af0ea095b6c1b8'/>
<id>urn:sha1:6901aab8e35183115ae65362f3af0ea095b6c1b8</id>
<content type='text'>
Add initial clock driver for Allwinner A80.

- Implement UART bus clocks via ccu_clk_gate table for
  A80, so it can accessed in common clk enable and disable
  functions from clk_sunxi.c
- Implement UART bus resets via ccu_reset table for A80,
  so it can accessed in common reset deassert and assert
  functions from reset-sunxi.c

Signed-off-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
</content>
</entry>
</feed>
