-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linus Walleij says: ==================== IXP46x PTP Timer clean-up and DT ChangeLog v2->v3: - Dropped the patch enabling compile tests: we are still dependent on some machine-specific headers. The plan is to get rid of this after device tree conversion. We include one of the compile testing fixes anyway, because it is nice to have fixed. - Rebased on the latest net-next ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
7 changed files
with
171 additions
and
77 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
Documentation/devicetree/bindings/net/intel,ixp46x-ptp-timer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
# Copyright 2018 Linaro Ltd. | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/net/intel,ixp46x-ptp-timer.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Intel IXP46x PTP Timer (TSYNC) | ||
|
||
maintainers: | ||
- Linus Walleij <linus.walleij@linaro.org> | ||
|
||
description: | | ||
The Intel IXP46x PTP timer is known in the manual as IEEE1588 Hardware | ||
Assist and Time Synchronization Hardware Assist TSYNC provides a PTP | ||
timer. It exists in the Intel IXP45x and IXP46x XScale SoCs. | ||
properties: | ||
compatible: | ||
const: intel,ixp46x-ptp-timer | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
items: | ||
- description: Interrupt to trigger master mode snapshot from the | ||
PRP timer, usually a GPIO interrupt. | ||
- description: Interrupt to trigger slave mode snapshot from the | ||
PRP timer, usually a GPIO interrupt. | ||
|
||
interrupt-names: | ||
items: | ||
- const: master | ||
- const: slave | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
ptp-timer@c8010000 { | ||
compatible = "intel,ixp46x-ptp-timer"; | ||
reg = <0xc8010000 0x1000>; | ||
interrupt-parent = <&gpio0>; | ||
interrupts = <8 IRQ_TYPE_EDGE_FALLING>, <7 IRQ_TYPE_EDGE_FALLING>; | ||
interrupt-names = "master", "slave"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.