From: Tony Lindgren <tony@atomide.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: "David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, Sekhar Nori <nsekhar@ti.com>,
Richard Cochran <richardcochran@gmail.com>,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
ivan.khoronzhuk@linaro.org
Subject: Re: [RFC/RFT PATCH 4/4] [debug] ARM: am335x: illustrate hwstamp
Date: Tue, 13 Jun 2017 22:38:27 -0700 [thread overview]
Message-ID: <20170614053827.GD3730@atomide.com> (raw)
In-Reply-To: <20170613231623.28353-5-grygorii.strashko@ti.com>
* Grygorii Strashko <grygorii.strashko@ti.com> [170613 16:20]:
> This patch allows to test CPTS HW_TS_PUSH functionality on am335x boards
>
> below sequence of commands will enable Timer7 to trigger 1sec
> periodic pulses on CPTS HW4_TS_PUSH input pin:
>
> # echo 1000000000 > /sys/class/pwm/pwmchip0/pwm0/period
> # echo 500000000 > /sys/class/pwm/pwmchip0/pwm0/duty_cycle
> # echo 1 > /sys/class/pwm/pwmchip0/pwm0/enable
> # ./ptp/testptp -e 10 -i 3
> external time stamp request okay
> event index 3 at 1493259028.376600798
> event index 3 at 1493259029.377170898
> event index 3 at 1493259030.377741039
> event index 3 at 1493259031.378311139
> event index 3 at 1493259032.378881279
> event index 3 at 1493259033.379451424
> event index 3 at 1493259034.380021520
> event index 3 at 1493259035.380591660
> event index 3 at 1493259036.381161765
> event index 3 at 1493259037.381731909
Cool :)
Acked-by: Tony Lindgren <tony@atomide.com>
prev parent reply other threads:[~2017-06-14 5:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 23:16 [RFC/RFT PATCH 0/4] net: ethernat: ti: cpts: enable irq and HW_TS_PUSH Grygorii Strashko
2017-06-13 23:16 ` [RFC/RFT PATCH 1/4] net: ethernet: ti: cpts: use own highpri workqueue Grygorii Strashko
2017-06-13 23:16 ` [RFC/RFT PATCH 2/4] net: ethernat: ti: cpts: enable irq Grygorii Strashko
2017-07-01 1:31 ` Ivan Khoronzhuk
2017-07-03 19:31 ` Grygorii Strashko
2017-07-03 21:53 ` Ivan Khoronzhuk
2017-07-05 18:19 ` Grygorii Strashko
2017-06-13 23:16 ` [RFC/RFT PATCH 3/4] net: ethernet: ti: cpts: add support of cpts HW_TS_PUSH Grygorii Strashko
2017-06-13 23:16 ` [RFC/RFT PATCH 4/4] [debug] ARM: am335x: illustrate hwstamp Grygorii Strashko
2017-06-14 5:38 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170614053827.GD3730@atomide.com \
--to=tony@atomide.com \
--cc=davem@davemloft.net \
--cc=grygorii.strashko@ti.com \
--cc=ivan.khoronzhuk@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=richardcochran@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).