<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux-stable.git/drivers/clk/ti, branch linux-3.16.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=linux-3.16.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=linux-3.16.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/'/>
<updated>2018-02-13T18:42:22+00:00</updated>
<entry>
<title>clk: ti: dra7-atl-clock: fix child-node lookups</title>
<updated>2018-02-13T18:42:22+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2017-11-11T16:29:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=07b01b65e7733f9063165defaeb2d709c8a5d576'/>
<id>urn:sha1:07b01b65e7733f9063165defaeb2d709c8a5d576</id>
<content type='text'>
commit 33ec6dbc5a02677509d97fe36cd2105753f0f0ea upstream.

Fix child node-lookup during probe, which ended up searching the whole
device tree depth-first starting at parent rather than just matching on
its children.

Note that the original premature free of the parent node has already
been fixed separately, but that fix was apparently never backported to
stable.

Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Fixes: 660e15519399 ("clk: ti: dra7-atl-clock: Fix of_node reference counting")
Cc: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Acked-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>clk: ti: dra7-atl-clock: Fix of_node reference counting</title>
<updated>2018-02-13T18:42:22+00:00</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2016-03-11T14:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=223f341b1c8de5586b084dc0e4ef10598020985c'/>
<id>urn:sha1:223f341b1c8de5586b084dc0e4ef10598020985c</id>
<content type='text'>
commit 660e1551939931657808d47838a3f443c0e83fd0 upstream.

of_find_node_by_name() will call of_node_put() on the node so we need to
get it first to avoid warnings.
The cfg_node needs to be put after we have finished processing the
properties.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Tested-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>clk: ti: fix dual-registration of uart4_ick</title>
<updated>2015-10-30T13:59:27+00:00</updated>
<author>
<name>Ben Dooks</name>
<email>ben.dooks@codethink.co.uk</email>
</author>
<published>2015-09-29T14:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=30b9c68b905ec04f247510518022db8faec47292'/>
<id>urn:sha1:30b9c68b905ec04f247510518022db8faec47292</id>
<content type='text'>
commit 19e79687de22f23bcfb5e79cce3daba20af228d1 upstream.

On the OMAP AM3517 platform the uart4_ick gets registered
twice, causing any power management to /dev/ttyO3 to fail
when trying to wake the device up.

This solves the following oops:

[] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa09e008
[] PC is at serial_omap_pm+0x48/0x15c
[] LR is at _raw_spin_unlock_irqrestore+0x30/0x5c

Fixes: aafd900cab87 ("CLK: TI: add omap3 clock init file")
Cc: mturquette@baylibre.com
Cc: sboyd@codeaurora.org
Cc: linux-clk@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-kernel@lists.codethink.co.uk
Signed-off-by: Ben Dooks &lt;ben.dooks@codethink.co.uk&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Luis Henriques &lt;luis.henriques@canonical.com&gt;
</content>
</entry>
<entry>
<title>clk: ti: dra7-atl-clock: Fix possible ERR_PTR dereference</title>
<updated>2015-07-15T09:01:15+00:00</updated>
<author>
<name>Krzysztof Kozlowski</name>
<email>k.kozlowski@samsung.com</email>
</author>
<published>2015-05-13T06:54:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=15fca9961b884c5d9012aed934d0a3647173c85d'/>
<id>urn:sha1:15fca9961b884c5d9012aed934d0a3647173c85d</id>
<content type='text'>
commit e0cdcda508f110b7ec190dc7c5eb2869ba73a535 upstream.

of_clk_get_from_provider() returns ERR_PTR on failure. The
dra7-atl-clock driver was not checking its return value and
immediately used it in __clk_get_hw().  __clk_get_hw()
dereferences supplied clock, if it is not NULL, so in that case
it would dereference an ERR_PTR.

Fixes: 9ac33b0ce81f ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Luis Henriques &lt;luis.henriques@canonical.com&gt;
</content>
</entry>
<entry>
<title>clk: ti: divider: Provide error check for incoming parameters in set_rate</title>
<updated>2014-10-05T20:41:12+00:00</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2014-08-18T16:56:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=58c6784f31ebae0a26d9e90b976d3dc8e8de5cf4'/>
<id>urn:sha1:58c6784f31ebae0a26d9e90b976d3dc8e8de5cf4</id>
<content type='text'>
commit 2f1032517623b70920d99529e5c87c8c680ab8bf upstream.

Check for valid parameters in check rate. Else, we end up getting errors
like:
[    0.000000] Division by zero in kernel.
[    0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.17.0-rc1 #1
[    0.000000] [&lt;c0015160&gt;] (unwind_backtrace) from [&lt;c0011978&gt;] (show_stack+0x10/0x14)
[    0.000000] [&lt;c0011978&gt;] (show_stack) from [&lt;c055f5f4&gt;] (dump_stack+0x78/0x94)
[    0.000000] [&lt;c055f5f4&gt;] (dump_stack) from [&lt;c02e17cc&gt;] (Ldiv0+0x8/0x10)
[    0.000000] [&lt;c02e17cc&gt;] (Ldiv0) from [&lt;c047d228&gt;] (ti_clk_divider_set_rate+0x14/0x14c)
[    0.000000] [&lt;c047d228&gt;] (ti_clk_divider_set_rate) from [&lt;c047a938&gt;] (clk_change_rate+0x138/0x180)
[    0.000000] [&lt;c047a938&gt;] (clk_change_rate) from [&lt;c047a908&gt;] (clk_change_rate+0x108/0x180)

This occurs as part of the inital clock tree update of child clock nodes
where new_rate could be 0 for non functional clocks.

Fixes: b4761198bfaf296 ("CLK: ti: add support for ti divider-clock")
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: ti: dra7-atl: Provide error check for incoming parameters in set_rate</title>
<updated>2014-10-05T20:41:11+00:00</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2014-08-18T16:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=5e2c757758986247bf709825201931975dcdf748'/>
<id>urn:sha1:5e2c757758986247bf709825201931975dcdf748</id>
<content type='text'>
commit 20411dad75ece9a613af715df4489e60990c4017 upstream.

Check for valid parameters in check rate. Else, we end up getting
errors.

This occurs as part of the inital clock tree update of child clock
nodes where new_rate could be 0 for non functional clocks.

Fixes: 9ac33b0ce81fa48 (" CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>clk: ti: clk-7xx: Correct ABE DPLL configuration</title>
<updated>2014-07-31T15:36:58+00:00</updated>
<author>
<name>Peter Ujfalusi</name>
<email>peter.ujfalusi@ti.com</email>
</author>
<published>2014-04-02T13:48:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/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>clk: ti: set CLK_SET_RATE_NO_REPARENT for ti,mux-clock</title>
<updated>2014-06-19T11:52:32+00:00</updated>
<author>
<name>Tomi Valkeinen</name>
<email>tomi.valkeinen@ti.com</email>
</author>
<published>2014-06-17T08:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=7d5fc85d961b807c799786afd175f5d964a2109f'/>
<id>urn:sha1:7d5fc85d961b807c799786afd175f5d964a2109f</id>
<content type='text'>
When setting the rate of a clock, by default the clock framework will
change the parent of the clock to the most suitable one in
__clk_mux_determine_rate() (most suitable by looking at the clock rate).

This is a rather dangerous default, and causes problems on AM43x when
using display and ethernet. There are multiple ways to select the clock
muxes on AM43x, and some of those clock paths have the same source
clocks for display and ethernet. When changing the clock rate for the
display subsystem, the clock framework decides to change the display mux
from the dedicated display PLL to a shared PLL which is used by the
ethernet, and then changes the rate of the shared PLL, breaking the
ethernet.

As I don't think there ever is a case where we want the clock framework
to automatically change the parent clock of a clock mux, this patch sets
the CLK_SET_RATE_NO_REPARENT for all ti,mux-clocks.

Signed-off-by: Tomi Valkeinen &lt;tomi.valkeinen@ti.com&gt;
Reviewed-by: Paul Walmsley &lt;paul@pwsan.com&gt;
Tested-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
</content>
</entry>
<entry>
<title>clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled</title>
<updated>2014-06-19T11:52:31+00:00</updated>
<author>
<name>Roger Quadros</name>
<email>rogerq@ti.com</email>
</author>
<published>2014-06-17T14:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=32cff42d0dc4fa5f474eff0980829537c520df5d'/>
<id>urn:sha1:32cff42d0dc4fa5f474eff0980829537c520df5d</id>
<content type='text'>
Define ti_clk_register_dpll_x2() and of_ti_am3_dpll_x2_setup() if
AM43XX is defined.

Fixes the below boot issue.

[    2.157258] gpmc_l3_clk not enabled
[    2.161194] gpmc_l3_clk not enabled
[    2.164896] Division by zero in kernel.
[    2.169055] CPU: 0 PID: 321 Comm: kworker/u2:2 Tainted: G        W     3.16.0-rc1-00008-g4c0e520 #273
[    2.178880] Workqueue: deferwq deferred_probe_work_func
[    2.184459] [&lt;c001477c&gt;] (unwind_backtrace) from [&lt;c001187c&gt;] (show_stack+0x10/0x14)
[    2.192752] [&lt;c001187c&gt;] (show_stack) from [&lt;c0530f28&gt;] (dump_stack+0x80/0x9c)
[    2.200486] [&lt;c0530f28&gt;] (dump_stack) from [&lt;c02c867c&gt;] (Ldiv0+0x8/0x10)
[    2.207678] [&lt;c02c867c&gt;] (Ldiv0) from [&lt;c0022da0&gt;] (gpmc_calc_divider+0x24/0x40)
[    2.215490] [&lt;c0022da0&gt;] (gpmc_calc_divider) from [&lt;c0022e20&gt;] (gpmc_cs_set_timings+0x18/0x474)
[    2.224783] [&lt;c0022e20&gt;] (gpmc_cs_set_timings) from [&lt;c003069c&gt;] (gpmc_nand_init+0x74/0x1a8)
[    2.233791] [&lt;c003069c&gt;] (gpmc_nand_init) from [&lt;c0024668&gt;] (gpmc_probe+0x52c/0x874)
[    2.242089] [&lt;c0024668&gt;] (gpmc_probe) from [&lt;c0349218&gt;] (platform_drv_probe+0x18/0x48)
[    2.250534] [&lt;c0349218&gt;] (platform_drv_probe) from [&lt;c0347d88&gt;] (driver_probe_device+0x104/0x22c)
[    2.259988] [&lt;c0347d88&gt;] (driver_probe_device) from [&lt;c03464dc&gt;] (bus_for_each_drv+0x44/0x8c)
[    2.269087] [&lt;c03464dc&gt;] (bus_for_each_drv) from [&lt;c0347c4c&gt;] (device_attach+0x74/0x8c)
[    2.277620] [&lt;c0347c4c&gt;] (device_attach) from [&lt;c0347380&gt;] (bus_probe_device+0x88/0xb0)
[    2.286074] [&lt;c0347380&gt;] (bus_probe_device) from [&lt;c0347768&gt;] (deferred_probe_work_func+0x60/0x90)
[    2.295611] [&lt;c0347768&gt;] (deferred_probe_work_func) from [&lt;c004ef50&gt;] (process_one_work+0x1b4/0x4bc)
[    2.305288] [&lt;c004ef50&gt;] (process_one_work) from [&lt;c004f3d4&gt;] (worker_thread+0x148/0x550)
[    2.313954] [&lt;c004f3d4&gt;] (worker_thread) from [&lt;c0055a48&gt;] (kthread+0xc8/0xe4)
[    2.321628] [&lt;c0055a48&gt;] (kthread) from [&lt;c000e648&gt;] (ret_from_fork+0x14/0x2c)

Signed-off-by: Roger Quadros &lt;rogerq@ti.com&gt;
Reported-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
</content>
</entry>
<entry>
<title>clk: ti: dra7: return error code in failure case</title>
<updated>2014-06-19T11:52:31+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>Julia.Lawall@lip6.fr</email>
</author>
<published>2014-05-19T11:25:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=8d2f9e8eca807479c83c8f765b6859838da618eb'/>
<id>urn:sha1:8d2f9e8eca807479c83c8f765b6859838da618eb</id>
<content type='text'>
Add a returned error code in the MAX_APLL_WAIT_TRIES case.  Remove the
updating of the return variable r to 0 if MAX_APLL_WAIT_TRIES is not yet
reached, because r is already 0 at this point.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Signed-off-by: Tero Kristo &lt;t-kristo@ti.com&gt;
</content>
</entry>
</feed>
