tty: serial: samsung: Add gs101 compatible and common fifoszdt_serial_drv_data
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 11 Dec 2023 16:23:28 +0000 (16:23 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 12 Dec 2023 19:36:06 +0000 (20:36 +0100)
commitc95f5b21a0eaa4a2701c28e2b209f9a7e09cd4f0
treef5112d5e5d602071e43e660d24ac34d62d47491f
parent2c597bb7d66a55f2af2fff9bf4629dd07b3b9a1e
tty: serial: samsung: Add gs101 compatible and common fifoszdt_serial_drv_data

Add serial driver data for Google Tensor gs101 SoC and a common
fifoszdt_serial_drv_data that can be used by platforms that specify the
samsung,uart-fifosize DT property.

A corresponding dt-bindings patch updates the yaml to ensure
samsung,uart-fifosize is a required property.

Tested-by: Will McVicker <willmcvicker@google.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20231211162331.435900-14-peter.griffin@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/tty/serial/samsung_tty.c