<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/clk/kendryte/Kconfig, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/kendryte/Kconfig?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/clk/kendryte/Kconfig?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2021-06-17T01:40:58Z</updated>
<entry>
<title>clk: k210: Move k210 clock out of its own subdirectory</title>
<updated>2021-06-17T01:40:58Z</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2021-06-11T04:16:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=493110cc499539f42a2786e8306ba29ac0ba2435'/>
<id>urn:sha1:493110cc499539f42a2786e8306ba29ac0ba2435</id>
<content type='text'>
Now that we have only one clock driver, we don't need to have our own
subdirectory. Move the driver back with the rest of the clock drivers.

The MAINTAINERS for kendryte pinctrl is also fixed since it has always been
wrong.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
</content>
</entry>
<entry>
<title>clk: k210: Rewrite to remove CCF</title>
<updated>2021-06-17T01:40:57Z</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2021-06-11T04:16:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=609bd60b943b17784b1cd245dc1bfb6384dab640'/>
<id>urn:sha1:609bd60b943b17784b1cd245dc1bfb6384dab640</id>
<content type='text'>
This is effectively a complete rewrite to remove all dependency on CCF.
The code is now smaller, and so is the binary. It also takes up less memory
at runtime (since we don't have to create 40 udevices). In general, I am
much happier with this driver as much of the complexity and late binding
has been removed.

The k210_*_params structs which were previously used to initialize CCF
clocks are now used as the complete configuration. Since we can write our
own division logic, we can now do away with several "half" clocks which
only existed to provide constant factors of two.

The clock IDs have been renumbered to remove unused clocks. This may not be
the last time they are renumbered, since we have diverged with Linux. There
are also still a few clocks left out which may need to be added back in.

In general, I have tried to leave out behavioral changes. However, there is
a small bugfix regarding ACLK. According to the technical reference manual,
its mux comes *after* its divider (which is present only for PLL0). This
would have required yet another intermediate clock to fix with CCF, but
with the new driver it is just 2 lines of code :)

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
Reviewed-by: Leo Yu-Chi Liang &lt;ycliang@andestech.com&gt;
</content>
</entry>
<entry>
<title>clk: Add K210 clock support</title>
<updated>2020-07-01T07:01:21Z</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2020-06-24T10:41:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f9c7d4f99f51ac9c1cf513111c21395f93d2dd53'/>
<id>urn:sha1:f9c7d4f99f51ac9c1cf513111c21395f93d2dd53</id>
<content type='text'>
Due to the large number of clocks, I decided to use the CCF. The overall
structure is modeled after the imx code. Clocks parameters are stored in
several arrays, and are then instantiated at run-time. There are some
translation macros (FOOIFY()) which allow for more dense packing.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
CC: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>clk: Add K210 pll support</title>
<updated>2020-07-01T07:01:21Z</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2020-06-24T10:41:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=019ef9a3f32642abbf924931ecc9487300e74530'/>
<id>urn:sha1:019ef9a3f32642abbf924931ecc9487300e74530</id>
<content type='text'>
This pll code is primarily based on the code from the kendryte standalone
sdk in lib/drivers/sysctl.c. k210_pll_calc_config is roughly analogous to
the algorithm used to set the pll frequency, but it has been completely
rewritten to be fixed-point based.

Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
CC: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
</feed>
