<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>6f3b1558 - clk: ralink: add clock and reset driver for MTMIPS SoCs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/clk/ralink/Makefile#6f3b1558</link>
        <description>clk: ralink: add clock and reset driver for MTMIPS SoCsUntil now, clock related code for old ralink SoCs was based in fixed clocksusing &apos;clk_register_fixed_rate&apos; and &apos;clkdev_create&apos; directly doing in codeand not using device tree at all for their definition. Including this driveris an effort to be able to define proper clocks using device tree and alsocleaning all the clock and reset related code from &apos;arch/mips/ralink&apos; dir.This clock and reset driver covers all the ralink SoCs but MT7621 which isthe newest and provides gating and some differences that make it differentfrom its predecesors. It has its own driver since some time ago. The ralinkSoCs we are taking about are RT2880, RT3050, RT3052, RT3350, RT3352, RT3883,RT5350, MT7620, MT7628 and MT7688. Mostly the code in this new driver hasbeen extracted from &apos;arch/mips/ralink&apos; and cleanly put using kernel clockdriver APIs. The clock plans for this SoCs only talks about relation betweenCPU frequency and BUS frequency. This relation is different depending on theparticular SoC. CPU clock is derived from XTAL frequencies.Depending on the SoC we have the following frequencies:* RT2880 SoC:    - XTAL: 40 MHz.    - CPU: 250, 266, 280 or 300 MHz.    - BUS: CPU / 2 MHz.* RT3050, RT3052, RT3350:    - XTAL: 40 MHz.    - CPU: 320 or 384 MHz.    - BUS: CPU / 3 MHz.* RT3352:    - XTAL: 40 MHz.    - CPU: 384 or 400 MHz.    - BUS: CPU / 3 MHz.    - PERIPH: 40 MHz.* RT3383:    - XTAL: 40 MHz.    - CPU: 250, 384, 480 or 500 MHz.    - BUS: Depends on RAM Type and CPU:        + RAM DDR2: 125. ELSE 83 MHz.        + RAM DDR2: 128. ELSE 96 MHz.        + RAM DDR2: 160. ELSE 120 MHz.        + RAM DDR2: 166. ELSE 125 MHz.* RT5350:    - XTAL: 40 MHz.    - CPU: 300, 320 or 360 MHz.    - BUS: CPU / 3, CPU / 4, CPU / 3 MHz.    - PERIPH: 40 MHz.* MT7628 and MT7688:    - XTAL: 20 MHz or 40 MHz.    - CPU: 575 or 580 MHz.    - BUS: CPU / 3.    - PCMI2S: 480 MHz.    - PERIPH: 40 MHz.* MT7620:    - XTAL: 20 MHz or 40 MHz.    - PLL: XTAL, 480, 600 MHz.    - CPU: depends on PLL and some mult and dividers.    - BUS: depends on PLL and some mult and dividers.    - PERIPH: 40 or XTAL MHz.MT7620 is a bit more complex deriving CPU clock from a PLL and an bunch ofregister reads and predividers. To derive CPU and BUS frequencies in theMT7620 SoC &apos;mt7620_calc_rate()&apos; helper is used.In the case XTAL can have different frequencies and we need a differentclock frequency for peripherals &apos;periph&apos; clock in introduced.The rest of the peripherals present in the SoC just follow their parentfrequencies.With this information the clk driver will provide all the clock and resetfunctionality from a set of hardcoded clocks allowing to define a nicedevice tree without fixed clocks.Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;Signed-off-by: Sergio Paracuellos &lt;sergio.paracuellos@gmail.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/drivers/clk/ralink/Makefile</description>
        <pubDate>Mon, 19 Jun 2023 04:09:34 +0000</pubDate>
        <dc:creator>Sergio Paracuellos &lt;sergio.paracuellos@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>48df7a26 - clk: ralink: add clock driver for mt7621 SoC</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/clk/ralink/Makefile#48df7a26</link>
        <description>clk: ralink: add clock driver for mt7621 SoCThe documentation for this SOC only talks about tworegisters regarding to the clocks:* SYSC_REG_CPLL_CLKCFG0 - provides some information aboutboostrapped refclock. PLL and dividers used for CPU and somesort of BUS.* SYSC_REG_CPLL_CLKCFG1 - a banch of gates to enable/disableclocks for all or some ip cores.Looking into driver code, and some openWRT patched there areanother frequencies which are used in some drivers (uart, sd...).According to all of this information the clock plan for thisSoC is set as follows:- Main top clock &quot;xtal&quot; from where all the rest of the world isderived.- CPU clock &quot;cpu&quot; derived from &quot;xtal&quot; frequencies and a bunch ofregister reads and predividers.- BUS clock &quot;bus&quot; derived from &quot;cpu&quot; and with (cpu / 4) MHz.- Fixed clocks from &quot;xtal&quot;:    * &quot;50m&quot;: 50 MHz.    * &quot;125m&quot;: 125 MHz.    * &quot;150m&quot;: 150 MHz.    * &quot;250m&quot;: 250 MHz.    * &quot;270m&quot;: 270 MHz.We also have a buch of gate clocks with their parents:  * &quot;hsdma&quot;: &quot;150m&quot;  * &quot;fe&quot;: &quot;250m&quot;  * &quot;sp_divtx&quot;: &quot;270m&quot;  * &quot;timer&quot;: &quot;50m&quot;  * &quot;pcm&quot;: &quot;270m&quot;  * &quot;pio&quot;: &quot;50m&quot;  * &quot;gdma&quot;: &quot;bus&quot;  * &quot;nand&quot;: &quot;125m&quot;  * &quot;i2c&quot;: &quot;50m&quot;  * &quot;i2s&quot;: &quot;270m&quot;  * &quot;spi&quot;: &quot;bus&quot;  * &quot;uart1&quot;: &quot;50m&quot;  * &quot;uart2&quot;: &quot;50m&quot;  * &quot;uart3&quot;: &quot;50m&quot;  * &quot;eth&quot;: &quot;50m&quot;  * &quot;pcie0&quot;: &quot;125m&quot;  * &quot;pcie1&quot;: &quot;125m&quot;  * &quot;pcie2&quot;: &quot;125m&quot;  * &quot;crypto&quot;: &quot;250m&quot;  * &quot;shxc&quot;: &quot;50m&quot;With this information the clk driver will provide clock and gatesfunctionality from a a set of hardcoded clocks allowing to definea nice device tree without fixed clocks.Signed-off-by: Sergio Paracuellos &lt;sergio.paracuellos@gmail.com&gt;Link: https://lore.kernel.org/r/20210410055059.13518-2-sergio.paracuellos@gmail.comSigned-off-by: Stephen Boyd &lt;sboyd@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/clk/ralink/Makefile</description>
        <pubDate>Sat, 10 Apr 2021 05:50:56 +0000</pubDate>
        <dc:creator>Sergio Paracuellos &lt;sergio.paracuellos@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
