* [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
@ 2026-03-31 20:04 Suneel Garapati
2026-04-01 7:52 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Suneel Garapati @ 2026-03-31 20:04 UTC (permalink / raw)
To: linux-tegra; +Cc: Suneel Garapati
Add timestamp provider support for the Tegra264 in devicetree
bindings. Tegra264 has two generic timestamping engines (GTE)
which are the always-on GTE (AON) and legacy interrupt
controller (LIC) GTE.
Signed-off-by: Suneel Garapati <suneelg@nvidia.com>
---
.../devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
index 456797967adc..210200421a38 100644
--- a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
+++ b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
@@ -25,6 +25,8 @@ properties:
- nvidia,tegra194-gte-lic
- nvidia,tegra234-gte-aon
- nvidia,tegra234-gte-lic
+ - nvidia,tegra264-gte-aon
+ - nvidia,tegra264-gte-lic
reg:
maxItems: 1
@@ -112,6 +114,7 @@ allOf:
contains:
enum:
- nvidia,tegra234-gte-aon
+ - nvidia,tegra264-gte-aon
then:
required:
- nvidia,gpio-controller
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-03-31 20:04 [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support Suneel Garapati
@ 2026-04-01 7:52 ` Krzysztof Kozlowski
0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-01 7:52 UTC (permalink / raw)
To: Suneel Garapati, linux-tegra
On 31/03/2026 22:04, Suneel Garapati wrote:
> Add timestamp provider support for the Tegra264 in devicetree
> bindings. Tegra264 has two generic timestamping engines (GTE)
> which are the always-on GTE (AON) and legacy interrupt
> controller (LIC) GTE.
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time.
Please kindly resend and include all necessary To/Cc entries.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 0/3] Add Tegra264 HTE provider
@ 2026-04-01 21:38 Suneel Garapati
2026-04-01 21:38 ` [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support Suneel Garapati
0 siblings, 1 reply; 9+ messages in thread
From: Suneel Garapati @ 2026-04-01 21:38 UTC (permalink / raw)
To: dipenp, jonathanh, thierry.reding, krzk+dt, conor+dt, amhetre,
sheetal, kkartik, robh, pshete, timestamp, devicetree,
linux-tegra, linux-kernel
Cc: Suneel Garapati
This patch series mainly adds support for the Tegra264 HTE provider.
- Update devicetree bindings to add Tegra264 support
- Add support in driver for Tegra264 chip including new tsc clock
parameters setup per SoC as values differ for Tegra264
- Populate device-tree nodes for Tegra264 GTE instances
- One of devicetree nodes has reference to gpio_aon node that is
dependent on this series [1]
1 - https://patchwork.ozlabs.org/project/linux-gpio/patch/20260128085114.1137725-3-pshete@nvidia.com/
Suneel Garapati (3):
dt-bindings: timestamp: Add Tegra264 support
hte: tegra194: Add Tegra264 GTE support
arm64: tegra: Add GTE nodes for Tegra264
.../timestamp/nvidia,tegra194-hte.yaml | 3 +
arch/arm64/boot/dts/nvidia/tegra264.dtsi | 19 +++
drivers/hte/hte-tegra194.c | 133 +++++++++++++++++-
3 files changed, 150 insertions(+), 5 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-01 21:38 [PATCH 0/3] Add Tegra264 HTE provider Suneel Garapati
@ 2026-04-01 21:38 ` Suneel Garapati
2026-04-02 8:47 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Suneel Garapati @ 2026-04-01 21:38 UTC (permalink / raw)
To: dipenp, jonathanh, thierry.reding, krzk+dt, conor+dt, amhetre,
sheetal, kkartik, robh, pshete, timestamp, devicetree,
linux-tegra, linux-kernel
Cc: Suneel Garapati
Add timestamp provider support for the Tegra264 in devicetree
bindings. Tegra264 has two generic timestamping engines (GTE)
which are the always-on GTE (AON) and legacy interrupt
controller (LIC) GTE.
Signed-off-by: Suneel Garapati <suneelg@nvidia.com>
---
.../devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
index 456797967adc..210200421a38 100644
--- a/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
+++ b/Documentation/devicetree/bindings/timestamp/nvidia,tegra194-hte.yaml
@@ -25,6 +25,8 @@ properties:
- nvidia,tegra194-gte-lic
- nvidia,tegra234-gte-aon
- nvidia,tegra234-gte-lic
+ - nvidia,tegra264-gte-aon
+ - nvidia,tegra264-gte-lic
reg:
maxItems: 1
@@ -112,6 +114,7 @@ allOf:
contains:
enum:
- nvidia,tegra234-gte-aon
+ - nvidia,tegra264-gte-aon
then:
required:
- nvidia,gpio-controller
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-01 21:38 ` [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support Suneel Garapati
@ 2026-04-02 8:47 ` Krzysztof Kozlowski
2026-04-02 8:47 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-02 8:47 UTC (permalink / raw)
To: Suneel Garapati
Cc: dipenp, jonathanh, thierry.reding, krzk+dt, conor+dt, amhetre,
sheetal, kkartik, robh, pshete, timestamp, devicetree,
linux-tegra, linux-kernel
On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
> reg:
> maxItems: 1
> @@ -112,6 +114,7 @@ allOf:
> contains:
> enum:
> - nvidia,tegra234-gte-aon
> + - nvidia,tegra264-gte-aon
And why exactly the slices are variable here? Explain that in commit
msg.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-02 8:47 ` Krzysztof Kozlowski
@ 2026-04-02 8:47 ` Krzysztof Kozlowski
2026-04-02 9:49 ` Jon Hunter
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-02 8:47 UTC (permalink / raw)
To: Suneel Garapati
Cc: dipenp, jonathanh, thierry.reding, krzk+dt, conor+dt, amhetre,
sheetal, kkartik, robh, pshete, timestamp, devicetree,
linux-tegra, linux-kernel
On 02/04/2026 10:47, Krzysztof Kozlowski wrote:
> On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
>> reg:
>> maxItems: 1
>> @@ -112,6 +114,7 @@ allOf:
>> contains:
>> enum:
>> - nvidia,tegra234-gte-aon
>> + - nvidia,tegra264-gte-aon
>
> And why exactly the slices are variable here? Explain that in commit
> msg.
s/Explain/Shortly describe/
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-02 8:47 ` Krzysztof Kozlowski
@ 2026-04-02 9:49 ` Jon Hunter
2026-04-02 9:53 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Jon Hunter @ 2026-04-02 9:49 UTC (permalink / raw)
To: Krzysztof Kozlowski, Suneel Garapati
Cc: dipenp, thierry.reding, krzk+dt, conor+dt, amhetre, sheetal,
kkartik, robh, pshete, timestamp, devicetree, linux-tegra,
linux-kernel
On 02/04/2026 09:47, Krzysztof Kozlowski wrote:
> On 02/04/2026 10:47, Krzysztof Kozlowski wrote:
>> On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
>>> reg:
>>> maxItems: 1
>>> @@ -112,6 +114,7 @@ allOf:
>>> contains:
>>> enum:
>>> - nvidia,tegra234-gte-aon
>>> + - nvidia,tegra264-gte-aon
>>
>> And why exactly the slices are variable here? Explain that in commit
>> msg.
>
> s/Explain/Shortly describe/
So this is not related to slices, but indicating the
'nvidia,gpio-controller' property is required for the AON controller.
However, maybe your comment still applies and you want the commit
message to be explicit that for the AON instance the
'nvidia,gpio-controller' is needed?
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-02 9:49 ` Jon Hunter
@ 2026-04-02 9:53 ` Krzysztof Kozlowski
2026-04-02 10:21 ` Jon Hunter
0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-02 9:53 UTC (permalink / raw)
To: Jon Hunter, Suneel Garapati
Cc: dipenp, thierry.reding, krzk+dt, conor+dt, amhetre, sheetal,
kkartik, robh, pshete, timestamp, devicetree, linux-tegra,
linux-kernel
On 02/04/2026 11:49, Jon Hunter wrote:
>
> On 02/04/2026 09:47, Krzysztof Kozlowski wrote:
>> On 02/04/2026 10:47, Krzysztof Kozlowski wrote:
>>> On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
>>>> reg:
>>>> maxItems: 1
>>>> @@ -112,6 +114,7 @@ allOf:
>>>> contains:
>>>> enum:
>>>> - nvidia,tegra234-gte-aon
>>>> + - nvidia,tegra264-gte-aon
>>>
>>> And why exactly the slices are variable here? Explain that in commit
>>> msg.
>>
>> s/Explain/Shortly describe/
>
> So this is not related to slices, but indicating the
> 'nvidia,gpio-controller' property is required for the AON controller.
> However, maybe your comment still applies and you want the commit
> message to be explicit that for the AON instance the
> 'nvidia,gpio-controller' is needed?
You have two devices there - AON and LIC - and variable properties. I
want answer why things are variable. HW is rarely variable. It is
opposite of variable - afixed.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-02 9:53 ` Krzysztof Kozlowski
@ 2026-04-02 10:21 ` Jon Hunter
2026-04-02 10:24 ` Krzysztof Kozlowski
0 siblings, 1 reply; 9+ messages in thread
From: Jon Hunter @ 2026-04-02 10:21 UTC (permalink / raw)
To: Krzysztof Kozlowski, Suneel Garapati
Cc: dipenp, thierry.reding, krzk+dt, conor+dt, amhetre, sheetal,
kkartik, robh, pshete, timestamp, devicetree, linux-tegra,
linux-kernel
On 02/04/2026 10:53, Krzysztof Kozlowski wrote:
> On 02/04/2026 11:49, Jon Hunter wrote:
>>
>> On 02/04/2026 09:47, Krzysztof Kozlowski wrote:
>>> On 02/04/2026 10:47, Krzysztof Kozlowski wrote:
>>>> On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
>>>>> reg:
>>>>> maxItems: 1
>>>>> @@ -112,6 +114,7 @@ allOf:
>>>>> contains:
>>>>> enum:
>>>>> - nvidia,tegra234-gte-aon
>>>>> + - nvidia,tegra264-gte-aon
>>>>
>>>> And why exactly the slices are variable here? Explain that in commit
>>>> msg.
>>>
>>> s/Explain/Shortly describe/
>>
>> So this is not related to slices, but indicating the
>> 'nvidia,gpio-controller' property is required for the AON controller.
>> However, maybe your comment still applies and you want the commit
>> message to be explicit that for the AON instance the
>> 'nvidia,gpio-controller' is needed?
>
> You have two devices there - AON and LIC - and variable properties. I
> want answer why things are variable. HW is rarely variable. It is
> opposite of variable - afixed.
So note that 'nvidia,slices' is a deprecated property ...
1815e37b6e67 ("dt-bindings: timestamp: Deprecate nvidia,slices property")
I am guessing we did not bother to specify the slices for Tegra264
because this is no longer being used/supported. And yes, we should have
made this clear in the commit message :-)
Do you want the commit message updated?
Jon
--
nvpublic
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support
2026-04-02 10:21 ` Jon Hunter
@ 2026-04-02 10:24 ` Krzysztof Kozlowski
0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2026-04-02 10:24 UTC (permalink / raw)
To: Jon Hunter, Suneel Garapati
Cc: dipenp, thierry.reding, krzk+dt, conor+dt, amhetre, sheetal,
kkartik, robh, pshete, timestamp, devicetree, linux-tegra,
linux-kernel
On 02/04/2026 12:21, Jon Hunter wrote:
>
> On 02/04/2026 10:53, Krzysztof Kozlowski wrote:
>> On 02/04/2026 11:49, Jon Hunter wrote:
>>>
>>> On 02/04/2026 09:47, Krzysztof Kozlowski wrote:
>>>> On 02/04/2026 10:47, Krzysztof Kozlowski wrote:
>>>>> On Wed, Apr 01, 2026 at 09:38:29PM +0000, Suneel Garapati wrote:
>>>>>> reg:
>>>>>> maxItems: 1
>>>>>> @@ -112,6 +114,7 @@ allOf:
>>>>>> contains:
>>>>>> enum:
>>>>>> - nvidia,tegra234-gte-aon
>>>>>> + - nvidia,tegra264-gte-aon
>>>>>
>>>>> And why exactly the slices are variable here? Explain that in commit
>>>>> msg.
>>>>
>>>> s/Explain/Shortly describe/
>>>
>>> So this is not related to slices, but indicating the
>>> 'nvidia,gpio-controller' property is required for the AON controller.
>>> However, maybe your comment still applies and you want the commit
>>> message to be explicit that for the AON instance the
>>> 'nvidia,gpio-controller' is needed?
>>
>> You have two devices there - AON and LIC - and variable properties. I
>> want answer why things are variable. HW is rarely variable. It is
>> opposite of variable - afixed.
>
> So note that 'nvidia,slices' is a deprecated property ...
>
> 1815e37b6e67 ("dt-bindings: timestamp: Deprecate nvidia,slices property")
>
> I am guessing we did not bother to specify the slices for Tegra264
> because this is no longer being used/supported. And yes, we should have
> made this clear in the commit message :-)
>
Deprecated properties should not be allowed by the schema for new devices.
> Do you want the commit message updated?
It's enough to disallow the property.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-04-02 10:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 20:04 [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support Suneel Garapati
2026-04-01 7:52 ` Krzysztof Kozlowski
-- strict thread matches above, loose matches on Subject: below --
2026-04-01 21:38 [PATCH 0/3] Add Tegra264 HTE provider Suneel Garapati
2026-04-01 21:38 ` [PATCH 1/3] dt-bindings: timestamp: Add Tegra264 support Suneel Garapati
2026-04-02 8:47 ` Krzysztof Kozlowski
2026-04-02 8:47 ` Krzysztof Kozlowski
2026-04-02 9:49 ` Jon Hunter
2026-04-02 9:53 ` Krzysztof Kozlowski
2026-04-02 10:21 ` Jon Hunter
2026-04-02 10:24 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox