freebsd-dev/sys/arm
Ian Lepore 6048caab6b Make the ARM MPCore Timer driver work with published standard FDT bindings.
We've always considered the mpcore timers to be a single monolithic device
and we defined our own fdt binding for it with our own compat string.  The
published bindings treat the timers as two separate devices, a global
timer and a "timer-watchdog" device for the per-cpu private timers.  Thus
our binding has two tuples in the regs property, one set of registers for
the global timer and one for the private timers.  The published bindings
have two separate devices, each with a single set of registers.  (Note that
we don't use the optional watchdog feature of the hardware.)

These changes add the compat strings for the published bindings.  If our
own compat string appears, we expect to get two sets of memory resources.
For the published bindings, there's only one set of memory resources, and
only the private timers have an associated interrupt.

The other major change is that there can no longer be a single global var
for the softc pointer because now there may be multiple devices at
runtime.  Since the global timer is used only as a timecounter and the
private timers only as eventtimers, and there will only be one of each,
those are now the pointers which are global, and the priv fields of those
structures backlink to the device softc.
2014-09-20 14:49:21 +00:00
..
allwinner Fix typo in comment. 2014-09-20 09:18:58 +00:00
altera/socfpga Add Reset Manager driver. This driver provides generic way to reset 2014-09-11 18:12:28 +00:00
arm Make the ARM MPCore Timer driver work with published standard FDT bindings. 2014-09-20 14:49:21 +00:00
at91 Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
broadcom/bcm2835 sdhci.h has grown a dependency on sysctl.h, include the latter where needed. 2014-09-01 19:20:34 +00:00
cavium/cns11xx Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
conf Create a common i.MX53 config and use it with the two existing i.MX53 2014-09-07 08:16:27 +00:00
freescale Use gic_decode_fdt() rather than a local routine to parse fdt interrupt 2014-09-14 23:48:18 +00:00
include Add a common routine for parsing FDT data describing an ARM GIC interrupt. 2014-09-14 21:21:03 +00:00
lpc Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
mv Rename OF_xref_phandle() to OF_node_from_xref() and add a new function 2014-09-01 18:51:01 +00:00
rockchip Rename OF_xref_phandle() to OF_node_from_xref() and add a new function 2014-09-01 18:51:01 +00:00
s3c2xx0 Unify interrupts bit definition and usage. While here remove PSR_C_bit. 2014-09-10 15:25:15 +00:00
samsung/exynos Remove unnecessary inclusion of FDT headers. 2014-08-08 06:30:17 +00:00
ti Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
versatile Move if_smc_fdt.c to live in sys/dev/smc. It's not specific to the ARM 2014-09-10 10:59:17 +00:00
xilinx Fixes and enhancements for the if_cgem driver... 2014-09-03 17:51:03 +00:00
xscale Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00