diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-08 09:11:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-08 09:11:29 +0100 |
| commit | 15c990fecc7f2e82254d2cb720f4a37f742b2e72 (patch) | |
| tree | 07c2d775ba8847473c4371a40dc6b85eff0b8424 | |
| parent | e51617eab5730f7fef3bb585843333c66bc4659f (diff) | |
| download | patches-15c990fecc7f2e82254d2cb720f4a37f742b2e72.tar.gz | |
samsung tty patches added
| -rw-r--r-- | 0001-tty-serial-samsung_tty-build-it-for-any-platform.patch | 34 | ||||
| -rw-r--r-- | 0002-tty-serial-samsung_tty-remove-SERIAL_SAMSUNG_DEBUG.patch | 43 | ||||
| -rw-r--r-- | series | 2 |
3 files changed, 79 insertions, 0 deletions
diff --git a/0001-tty-serial-samsung_tty-build-it-for-any-platform.patch b/0001-tty-serial-samsung_tty-build-it-for-any-platform.patch new file mode 100644 index 00000000000000..422a414a0bbf34 --- /dev/null +++ b/0001-tty-serial-samsung_tty-build-it-for-any-platform.patch @@ -0,0 +1,34 @@ +From 36a463525d74c196a011c69921aad9bb5e7d2a34 Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Date: Thu, 20 Feb 2020 11:20:19 +0100 +Subject: [PATCH 1/2] tty: serial: samsung_tty: build it for any platform + +There is no need to tie this driver to only a specific SoC, or compile +test, so remove that dependancy from the Kconfig rules. + +Cc: Kukjin Kim <kgene@kernel.org> +Cc: Donghoon Yu <hoony.yu@samsung.com> +Cc: Hyunki Koo <kkoos00@naver.com> +Cc: HYUN-KI KOO <hyunki00.koo@samsung.com> +Cc: Shinbeom Choi <sbeom.choi@samsung.com> +Cc: Krzysztof Kozlowski <krzk@kernel.org> +Cc: Jiri Slaby <jslaby@suse.com> +Cc: linux-arm-kernel@lists.infradead.org +Cc: linux-samsung-soc@vger.kernel.org +Cc: linux-serial@vger.kernel.org +Cc: linux-kernel@vger.kernel.org +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +--- + drivers/tty/serial/Kconfig | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/tty/serial/Kconfig ++++ b/drivers/tty/serial/Kconfig +@@ -237,7 +237,6 @@ config SERIAL_CLPS711X_CONSOLE + + config SERIAL_SAMSUNG + tristate "Samsung SoC serial support" +- depends on PLAT_SAMSUNG || ARCH_EXYNOS || COMPILE_TEST + select SERIAL_CORE + help + Support for the on-chip UARTs on the Samsung S3C24XX series CPUs, diff --git a/0002-tty-serial-samsung_tty-remove-SERIAL_SAMSUNG_DEBUG.patch b/0002-tty-serial-samsung_tty-remove-SERIAL_SAMSUNG_DEBUG.patch new file mode 100644 index 00000000000000..e6806503041e08 --- /dev/null +++ b/0002-tty-serial-samsung_tty-remove-SERIAL_SAMSUNG_DEBUG.patch @@ -0,0 +1,43 @@ +From b25668c1066459d320800f4d34eb3820798d9e1c Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Date: Thu, 20 Feb 2020 11:23:30 +0100 +Subject: [PATCH 2/2] tty: serial: samsung_tty: remove SERIAL_SAMSUNG_DEBUG + +Since a05025d0ce72 ("tty: serial: samsung_tty: use standard debugging +macros") this configuration option is not used at all, so remove it from +the Kconfig file. + +Cc: Kukjin Kim <kgene@kernel.org> +Cc: Donghoon Yu <hoony.yu@samsung.com> +Cc: Hyunki Koo <kkoos00@naver.com> +Cc: HYUN-KI KOO <hyunki00.koo@samsung.com> +Cc: Shinbeom Choi <sbeom.choi@samsung.com> +Cc: Krzysztof Kozlowski <krzk@kernel.org> +Cc: Jiri Slaby <jslaby@suse.com> +Cc: linux-arm-kernel@lists.infradead.org +Cc: linux-samsung-soc@vger.kernel.org +Cc: linux-serial@vger.kernel.org +Cc: linux-kernel@vger.kernel.org +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +--- + drivers/tty/serial/Kconfig | 9 --------- + 1 file changed, 9 deletions(-) + +--- a/drivers/tty/serial/Kconfig ++++ b/drivers/tty/serial/Kconfig +@@ -259,15 +259,6 @@ config SERIAL_SAMSUNG_UARTS + help + Select the number of available UART ports for the Samsung S3C + serial driver +- +-config SERIAL_SAMSUNG_DEBUG +- bool "Samsung SoC serial debug" +- depends on SERIAL_SAMSUNG && DEBUG_LL +- help +- Add support for debugging the serial driver. Since this is +- generally being used as a console, we use our own output +- routines that go via the low-level debug printascii() +- function. + + config SERIAL_SAMSUNG_CONSOLE + bool "Support for console on Samsung SoC serial port" @@ -1,4 +1,6 @@ # +0001-tty-serial-samsung_tty-build-it-for-any-platform.patch +0002-tty-serial-samsung_tty-remove-SERIAL_SAMSUNG_DEBUG.patch dynamic_debug-allow-to-work-if-debugfs-is-disabled.patch spdxcheck-print-out-files-without-any-spdx-lines.patch |
