From: Shubhrajyoti Datta
In some cases we are waiting in a loop. Replace the infinite wait with
the timeout.
Signed-off-by: Shubhrajyoti Datta
---
drivers/i2c/busses/i2c-cadence.c | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git
From: Shubhrajyoti Datta
In some cases we are waiting in a loop. Replace the infinite wait with
the timeout.
Signed-off-by: Shubhrajyoti Datta
---
drivers/i2c/busses/i2c-cadence.c | 30 ++
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git
From: Shubhrajyoti Datta
Remove the use of the static uartlite structure.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/uartlite.c
From: Shubhrajyoti Datta
Remove the use of the static uartlite structure.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/uartlite.c
From: Shubhrajyoti Datta
Remove SERIAL_UARTLITE_NR_UARTS from Kconfig as it is unused.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/tty/serial/Kconfig
From: Shubhrajyoti Datta
Remove SERIAL_UARTLITE_NR_UARTS from Kconfig as it is unused.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/Kconfig | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/tty/serial/Kconfig
From: Shubhrajyoti Datta
This patch is removing ULITE_NR_PORTS macro which limits number of
ports which can be used. Every instance is registering own struct
uart_driver with minor number which corresponds to alias ID (or 0 now).
and with 1 uart port. The same alias ID is saved to
From: Shubhrajyoti Datta
This patch is removing ULITE_NR_PORTS macro which limits number of
ports which can be used. Every instance is registering own struct
uart_driver with minor number which corresponds to alias ID (or 0 now).
and with 1 uart port. The same alias ID is saved to
From: Shubhrajyoti Datta
Change logic how console_port is setup by using CON_ENABLED flag
instead of index. There will be unique uart_console
structure that's why code can't use id for console_port
assignment.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
From: Shubhrajyoti Datta
Move the uart register. This fixes the error path where the
clock disable is missed out.
Signed-off-by: Shubhrajyoti Datta
---
drivers/tty/serial/uartlite.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
From: Shubhrajyoti Datta
ulite_uart_suspend()/resume() and remove() are using static reference
to struct uart_driver. Assign this referece to private data structure
as preparation step for dynamic struct uart_driver allocation.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
From: Shubhrajyoti Datta
Change logic how console_port is setup by using CON_ENABLED flag
instead of index. There will be unique uart_console
structure that's why code can't use id for console_port
assignment.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
From: Shubhrajyoti Datta
Move the uart register. This fixes the error path where the
clock disable is missed out.
Signed-off-by: Shubhrajyoti Datta
---
drivers/tty/serial/uartlite.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git
From: Shubhrajyoti Datta
ulite_uart_suspend()/resume() and remove() are using static reference
to struct uart_driver. Assign this referece to private data structure
as preparation step for dynamic struct uart_driver allocation.
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
From: Shubhrajyoti Datta
Add runtime support
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 52 +++
1 file changed, 43 insertions(+), 9 deletions(-)
diff --git a/drivers/tty/serial/uartlite.c
From: Shubhrajyoti Datta
Add runtime support
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 52 +++
1 file changed, 43 insertions(+), 9 deletions(-)
diff --git a/drivers/tty/serial/uartlite.c
From: Shubhrajyoti Datta
Currently the clocks are not enabled at probe but when the port is used.
Remove the unconditional disable at remove.
Fixes the below
[ 77.660196] [ cut here ]
[ 77.664749] WARNING: CPU: 0 PID: 1992 at drivers/clk/clk.c:622
From: Shubhrajyoti Datta
Currently the number of uarts are configured through a Kconfig
option Make it dynamic.
While at it adapt to the runtime framework.
It is based a similar series on the uartps from Michal
Shubhrajyoti Datta (9):
serial-uartlite: Move the uart register
From: Shubhrajyoti Datta
Currently the clocks are not enabled at probe but when the port is used.
Remove the unconditional disable at remove.
Fixes the below
[ 77.660196] [ cut here ]
[ 77.664749] WARNING: CPU: 0 PID: 1992 at drivers/clk/clk.c:622
From: Shubhrajyoti Datta
Currently the number of uarts are configured through a Kconfig
option Make it dynamic.
While at it adapt to the runtime framework.
It is based a similar series on the uartps from Michal
Shubhrajyoti Datta (9):
serial-uartlite: Move the uart register
From: Shubhrajyoti Datta
Add get serial id if not provided
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index
From: Shubhrajyoti Datta
Add get serial id if not provided
Signed-off-by: Shubhrajyoti Datta
Signed-off-by: Michal Simek
---
drivers/tty/serial/uartlite.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index
From: Shubhrajyoti Datta
Disable interrupts while configuring the transfer and enable them back.
We have below as the programming sequence
1. start and slave address
2. byte count and stop
In some customer platform there was a lot of interrupts between 1 and 2
and after slave address (around 7
From: Shubhrajyoti Datta
Disable interrupts while configuring the transfer and enable them back.
We have below as the programming sequence
1. start and slave address
2. byte count and stop
In some customer platform there was a lot of interrupts between 1 and 2
and after slave address (around 7
24 matches
Mail list logo