aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pwm
Commit message (Expand)AuthorAgeFilesLines
* Remove "all rights reserved" from copyright for the file I own.Emmanuel Vadot2019-12-035-5/+0
* Handle labels specified with hints even on FDT systems. Hints are theIan Lepore2019-06-181-14/+5
* Remove everything related to channels from the pwmc public interface, nowIan Lepore2019-06-182-10/+2
* Put the pwmc cdev filenames under the pwm directory along with any labelIan Lepore2019-06-171-1/+1
* Add back a const qualifier I somehow fumbled away between test-buildingIan Lepore2019-06-171-1/+1
* Add ofw_pwmbus to enumerate pwmbus devices on systems configured with fdtIan Lepore2019-06-174-12/+292
* Rework pwmbus and pwmc so that each child will handle a single PWM channel.Ian Lepore2019-06-163-29/+234
* Rename pwmbus.h to ofw_pwm.h, because after all the recent changes, thereIan Lepore2019-06-163-7/+4
* This code no longer uses fdt/ofw stuff, no need to include ofw headers.Ian Lepore2019-06-161-3/+0
* Make channel number unsigned, and spell unsigned int u_int. This shouldIan Lepore2019-06-161-3/+3
* Make pwm channel numbers unsigned.Ian Lepore2019-06-154-20/+20
* Restructure the pwm device hirearchy and interfaces.Ian Lepore2019-06-156-192/+50
* Destroy the cdev on device detach. Also, make the driver and devclassIan Lepore2019-06-151-2/+6
* Rename the channel_max method to channel_count, because that's what it'sIan Lepore2019-06-153-3/+3
* Spell unsigned int as u_int and channel as chan; eliminates the need to wrapIan Lepore2019-06-151-18/+18
* Unwrap prototype lines so that return type and function name are on theIan Lepore2019-06-151-8/+4
* Make pwmbus driver and devclass vars static; they're not mentioned in anyIan Lepore2019-06-151-2/+2
* Use device_delete_children() instead of a locally-rolled copy of it thatIan Lepore2019-06-151-12/+4
* Remove pwmbus_attach_bus(), it no longer has any callers. Also remove aIan Lepore2019-06-152-33/+0
* Move/rename the sys/pwm.h header file to dev/pwm/pwmc.h. The file containsIan Lepore2019-06-152-1/+54
* Do not include pwm.h here, it is purely a userland interface file containingIan Lepore2019-06-152-5/+0
* pwm: Convert period and duty to unsigned intEmmanuel Vadot2018-12-143-10/+10
* Add a pwm subsystem so we can configure pwm controller from kernel and userland.Emmanuel Vadot2018-12-126-0/+795