Re: [Linuxptp-devel] [RFC PATCH 0/3] Introduce an utility to sync pwm with PTP clock

2020-05-19 Thread Richard Cochran
On Tue, May 19, 2020 at 10:14:00PM +0530, Lokesh Vutla wrote: > Any luck with the setup? I'll try it as soon as it can... Thanks, Richard ___ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net

Re: [Linuxptp-devel] [RFC PATCH 0/3] Introduce an utility to sync pwm with PTP clock

2020-05-19 Thread Lokesh Vutla via Linuxptp-devel
Hi Richard, On 17/05/20 6:39 pm, Lokesh Vutla via Linuxptp-devel wrote: > > > On 17/05/20 2:44 AM, Richard Cochran wrote: >> On Fri, Apr 17, 2020 at 10:00:06AM +0530, Lokesh Vutla wrote: >>> Following dependencies are needed in kernel for testing: >>> - Grygorii's series to support

Re: [Linuxptp-devel] [RFC PATCH v2 2/3] pwm: Add helper apis to control pwm

2020-05-19 Thread Lokesh Vutla via Linuxptp-devel
On 19/05/20 9:16 pm, Richard Cochran wrote: > On Tue, May 19, 2020 at 11:41:45AM +, Geva, Erez wrote: >> From a quick look. >> It seems that it is 'pwmchip%d' for a long time. >> >> https://elixir.bootlin.com/linux/v4.0/source/drivers/pwm/sysfs.c#L314 > > Looks like my v4.19.25-rt16 kernel

Re: [Linuxptp-devel] [RFC PATCH v2 2/3] pwm: Add helper apis to control pwm

2020-05-19 Thread Geva, Erez
>From a quick look. It seems that it is 'pwmchip%d' for a long time. https://elixir.bootlin.com/linux/v4.0/source/drivers/pwm/sysfs.c#L314 Erez -Original Message- From: Richard Cochran Sent: Saturday, 16 May 2020 21:15 To: Lokesh Vutla Cc: Sekhar Nori ;

Re: [Linuxptp-devel] [RFC PATCH v2 2/3] pwm: Add helper apis to control pwm

2020-05-19 Thread Richard Cochran
On Tue, May 19, 2020 at 11:41:45AM +, Geva, Erez wrote: > From a quick look. > It seems that it is 'pwmchip%d' for a long time. > > https://elixir.bootlin.com/linux/v4.0/source/drivers/pwm/sysfs.c#L314 Looks like my v4.19.25-rt16 kernel has a bad commit with a regression. The documentation,

Re: [Linuxptp-devel] [RFC PATCH 3/3] phc2pwm: Introduce an utility to sync pwm with PTP clock

2020-05-19 Thread Richard Cochran
On Mon, May 18, 2020 at 04:26:33PM -0700, Jacob Keller wrote: > Yep, the current code doing that is incorrect if the platform can't do > unaligned access. But only if the pointer is actually not aligned. The way the buffers are allocated and the message definitions ensure proper alignment. In a