diff mbox series

[1/2] tty: serial: samsung_tty: update UART_NR for ExynosAutov920

Message ID 20250312061932.1797993-1-faraz.ata@samsung.com
State New
Headers show
Series [1/2] tty: serial: samsung_tty: update UART_NR for ExynosAutov920 | expand

Commit Message

Faraz Ata March 12, 2025, 6:19 a.m. UTC
ExynosAutov920 SoC supports 18 UART ports, update
the value of UART_NR to accommodate the same.

Signed-off-by: Faraz Ata <faraz.ata@samsung.com>
---
 drivers/tty/serial/samsung_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Faraz Ata March 12, 2025, 8:07 a.m. UTC | #1
Hello Krzysztof

> -----Original Message-----
> On 12/03/2025 07:19, Faraz Ata wrote:
> > Universal Serial Interface (USI) supports three serial protocol like
> > uart, i2c and spi. ExynosAutov920 has 18 instances of USI.
> > Add all the USI DT node and subsequent uart nodes for all the instances.
> >
> > Signed-off-by: Faraz Ata <faraz.ata@samsung.com>
> > ---
> >  .../arm64/boot/dts/exynos/exynosautov920.dtsi | 494
> > ++++++++++++++++++
> >  1 file changed, 494 insertions(+)
> 
> 
> Please do not combine DTS changes with serial patches, ever. DTS has to go
> via separate tree.
> 
Sure, while sending v2, I will send DT separately and serial driver change separately.
Thanks for your review.
> ...
> 
.
.
.
> > +
> > +
> 
> Just one blank line.
Sure will correct in v2. 

> 
> >  		pwm: pwm@109b0000 {
> >  			compatible = "samsung,exynosautov920-pwm",
> >  				     "samsung,exynos4210-pwm";
> 
> 
> Best regards,
> Krzysztof
diff mbox series

Patch

diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c
index 210fff7164c1..9a5211b730fb 100644
--- a/drivers/tty/serial/samsung_tty.c
+++ b/drivers/tty/serial/samsung_tty.c
@@ -52,7 +52,7 @@ 
 #define S3C24XX_SERIAL_MINOR	64
 
 #ifdef CONFIG_ARM64
-#define UART_NR			12
+#define UART_NR			18
 #else
 #define UART_NR			CONFIG_SERIAL_SAMSUNG_UARTS
 #endif