summaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/include/plat/regs-serial.h
diff options
context:
space:
mode:
authorJongpill Lee <boyko.lee@samsung.com>2010-07-16 01:19:41 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 09:32:41 (GMT)
commit8b526ae4ddd7a62397d99856079b59eda5d09360 (patch)
tree004b09ebdb47c96612d28b97fb7c7dd5907597cb /arch/arm/plat-samsung/include/plat/regs-serial.h
parent9fe6206f400646a2322096b56c59891d530e8d51 (diff)
downloadlinux-fsl-qoriq-8b526ae4ddd7a62397d99856079b59eda5d09360.tar.xz
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>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/regs-serial.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/regs-serial.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-serial.h b/arch/arm/plat-samsung/include/plat/regs-serial.h
index a6eba84..788837e9 100644
--- a/arch/arm/plat-samsung/include/plat/regs-serial.h
+++ b/arch/arm/plat-samsung/include/plat/regs-serial.h
@@ -259,6 +259,8 @@ struct s3c2410_uartcfg {
unsigned short flags;
upf_t uart_flags; /* default uart flags */
+ unsigned int has_fracval;
+
unsigned long ucon; /* value of ucon for port */
unsigned long ulcon; /* value of ulcon for port */
unsigned long ufcon; /* value of ufcon for port */