<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/clk/versatile, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/clk/versatile?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/clk/versatile?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-06-08T03:27:30Z</updated>
<entry>
<title>Merge tag 'clk-for-linus-3.16' of git://git.linaro.org/people/mike.turquette/linux into next</title>
<updated>2014-06-08T03:27:30Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-06-08T03:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a5700bc2d10cd379a795fd2bb377a190af5acd4'/>
<id>urn:sha1:1a5700bc2d10cd379a795fd2bb377a190af5acd4</id>
<content type='text'>
Pull clock framework updates from Mike Turquette:
 "The clock framework changes for 3.16 are pretty typical: mostly clock
  driver additions and fixes.  There are additions to the clock core
  code for some of the basic types (e.g. the common divider type has
  some fixes and featured added to it).

  One minor annoyance is a last-minute dependency that wasn't handled
  quite right.  Commit ba0fae3b06a6 ("clk: berlin: add core clock driver
  for BG2/BG2CD") in this pull request depends on
  include/dt-bindings/clock/berlin2.h, which is already in your tree via
  the arm-soc pull request.  Building for the berlin platform will break
  when the clk tree is built on it's own, but merged into your master
  branch everything should be fine"

* tag 'clk-for-linus-3.16' of git://git.linaro.org/people/mike.turquette/linux: (75 commits)
  mmc: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs
  clk: export __clk_round_rate for providers
  clk: versatile: free icst on error return
  clk: qcom: Return error pointers for unimplemented clocks
  clk: qcom: Support msm8974pro global clock control hardware
  clk: qcom: Properly support display clocks on msm8974
  clk: qcom: Support display RCG clocks
  clk: qcom: Return highest rate when round_rate() exceeds plan
  clk: qcom: Fix mmcc-8974's PLL configurations
  clk: qcom: Fix clk_rcg2_is_enabled() check
  clk: berlin: add core clock driver for BG2Q
  clk: berlin: add core clock driver for BG2/BG2CD
  clk: berlin: add driver for BG2x complex divider cells
  clk: berlin: add driver for BG2x simple PLLs
  clk: berlin: add driver for BG2x audio/video PLL
  clk: st: Terminate of match table
  clk/exynos4: Fix compilation warning
  ARM: shmobile: r8a7779: Add clock index macros for DT sources
  clk: divider: Fix overflow in clk_divider_bestdiv
  clk: u300: Terminate of match table
  ...
</content>
</entry>
<entry>
<title>clk: versatile: free icst on error return</title>
<updated>2014-05-31T00:07:46Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2014-04-12T17:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ab7ad35300f3810bca13993d1a6e100505c4af5b'/>
<id>urn:sha1:ab7ad35300f3810bca13993d1a6e100505c4af5b</id>
<content type='text'>
commit a183da63 introduced a new error return path that does
not kfree icst if the kmemdup of desc-&gt;params fails.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'linaro/clk-next' into clk-next</title>
<updated>2014-05-23T21:30:35Z</updated>
<author>
<name>Mike Turquette</name>
<email>mturquette@linaro.org</email>
</author>
<published>2014-05-23T21:30:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dedca6abaf42fb596645e60a20f677a6a4692c22'/>
<id>urn:sha1:dedca6abaf42fb596645e60a20f677a6a4692c22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clk: impd1: add pclk clocks</title>
<updated>2014-05-21T23:16:02Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2014-04-15T08:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=222cb1bf180e413e1816aaf4166e4f56e72201d8'/>
<id>urn:sha1:222cb1bf180e413e1816aaf4166e4f56e72201d8</id>
<content type='text'>
The IM-PD1 PrimeCells all have pclk assignments though this clock
cannot be controlled, and we need to provide this as a dummy
clock for the PL061 GPIO driver to probe, so let's assign it to
all the cells on the board.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: versatile: Split config options for sp810 and vexpress_osc</title>
<updated>2014-05-15T16:02:20Z</updated>
<author>
<name>Pawel Moll</name>
<email>pawel.moll@arm.com</email>
</author>
<published>2013-09-17T16:16:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5ee2b877793d89f1d73338d08af12f73fbbfed4a'/>
<id>urn:sha1:5ee2b877793d89f1d73338d08af12f73fbbfed4a</id>
<content type='text'>
Move the Kconfig entry for Versatile (&amp; Express) clock drivers
into a separate file and add individual options for sp810
and vexpress_osc drivers, as they are optional in some
configurations and may have separate dependencies.

Signed-off-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Acked-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: vexpress: Convert custom func API to regmap</title>
<updated>2014-05-15T16:02:18Z</updated>
<author>
<name>Pawel Moll</name>
<email>pawel.moll@arm.com</email>
</author>
<published>2014-04-30T15:46:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3b9334ac835bb431e2186645230c9f1eb94b5d49'/>
<id>urn:sha1:3b9334ac835bb431e2186645230c9f1eb94b5d49</id>
<content type='text'>
Components of the Versatile Express platform (configuration
microcontrollers on motherboard and daughterboards in particular)
talk to each other over a custom configuration bus. They
provide miscellaneous functions (from clock generator control
to energy sensors) which are represented as platform devices
(and Device Tree nodes). The transactions on the bus can
be generated by different "bridges" in the system, some
of which are universal for the whole platform (for the price
of high transfer latencies), others restricted to a subsystem
(but much faster).

Until now drivers for such functions were using custom "func"
API, which is being replaced in this patch by regmap calls.
This required:

* a rework (and move to drivers/bus directory, as suggested
  by Samuel and Arnd) of the config bus core, which is much
  simpler now and uses device model infrastructure (class)
  to keep track of the bridges; non-DT case (soon to be
  retired anyway) is simply covered by a special device
  registration function

* the new config-bus driver also takes over device population,
  so there is no need for special matching table for
  of_platform_populate nor "simple-bus" hack in the arm64
  model dtsi file (relevant bindings documentation has
  been updated); this allows all the vexpress devices
  fit into normal device model, making it possible
  to remove plenty of early inits and other hacks in
  the near future

* adaptation of the syscfg bridge implementation in the
  sysreg driver, again making it much simpler; there is
  a special case of the "energy" function spanning two
  registers, where they should be both defined in the tree
  now, but backward compatibility is maintained in the code

* modification of the relevant drivers:

  * hwmon - just a straight-forward API change
  * power/reset driver - API change
  * regulator - API change plus error handling
    simplification
  * osc clock driver - this one required larger rework
    in order to turn in into a standard platform driver

Signed-off-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Acked-by: Mark Brown &lt;broonie@linaro.org&gt;
Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Acked-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk/versatile: export symbols for impd1</title>
<updated>2014-05-15T06:40:49Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2014-05-08T14:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a218d7fa3f7dbc0d3a168f1ccd13b21313d85dab'/>
<id>urn:sha1:a218d7fa3f7dbc0d3a168f1ccd13b21313d85dab</id>
<content type='text'>
The impd1 code on mach-integrator can be a loadable module,
so we have to export icst_clk_register, integrator_impd1_clk_init
and integrator_impd1_clk_exit.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>vexpress: Initialise the sysregs before setting up the clocks</title>
<updated>2014-05-04T10:35:29Z</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@arm.com</email>
</author>
<published>2014-04-28T16:08:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e715eb2e73918f4cefbba0b717ff8902e8030b39'/>
<id>urn:sha1:e715eb2e73918f4cefbba0b717ff8902e8030b39</id>
<content type='text'>
Following arm64 commit bc3ee18a7a57 (arm64: init: Move of_clk_init to
time_init()), vexpress_osc_of_setup() is called via of_clk_init() long
before initcalls are issued. Initialising the vexpress oscillators
requires the vespress sysregs to be already initialised, so this patch
adds an explicit call to vexpress_sysreg_of_early_init() in vexpress
oscillator setup function.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Acked-by: Will Deacon &lt;will.deacon@arm.com&gt;
Tested-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Acked-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
Cc: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: vexpress: NULL dereference on error path</title>
<updated>2014-04-24T10:39:06Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-11-07T08:08:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6b4ed8b00e93bd31f24a25f59ed8d1b808d0cc00'/>
<id>urn:sha1:6b4ed8b00e93bd31f24a25f59ed8d1b808d0cc00</id>
<content type='text'>
If the allocation fails then we dereference the NULL in the error path.
Just return directly.

Fixes: ed27ff1db869 ('clk: Versatile Express clock generators ("osc") driver')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Pawel Moll &lt;pawel.moll@arm.com&gt;
</content>
</entry>
<entry>
<title>ARM: integrator: localize the impd1.h header</title>
<updated>2014-02-26T12:49:06Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2014-02-13T19:07:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cc0cc4ca093f3df9e554af8dae39a126987bccf7'/>
<id>urn:sha1:cc0cc4ca093f3df9e554af8dae39a126987bccf7</id>
<content type='text'>
As we move toward multiplatform support for the Integrator family
we need to localize all &lt;mach/*&gt; headers. This moves the impd1.h
header down to the machine folder, copying the the three defines
only used by the clock driver down into the clock driver.

Cc: Will Deacon &lt;will.deacon@arm.com&gt;
Cc: Jonathan Austin &lt;jonathan.austin@arm.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Cc: Mike Turquette &lt;mturquette@linaro.org&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
