freebsd-skq/sys/arm
loos 5ab6b9e5af Export two new settings for the AM335x PWM, the clock prescaler (clkdiv)
and the actual PWM frequency.

Enforce the maximum value for the period sysctl.

The frequency systcl now allows the direct setting of the PWM frequency (it
will try to find the better clkdiv and period for a given frequency, i.e.
the ones that will give the better PWM resolution).

This allows the use lower frequencies on the PWM.  Without changing the
clock prescaler the minimum PWM frequency was 1.52kHz.

PWM frequencies checked with an osciloscope.

PWM output tested with some R/C servos at 50Hz.
2014-06-01 03:57:57 +00:00
..
allwinner Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
arm For old CPUs, map the 64 first MB of RAM as it used to be. Some ports 2014-05-29 16:54:15 +00:00
at91 When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
broadcom/bcm2835 Factor out kernel configuration for DWC OTG FDT attach code. 2014-05-29 11:13:40 +00:00
cavium/cns11xx When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
conf Add #NO_UNIVERSE to RADXA and RADXA-LITE kernel configs 2014-05-31 06:17:34 +00:00
freescale Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
include Delete obsolete and unused PJ4B CPU functions 2014-05-25 19:19:41 +00:00
lpc Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
mv Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
rockchip Factor out kernel configuration for DWC OTG FDT attach code. 2014-05-29 11:13:40 +00:00
s3c2xx0 When mapping device memory, use PTE_DEVICE rather than PTE_NOCACHE. 2014-05-10 20:03:03 +00:00
samsung/exynos Reset HSIC hub during EHCI initialization. This makes devices connected 2014-05-30 07:48:55 +00:00
tegra Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
ti Export two new settings for the AM335x PWM, the clock prescaler (clkdiv) 2014-06-01 03:57:57 +00:00
versatile Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
xilinx Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
xscale Do not hand the VM the memory used for stacks/page tables/etc. 2014-05-29 16:56:39 +00:00