devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Add PPS pulse-width support
@ 2023-06-25 14:21 Eliav Farber
  2023-06-25 14:21 ` [PATCH 1/5] pps: add pulse-width calculation in nsec Eliav Farber
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Eliav Farber @ 2023-06-25 14:21 UTC (permalink / raw)
  To: giometti, robh+dt, krzysztof.kozlowski+dt, conor+dt, farbere,
	devicetree, linux-kernel
  Cc: ronenk, talel, hhhawa, jonnyc, itamark, shellykz, amitlavi,
	almogbs

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(+)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-07-05  7:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-25 14:21 [PATCH 0/5] Add PPS pulse-width support Eliav Farber
2023-06-25 14:21 ` [PATCH 1/5] pps: add pulse-width calculation in nsec Eliav Farber
2023-06-27 14:27   ` Rodolfo Giometti
2023-07-02 12:20     ` Farber, Eliav
2023-07-03  9:32       ` Rodolfo Giometti
2023-06-25 14:21 ` [PATCH 2/5] dt-bindings: pps: pps-gpio: introduce capture-clear property Eliav Farber
2023-06-25 15:46   ` Krzysztof Kozlowski
2023-06-28  8:47     ` Farber, Eliav
2023-07-01  8:34       ` Krzysztof Kozlowski
2023-06-25 14:21 ` [PATCH 3/5] pps: clients: gpio: add option to set capture-clear from device-tree Eliav Farber
     [not found]   ` <04d52b5d-700c-c5d3-07ae-d4b8ad4fc3cd@amazon.com>
2023-07-05  7:04     ` Rodolfo Giometti
2023-06-25 14:21 ` [PATCH 4/5] dt-bindings: pps: pps-gpio: introduce pulse-width properties Eliav Farber
2023-06-25 15:48   ` Krzysztof Kozlowski
2023-06-25 14:21 ` [PATCH 5/5] pps: clients: gpio: enable pps pulse-width calculations based on device-tree Eliav Farber

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).