freebsd-nq/sys/arm/ti/am335x
Ian Lepore 192122bd62 In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS
ioctl(2) handling.  This allows doing the pps_event() work in the polling
routine, instead of using a taskqueue task to do that work.

Also, add PNPINFO, and switch to using make_dev_s() to create the cdev.

Using a spin mutex and calling pps_event() from the polling function works
around the situation which requires more than 2 sets of timecounter
timehands in a single-core system to get reliable PPS capture.  That problem
would happen when a single-core system is idle in cpu_idle() then gets woken
up with an event timer event which was scheduled to handle a hardclock tick.
That processing path would end up calling tc_windup 3 or 4 times between
when the tc polling function was called and when the taskqueue task would
eventually run, and with only two sets of timehands, the th_generation count
would always be too old to allow the captured PPS data to be used.
2019-09-10 22:08:34 +00:00
..
am335x_dmtimer.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_dmtpps.c In am335x_dmtpps, use a spin mutex to interlock between PPS capture and PPS 2019-09-10 22:08:34 +00:00
am335x_dmtreg.h
am335x_ecap.c
am335x_ehrpwm.c Add support for the PWM(9) API. This allows configuring the pwm output using 2019-06-21 14:24:33 +00:00
am335x_gpio.c
am335x_lcd_syscons.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
am335x_lcd.c Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
am335x_lcd.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_musb.c
am335x_pmic.c Revert r350841. I didn't realize that on this chip, reading the interrupt 2019-08-11 23:19:56 +00:00
am335x_prcm.c am335x_prcm: Delay the frequencies read check 2018-05-06 14:37:11 +00:00
am335x_pwm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_pwmss.c
am335x_reg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_rtc.c
am335x_rtcreg.h
am335x_rtcvar.h
am335x_scm_padconf.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_scm_padconf.h
am335x_scm.c
am335x_scm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
am335x_usbss.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
files.am335x The am335x_ehrpwm driver now requires the pwmbus_if interface, add it. 2019-08-10 20:05:15 +00:00
std.am335x Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
tda19988.c Remove use of intr_config_hook from the am335x_pmic and tda19988 drivers. 2019-08-10 20:08:37 +00:00
tps65217x.h