HomeFreeBSD

uart_bus_acpi: Read clock frequency from bus

Description

uart_bus_acpi: Read clock frequency from bus

It is stored in the clock-frequency property.
In case of failure, fallback to the harcoded value stored in the
compat data.
Also, while here improve style.
Tested on LS1046ARDB and x86 PC.

Reviewed by: mw
Obtained from: Semihalf
Differential Revision: https://reviews.freebsd.org/D36326

Details

Provenance
mkoz_semihalf.comAuthored on Sep 6 2022, 2:54 PM
kdCommitted on Sep 7 2022, 7:44 AM
Reviewer
mw
Differential Revision
D36326: uart: Read clock frequency from bus
Parents
rGa5a918b7a906: vmm: permit some IPIs to be handled by userspace
Branches
Unknown
Tags
Unknown