mbox series

[v2,0/2] tty: serial: samsung: Add Exynos8895 compatible

Message ID 20241023090902.538040-1-ivo.ivanov.ivanov1@gmail.com
Headers show
Series tty: serial: samsung: Add Exynos8895 compatible | expand

Message

Ivaylo Ivanov Oct. 23, 2024, 9:09 a.m. UTC
Hey folks,

This patchset adds serial driver support for Exynos8895 SoC. The main
difference from other exynos platforms is that fifosize is only
specified via the samsung,uart-fifosize DT property.

Newer Exynos platforms also specify fifosize via DT, so in such case
this compatible could be used with oneOf.

Changes in v2:
 - Grow the enum at gs101 instead of making a new if-else
 - Add r-b from Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Ivaylo Ivanov (2):
  dt-bindings: serial: samsung: Add samsung,exynos8895-uart compatible
  tty: serial: samsung: Add Exynos8895 compatible

 .../devicetree/bindings/serial/samsung_uart.yaml   | 14 ++++++++++++--
 drivers/tty/serial/samsung_tty.c                   | 13 +++++++++++++
 2 files changed, 25 insertions(+), 2 deletions(-)

Comments

Krzysztof Kozlowski Oct. 24, 2024, 7:27 a.m. UTC | #1
On Wed, Oct 23, 2024 at 12:09:01PM +0300, Ivaylo Ivanov wrote:
> Add dedicated samsung,exynos8895-uart compatible to the dt-schema for
> representing uart of the Exynos8895 SoC.
> 
> Like GS101, it has a required DT property samsung,uart-fifosize, but
> it does not exhibit the 32 bit register access limit.
> 
> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
> ---
>  .../devicetree/bindings/serial/samsung_uart.yaml   | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof