linux/drivers/clk/ti
Roger Quadros 32cff42d0d clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled
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] [<c001477c>] (unwind_backtrace) from [<c001187c>] (show_stack+0x10/0x14)
[    2.192752] [<c001187c>] (show_stack) from [<c0530f28>] (dump_stack+0x80/0x9c)
[    2.200486] [<c0530f28>] (dump_stack) from [<c02c867c>] (Ldiv0+0x8/0x10)
[    2.207678] [<c02c867c>] (Ldiv0) from [<c0022da0>] (gpmc_calc_divider+0x24/0x40)
[    2.215490] [<c0022da0>] (gpmc_calc_divider) from [<c0022e20>] (gpmc_cs_set_timings+0x18/0x474)
[    2.224783] [<c0022e20>] (gpmc_cs_set_timings) from [<c003069c>] (gpmc_nand_init+0x74/0x1a8)
[    2.233791] [<c003069c>] (gpmc_nand_init) from [<c0024668>] (gpmc_probe+0x52c/0x874)
[    2.242089] [<c0024668>] (gpmc_probe) from [<c0349218>] (platform_drv_probe+0x18/0x48)
[    2.250534] [<c0349218>] (platform_drv_probe) from [<c0347d88>] (driver_probe_device+0x104/0x22c)
[    2.259988] [<c0347d88>] (driver_probe_device) from [<c03464dc>] (bus_for_each_drv+0x44/0x8c)
[    2.269087] [<c03464dc>] (bus_for_each_drv) from [<c0347c4c>] (device_attach+0x74/0x8c)
[    2.277620] [<c0347c4c>] (device_attach) from [<c0347380>] (bus_probe_device+0x88/0xb0)
[    2.286074] [<c0347380>] (bus_probe_device) from [<c0347768>] (deferred_probe_work_func+0x60/0x90)
[    2.295611] [<c0347768>] (deferred_probe_work_func) from [<c004ef50>] (process_one_work+0x1b4/0x4bc)
[    2.305288] [<c004ef50>] (process_one_work) from [<c004f3d4>] (worker_thread+0x148/0x550)
[    2.313954] [<c004f3d4>] (worker_thread) from [<c0055a48>] (kthread+0xc8/0xe4)
[    2.321628] [<c0055a48>] (kthread) from [<c000e648>] (ret_from_fork+0x14/0x2c)

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
2014-06-19 14:52:31 +03:00
..
apll.c clk: ti: dra7: return error code in failure case 2014-06-19 14:52:31 +03:00
autoidle.c CLK: TI: add autoidle support 2014-01-17 12:34:59 -08:00
clk-2xxx.c ARM: OMAP2: clock: add DT boot support for cpufreq_ck 2014-05-28 13:05:57 +03:00
clk-3xxx.c mfd: omap-usb-host: Get clocks based on hardware revision 2014-03-13 22:23:51 +00:00
clk-7xx.c ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock 2014-05-28 13:06:50 +03:00
clk-33xx.c clk: ti: am335x: remove unecessary cpu0 clk node 2014-02-24 22:56:38 -08:00
clk-43xx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
clk-44xx.c CLK: TI: OMAP4/5/DRA7: Remove gpmc_fck from dummy clocks 2014-03-13 13:41:50 -07:00
clk-54xx.c CLK: TI: clk-54xx: Set the rate for dpll_abe_m2x2_ck 2014-06-06 20:33:34 +03:00
clk-dra7-atl.c CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic) 2014-05-28 13:06:54 +03:00
clk.c
clockdomain.c CLK: TI: add support for clockdomain binding 2014-01-17 12:35:13 -08:00
composite.c clk: ti: add support for basic mux clock 2014-01-17 12:35:17 -08:00
divider.c clk: ti/divider: fix rate calculation for fractional rates 2014-02-26 18:23:58 -08:00
dpll.c clk: ti: am43x: Fix boot with CONFIG_SOC_AM33XX disabled 2014-06-19 14:52:31 +03:00
fixed-factor.c clk: ti: add support for TI fixed factor clock 2014-01-17 12:35:07 -08:00
gate.c Merge branch 'for-v3.16/ti-clk-drv' of github.com:t-kristo/linux-pm into clk-next 2014-06-10 16:53:25 -07:00
interface.c CLK: TI: interface: add support for omap2430 specific interface clock 2014-05-28 12:30:12 +03:00
Makefile CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic) 2014-05-28 13:06:54 +03:00
mux.c clk: ti: add support for basic mux clock 2014-01-17 12:35:17 -08:00