| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-05-22 | timer: goldfish: Use __raw_readl() | Kuan-Wei Chiu | |
| The Goldfish timer registers are native endian, so they act as big-endian on the m68k virt machine. Currently, this driver uses readl(), which works by luck because it's currently broken on m68k. Use __raw_readl() instead to avoid breaking this driver when the endianness of readl() is fixed. Signed-off-by: Kuan-Wei Chiu <[email protected]> Tested-by: Daniel Palmer <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Daniel Palmer <[email protected]> | |||
| 2026-02-02 | timer: Add Goldfish timer driver | Kuan-Wei Chiu | |
| Add support for the Goldfish timer driver. This driver utilizes the Goldfish RTC hardware to provide a nanosecond-resolution timer. This virtual device is commonly found in QEMU virtual machines (such as the m68k virt machine) and Android emulators. The driver implements the standard U-Boot timer UCLASS interface, exposing a 64-bit monotonically increasing counter with a 1GHz clock rate derived from the RTC registers. Signed-off-by: Kuan-Wei Chiu <[email protected]> Tested-by: Daniel Palmer <[email protected]> Reviewed-by: Yao Zi <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Angelo Dureghello <[email protected]> | |||
