freebsd-dev/sys/powerpc/powermac
Brandon Bergren c583b02587 [PowerPC] PowerMac timebase sync for G4
Summary:
Disable timebase on (some) AIM platforms (tested on PowerMac G4) prior
to synchronization.

Some platforms use a GPIO to enable and disable timebase, while others
use a platform function.

This mirrors 0d69f00b on mpc85xx.

Todo:
 * Implement various G5 timebase controls.
 * Print out platform code on unknown G5s so we can collect it.
 * Change API to be give/take pairs like Linux does so it's possible to
   do a software sync protocol.

Reviewed By: #powerpc, jhibbits
Subscribers: mikael, markmi_dsl-only.net, luporl, alfredo
Tags: #powerpc
Differential Revision: https://reviews.freebsd.org/D29136
2021-12-23 16:06:07 -06:00
..
ata_dbdma.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
ata_dbdma.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
ata_kauai.c
ata_macio.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
atibl.c
cpcht.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
cuda.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
cudavar.h
dbdma.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
dbdmavar.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
fcu.c
grackle.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
gracklevar.h
hrowpic.c
hrowpicvar.h
kiic.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
macgpio.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
macgpiovar.h
macio.c [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
maciovar.h
nvbl.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
platform_powermac.c [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
platform_powermac.h [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
pmu.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
pmuvar.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
powermac_thermal.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
powermac_thermal.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
pswitch.c powerpc: Fix programmer's switch driver and add to GENERIC 2021-04-05 12:04:12 -05:00
smu.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
smusat.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
tbgpio.c [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
uninorth.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
uninorthpci.c Rename ofwpci.c to ofw_pcib.c 2021-05-20 11:22:25 +02:00
uninorthvar.h powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
vcoregpio.c powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
viareg.h