static void __init exynos_init_uarts(struct s3c2410_uartcfg *cfg, int no) { struct s3c2410_uartcfg *tcfg = cfg; u32 ucnt; for (ucnt = 0; ucnt < no; ucnt++, tcfg++) tcfg->has_fracval = 1; if (soc_is_exynos5250()) s3c24xx_init_uartdevs("exynos4210-uart", exynos5_uart_resources, cfg, no); else s3c24xx_init_uartdevs("exynos4210-uart", exynos4_uart_resources, cfg, no); }
void __init s3c2443_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no); /* rename devices that are s3c2413/s3c2443/s3c6400 specific */ s3c_device_lcd.name = "s3c-lcd"; }
void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no); /* rename devices that are s3c2412/s3c2413 specific */ s3c_device_sdi.name = "s3c2412-sdi"; s3c_device_lcd.name = "s3c2412-lcd"; s3c_device_nand.name = "s3c2412-nand"; }
void __init exynos4_init_uarts(struct s3c2410_uartcfg *cfg, int no) { struct s3c2410_uartcfg *tcfg = cfg; u32 ucnt; for (ucnt = 0; ucnt < no; ucnt++, tcfg++) tcfg->has_fracval = 1; s3c24xx_init_uartdevs("exynos4210-uart", s5p_uart_resources, cfg, no); }
/* uart registration process */ void __init s5p6440_init_uarts(struct s3c2410_uartcfg *cfg, int no) { int uart; for (uart = 0; uart < no; uart++) { s5p_uart_resources[uart].resources->start = S5P6440_PA_UART(uart); s5p_uart_resources[uart].resources->end = S5P6440_PA_UART(uart) + S5P_SZ_UART; } s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); }
/* uart registration process */ void __init s5p6440_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) { struct s3c2410_uartcfg *tcfg = cfg; u32 ucnt; for (ucnt = 0; ucnt < no; ucnt++, tcfg++) { if (!tcfg->clocks) { tcfg->clocks = s5p6440_serial_clocks; tcfg->clocks_size = ARRAY_SIZE(s5p6440_serial_clocks); } } s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); }
/* uart registration process */ void __init exynos_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) { struct s3c2410_uartcfg *tcfg = cfg; u32 ucnt; for (ucnt = 0; ucnt < no; ucnt++, tcfg++) { if (!tcfg->clocks) { tcfg->has_fracval = 1; tcfg->clocks = exynos_serial_clocks; tcfg->clocks_size = ARRAY_SIZE(exynos_serial_clocks); } tcfg->flags |= NO_NEED_CHECK_CLKSRC; } s3c24xx_init_uartdevs("s5pv210-uart", s5p_uart_resources, cfg, no); }
void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no); /* rename devices that are s3c2412/s3c2413 specific */ s3c_device_sdi.name = "s3c2412-sdi"; s3c_device_lcd.name = "s3c2412-lcd"; s3c_device_nand.name = "s3c2412-nand"; /* alter IRQ of SDI controller */ s3c_device_sdi.resource[1].start = IRQ_S3C2412_SDI; s3c_device_sdi.resource[1].end = IRQ_S3C2412_SDI; /* spi channel related changes, s3c2412/13 specific */ s3c_device_spi0.name = "s3c2412-spi"; s3c_device_spi0.resource[0].end = S3C24XX_PA_SPI + 0x24; s3c_device_spi1.name = "s3c2412-spi"; s3c_device_spi1.resource[0].start = S3C24XX_PA_SPI + S3C2412_SPI1; s3c_device_spi1.resource[0].end = S3C24XX_PA_SPI + S3C2412_SPI1 + 0x24; }
void __init s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2412-uart", s3c2410_uart_resources, cfg, no); s3c_device_sdi.name = "s3c2412-sdi"; s3c_device_lcd.name = "s3c2412-lcd"; s3c_nand_setname("s3c2412-nand"); s3c_device_sdi.resource[1].start = IRQ_S3C2412_SDI; s3c_device_sdi.resource[1].end = IRQ_S3C2412_SDI; s3c_device_spi0.name = "s3c2412-spi"; s3c_device_spi0.resource[0].end = S3C24XX_PA_SPI + 0x24; s3c_device_spi1.name = "s3c2412-spi"; s3c_device_spi1.resource[0].start = S3C24XX_PA_SPI + S3C2412_SPI1; s3c_device_spi1.resource[0].end = S3C24XX_PA_SPI + S3C2412_SPI1 + 0x24; }
void __init s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no); s3c_nand_setname("s3c2412-nand"); }
void __init s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no); }
void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no); }
void __init s5p6450_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c6400-uart", s5p_uart_resources, cfg, no); }
void __init s3c2416_init_uarts(struct s3c2410_uartcfg *cfg, int no) { s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no); s3c_device_nand.name = "s3c2416-nand"; }