public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
@ 2026-01-26 19:02 Svyatoslav Ryhel
  2026-01-26 19:02 ` [PATCH v1 1/1] " Svyatoslav Ryhel
  2026-03-02  8:05 ` [PATCH v1 0/1] " Svyatoslav Ryhel
  0 siblings, 2 replies; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-01-26 19:02 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Mikko Perttunen,
	Svyatoslav Ryhel, Dmitry Osipenko
  Cc: linux-tegra, linux-kernel

Determine the Tegra114 hardware version using the SoC Speedo ID bit macro,
mirroring the approach already used for Tegra30 and Tegra124.

Part of previous patchset: https://lore.kernel.org/lkml/20251125120559.158860-1-clamor95@gmail.com/

Svyatoslav Ryhel (1):
  soc: tegra: common: add Tegra114 support to
    devm_tegra_core_dev_init_opp_table

 drivers/soc/tegra/common.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
  2026-01-26 19:02 [PATCH v1 0/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table Svyatoslav Ryhel
@ 2026-01-26 19:02 ` Svyatoslav Ryhel
  2026-03-27 15:12   ` Thierry Reding
  2026-03-02  8:05 ` [PATCH v1 0/1] " Svyatoslav Ryhel
  1 sibling, 1 reply; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-01-26 19:02 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Mikko Perttunen,
	Svyatoslav Ryhel, Dmitry Osipenko
  Cc: linux-tegra, linux-kernel

Determine the Tegra114 hardware version using the SoC Speedo ID bit macro,
mirroring the approach already used for Tegra30 and Tegra124.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
---
 drivers/soc/tegra/common.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/tegra/common.c b/drivers/soc/tegra/common.c
index 6292a1c72071..2264dd38893a 100644
--- a/drivers/soc/tegra/common.c
+++ b/drivers/soc/tegra/common.c
@@ -143,7 +143,8 @@ int devm_tegra_core_dev_init_opp_table(struct device *dev,
 		hw_version = BIT(tegra_sku_info.soc_process_id);
 		config.supported_hw = &hw_version;
 		config.supported_hw_count = 1;
-	} else if (of_machine_is_compatible("nvidia,tegra30")) {
+	} else if (of_machine_is_compatible("nvidia,tegra30") ||
+		   of_machine_is_compatible("nvidia,tegra114")) {
 		hw_version = BIT(tegra_sku_info.soc_speedo_id);
 		config.supported_hw = &hw_version;
 		config.supported_hw_count = 1;
@@ -156,7 +157,7 @@ int devm_tegra_core_dev_init_opp_table(struct device *dev,
 	}
 
 	/*
-	 * Tegra114+ doesn't support OPP yet, return early for non tegra20/30
+	 * Tegra124+ doesn't support OPP yet, return early for pre-Tegra124
 	 * case.
 	 */
 	if (!config.supported_hw)
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
  2026-01-26 19:02 [PATCH v1 0/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table Svyatoslav Ryhel
  2026-01-26 19:02 ` [PATCH v1 1/1] " Svyatoslav Ryhel
@ 2026-03-02  8:05 ` Svyatoslav Ryhel
  1 sibling, 0 replies; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-03-02  8:05 UTC (permalink / raw)
  To: Thierry Reding, Jonathan Hunter, Mikko Perttunen,
	Svyatoslav Ryhel, Dmitry Osipenko, Thierry Reding
  Cc: linux-tegra, linux-kernel

пн, 26 січ. 2026 р. о 21:02 Svyatoslav Ryhel <clamor95@gmail.com> пише:
>
> Determine the Tegra114 hardware version using the SoC Speedo ID bit macro,
> mirroring the approach already used for Tegra30 and Tegra124.
>
> Part of previous patchset: https://lore.kernel.org/lkml/20251125120559.158860-1-clamor95@gmail.com/
>
> Svyatoslav Ryhel (1):
>   soc: tegra: common: add Tegra114 support to
>     devm_tegra_core_dev_init_opp_table
>
>  drivers/soc/tegra/common.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>

Hello there!

May this patch be picked if everyone is fine with it?

Best regards,
Svyatoslav R.

> --
> 2.51.0
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 1/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
  2026-01-26 19:02 ` [PATCH v1 1/1] " Svyatoslav Ryhel
@ 2026-03-27 15:12   ` Thierry Reding
  0 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2026-03-27 15:12 UTC (permalink / raw)
  To: Svyatoslav Ryhel
  Cc: Thierry Reding, Jonathan Hunter, Mikko Perttunen, Dmitry Osipenko,
	linux-tegra, linux-kernel

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

On Mon, Jan 26, 2026 at 09:02:06PM +0200, Svyatoslav Ryhel wrote:
> Determine the Tegra114 hardware version using the SoC Speedo ID bit macro,
> mirroring the approach already used for Tegra30 and Tegra124.
> 
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
> ---
>  drivers/soc/tegra/common.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

It's a little weird to see v1 with a Reviewed-by from Mikko. I see a v4
of this on the list, though, so I guess this is really v5. Anyway,
applied now, thanks.

Thierry

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-27 15:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-26 19:02 [PATCH v1 0/1] soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table Svyatoslav Ryhel
2026-01-26 19:02 ` [PATCH v1 1/1] " Svyatoslav Ryhel
2026-03-27 15:12   ` Thierry Reding
2026-03-02  8:05 ` [PATCH v1 0/1] " Svyatoslav Ryhel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox