ARM: SAMSUNG: serial: Add FRACVAL support for newer UART
commit8b526ae4ddd7a62397d99856079b59eda5d09360
authorJongpill Lee <boyko.lee@samsung.com>
Fri, 16 Jul 2010 01:19:41 +0000 (16 10:19 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 5 Aug 2010 09:32:41 +0000 (5 18:32 +0900)
tree004b09ebdb47c96612d28b97fb7c7dd5907597cb
parent9fe6206f400646a2322096b56c59891d530e8d51
ARM: SAMSUNG: serial: Add FRACVAL support for newer UART

Add support for the FRACVAL register on the newer UART blocks which provides
the same function as UDIVSLOT register but the FRACVAL is easier to implement.
To support UDIVSLOT register, UDIVSLOT table search is necessary though
supporting FRACVAL only needs the index value of UDIVSLOT table.

Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Acked-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/regs-serial.h
drivers/serial/samsung.c