0484-config-Enable-SERIAL_SC16IS7XX_SPI.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. From a64be1e10c388d83ba98d8c9b737cf3064193690 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Thu, 18 Aug 2016 17:36:39 +0100
  4. Subject: [PATCH] config: Enable SERIAL_SC16IS7XX_SPI
  5. Previously only the I2C mode was supported.
  6. See: https://github.com/raspberrypi/linux/issues/1594
  7. ---
  8. arch/arm/configs/bcm2709_defconfig | 1 +
  9. arch/arm/configs/bcmrpi_defconfig | 1 +
  10. 2 files changed, 2 insertions(+)
  11. --- a/arch/arm/configs/bcm2709_defconfig
  12. +++ b/arch/arm/configs/bcm2709_defconfig
  13. @@ -601,6 +601,7 @@ CONFIG_SERIAL_AMBA_PL011=y
  14. CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
  15. CONFIG_SERIAL_OF_PLATFORM=y
  16. CONFIG_SERIAL_SC16IS7XX=m
  17. +CONFIG_SERIAL_SC16IS7XX_SPI=y
  18. CONFIG_TTY_PRINTK=y
  19. CONFIG_HW_RANDOM=y
  20. CONFIG_RAW_DRIVER=y
  21. --- a/arch/arm/configs/bcmrpi_defconfig
  22. +++ b/arch/arm/configs/bcmrpi_defconfig
  23. @@ -594,6 +594,7 @@ CONFIG_SERIAL_AMBA_PL011=y
  24. CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
  25. CONFIG_SERIAL_OF_PLATFORM=y
  26. CONFIG_SERIAL_SC16IS7XX=m
  27. +CONFIG_SERIAL_SC16IS7XX_SPI=y
  28. CONFIG_TTY_PRINTK=y
  29. CONFIG_HW_RANDOM=y
  30. CONFIG_RAW_DRIVER=y