<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/clk, branch v2023.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/clk?h=v2023.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/clk?h=v2023.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2023-09-29T13:45:40Z</updated>
<entry>
<title>clk: at91: Fix initializing arrays</title>
<updated>2023-09-29T13:45:40Z</updated>
<author>
<name>Francois Berder</name>
<email>fberder@outlook.fr</email>
</author>
<published>2023-09-24T09:58:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7b4ffe8c32db284e25d3a2636904def8e093da9e'/>
<id>urn:sha1:7b4ffe8c32db284e25d3a2636904def8e093da9e</id>
<content type='text'>
Arrays are not cleared entirely because ARRAY_SIZE
returns the number of elements in an array, not the size
in bytes.
This commit fixes the calls to memset by providing the
array size in bytes instead of the number of elements
in the array.

Signed-off-by: Francois Berder &lt;fberder@outlook.fr&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sh</title>
<updated>2023-08-20T15:09:11Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2023-08-20T15:09:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=17aad803551500e1a3d87339a6559e99b7fad479'/>
<id>urn:sha1:17aad803551500e1a3d87339a6559e99b7fad479</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clk: stm32mp1: remove error for disabled clock in stm32mp1_clk_get_parent</title>
<updated>2023-08-16T13:23:09Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2023-06-23T13:05:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=141e232dbd981ab05e17660e63008ef170aea73d'/>
<id>urn:sha1:141e232dbd981ab05e17660e63008ef170aea73d</id>
<content type='text'>
To disabled a clock in clock tree initialization for a mux of STM32MP15,
the selected clock source index is set with the latest possible index for
the number of bit used. Today this valid configuration cause a error
in U-Boot messages, for example with CLK_ETH_DISABLED, when this clock
is not needed for the used ETH PHY without crystal:

   no parents defined for clk id 123

This patch change the level of this message to avoid this trace for
valid clock tree.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
Reviewed-by: Patrice Chotard &lt;patrice.chotard@foss.st.com&gt;
</content>
</entry>
<entry>
<title>clk: renesas: Tear clock controller down last before booting OS</title>
<updated>2023-08-12T22:03:36Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2020-04-25T12:57:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a2bd99549c61768b67ec55bb104b9f2abaf52960'/>
<id>urn:sha1:a2bd99549c61768b67ec55bb104b9f2abaf52960</id>
<content type='text'>
Once all the other drivers got torn down in preparation for the OS
to start, tear down the clock controller last. The clock controller
must be torn down last as some of the clock which get turned off
might have still been needed during the teardown stage of the other
drivers.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
Signed-off-by: Tam Nguyen &lt;tam.nguyen.xa@renesas.com&gt;
Signed-off-by: Hai Pham &lt;hai.pham.ud@renesas.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3308: Support reading UART rate and clock registers</title>
<updated>2023-08-12T02:37:57Z</updated>
<author>
<name>Massimo Pegorer</name>
<email>massimo.pegorer+oss@gmail.com</email>
</author>
<published>2023-08-03T11:08:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0cd87aac5c89941e711c392d5062da031445ae59'/>
<id>urn:sha1:0cd87aac5c89941e711c392d5062da031445ae59</id>
<content type='text'>
Add support to read RK3308 registers used to configure UART clocks, and
thus to get UART rate and baudrate. This fixes clock_get_rate returning
error on serial device probing. Moreover, there is no need anymore to
use 'clock-frequency' property for UART nodes in *-u-boot.dtsi files
for all cases where UART is not inited by U-Boot proper or by SPL o by
TPL code but by a preliminary external boot phase (for Rock PI S, UART
is inited by external TPL).

Signed-off-by: Massimo Pegorer &lt;massimo.pegorer+oss@gmail.com&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3308: Fix ordering between masking and shifting</title>
<updated>2023-08-12T02:37:57Z</updated>
<author>
<name>Massimo Pegorer</name>
<email>massimo.pegorer+oss@gmail.com</email>
</author>
<published>2023-08-03T11:08:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e4c6ccc6875638766970d249a6cb5dacce6822fe'/>
<id>urn:sha1:e4c6ccc6875638766970d249a6cb5dacce6822fe</id>
<content type='text'>
As per definitions of masks and shift offsets in cru_rk3308.h, values
read from registers must be first masked and then shifted. By the way,
this fix is binary invariant, because in all of fixed cases the shift
offset is zero.

Signed-off-by: Massimo Pegorer &lt;massimo.pegorer+oss@gmail.com&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Add dummy support for GMAC speed clocks</title>
<updated>2023-08-12T02:35:35Z</updated>
<author>
<name>Jonas Karlman</name>
<email>jonas@kwiboo.se</email>
</author>
<published>2023-08-04T09:34:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9296f9a8d7ffc96b8a8220a0e74c7dacb1934b2e'/>
<id>urn:sha1:9296f9a8d7ffc96b8a8220a0e74c7dacb1934b2e</id>
<content type='text'>
Pine64 Quartz64 boards DT reference SCLK_GMAC1_RGMII_SPEED in the
assigned-clocks property of the gmac1 node. This result in a ENOENT
error when driver core tries to set a parent for this clock.

The clock speed in rgmii/rmii mode is changed using clk_set_rate of the
tx_rx clock and not using clk_set_parent of the speed clock.

Add dummy support for SCLK_GMAC1_RGMII_SPEED and similar clocks to clk
driver to allow a driver for gmac node to probe.

Signed-off-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Include UART clocks in SPL</title>
<updated>2023-08-12T02:35:35Z</updated>
<author>
<name>Jonas Karlman</name>
<email>jonas@kwiboo.se</email>
</author>
<published>2023-08-04T09:33:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ff46cd56318015133e92140b31083eab68e701f7'/>
<id>urn:sha1:ff46cd56318015133e92140b31083eab68e701f7</id>
<content type='text'>
The clock driver for RK3568 does not include support for UART clocks in
SPL. This result in the following message with high enough loglevel.

  ns16550_serial serial@fe660000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

Fix this by including support for UART clocks in SPL.

Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver")
Signed-off-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Reviewed-by: Eugen Hristev &lt;eugen.hristev@collabora.com&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Fix mask for clk_cpll_div_25m_div</title>
<updated>2023-08-12T02:35:35Z</updated>
<author>
<name>Jonas Karlman</name>
<email>jonas@kwiboo.se</email>
</author>
<published>2023-08-04T09:33:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6da8400d7ae986ef2a8e0ddb4f39907c6c0666f1'/>
<id>urn:sha1:6da8400d7ae986ef2a8e0ddb4f39907c6c0666f1</id>
<content type='text'>
The field for clk_cpll_div_25m_div in CRU_CLKSEL_CON81 is 6 bits wide,
not 5 bits wide as currently defined in CPLL_25M_DIV_MASK.

Fix this and the assert so that CPLL_25M can be assigned a 25 MHz rate.

Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver")
Signed-off-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: rk3568: Fix clk selection in rk3568_pwm_get_clk</title>
<updated>2023-08-12T02:35:35Z</updated>
<author>
<name>Damon Ding</name>
<email>damon.ding@rock-chips.com</email>
</author>
<published>2023-08-04T09:33:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=acb9812034850ae0d737a767b392b9cd097f3606'/>
<id>urn:sha1:acb9812034850ae0d737a767b392b9cd097f3606</id>
<content type='text'>
Fix use of wrong clk selection for CLK_PWM1 on RK3568.

Fixes: 4a262feba3a5 ("rockchip: rk3568: add clock driver")
Signed-off-by: Damon Ding &lt;damon.ding@rock-chips.com&gt;
Signed-off-by: Jonas Karlman &lt;jonas@kwiboo.se&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
</feed>
