soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
cover soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
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/[email protected]/
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(-)
Signature · 1 line
2.51.0
PATCH 1/1 soc: tegra: common: add Tegra114 support to devm_tegra_core_dev_init_opp_table
Determine the Tegra114 hardware version using the SoC Speedo ID bit macro, mirroring the approach already used for Tegra30 and Tegra124.
--- drivers/soc/tegra/common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/soc/tegra/common.c +3 -2
@@ -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)
Signature · 1 line
2.51.0
Thierry Reding
maintainerQuoted 8 lines · Svyatoslav Ryhel
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 <[email protected]>Reviewed-by Mikko Perttunen <[email protected]>--- 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
пн, 26 січ. 2026 р. о 21:02 Svyatoslav Ryhel <[email protected]> пише:
Quoted 4 lines
Determine the Tegra114 hardware version using the SoC Speedo ID bit macro, mirroring the approach already used for Tegra30 and Tegra124.
Quoted 9 lines
Part of previous patchset: https://lore.kernel.org/lkml/[email protected]/
Svyatoslav Ryhel (1):
soc: tegra: common: add Tegra114 support to
devm_tegra_core_dev_init_opp_tabledrivers/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.
Quoted 3 lines
--
2.51.0