davinci:serial: update arch serial driver to get clk info

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Shankarmurthy, Akshay <akshay.s@ti.com>
Added todo notes
davinci: pm: Fix BUG_ON due alignment

Patch fixes below BUG_ON from pm-davinci driver because alignment
issue on "davinci_cpu_suspend".

------------[ cut here ]------------
kernel BUG at arch/arm/mach-davinci/pm.c:130!
Internal error: Oops - BUG: 0 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (3.3.0+ #118)
PC is at davinci_pm_probe+0x84/0xe0
LR is at gen_pool_alloc+0x1dc/0x1e8
pc : [<c0486270>]    lr : [<c0172fe8>]    psr: 20000013
sp : c782de50  ip : c782de00  fp : c782de74
r10: 00000000  r9 : 00000000  r8 : 00000004
r7 : c00155a8  r6 : fffe0000  r5 : c04e2e48  r4 : c001543c
r3 : 00000000  r2 : c782ddf0  r1 : 00000001  r0 : fffe0000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005317f  Table: c0004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc782c270)
Stack: (0xc782de50 to 0xc782e000)
de40:                                     c04861ec c04b1de8 c04b1de8
c04b2
ce4
de60: c04b2ce4 00000000 c782de84 c782de78 c01b4598 c04861fc c782dea4
c782d
e88
de80: c01b3070 c01b458c c04b1de8 c04b1e1c c04b2ce4 00000000 c782deb4
c782d
ea8
dea0: c01b32d0 c01b2fd8 c782ded4 c782deb8 c01b3344 c01b32b8 00000000
c04b2
ce4
dec0: c782ded8 c01b32dc c782defc c782ded8 c01b1c00 c01b32ec c782310c
c7852
570
dee0: c04b2ce4 c79bac00 c04c3dd0 00000000 c782df0c c782df00 c01b2ebc
c01b1
bb8
df00: c782df3c c782df10 c01b2ae8 c01b2eac c0410998 c04b2ce4 c04b2ce4
00000
001
df20: c001bb7c c04861c8 00000000 00000000 c782df64 c782df40 c01b3908
c01b2
a44
df40: c04b2cd0 00000001 c001bb7c c04861c8 00000000 00000000 c782df74
c782d
f68
df60: c01b4908 c01b3870 c782df94 c782df78 c01b493c c01b48cc c782c000
c04a6
bf8
df80: c04a6c40 c001bb7c c782dfa4 c782df98 c04861e0 c01b492c c782dfdc
c782d
fa8
dfa0: c00088c0 c04861d8 c782dfc4 c782dfb8 c0037efc c016ae60 c782dfdc
c04a6
bf8
dfc0: c04a6c40 c001bb7c 00000013 00000000 c782dff4 c782dfe0 c047e8ac
c0008
834
dfe0: 00000000 c047e82c 00000000 c782dff8 c001bb7c c047e83c 44000400
02200
021
Backtrace:
[<c04861ec>] (davinci_pm_probe+0x0/0xe0) from [<c01b4598>]
(platform_drv_p
robe+0x1c/0x20)
 r8:00000000 r7:c04b2ce4 r6:c04b2ce4 r5:c04b1de8 r4:c04b1de8
r3:c04861ec
[<c01b457c>] (platform_drv_probe+0x0/0x20) from [<c01b3070>]
(really_probe
+0xa8/0x160)
[<c01b2fc8>] (really_probe+0x0/0x160) from [<c01b32d0>]
(driver_probe_devi
ce+0x28/0x34)
 r7:00000000 r6:c04b2ce4 r5:c04b1e1c r4:c04b1de8
[<c01b32a8>] (driver_probe_device+0x0/0x34) from [<c01b3344>]
(__driver_at
tach+0x68/0x8c)
[<c01b32dc>] (__driver_attach+0x0/0x8c) from [<c01b1c00>]
(bus_for_each_de
v+0x58/0x88)
 r6:c01b32dc r5:c782ded8 r4:c04b2ce4 r3:00000000
[<c01b1ba8>] (bus_for_each_dev+0x0/0x88) from [<c01b2ebc>]
(driver_attach+
0x20/0x28)
 r7:00000000 r6:c04c3dd0 r5:c79bac00 r4:c04b2ce4
[<c01b2e9c>] (driver_attach+0x0/0x28) from [<c01b2ae8>]
(bus_add_driver+0x
b4/0x234)
[<c01b2a34>] (bus_add_driver+0x0/0x234) from [<c01b3908>]
(driver_register
+0xa8/0x128)
[<c01b3860>] (driver_register+0x0/0x128) from [<c01b4908>]
(platform_drive
r_register+0x4c/0x60)
[<c01b48bc>] (platform_driver_register+0x0/0x60) from [<c01b493c>]
(platfo
rm_driver_probe+0x20/0xa0)
[<c01b491c>] (platform_driver_probe+0x0/0xa0) from [<c04861e0>]
(davinci_p
m_init+0x18/0x24)
 r6:c001bb7c r5:c04a6c40 r4:c04a6bf8 r3:c782c000
[<c04861c8>] (davinci_pm_init+0x0/0x24) from [<c00088c0>]
(do_one_initcall
+0x9c/0x174)
[<c0008824>] (do_one_initcall+0x0/0x174) from [<c047e8ac>]
(kernel_init+0x
80/0x124)
 r8:00000000 r7:00000013 r6:c001bb7c r5:c04a6c40 r4:c04a6bf8
[<c047e82c>] (kernel_init+0x0/0x124) from [<c001bb7c>]
(do_exit+0x0/0x2dc)
 r5:c047e82c r4:00000000
Code: e59f405c 1a000001 e2148006 0a000000 (e7f001f2)
---[ end trace b9a13beb063994e5 ]---
Kernel panic - not syncing: Attempted to kill init!

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>