]> git.baikalelectronics.ru Git - kernel.git/commit
PTP: add support for one-shot output
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 11 Sep 2019 06:16:22 +0000 (09:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 13:57:03 +0000 (15:57 +0200)
commitead44099f1e4d3f3d8987739a796f74c927e47c3
tree4ef8caac727a3d108e96e00b2dc2269d9b4d4e3b
parent9292cffbb6b9c581d7fd16fd07d86d935266db9c
PTP: add support for one-shot output

Some controllers allow for a one-shot output pulse, in contrast to
periodic output. Now that we have extensible versions of our IOCTLs, we
can finally make use of the 'flags' field to pass a bit telling driver
that if we want one-shot pulse output.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ptp_clock.h