<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/clk/rockchip/Makefile, branch linux-4.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-12-12T19:04:54Z</updated>
<entry>
<title>clk: rockchip: add clock controller for rk3228</title>
<updated>2015-12-12T19:04:54Z</updated>
<author>
<name>Jeffy Chen</name>
</author>
<published>2015-12-11T01:30:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=307a2e9ac524bbec707c0e2b47ca50adaecc23f2'/>
<id>urn:sha1:307a2e9ac524bbec707c0e2b47ca50adaecc23f2</id>
<content type='text'>
Add the clock tree definition for the new rk3228 SoC.

Signed-off-by: Jeffy Chen &lt;jeffy.chen@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add clock controller for rk3036</title>
<updated>2015-11-23T20:59:19Z</updated>
<author>
<name>Xing Zheng</name>
</author>
<published>2015-11-05T07:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5190c08b29899131a183ea5802b9397918cca1ae'/>
<id>urn:sha1:5190c08b29899131a183ea5802b9397918cca1ae</id>
<content type='text'>
Add the clock tree definition for the new rk3036 SoC.

Signed-off-by: Xing Zheng &lt;zhengxing@rock-chips.com&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add rk3368 clock controller</title>
<updated>2015-07-06T22:09:22Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2015-07-05T09:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3536c97a52db2848d13512878c65affd98fd29db'/>
<id>urn:sha1:3536c97a52db2848d13512878c65affd98fd29db</id>
<content type='text'>
Describe the clock tree and software resets of the rk3368 ARM64 SoC

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add support for phase inverters</title>
<updated>2015-07-06T22:04:40Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2015-07-05T09:00:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a76f443a9ea6f7f72ede9f95fe0ca5b90f09a43'/>
<id>urn:sha1:8a76f443a9ea6f7f72ede9f95fe0ca5b90f09a43</id>
<content type='text'>
Most Rockchip socs have optional phase inverters connected to some
clocks that move the clock-phase by 180 degrees.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
[sboyd@codeaurora.org: Dropped lazy part of commit text]
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: Add support for the mmc clock phases using the framework</title>
<updated>2014-11-27T23:44:24Z</updated>
<author>
<name>Alexandru M Stan</name>
</author>
<published>2014-11-27T01:30:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c'/>
<id>urn:sha1:89bf26cbc1a09476c4c4740d16a0ffdfa2192b9c</id>
<content type='text'>
This patch adds the 2 physical clocks for the mmc (drive and sample). They're
mostly there for the phase properties, but they also show the true clock
(by dividing by RK3288_MMC_CLKGEN_DIV).

The drive and sample phases are generated by dividing an upstream parent clock
by 2, this allows us to adjust the phase by 90 deg.

There's also an option to have up to 255 delay elements (40-80 picoseconds long).
This driver uses those elements (under the assumption that they're 60 ps long)
to generate approximate 22.5 degrees options. 67.5 (22.5*3) might be as high as
90 deg if the delay elements are as big as 80 ps, so a finer division (smaller
than 22.5) was not picked because the phase might not be monotonic anymore.

Suggested-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Alexandru M Stan &lt;amstan@chromium.org&gt;
Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add new clock-type for the cpuclk</title>
<updated>2014-09-27T15:57:41Z</updated>
<author>
<name>Heiko Stuebner</name>
</author>
<published>2014-09-04T20:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6fba5f6967dbc062a7c138d67e2314220f5dd04'/>
<id>urn:sha1:f6fba5f6967dbc062a7c138d67e2314220f5dd04</id>
<content type='text'>
When changing the armclk on Rockchip SoCs it is supposed to be reparented
to an alternate parent before changing the underlying pll and back after
the change. Additionally there exist clocks that are very tightly bound to
the armclk whose divider values are set according to the armclk rate.

Add a special clock-type to handle all that. The rate table and divider
values will be supplied from the soc-specific clock controllers.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Reviewed-by: Doug Anderson &lt;dianders@chromium.org&gt;
On a rk3288-board:
Tested-by: Doug Anderson &lt;dianders@chromium.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add clock controller for rk3288</title>
<updated>2014-07-13T19:17:10Z</updated>
<author>
<name>Heiko Stübner</name>
</author>
<published>2014-07-03T00:02:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b9e4ba541607e6ee9c6c8493f51198fe3af03aec'/>
<id>urn:sha1:b9e4ba541607e6ee9c6c8493f51198fe3af03aec</id>
<content type='text'>
Add the clock tree definition for the new rk3288 SoC.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Acked-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Tested-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add clock driver for rk3188 and rk3066 clocks</title>
<updated>2014-07-13T19:17:09Z</updated>
<author>
<name>Heiko Stübner</name>
</author>
<published>2014-07-03T00:01:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c14736c75dba10d9da4c8337e1baee11577691c'/>
<id>urn:sha1:2c14736c75dba10d9da4c8337e1baee11577691c</id>
<content type='text'>
This adds a clock driver that handles the specific muxes, dividers and gates
of rk3188 and rk3066 SoCs.

The structure of the clock list resembles the arrangement of their
counterparts in the clock architecture diagrams found in the SoC
documentation.

Clocks exported to the clock provider are currently limited to well known
or measured ones. So additional clock exports may be necessary in the future.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Acked-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Tested-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add reset controller</title>
<updated>2014-07-13T19:17:07Z</updated>
<author>
<name>Heiko Stübner</name>
</author>
<published>2014-07-02T23:59:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85fa0c7f8d05eb6baf2c122e85d45d928df0992b'/>
<id>urn:sha1:85fa0c7f8d05eb6baf2c122e85d45d928df0992b</id>
<content type='text'>
All Rockchip SoCs at least down to the ARM9-based RK28xx include the reset-
controller for SoC peripherals in their clock controller.
While the older SoCs (ARM9 and Cortex-A8) use a regular scheme to change
register values, the Cortex-A9 SoCs use a hiword-mask making locking unecessary.
To be compatible with both schemes the reset controller takes a flag to
decide which scheme to use, similar to the other HIWORD_MASK flags used in the
clock framework.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Acked-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Tested-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: rockchip: add clock type for pll clocks and pll used on rk3066</title>
<updated>2014-07-13T19:17:06Z</updated>
<author>
<name>Heiko Stübner</name>
</author>
<published>2014-07-02T23:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90c590254051f511299538c158e12fdad41ce163'/>
<id>urn:sha1:90c590254051f511299538c158e12fdad41ce163</id>
<content type='text'>
All known Rockchip SoCs down to the RK28xx (ARM9) use a similar pattern to
handle their plls:
                       |--\
xin32k ----------------|mux\
xin24m -----| pll |----|pll|--- pll output
       \---------------|src/
                       |--/

The pll output is sourced from 1 of 3 sources, the actual pll being one of
them. To change the pll frequency it is imperative to remux it to another
source beforehand. This is done by adding a clock-listener to the pll that
handles the remuxing before and after the rate change.

The output mux is implemented as a separate clock to make use of already
existing common-clock features for disabling the pll if one of the other
two sources is used.

Signed-off-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Acked-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Tested-By: Max Schwarz &lt;max.schwarz@online.de&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
</feed>
