forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/pateldipen1984/linux Pull hardware timestamp engine updates from Dipen Patel: "The changes for the hte subsystem include: - Add Tegra234 HTE provider and relevant DT bindings - Update MAINTAINERS file for the HTE subsystem" * tag 'for-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux: hte: tegra-194: Use proper includes hte: Use device_match_of_node() hte: tegra-194: Fix off by one in tegra_hte_map_to_line_id() hte: tegra: fix 'struct of_device_id' build error hte: Use of_property_present() for testing DT property presence gpio: tegra186: Add Tegra234 hte support hte: handle nvidia,gpio-controller property hte: Deprecate nvidia,slices property hte: Add Tegra234 provider hte: Re-phrase tegra API document arm64: tegra: Add Tegra234 GTE nodes dt-bindings: timestamp: Deprecate nvidia,slices property dt-bindings: timestamp: Add Tegra234 support MAINTAINERS: Add HTE/timestamp subsystem details
- Loading branch information
Showing
9 changed files
with
254 additions
and
41 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
$id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Tegra194 on chip generic hardware timestamping engine (HTE) | ||
title: Tegra on chip generic hardware timestamping engine (HTE) provider | ||
|
||
maintainers: | ||
- Dipen Patel <[email protected]> | ||
|
@@ -23,6 +23,8 @@ properties: | |
enum: | ||
- nvidia,tegra194-gte-aon | ||
- nvidia,tegra194-gte-lic | ||
- nvidia,tegra234-gte-aon | ||
- nvidia,tegra234-gte-lic | ||
|
||
reg: | ||
maxItems: 1 | ||
|
@@ -40,12 +42,20 @@ properties: | |
|
||
nvidia,slices: | ||
$ref: /schemas/types.yaml#/definitions/uint32 | ||
deprecated: true | ||
description: | ||
HTE lines are arranged in 32 bit slice where each bit represents different | ||
line/signal that it can enable/configure for the timestamp. It is u32 | ||
property and depends on the HTE instance in the chip. The value 3 is for | ||
GPIO GTE and 11 for IRQ GTE. | ||
enum: [3, 11] | ||
property and the value depends on the HTE instance in the chip. The AON | ||
GTE instances for both Tegra194 and Tegra234 has 3 slices. The Tegra194 | ||
LIC instance has 11 slices and Tegra234 LIC has 17 slices. | ||
enum: [3, 11, 17] | ||
|
||
nvidia,gpio-controller: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: | ||
The phandle to AON gpio controller instance. This is required to handle | ||
namespace conversion between GPIO and GTE. | ||
|
||
'#timestamp-cells': | ||
description: | ||
|
@@ -59,9 +69,53 @@ required: | |
- compatible | ||
- reg | ||
- interrupts | ||
- nvidia,slices | ||
- "#timestamp-cells" | ||
|
||
allOf: | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- nvidia,tegra194-gte-aon | ||
- nvidia,tegra234-gte-aon | ||
then: | ||
properties: | ||
nvidia,slices: | ||
const: 3 | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- nvidia,tegra194-gte-lic | ||
then: | ||
properties: | ||
nvidia,slices: | ||
const: 11 | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- nvidia,tegra234-gte-lic | ||
then: | ||
properties: | ||
nvidia,slices: | ||
const: 17 | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- nvidia,tegra234-gte-aon | ||
then: | ||
required: | ||
- nvidia,gpio-controller | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
|
@@ -71,7 +125,6 @@ examples: | |
reg = <0xc1e0000 0x10000>; | ||
interrupts = <0 13 0x4>; | ||
nvidia,int-threshold = <1>; | ||
nvidia,slices = <3>; | ||
#timestamp-cells = <1>; | ||
}; | ||
|
@@ -81,7 +134,6 @@ examples: | |
reg = <0x3aa0000 0x10000>; | ||
interrupts = <0 11 0x4>; | ||
nvidia,int-threshold = <1>; | ||
nvidia,slices = <11>; | ||
#timestamp-cells = <1>; | ||
}; | ||
|
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 |
---|---|---|
|
@@ -18,5 +18,5 @@ HTE Tegra Provider | |
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
tegra194-hte | ||
tegra-hte | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9489,6 +9489,9 @@ F: drivers/input/touchscreen/htcpen.c | |
|
||
HTE SUBSYSTEM | ||
M: Dipen Patel <[email protected]> | ||
L: [email protected] | ||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pateldipen1984/linux.git | ||
Q: https://patchwork.kernel.org/project/timestamp/list/ | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/timestamp/ | ||
F: Documentation/driver-api/hte/ | ||
|
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.