r349095 ian June 16, 2019, 1:05 a.m.
to maintain and keep in alphabetical order, and paving the way for adding
some other modules that aren't dtb-related.
ViewVC
r349094 ian June 16, 2019, 12:53 a.m.
r349093 ian June 16, 2019, 12:43 a.m.
r349092 ian June 16, 2019, 12:32 a.m.
have been part of r349088.
ViewVC
r349091 ian June 16, 2019, 12:27 a.m.
r349088 ian June 15, 2019, 11:02 p.m.
r349086 ian June 15, 2019, 10:25 p.m.
The pwm and pwmbus interfaces were nearly identical, this merges them into a
single pwmbus interface.  The pwmbus driver now implements the pwmbus
interface by simply passing all calls through to its parent (the hardware
driver).  The channel_count method moves from pwm to pwmbus, and the
get_bus method is deleted (just no longer needed).

The net effect is that the interface for doing pwm stuff is now the same
regardless of whether you're a child of pwmbus, or some random driver
elsewhere in the hierarchy that is bypassing the pwmbus layer and is talking
directly to the hardware driver via cross-hierarchy connections established
using fdt data.

The pwmc driver is now a child of pwmbus, instead of being its sibling
(that's why the get_bus method is no longer needed; pwmc now gets the
device_t of the bus using device_get_parent()).
ViewVC
r349085 ian June 15, 2019, 9:51 p.m.
static, because nothing outside this file needs them.
ViewVC
r349084 ian June 15, 2019, 9:36 p.m.
returning.  (If the channel count is 2, then the max channel number is 1.)
ViewVC
r349083 ian June 15, 2019, 9:31 p.m.
r349082 ian June 15, 2019, 9:19 p.m.
some long lines.
ViewVC
r349081 ian June 15, 2019, 8:54 p.m.
same line.  No functional changes.
ViewVC
r349080 ian June 15, 2019, 8:53 p.m.
header file, so they can't be used outside this file anyway.
ViewVC
r349077 ian June 15, 2019, 8:20 p.m.
pollution that was cleaned up recently, and this file got missed in the
cleanup because it's not attached to the build unless you specifically
request this device in a custom kernel config.
ViewVC
r349076 ian June 15, 2019, 8:17 p.m.
leaks the device-list memory.
ViewVC