Page MenuHomeFreeBSD

uart/pl011: Add support for computing rclk
ClosedPublic

Authored by imp on Oct 11 2024, 9:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 9, 8:01 AM
Unknown Object (File)
Sat, Feb 22, 1:53 PM
Unknown Object (File)
Feb 5 2025, 9:23 PM
Unknown Object (File)
Jan 28 2025, 10:19 PM
Unknown Object (File)
Jan 28 2025, 10:05 PM
Unknown Object (File)
Jan 28 2025, 10:00 AM
Unknown Object (File)
Jan 28 2025, 5:28 AM
Unknown Object (File)
Jan 27 2025, 4:36 PM
Subscribers
None

Details

Summary

When instructed to do so, compute the rclk (baud rate generator clock)
based on the currently programmed divisor and the communicated baud
rate. We only do this once and only for consoles that tell us the
configured rate and flag we can likely safely compute rclk.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Oct 11 2024, 9:54 PM
imp created this revision.
sys/dev/uart/uart_dev_pl011.c
247

Why & ~3?

Update to use proper constants for this computation. Don't know what I was
thinking before.

This revision is now accepted and ready to land.Oct 15 2024, 8:12 AM
This revision was automatically updated to reflect the committed changes.