devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Rob Herring <robh+dt@kernel.org>
Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/11] dt-bindings: Update headers for Tegra234
Date: Fri, 12 Nov 2021 13:35:34 +0100	[thread overview]
Message-ID: <20211112123542.3680629-4-thierry.reding@gmail.com> (raw)
In-Reply-To: <20211112123542.3680629-1-thierry.reding@gmail.com>

From: Mikko Perttunen <mperttunen@nvidia.com>

Add a few more clocks that will be used in follow-up patches to enable
more functionality on Tegra234.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 include/dt-bindings/clock/tegra234-clock.h | 17 ++++++++++++++---
 include/dt-bindings/reset/tegra234-reset.h | 12 ++++++++++--
 2 files changed, 24 insertions(+), 5 deletions(-)

diff --git a/include/dt-bindings/clock/tegra234-clock.h b/include/dt-bindings/clock/tegra234-clock.h
index 2c82072950ee..21ed0c732fb9 100644
--- a/include/dt-bindings/clock/tegra234-clock.h
+++ b/include/dt-bindings/clock/tegra234-clock.h
@@ -4,11 +4,22 @@
 #ifndef DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 #define DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
 
+/**
+ * @file
+ * @defgroup bpmp_clock_ids Clock ID's
+ * @{
+ */
 /** @brief output of gate CLK_ENB_FUSE */
-#define TEGRA234_CLK_FUSE			40
+#define TEGRA234_CLK_FUSE			40U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */
-#define TEGRA234_CLK_SDMMC4			123
+#define TEGRA234_CLK_SDMMC4			123U
 /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */
-#define TEGRA234_CLK_UARTA			155
+#define TEGRA234_CLK_UARTA			155U
+/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM switch divider output */
+#define TEGRA234_CLK_SDMMC_LEGACY_TM		219U
+/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */
+#define TEGRA234_CLK_PLLC4			237U
+/** @brief 32K input clock provided by PMIC */
+#define TEGRA234_CLK_CLK_32K			289U
 
 #endif
diff --git a/include/dt-bindings/reset/tegra234-reset.h b/include/dt-bindings/reset/tegra234-reset.h
index b3c63be06d2d..50e13bced642 100644
--- a/include/dt-bindings/reset/tegra234-reset.h
+++ b/include/dt-bindings/reset/tegra234-reset.h
@@ -4,7 +4,15 @@
 #ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H
 #define DT_BINDINGS_RESET_TEGRA234_RESET_H
 
-#define TEGRA234_RESET_SDMMC4			85
-#define TEGRA234_RESET_UARTA			100
+/**
+ * @file
+ * @defgroup bpmp_reset_ids Reset ID's
+ * @brief Identifiers for Resets controllable by firmware
+ * @{
+ */
+#define TEGRA234_RESET_SDMMC4			85U
+#define TEGRA234_RESET_UARTA			100U
+
+/** @} */
 
 #endif
-- 
2.33.1


  parent reply	other threads:[~2021-11-12 12:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-12 12:35 [PATCH 00/11] arm64: tegra: Add NVIDIA Jetson AGX Orin support Thierry Reding
2021-11-12 12:35 ` [PATCH 01/11] dt-bindings: tegra: Describe recent developer kits consistently Thierry Reding
2021-11-29 20:54   ` Rob Herring
2021-11-12 12:35 ` [PATCH 02/11] dt-bindings: tegra: Document Jetson AGX Orin (and devkit) Thierry Reding
2021-11-29 20:55   ` Rob Herring
2021-11-12 12:35 ` Thierry Reding [this message]
2021-11-29 20:59   ` [PATCH 03/11] dt-bindings: Update headers for Tegra234 Rob Herring
2021-11-12 12:35 ` [PATCH 04/11] dt-bindings: sram: Document NVIDIA Tegra SYSRAM Thierry Reding
2021-11-29 20:59   ` Rob Herring
2021-11-12 12:35 ` [PATCH 05/11] misc: sram: Add compatible string for Tegra234 SYSRAM Thierry Reding
2021-12-07 15:52   ` Thierry Reding
2021-12-07 17:45     ` Greg Kroah-Hartman
2021-11-12 12:35 ` [PATCH 06/11] arm64: tegra: Fixup SYSRAM references Thierry Reding
2021-11-12 12:35 ` [PATCH 07/11] arm64: tegra: Add clock for Tegra234 RTC Thierry Reding
2021-11-12 12:35 ` [PATCH 08/11] arm64: tegra: Update Tegra234 BPMP channel addresses Thierry Reding
2021-11-12 12:35 ` [PATCH 09/11] arm64: tegra: Fill in properties for Tegra234 eMMC Thierry Reding
2021-11-12 12:35 ` [PATCH 10/11] arm64: tegra: Add Tegra234 TCU device Thierry Reding
2021-11-12 12:35 ` [PATCH 11/11] arm64: tegra: Add NVIDIA Jetson AGX Orin Developer Kit support Thierry Reding

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=20211112123542.3680629-4-thierry.reding@gmail.com \
    --to=thierry.reding@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).