@@ -2498,6 +2498,12 @@ static const struct s3c24xx_serial_drv_data exynos850_serial_drv_data = {
2498
2498
.fifosize = { 256 , 64 , 64 , 64 },
2499
2499
};
2500
2500
2501
+ static const struct s3c24xx_serial_drv_data exynos8895_serial_drv_data = {
2502
+ EXYNOS_COMMON_SERIAL_DRV_DATA ,
2503
+ /* samsung,uart-fifosize must be specified in the device tree. */
2504
+ .fifosize = { 0 },
2505
+ };
2506
+
2501
2507
static const struct s3c24xx_serial_drv_data gs101_serial_drv_data = {
2502
2508
.info = {
2503
2509
.name = "Google GS101 UART" ,
@@ -2528,12 +2534,14 @@ static const struct s3c24xx_serial_drv_data gs101_serial_drv_data = {
2528
2534
#define EXYNOS4210_SERIAL_DRV_DATA (&exynos4210_serial_drv_data)
2529
2535
#define EXYNOS5433_SERIAL_DRV_DATA (&exynos5433_serial_drv_data)
2530
2536
#define EXYNOS850_SERIAL_DRV_DATA (&exynos850_serial_drv_data)
2537
+ #define EXYNOS8895_SERIAL_DRV_DATA (&exynos8895_serial_drv_data)
2531
2538
#define GS101_SERIAL_DRV_DATA (&gs101_serial_drv_data)
2532
2539
2533
2540
#else
2534
2541
#define EXYNOS4210_SERIAL_DRV_DATA NULL
2535
2542
#define EXYNOS5433_SERIAL_DRV_DATA NULL
2536
2543
#define EXYNOS850_SERIAL_DRV_DATA NULL
2544
+ #define EXYNOS8895_SERIAL_DRV_DATA NULL
2537
2545
#define GS101_SERIAL_DRV_DATA NULL
2538
2546
#endif
2539
2547
@@ -2623,6 +2631,9 @@ static const struct platform_device_id s3c24xx_serial_driver_ids[] = {
2623
2631
}, {
2624
2632
.name = "gs101-uart" ,
2625
2633
.driver_data = (kernel_ulong_t )GS101_SERIAL_DRV_DATA ,
2634
+ }, {
2635
+ .name = "exynos8895-uart" ,
2636
+ .driver_data = (kernel_ulong_t )EXYNOS8895_SERIAL_DRV_DATA ,
2626
2637
},
2627
2638
{ },
2628
2639
};
@@ -2646,6 +2657,8 @@ static const struct of_device_id s3c24xx_uart_dt_match[] = {
2646
2657
.data = ARTPEC8_SERIAL_DRV_DATA },
2647
2658
{ .compatible = "google,gs101-uart" ,
2648
2659
.data = GS101_SERIAL_DRV_DATA },
2660
+ { .compatible = "samsung,exynos8895-uart" ,
2661
+ .data = EXYNOS8895_SERIAL_DRV_DATA },
2649
2662
{},
2650
2663
};
2651
2664
MODULE_DEVICE_TABLE (of , s3c24xx_uart_dt_match );
0 commit comments