Commit Graph

2 Commits

Author SHA1 Message Date
Andrew Halaney 074220f462 serial/esp32_uart: use prescaler when available
JIRA: https://issues.redhat.com/browse/RHEL-24205

commit 4bebd644971c2b5355af60f4828d464b3268e6cc
Author: Max Filippov <jcmvbkbc@gmail.com>
Date:   Wed Oct 18 12:12:52 2023 -0700

    serial/esp32_uart: use prescaler when available

    esp32s3 variant of the esp32 UART has limited baudrate divisor range
    that does not allow it to use 9600 and lower rates with 40MHz input
    clock. Use clock prescaler present in this UART variant to help with
    that.

    Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
    Link: https://lore.kernel.org/r/20231018191252.1551972-1-jcmvbkbc@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
2024-05-09 11:26:15 -04:00
Andrew Halaney cb46baf1aa drivers/tty/serial: add driver for the ESP32 UART
JIRA: https://issues.redhat.com/browse/RHEL-24205

commit 8cc89a229aac8183ffd4c385de0b6b9543175eff
Author: Max Filippov <jcmvbkbc@gmail.com>
Date:   Tue Oct 10 01:59:24 2023 -0700

    drivers/tty/serial: add driver for the ESP32 UART

    Add driver for the UART controllers of the Espressif ESP32 and ESP32S3
    SoCs. Hardware specification is available at the following URLs:

      https://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf
      (Chapter 13 UART Controller)
      https://www.espressif.com/sites/default/files/documentation/esp32-s3_technical_reference_manual_en.pdf
      (Chapter 26 UART Controller)

    Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
    Link: https://lore.kernel.org/r/20231010085926.1021667-4-jcmvbkbc@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
2024-05-09 11:26:15 -04:00