• Murali Karicheri's avatar
    serial: uart: add hw flow control support configuration · 06aa82e4
    Murali Karicheri authored
    8250 uart driver currently supports only software assisted hw flow
    control. The software assisted hw flow control maintains a hw_stopped
    flag in the tty structure to stop and start transmission and use modem
    status interrupt for the event to drive the handshake signals. This is
    not needed if hw has flow control capabilities. This patch adds a
    DT attribute for enabling hw flow control for a uart port. Also skip
    stop and start if this flag is present in flag field of the port
    structure.
    Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
    CC: Rob Herring <robh+dt@kernel.org>
    CC: Pawel Moll <pawel.moll@arm.com>
    CC: Mark Rutland <mark.rutland@arm.com>
    CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
    CC: Kumar Gala <galak@codeaurora.org>
    CC: Randy Dunlap <rdunlap@infradead.org>
    CC: Jiri Slaby <jslaby@suse.cz>
    CC: Santosh Shilimkar <santosh.shilimkar@ti.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    06aa82e4
of-serial.txt 1.63 KB