All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] Add rs485 support to uartps driver
@ 2023-10-24 14:48 ` Manikanta Guntupalli
  0 siblings, 0 replies; 22+ messages in thread
From: Manikanta Guntupalli @ 2023-10-24 14:48 UTC (permalink / raw)
  To: git, michal.simek, gregkh, robh+dt, krzysztof.kozlowski+dt,
	conor+dt, linux-serial, devicetree, linux-kernel, jirislaby,
	linux-arm-kernel
  Cc: radhey.shyam.pandey, srinivas.goud, shubhrajyoti.datta,
	manion05gk, Manikanta Guntupalli

Add optional gpio property to uartps node to support rs485.
Add rs485 support to uartps driver.
---
Changes for V2:
Modify optional gpio name to xlnx,phy-ctrl-gpios.
Update commit description.
Add support for RTS, delay_rts_before_send and delay_rts_after_send in RS485 mode.
Changes for V3:
Modify optional gpio name to rts-gpios.
Update commit description.
Move cdns_uart_tx_empty function to avoid prototype statement.
Remove assignment of struct serial_rs485 to port->rs485 as
serial core performs that.
Switch to native RTS in non GPIO case.
Handle rs485 during stop tx.
Remove explicit calls to configure gpio direction and value,
as devm_gpiod_get_optional performs that by using GPIOD_OUT_LOW argument.
Update implementation to support configuration of GPIO/RTS value
based on user configuration of SER_RS485_RTS_ON_SEND and
SER_RS485_RTS_AFTER_SEND. Move implementation to start_tx from handle_tx.

Manikanta Guntupalli (2):
  dt-bindings: Add optional gpio property to uartps node to support
    rs485
  tty: serial: uartps: Add rs485 support to uartps driver

 .../devicetree/bindings/serial/cdns,uart.yaml |   6 +
 drivers/tty/serial/xilinx_uartps.c            | 180 ++++++++++++++++--
 2 files changed, 171 insertions(+), 15 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-11-18 19:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-24 14:48 [PATCH V3 0/2] Add rs485 support to uartps driver Manikanta Guntupalli
2023-10-24 14:48 ` Manikanta Guntupalli
2023-10-24 14:48 ` [PATCH V3 1/2] dt-bindings: Add optional gpio property to uartps node to support rs485 Manikanta Guntupalli
2023-10-24 14:48   ` Manikanta Guntupalli
2023-10-26 18:07   ` Rob Herring
2023-10-26 18:07     ` Rob Herring
2023-10-28 10:59   ` m.brock
2023-10-28 10:59     ` m.brock
2023-10-24 14:48 ` [PATCH V3 2/2] tty: serial: uartps: Add rs485 support to uartps driver Manikanta Guntupalli
2023-10-24 14:48   ` Manikanta Guntupalli
2023-10-24 15:02   ` Ilpo Järvinen
2023-10-24 15:02     ` Ilpo Järvinen
2023-11-04 15:46   ` m.brock
2023-11-04 15:46     ` m.brock
2023-11-10 11:44     ` Guntupalli, Manikanta
2023-11-10 11:44       ` Guntupalli, Manikanta
2023-11-12 19:37   ` Lino Sanfilippo
2023-11-12 19:37     ` Lino Sanfilippo
2023-11-15  6:50     ` Guntupalli, Manikanta
2023-11-15  6:50       ` Guntupalli, Manikanta
2023-11-18 19:35       ` Lino Sanfilippo
2023-11-18 19:35         ` Lino Sanfilippo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.