Repository navigation
Enable HW flow control on Yellow's mini UART to stabilize Bluetooth - #4957
Conversation
Apply patch implementing HW flow control in BCM2835's mini UART and indicate the RTS/CTS is wired in Yellow's device tree to enable using the flow control for the Bluetooth interface. This greatly improves stability of the Bluetooth interface, which started to be unstable with kernel update to 6.18 in OS 18.0 and newer. Fixes #4898
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe UART driver adds BCM2835 auxiliary UART RTS/CTS auto-flow control, throttling, and RS-485 coordination. The Yellow device tree declares RTS/CTS support for ChangesUART hardware flow control
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant DeviceTree
participant UARTDriver
participant TTY
participant UARTHardware
DeviceTree->>UARTDriver: Declare uart1 RTS/CTS capability
UARTDriver->>UARTHardware: Enable auto-RTS/CTS
TTY->>UARTDriver: Request throttle or unthrottle
UARTDriver->>UARTHardware: Disable or restore RX interrupts
TTY->>UARTDriver: Configure RS-485
UARTDriver->>UARTHardware: Disable auto-flow during RS-485
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Apply patch implementing HW flow control in BCM2835's mini UART and indicate the RTS/CTS is wired in Yellow's device tree to enable using the flow control for the Bluetooth interface. This greatly improves stability of the Bluetooth interface, which started to be unstable with kernel update to 6.18 in OS 18.0 and newer.
Fixes #4898
Summary by CodeRabbit