diff options
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 067f442de2d4..d170cc0d81a0 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -1609,6 +1609,15 @@ static struct s3c64xx_spi_port_config exynos4_spi_port_config = { | |||
1609 | .clk_from_cmu = true, | 1609 | .clk_from_cmu = true, |
1610 | }; | 1610 | }; |
1611 | 1611 | ||
1612 | static struct s3c64xx_spi_port_config exynos5440_spi_port_config = { | ||
1613 | .fifo_lvl_mask = { 0x1ff }, | ||
1614 | .rx_lvl_offset = 15, | ||
1615 | .tx_st_done = 25, | ||
1616 | .high_speed = true, | ||
1617 | .clk_from_cmu = true, | ||
1618 | .quirks = S3C64XX_SPI_QUIRK_POLL, | ||
1619 | }; | ||
1620 | |||
1612 | static struct platform_device_id s3c64xx_spi_driver_ids[] = { | 1621 | static struct platform_device_id s3c64xx_spi_driver_ids[] = { |
1613 | { | 1622 | { |
1614 | .name = "s3c2443-spi", | 1623 | .name = "s3c2443-spi", |
@@ -1637,6 +1646,9 @@ static const struct of_device_id s3c64xx_spi_dt_match[] = { | |||
1637 | { .compatible = "samsung,exynos4210-spi", | 1646 | { .compatible = "samsung,exynos4210-spi", |
1638 | .data = (void *)&exynos4_spi_port_config, | 1647 | .data = (void *)&exynos4_spi_port_config, |
1639 | }, | 1648 | }, |
1649 | { .compatible = "samsung,exynos5440-spi", | ||
1650 | .data = (void *)&exynos5440_spi_port_config, | ||
1651 | }, | ||
1640 | { }, | 1652 | { }, |
1641 | }; | 1653 | }; |
1642 | MODULE_DEVICE_TABLE(of, s3c64xx_spi_dt_match); | 1654 | MODULE_DEVICE_TABLE(of, s3c64xx_spi_dt_match); |