archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <>
To: Linus Torvalds <>
Cc: Dipen Patel <>,
	Linus Walleij <>,
	Bartosz Golaszewski <>,,
Subject: [GIT PULL] hte: New subsystem for v5.19-rc1
Date: Fri,  3 Jun 2022 13:39:08 +0200	[thread overview]
Message-ID: <> (raw)

Hi Linus,

The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

  Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

  git:// tags/hte/for-5.19-rc1

for you to fetch changes up to 5dad4eccd2b4316a84209603a28d34c6346392bb:

  dt-bindings: timestamp: Correct id path (2022-06-02 15:56:59 +0200)

This is a new subsystem that introduces support for associating
hardware timestamps with certain events (such as GPIOs and IRQs). Dipen
has worked on this for a couple of months and it's been in linux-next
for a couple of weeks. We think it's now ready for inclusion in v5.19.

Dipen's the official maintainer, but I volunteered to help out with the
logistics while he gets set up with the necessary key signatures and a account. Hopefully this will all be done by the next merge
window, enabling Dipen to take over.

Apologies for this being a little late, but there were a few last-minute
tweaks in the device tree bindings that I wanted to give an extra day in
linux-next just to make sure. The impact of this should be minimal since
it is all new code.


hte: New subsystem for v5.19-rc1

This contains the new HTE subsystem that has been in the works for a
couple of months now. The infrastructure provided allows for drivers to
register as hardware timestamp providers, while consumers will be able
to request events that they are interested in (such as GPIOs and IRQs)
to be timestamped by the hardware providers.

Note that this currently supports only one provider, but there seems to
be enough interest in this functionality and we expect to see more
drivers added once this is merged.

Dan Carpenter (2):
      hte: Fix off by one in hte_push_ts_ns()
      hte: Uninitialized variable in hte_ts_get()

Dipen Patel (12):
      Documentation: Add HTE subsystem guide
      drivers: Add hardware timestamp engine (HTE) subsystem
      hte: Add Tegra194 HTE kernel provider
      dt-bindings: Add HTE bindings
      gpiolib: Add HTE support
      gpio: tegra186: Add HTE support
      gpiolib: cdev: Add hardware timestamp clock type
      tools: gpio: Add new hardware clock type
      hte: Add Tegra HTE test driver
      MAINTAINERS: Add HTE Subsystem
      dt-bindings: Renamed hte directory to timestamp
      dt-bindings: timestamp: Correct id path

Jiapeng Chong (1):
      hte: Remove unused including <linux/version.h>

Yang Yingliang (1):
      hte: Fix possible use-after-free in tegra_hte_test_remove()

 .../timestamp/hardware-timestamps-common.yaml      |  29 +
 .../bindings/timestamp/hte-consumer.yaml           |  39 +
 .../bindings/timestamp/nvidia,tegra194-hte.yaml    |  88 ++
 Documentation/hte/hte.rst                          |  79 ++
 Documentation/hte/index.rst                        |  22 +
 Documentation/hte/tegra194-hte.rst                 |  49 ++
 Documentation/index.rst                            |   1 +
 MAINTAINERS                                        |   8 +
 drivers/Kconfig                                    |   2 +
 drivers/Makefile                                   |   1 +
 drivers/gpio/gpio-tegra186.c                       |  81 +-
 drivers/gpio/gpiolib-cdev.c                        | 252 +++++-
 drivers/gpio/gpiolib.c                             |  58 ++
 drivers/gpio/gpiolib.h                             |   1 +
 drivers/hte/Kconfig                                |  33 +
 drivers/hte/Makefile                               |   3 +
 drivers/hte/hte-tegra194-test.c                    | 238 ++++++
 drivers/hte/hte-tegra194.c                         | 730 ++++++++++++++++
 drivers/hte/hte.c                                  | 947 +++++++++++++++++++++
 include/linux/gpio/consumer.h                      |  16 +-
 include/linux/gpio/driver.h                        |  10 +
 include/linux/hte.h                                | 271 ++++++
 include/uapi/linux/gpio.h                          |   3 +
 tools/gpio/gpio-event-mon.c                        |   6 +-
 24 files changed, 2930 insertions(+), 37 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/timestamp/hardware-timestamps-common.yaml
 create mode 100644 Documentation/devicetree/bindings/timestamp/hte-consumer.yaml
 create mode 100644 Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
 create mode 100644 Documentation/hte/hte.rst
 create mode 100644 Documentation/hte/index.rst
 create mode 100644 Documentation/hte/tegra194-hte.rst
 create mode 100644 drivers/hte/Kconfig
 create mode 100644 drivers/hte/Makefile
 create mode 100644 drivers/hte/hte-tegra194-test.c
 create mode 100644 drivers/hte/hte-tegra194.c
 create mode 100644 drivers/hte/hte.c
 create mode 100644 include/linux/hte.h

             reply	other threads:[~2022-06-03 11:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 11:39 Thierry Reding [this message]
2022-06-04  4:37 ` [GIT PULL] hte: New subsystem for v5.19-rc1 Linus Torvalds
2022-06-04  8:11   ` Linus Walleij
2022-06-05 16:16     ` Linus Torvalds
2022-06-05 16:32       ` Thierry Reding
2022-06-16 18:30       ` Dipen Patel
2022-06-05 16:27     ` Thierry Reding
2022-06-05 17:16 ` pr-tracker-bot

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \

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