<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/at91, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-29T09:11:56Z</updated>
<entry>
<title>clk: at91: sam9x60: support only two programmable clocks</title>
<updated>2020-10-29T09:11:56Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-10-14T14:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8ba752a126c0b9291e6a34eb02c3ed57857a7b7'/>
<id>urn:sha1:a8ba752a126c0b9291e6a34eb02c3ed57857a7b7</id>
<content type='text'>
[ Upstream commit fcedb589b5a88d73d3155c4a8690d6dda91a3156 ]

According to datasheet (Chapter 29.16.13, PMC Programmable Clock Register)
there are only two programmable clocks on SAM9X60.

Fixes: 01e2113de9a5 ("clk: at91: add sam9x60 pmc driver")
Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1602686072-28296-1-git-send-email-claudiu.beznea@microchip.com
Acked-by: Nicolas Ferre &lt;nicolas.ferre@microchip.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-main: update key before writing AT91_CKGR_MOR</title>
<updated>2020-10-29T09:11:55Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-08-25T06:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02c941d4d7c53eb05a40dab678c89a9d000fb116'/>
<id>urn:sha1:02c941d4d7c53eb05a40dab678c89a9d000fb116</id>
<content type='text'>
[ Upstream commit 85d071e7f19a6a9abf30476b90b3819642568756 ]

SAMA5D2 datasheet specifies on chapter 33.22.8 (PMC Clock Generator
Main Oscillator Register) that writing any value other than
0x37 on KEY field aborts the write operation. Use the key when
selecting main clock parent.

Fixes: 27cb1c2083373 ("clk: at91: rework main clk implementation")
Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Reviewed-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Link: https://lore.kernel.org/r/1598338751-20607-3-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: sama7g5: add clock support for sama7g5</title>
<updated>2020-07-24T09:19:09Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb783bbbcf54c36256006895c215e86c5e7266d8'/>
<id>urn:sha1:cb783bbbcf54c36256006895c215e86c5e7266d8</id>
<content type='text'>
Add clock support for SAMA7G5.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-19-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-utmi: add utmi support for sama7g5</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef396df99251b848596c717b63ff4fe74a941193'/>
<id>urn:sha1:ef396df99251b848596c717b63ff4fe74a941193</id>
<content type='text'>
Add UTMI support for SAMA7G5. SAMA7G5's UTMI control is done via
XTALF register. Values written at bits 2..0 in this register
correspond to the on board crystal oscillator frequency.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-18-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-sam9x60-pll: re-factor to support plls with multiple outputs</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43b1bb4a9b3e183af12225f56c27164c10d06223'/>
<id>urn:sha1:43b1bb4a9b3e183af12225f56c27164c10d06223</id>
<content type='text'>
Some of the SAMA7G5 PLLs support multiple outputs (e.g. AUDIO PLL).
For these, split the PLL clock in two: fractional clock and
divider clock. In case PLLs supports multiple outputs (since these
outputs are dividers (with different settings) sharing the same
fractional part), it will register one fractional clock and multiple
divider clocks (dividers sharing the fractional clock).

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-17-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-programmable: add mux_table option</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c57aaaa28cf1a123c0029a36361a809eae2b1960'/>
<id>urn:sha1:c57aaaa28cf1a123c0029a36361a809eae2b1960</id>
<content type='text'>
Add mux table option. This is necessary for IP versions that has
gaps in the range of available clock sources (e.g. SAMA7G5).

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-15-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-peripheral: add support for changeable parent rate</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4c115c76184f2c56a295579161652fd5eb2dcc1'/>
<id>urn:sha1:b4c115c76184f2c56a295579161652fd5eb2dcc1</id>
<content type='text'>
Some peripheral clocks on SAMA7G5 supports requesting parent to change
its rate (image related clocks: csi, csi2dc, isc). Add support
so that if registered with this option the clock rate to be
requested from parent.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-14-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-master: add master clock support for SAMA7G5</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75c88143f3b879664cc5bf68b91854c1a98f5e5b'/>
<id>urn:sha1:75c88143f3b879664cc5bf68b91854c1a98f5e5b</id>
<content type='text'>
Add master clock support (MCK1..4) for SAMA7G5. SAMA7G5's PMC has
multiple master clocks feeding different subsystems. One of them
feeds image subsystem and is changeable based on image subsystem
needs.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-13-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-generated: add mux_table option</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22a1dfe93bf496d03cb1d76b1fbd23a7ff4a062c'/>
<id>urn:sha1:22a1dfe93bf496d03cb1d76b1fbd23a7ff4a062c</id>
<content type='text'>
Add mux table option. This is necessary for IP versions that has
gaps in the range of available clock sources (e.g. SAMA7G5).

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-12-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
<entry>
<title>clk: at91: clk-generated: pass the id of changeable parent at registration</title>
<updated>2020-07-24T09:19:08Z</updated>
<author>
<name>Claudiu Beznea</name>
</author>
<published>2020-07-22T07:38:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64c9247b9e87e96e41cea545eb64727cee10c55c'/>
<id>urn:sha1:64c9247b9e87e96e41cea545eb64727cee10c55c</id>
<content type='text'>
Pass the ID of changeable parent at registration. This will allow
the scalability of this clock driver with regards to the changeable
parent ID for versions of this IP where changeable parent is not the
last one in the parents list (e.g. SAMA7G5). With this the clock flags
are set to zero in case we have no changeable parent. Also in
clk_generated_best_diff() the *best_diff variable is check against
tmp_diff variable using "&gt;=" operator instead of "&gt;" so that in case
the requested frequency could be obtained using fix parents + gck
dividers but the clock also supports changeable parent to be able
to force the usage of the changeable parent.

Signed-off-by: Claudiu Beznea &lt;claudiu.beznea@microchip.com&gt;
Link: https://lore.kernel.org/r/1595403506-8209-11-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;
</content>
</entry>
</feed>
