Re: Meson PWM driver
Robert Swindells <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <[email protected]> |
Vincent DEFERT <[email protected]> wrote: > I have adapted the meson_pwm.c driver to work on the ODROID C2 and now, > I want to write a test program to use it. > The driver correctly initialises, I can see it in dmesg, but there's no > corresponding device under /dev. > > How am I supposed to talk to it? The SoC specific pwm drivers are expected to be used by higher level drivers in the kernel, there isn't an interface to userland. The meson_pwm.c driver registers itself to the framework defined in sys/dev/fdt/fdt_pwm.c. There are calls to find a pwm driver in pwm_backlight.c, pwm_fan.c and pwmregulator.c in sys/dev/fdt. What did you want to use the pwm driver for?