Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Meson PWM driver



Vincent DEFERT <vincent.defert%posteo.net@localhost> 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?


Home | Main Index | Thread Index | Old Index