Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling FIFOs on PL011 UART #5794

Open
wants to merge 2 commits into
base: rpi-6.1.y
Choose a base branch
from

Commits on Dec 15, 2023

  1. amba_pl011: Add disable-fifos DT property.

    The BCM2835 PL011 implementation assumes that Rx/Tx FIFOs should be
    always enabled. Although this is desirable for most of the time, there
    are rare occasions when FIFOs introduce unwanted delay on the line.
    The delay is unnoticeable for the common UART use cases but it can lead
    to communication failures in UART-based protocols expecting fast
    responses, such as eBUS.
    
    Add a "disable-fifos" property to Pi DTBs and use the presence of that
    property to forcefully set FIFOs size to 1, and prevent FIFOs from being
    enabled.
    
    Signed-off-by: Bak, Krzysztof <github@bittern.com.pl>
    ITachiLab committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    76984dd View commit details
    Browse the repository at this point in the history
  2. overlays: uart0: Allow disabling FIFOs.

    Add a "disable_fifos" switch to existing "uart0-overlay.dts". The new
    switch can be used to disable FIFOs on PL011 (uart0).
    
    Signed-off-by: Bak, Krzysztof <github@bittern.com.pl>
    ITachiLab committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    2711df7 View commit details
    Browse the repository at this point in the history