All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Rob Herring <robh+dt@kernel.org>, Kartik <kkartik@nvidia.com>
Cc: daniel.lezcano@linaro.org, tglx@linutronix.de,
	krzk+dt@kernel.org, jonathanh@nvidia.com, spujar@nvidia.com,
	akhilrajeev@nvidia.com, rgumasta@nvidia.com, pshete@nvidia.com,
	vidyas@nvidia.com, mperttunen@nvidia.com, mkumard@nvidia.com,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	linux-tegra@vger.kernel.org
Subject: Re: [PATCH v2 1/6] dt-bindings: timer: Add Tegra186 & Tegra234 Timer
Date: Thu, 30 Jun 2022 11:13:50 +0200	[thread overview]
Message-ID: <Yr1pTlG+ncPb1gjO@orome> (raw)
In-Reply-To: <1656527344-28861-2-git-send-email-kkartik@nvidia.com>

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

On Wed, Jun 29, 2022 at 11:58:59PM +0530, Kartik wrote:
> The Tegra186 timer provides ten 29-bit timer counters and one 32-bit
> timestamp counter. The Tegra234 timer provides sixteen 29-bit timer
> counters and one 32-bit timestamp counter. Each NV timer selects its
> timing reference signal from the 1 MHz reference generated by USEC,
> TSC or either clk_m or OSC. Each TMR can be programmed to generate
> one-shot, periodic, or watchdog interrupts.
> 
> Signed-off-by: Kartik <kkartik@nvidia.com>
> ---
>  .../bindings/timer/nvidia,tegra186-timer.yaml | 111 ++++++++++++++++++
>  1 file changed, 111 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/timer/nvidia,tegra186-timer.yaml

Rob, I've been wondering about patch application with these DT bindings.
In the past I've preferred to apply these along with the driver changes
that implement the bindings. I realize now that that's perhaps a bit
naive because we've had cases where the driver doesn't fully implement
everything in the binding as well as cases where the bindings are
upstreamed without the driver necessarily being upstreamed at the same
time.

So I'm thinking that it makes more sense to apply the DT bindings to the
same tree as the DT changes that add corresponding DT nodes. This would
also get rid of the (usually temporary) inconsistencies when running the
DT validation (and even just something like checkpatch) on a DT tree
that doesn't have corresponding DT bindings.

Do you have any strong preference on this?

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2022-06-30  9:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29 18:28 [PATCH v2 0/6] Add watchdog timer support for Tegra186/194/234 SoCs Kartik
2022-06-29 18:28 ` [PATCH v2 1/6] dt-bindings: timer: Add Tegra186 & Tegra234 Timer Kartik
2022-06-30  9:13   ` Thierry Reding [this message]
2022-07-01 19:37     ` Rob Herring
2022-06-30  9:33   ` Jon Hunter
2022-07-01 18:46   ` Rob Herring
2022-06-29 18:29 ` [PATCH v2 2/6] clocksource: Add Tegra186 timers support Kartik
2022-06-30  9:14   ` Thierry Reding
2022-06-30  9:37   ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 3/6] clocksource/drivers/timer-tegra186: Add support for Tegra234 SoC Kartik
2022-06-30  9:14   ` Thierry Reding
2022-06-30  9:38   ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 4/6] arm64: tegra: Enable native timers on Tegra186 Kartik
2022-06-30  9:38   ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 5/6] arm64: tegra: Enable native timers on Tegra194 Kartik
2022-06-30  9:38   ` Jon Hunter
2022-06-29 18:29 ` [PATCH v2 6/6] arm64: tegra: Enable native timers on Tegra234 Kartik
2022-06-30  9:38   ` Jon Hunter

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=Yr1pTlG+ncPb1gjO@orome \
    --to=thierry.reding@gmail.com \
    --cc=akhilrajeev@nvidia.com \
    --cc=daniel.lezcano@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=kkartik@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mkumard@nvidia.com \
    --cc=mperttunen@nvidia.com \
    --cc=pshete@nvidia.com \
    --cc=rgumasta@nvidia.com \
    --cc=robh+dt@kernel.org \
    --cc=spujar@nvidia.com \
    --cc=tglx@linutronix.de \
    --cc=vidyas@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.