diff mbox series

[net-next,v4,3/5] dt-bindings: net: Add IEP interrupt

Message ID 20240617-iep-v4-3-fa20ff4141a3@siemens.com (mailing list archive)
State Accepted
Commit 5056860cf8eab681a08913ec03432c57c83e71be
Delegated to: Netdev Maintainers
Headers show
Series Enable PTP timestamping/PPS for AM65x SR1.0 devices | expand

Checks

Context Check Description
netdev/series_format success Posting correctly formatted
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 8 this patch: 8
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 11 of 11 maintainers
netdev/build_clang success Errors and warnings before: 8 this patch: 8
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 8 this patch: 8
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 15 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-06-18--12-00 (tests: 654)

Commit Message

Diogo Ivo June 17, 2024, 3:21 p.m. UTC
The IEP interrupt is used in order to support both capture events, where
an incoming external signal gets timestamped on arrival, and compare
events, where an interrupt is generated internally when the IEP counter
reaches a programmed value.

Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>
---
 Documentation/devicetree/bindings/net/ti,icss-iep.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Conor Dooley June 17, 2024, 3:35 p.m. UTC | #1
On Mon, Jun 17, 2024 at 04:21:42PM +0100, Diogo Ivo wrote:
> The IEP interrupt is used in order to support both capture events, where
> an incoming external signal gets timestamped on arrival, and compare
> events, where an interrupt is generated internally when the IEP counter
> reaches a programmed value.
> 
> Signed-off-by: Diogo Ivo <diogo.ivo@siemens.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/ti,icss-iep.yaml b/Documentation/devicetree/bindings/net/ti,icss-iep.yaml
index f5c22d6dcaee..e36e3a622904 100644
--- a/Documentation/devicetree/bindings/net/ti,icss-iep.yaml
+++ b/Documentation/devicetree/bindings/net/ti,icss-iep.yaml
@@ -28,6 +28,15 @@  properties:
     maxItems: 1
     description: phandle to the IEP source clock
 
+  interrupts:
+    maxItems: 1
+    description:
+      Interrupt specifier for capture/compare IRQ.
+
+  interrupt-names:
+    items:
+      - const: iep_cap_cmp
+
 required:
   - compatible
   - reg