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 HW_TS_PUSH[2] >> - Add pwm node in BBB DT. >> All dependencies are available at[3]. > >> [3] https://github.com/lokeshvutla/linux.git devel/bbb-pps-generation > > So I tried your v2 series with this kernel, omap2_defconfig, and > am335x-boneblack.dtb. > > ./phc2pwm -p /dev/ptp0 -l7 -c 0 -e 0 -w 0 > > But it simply blocks in phc_read_extts() in the call to read(). > > Is it supposed to work with devel/bbb-pps-generation out of the box? Yes, the timer7 used in the above tree is connected to event index 3. So the command should be ./phc2pwm -p /dev/ptp0 -l7 -c 0 -e 3 -w 0 Thanks and regards, Lokesh _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
Re: [Linuxptp-devel] [RFC PATCH 0/3] Introduce an utility to sync pwm with PTP clock
Lokesh Vutla via Linuxptp-devel Sun, 17 May 2020 06:12:27 -0700
- Re: [Linuxptp-devel] [RFC PAT... Richard Cochran
- Re: [Linuxptp-devel] [RFC... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel]... Jacob Keller
- Re: [Linuxptp-de... Richard Cochran
- Re: [Linuxptp-devel] [RFC PATCH 0/3] Intro... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel] [RFC PATCH 0/3] ... Richard Cochran
- Re: [Linuxptp-devel] [RFC PATCH 0... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel] [RFC PAT... Richard Cochran
- Re: [Linuxptp-devel] [RFC... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel] [RFC PATCH 0/3] Intro... Richard Cochran
- Re: [Linuxptp-devel] [RFC PATCH 0/3] ... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel] [RFC PATCH 0... Lokesh Vutla via Linuxptp-devel
- Re: [Linuxptp-devel] [RFC PAT... Richard Cochran