On Sat, May 16, 2020 at 11:53:57PM +0530, Lokesh Vutla wrote:
> +#define PWM_CHAN_EXPORT              "/sys/class/pwm/pwmchip%d/export"

> +#define PWM_CHAN_ENABLE              "/sys/class/pwm/pwmchip%d/pwm%d/enable"
> +#define PWM_CHAN_PERIOD              "/sys/class/pwm/pwmchip%d/pwm%d/period"

Hm, this is strange.  I have been using pwm via sysfs on kernel 4.19,
and there the paths are like this:

    /sys/class/pwm/pwm%d/enable

What happened to sysfs?  Did the ABI change?

Looks like there will be more work needed here, in order to deal with
the (at least) two different ABIs.

:(

Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to