diff options
| author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2023-01-10 14:19:28 +0530 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-01-13 08:40:41 +0000 |
| commit | 343d3bd87a2835e61790ffb5d3638a070f12292b (patch) | |
| tree | 5aa4a591f1a59d3c8d6b0743c50442cf579a6313 /tools/perf/scripts/python | |
| parent | net: dsa: microchip: ptp: add periodic output signal (diff) | |
| download | linux-343d3bd87a2835e61790ffb5d3638a070f12292b.tar.gz linux-343d3bd87a2835e61790ffb5d3638a070f12292b.zip | |
net: dsa: microchip: ptp: add support for perout programmable pins
There are two programmable pins available for Trigger output unit to
generate periodic pulses. This patch add verify_pin for the available 2
pins and configure it with respect to GPIO index for the TOU unit.
Tested using testptp
./testptp -i 0 -L 0,2
./testptp -i 0 -d /dev/ptp0 -p 1000000000
./testptp -i 1 -L 1,2
./testptp -i 1 -d /dev/ptp0 -p 100000000
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
