Skip to content

Add PPS pulse-width support

Eliav Farber linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pps: add pulse-width calculation in nsecdrivers/pps/kapi.c drivers/pps/pps.c drivers/pps/sysfs.c +2 more+110 -03 replies
2/5dt-bindings: pps: pps-gpio: introduce capture-clear propertyDocumentation/devicetree/bindings/pps/pps-gpio.txt+4 -03 replies
3/5pps: clients: gpio: add option to set capture-clear from device-treedrivers/pps/clients/pps-gpio.c+1 -01 reply
4/5dt-bindings: pps: pps-gpio: introduce pulse-width propertiesDocumentation/devicetree/bindings/pps/pps-gpio.txt+6 -01 reply
5/5pps: clients: gpio: enable pps pulse-width calculations based on device-treedrivers/pps/clients/pps-gpio.c+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Add PPS pulse-width support

This series of five patches adds pulse-width calculation support to the pps core (patch 1)
It then enables pulse-width calculation for the pps-gpio driver (patches 2 - 5).

*) Pulse-width in measured in nano seconds.
*) Width time can be calculated for both assert-time and reset-time. *) New sysfs were added to expose the pulse-width.
*) Support was added to pps-gpio driver to enable capture-clear based on
device-tree.
*) Enabling pulse-width calculation for pps-gpio driver is done based on
new boolean device-tree properties.

Eliav Farber (5):
pps: add pulse-width calculation in nsec
dt-bindings: pps: pps-gpio: introduce capture-clear property
pps: clients: gpio: add option to set capture-clear from device-tree
dt-bindings: pps: pps-gpio: introduce pulse-width properties
pps: clients: gpio: enable pps pulse-width calculations based on
device-tree

 .../devicetree/bindings/pps/pps-gpio.txt      | 10 ++++
 drivers/pps/clients/pps-gpio.c                | 15 ++++++
 drivers/pps/kapi.c                            | 49 +++++++++++++++++++
 drivers/pps/pps.c                             |  9 ++++
 drivers/pps/sysfs.c                           | 30 ++++++++++++
 include/linux/pps_kernel.h                    |  3 ++
 include/uapi/linux/pps.h                      | 19 +++++++
 7 files changed, 135 insertions(+)
Signature · 1 line
2.40.1