<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/clk, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/clk?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/clk?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-07-31T15:36:58Z</updated>
<entry>
<title>clk: ti: clk-7xx: Correct ABE DPLL configuration</title>
<updated>2014-07-31T15:36:58Z</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2014-04-02T13:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a74c52def9ab953c77956a8e93d225621980f54c'/>
<id>urn:sha1:a74c52def9ab953c77956a8e93d225621980f54c</id>
<content type='text'>
ABE DPLL frequency need to be lowered from 361267200
to 180633600 to facilitate the ATL requironments.
The dpll_abe_m2x2_ck clock need to be set to double
of ABE DPLL rate in order to have correct clocks
for audio.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux</title>
<updated>2014-07-13T19:21:04Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-07-13T19:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=502fde1a0a2990ec54eab5241d3135c545da7372'/>
<id>urn:sha1:502fde1a0a2990ec54eab5241d3135c545da7372</id>
<content type='text'>
Pull clock driver fixes from Mike Turquette:
 "This batch of fixes is for a handful of clock drivers from Allwinner,
  Samsung, ST &amp; TI.  Most of them are of the "this hardware won't work
  without this fix" variety, including patches that fix platforms that
  did not boot under certain configurations.  Other fixes are the result
  of changes to the clock core introduced in 3.15 that had subtle
  impacts on the clock drivers.

  There are no fixes to the clock framework core in this pull request"

* tag 'clk-fixes-for-linus' of git://git.linaro.org/people/mike.turquette/linux:
  clk: spear3xx: Set proper clock parent of uart1/2
  clk: spear3xx: Use proper control register offset
  clk: qcom: HDMI source sel is 3 not 2
  clk: sunxi: fix devm_ioremap_resource error detection code
  clk: s2mps11: Fix double free corruption during driver unbind
  clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled
  clk: exynos5420: Remove aclk66_peric from the clock tree description
  clk/exynos5250: fix bit number for tv sysmmu clock
  clk: s3c64xx: Hookup SPI clocks correctly
  clk: samsung: exynos4: Remove SRC_MASK_ISP gates
  clk: samsung: add more aliases for s3c24xx
  clk: samsung: fix several typos to fix boot on s3c2410
  clk: ti: set CLK_SET_RATE_NO_REPARENT for ti,mux-clock
  clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled
  clk: ti: dra7: return error code in failure case
  clk: ti: apll: not allocating enough data
</content>
</entry>
<entry>
<title>clk: spear3xx: Set proper clock parent of uart1/2</title>
<updated>2014-07-13T14:12:11Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2014-06-19T21:52:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=449437778bd09b73a5e51554f7219706da08917f'/>
<id>urn:sha1:449437778bd09b73a5e51554f7219706da08917f</id>
<content type='text'>
The uarts only work when the parent is ras_ahb_clk. The stale 3.5
based ST tree does this in the board file.

Add it to the clk init function. Not pretty, but the mess there is
amazing anyway.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: spear3xx: Use proper control register offset</title>
<updated>2014-07-13T14:11:40Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2014-06-19T21:52:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15ebb05248d025534773c9ef64915bd888f04e4b'/>
<id>urn:sha1:15ebb05248d025534773c9ef64915bd888f04e4b</id>
<content type='text'>
The control register is at offset 0x10, not 0x0. This is wreckaged
since commit 5df33a62c (SPEAr: Switch to common clock framework).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: stable@vger.kernel.org
Acked-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: exynos5420: Add IDs for clocks used in PD mfc</title>
<updated>2014-07-10T23:03:59Z</updated>
<author>
<name>Arun Kumar K</name>
<email>arun.kk@samsung.com</email>
</author>
<published>2014-07-10T23:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c0fb262bf226a5c943e4309662353d5fb905310a'/>
<id>urn:sha1:c0fb262bf226a5c943e4309662353d5fb905310a</id>
<content type='text'>
Adds IDs for MUX clocks to be used by power domain for MFC
for doing re-parenting while pd on/off.

Signed-off-by: Arun Kumar K &lt;arun.kk@samsung.com&gt;
Signed-off-by: Shaik Ameer Basha &lt;shaik.ameer@samsung.com&gt;
Acked-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>clk: qcom: HDMI source sel is 3 not 2</title>
<updated>2014-07-02T23:33:18Z</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2014-06-25T21:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c556bcddc78096caeb46dbe3ad0314dd951f1665'/>
<id>urn:sha1:c556bcddc78096caeb46dbe3ad0314dd951f1665</id>
<content type='text'>
The HDMI PLL input to the tv mux is supposed to be 3, not 2. Fix
the code so that we can properly select the HDMI PLL.

Fixes: 6d00b56fe "clk: qcom: Add support for MSM8960's multimedia clock controller (MMCC)"
Reported-by: Rob Clark &lt;robdclark@gmail.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for_3.16/samsung-clk-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tfiga/samsung-clk into clk-fixes-samsung</title>
<updated>2014-07-02T17:05:56Z</updated>
<author>
<name>Mike Turquette</name>
<email>mturquette@linaro.org</email>
</author>
<published>2014-07-02T17:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4924b8a2fa137335bef82829733b30a5172e51b3'/>
<id>urn:sha1:4924b8a2fa137335bef82829733b30a5172e51b3</id>
<content type='text'>
Samsung clock fixes for v3.16.

This pull request contains fixes for various issues found while testing
-rc versions of Linux 3.16. Mostly two kinds of patches:

* Fixes of incorrectly defined clocks

1) a37c82a clk: samsung: exynos4: Remove SRC_MASK_ISP gates

    Issue present since v3.10.

2) 0b1643b clk/exynos5250: fix bit number for tv sysmmu clock

    Issue present since v3.16.

3) 44ff025 clk: exynos5420: Remove aclk66_peric from the clock tree description

    Issue present since v3.11.

* Adding things missed by original patches

1) cec1cde clk: samsung: fix several typos to fix boot on s3c2410
2) 34ece9e clk: samsung: add more aliases for s3c24xx

    Both issues present since the driver was added in v3.16.

3) a92dda4 clk: s3c64xx: Hookup SPI clocks correctly

    Issue present since v3.12.
</content>
</entry>
<entry>
<title>Merge branch 'for-v3.16-rc/ti-clk-drv' of github.com:t-kristo/linux-pm into clk-fixes-ti</title>
<updated>2014-07-02T06:41:56Z</updated>
<author>
<name>Mike Turquette</name>
<email>mturquette@linaro.org</email>
</author>
<published>2014-07-02T06:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5c726dcdd22d2fa007a87e258128393acfc364d2'/>
<id>urn:sha1:5c726dcdd22d2fa007a87e258128393acfc364d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clk: sunxi: fix devm_ioremap_resource error detection code</title>
<updated>2014-07-02T06:37:34Z</updated>
<author>
<name>Himangi Saraogi</name>
<email>himangi774@gmail.com</email>
</author>
<published>2014-06-28T17:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c3dcac875e35c2e67ccaef10ef62ae5b1410d29c'/>
<id>urn:sha1:c3dcac875e35c2e67ccaef10ef62ae5b1410d29c</id>
<content type='text'>
devm_ioremap_resource returns an ERR_PTR value, not NULL, on failure.

A simplified version of the semantic match that finds this problem is as
follows:

// &lt;smpl&gt;
@@
expression e,e1;
statement S;
@@

*e = devm_ioremap_resource(...);
if (!e1) S

// &lt;/smpl&gt;

Signed-off-by: Himangi Saraogi &lt;himangi774@gmail.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Acked-by Boris BREZILLON &lt;boris.brezillon@free-electrons.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
<entry>
<title>clk: s2mps11: Fix double free corruption during driver unbind</title>
<updated>2014-07-02T04:56:49Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski@samsung.com</email>
</author>
<published>2014-06-27T12:21:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2a96dfa49c83a2a7cbdb11382976aaa6b2636764'/>
<id>urn:sha1:2a96dfa49c83a2a7cbdb11382976aaa6b2636764</id>
<content type='text'>
After unbinding the driver memory was corrupted by double free of
clk_lookup structure. This lead to OOPS when re-binding the driver
again.

The driver allocated memory for 'clk_lookup' with devm_kzalloc. During
driver removal this memory was freed twice: once by clkdev_drop() and
second by devm code.

Kernel panic log:
[   30.839284] Unable to handle kernel paging request at virtual address 5f343173
[   30.846476] pgd = dee14000
[   30.849165] [5f343173] *pgd=00000000
[   30.852703] Internal error: Oops: 805 [#1] PREEMPT SMP ARM
[   30.858166] Modules linked in:
[   30.861208] CPU: 0 PID: 1 Comm: bash Not tainted 3.16.0-rc2-00239-g94bdf617b07e-dirty #40
[   30.869364] task: df478000 ti: df480000 task.ti: df480000
[   30.874752] PC is at clkdev_add+0x2c/0x38
[   30.878738] LR is at clkdev_add+0x18/0x38
[   30.882732] pc : [&lt;c0350908&gt;]    lr : [&lt;c03508f4&gt;]    psr: 60000013
[   30.882732] sp : df481e78  ip : 00000001  fp : c0700ed8
[   30.894187] r10: 0000000c  r9 : 00000000  r8 : c07b0e3c
[   30.899396] r7 : 00000002  r6 : df45f9d0  r5 : df421390  r4 : c0700d6c
[   30.905906] r3 : 5f343173  r2 : c0700d84  r1 : 60000013  r0 : c0700d6c
[   30.912417] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   30.919534] Control: 10c53c7d  Table: 5ee1406a  DAC: 00000015
[   30.925262] Process bash (pid: 1, stack limit = 0xdf480240)
[   30.930817] Stack: (0xdf481e78 to 0xdf482000)
[   30.935159] 1e60:                                                       00001000 df6de610
[   30.943321] 1e80: df7f4558 c0355650 c05ec6ec c0700eb0 df6de600 df7f4510 dec9d69c 00000014
[   30.951480] 1ea0: 00167b48 df6de610 c0700e30 c0713518 00000000 c0700e30 dec9d69c 00000006
[   30.959639] 1ec0: 00167b48 c02c1b7c c02c1b64 df6de610 c07aff48 c02c0420 c06fb150 c047cc20
[   30.967798] 1ee0: df6de610 df6de610 c0700e30 df6de644 c06fb150 0000000c dec9d690 c02bef90
[   30.975957] 1f00: dec9c6c0 dece4c00 df481f80 dece4c00 0000000c c02be73c 0000000c c016ca8c
[   30.984116] 1f20: c016ca48 00000000 00000000 c016c1f4 00000000 00000000 b6f18000 df481f80
[   30.992276] 1f40: df7f66c0 0000000c df480000 df480000 b6f18000 c011094c df47839c 60000013
[   31.000435] 1f60: 00000000 00000000 df7f66c0 df7f66c0 0000000c df480000 b6f18000 c0110dd4
[   31.008594] 1f80: 00000000 00000000 0000000c b6ec05d8 0000000c b6f18000 00000004 c000f2a8
[   31.016753] 1fa0: 00001000 c000f0e0 b6ec05d8 0000000c 00000001 b6f18000 0000000c 00000000
[   31.024912] 1fc0: b6ec05d8 0000000c b6f18000 00000004 0000000c 00000001 00000000 00167b48
[   31.033071] 1fe0: 00000000 bed83a80 b6e004f0 b6e5122c 60000010 00000001 ffffffff ffffffff
[   31.041248] [&lt;c0350908&gt;] (clkdev_add) from [&lt;c0355650&gt;] (s2mps11_clk_probe+0x2b4/0x3b4)
[   31.049223] [&lt;c0355650&gt;] (s2mps11_clk_probe) from [&lt;c02c1b7c&gt;] (platform_drv_probe+0x18/0x48)
[   31.057728] [&lt;c02c1b7c&gt;] (platform_drv_probe) from [&lt;c02c0420&gt;] (driver_probe_device+0x13c/0x384)
[   31.066579] [&lt;c02c0420&gt;] (driver_probe_device) from [&lt;c02bef90&gt;] (bind_store+0x88/0xd8)
[   31.074564] [&lt;c02bef90&gt;] (bind_store) from [&lt;c02be73c&gt;] (drv_attr_store+0x20/0x2c)
[   31.082118] [&lt;c02be73c&gt;] (drv_attr_store) from [&lt;c016ca8c&gt;] (sysfs_kf_write+0x44/0x48)
[   31.090016] [&lt;c016ca8c&gt;] (sysfs_kf_write) from [&lt;c016c1f4&gt;] (kernfs_fop_write+0xc0/0x17c)
[   31.098176] [&lt;c016c1f4&gt;] (kernfs_fop_write) from [&lt;c011094c&gt;] (vfs_write+0xa0/0x1c4)
[   31.105899] [&lt;c011094c&gt;] (vfs_write) from [&lt;c0110dd4&gt;] (SyS_write+0x40/0x8c)
[   31.112931] [&lt;c0110dd4&gt;] (SyS_write) from [&lt;c000f0e0&gt;] (ret_fast_syscall+0x0/0x3c)
[   31.120481] Code: e2842018 e584501c e1a00004 e885000c (e5835000)
[   31.126596] ---[ end trace efad45bfa3a61b05 ]---
[   31.131181] Kernel panic - not syncing: Fatal exception
[   31.136368] CPU1: stopping
[   31.139054] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D       3.16.0-rc2-00239-g94bdf617b07e-dirty #40
[   31.148697] [&lt;c0016480&gt;] (unwind_backtrace) from [&lt;c0012950&gt;] (show_stack+0x10/0x14)
[   31.156419] [&lt;c0012950&gt;] (show_stack) from [&lt;c0480db8&gt;] (dump_stack+0x80/0xcc)
[   31.163622] [&lt;c0480db8&gt;] (dump_stack) from [&lt;c001499c&gt;] (handle_IPI+0x130/0x15c)
[   31.170998] [&lt;c001499c&gt;] (handle_IPI) from [&lt;c000862c&gt;] (gic_handle_irq+0x60/0x68)
[   31.178549] [&lt;c000862c&gt;] (gic_handle_irq) from [&lt;c0013480&gt;] (__irq_svc+0x40/0x70)
[   31.186009] Exception stack(0xdf4bdf88 to 0xdf4bdfd0)
[   31.191046] df80:                   ffffffed 00000000 00000000 00000000 df4bc000 c06d042c
[   31.199207] dfa0: 00000000 ffffffed c06d03c0 00000000 c070c288 00000000 00000000 df4bdfd0
[   31.207363] dfc0: c0010324 c0010328 60000013 ffffffff
[   31.212402] [&lt;c0013480&gt;] (__irq_svc) from [&lt;c0010328&gt;] (arch_cpu_idle+0x28/0x30)
[   31.219783] [&lt;c0010328&gt;] (arch_cpu_idle) from [&lt;c005f150&gt;] (cpu_startup_entry+0x2c4/0x3f0)
[   31.228027] [&lt;c005f150&gt;] (cpu_startup_entry) from [&lt;400086c4&gt;] (0x400086c4)
[   31.234968] ---[ end Kernel panic - not syncing: Fatal exception

Fixes: 7cc560dea415 ("clk: s2mps11: Add support for s2mps11")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Reviewed-by: Yadwinder Singh Brar &lt;yadi.brar@samsung.com&gt;
Signed-off-by: Mike Turquette &lt;mturquette@linaro.org&gt;
</content>
</entry>
</feed>
