| 813e0349 | 18-Jun-2026 |
Arnd Bergmann <arnd@arndb.de> |
soc/tegra: pmc: fix #ifdef block in header
When build testing on ARM without the PMC driver, the other drivers fail to link:
ld.lld: error: undefined symbol: tegra_pmc_core_domain_state_synced >>>
soc/tegra: pmc: fix #ifdef block in header
When build testing on ARM without the PMC driver, the other drivers fail to link:
ld.lld: error: undefined symbol: tegra_pmc_core_domain_state_synced >>> referenced by regulators-tegra30.c >>> drivers/soc/tegra/regulators-tegra30.o:(tegra30_regulator_balance_voltage) in archive vmlinux.a >>> referenced by regulators-tegra20.c >>> drivers/soc/tegra/regulators-tegra20.o:(tegra20_core_rtc_update) in archive vmlinux.a
Adapt the checks in the header to cover both cases on other architectures and without PMC.
Fixes: 8318af5dd29c ("soc/tegra: pmc: Move legacy code behind CONFIG_ARM guard") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thierry Reding <treding@nvidia.com>
show more ...
|
| 8318af5d | 04-Feb-2025 |
Thierry Reding <treding@nvidia.com> |
soc/tegra: pmc: Move legacy code behind CONFIG_ARM guard
None of this legacy code is needed on 64-bit ARM devices, so it can be moved behind a corresponding preprocessor guard. This more cleanly sep
soc/tegra: pmc: Move legacy code behind CONFIG_ARM guard
None of this legacy code is needed on 64-bit ARM devices, so it can be moved behind a corresponding preprocessor guard. This more cleanly separates out the legacy code from code needed on current platforms.
Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
show more ...
|
| e68d494b | 26-Mar-2026 |
Thierry Reding <treding@nvidia.com> |
soc/tegra: bpmp: Use ENODEV instead of ENOTSUPP
ENOTSUPP is not a SUSV4 error code and checkpatch will warn about it. It is also not very descriptive in the context of BPMP, so use the ENODEV error
soc/tegra: bpmp: Use ENODEV instead of ENOTSUPP
ENOTSUPP is not a SUSV4 error code and checkpatch will warn about it. It is also not very descriptive in the context of BPMP, so use the ENODEV error code instead. For the stub implementations this is a more accurate description of what the failure is.
Signed-off-by: Thierry Reding <treding@nvidia.com>
show more ...
|
| 77344118 | 26-Mar-2026 |
Thierry Reding <treding@nvidia.com> |
firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function
Some device tree bindings need to specify a parameter along with a BPMP phandle reference to designate the ID associated with a given con
firmware: tegra: bpmp: Add tegra_bpmp_get_with_id() function
Some device tree bindings need to specify a parameter along with a BPMP phandle reference to designate the ID associated with a given controller that needs to interoperate with BPMP. Typically this is specified as an extra cell in the nvidia,bpmp property, so add a helper to parse this ID while resolving the phandle reference.
Signed-off-by: Thierry Reding <treding@nvidia.com>
show more ...
|
| 83c18a32 | 26-Mar-2026 |
Thierry Reding <treding@nvidia.com> |
soc/tegra: Update BPMP ABI header
This update primarily adds various new commands and MRQs for Tegra264, but also contains a few new annotations and fixes.
Signed-off-by: Thierry Reding <treding@nv
soc/tegra: Update BPMP ABI header
This update primarily adds various new commands and MRQs for Tegra264, but also contains a few new annotations and fixes.
Signed-off-by: Thierry Reding <treding@nvidia.com>
show more ...
|
| 2e4cfaa7 | 26-Feb-2026 |
Ketan Patil <ketanp@nvidia.com> |
memory: tegra: Group SoC specific fields
Introduce new SoC specific fields in tegra_mc_soc struct for high address mask and error status type mask because Tegra264 has different values for these tha
memory: tegra: Group SoC specific fields
Introduce new SoC specific fields in tegra_mc_soc struct for high address mask and error status type mask because Tegra264 has different values for these than the existing devices. Error status registers e.g. MC_ERR_STATUS_0 has few bits which indicate the type of the error. In order to obtain such type of error from error status register, we use error status type mask. Similarly, these error status registers have bits which indicate the higher address bits of the address responsible for mc error. In order to obtain such higher address, we use high address mask. Make this change to prepare for adding MC interrupt support for Tegra264.
Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260226163115.1152181-5-ketanp@nvidia.com [krzk: Fix checkpatch warning] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
show more ...
|
| 4d865a23 | 26-Feb-2026 |
Ketan Patil <ketanp@nvidia.com> |
memory: tegra: Add support for multiple IRQs
Add support to handle multiple MC interrupts lines, as supported by Tegra264. Turn the single IRQ handler callback into a counted array to allow specifyi
memory: tegra: Add support for multiple IRQs
Add support to handle multiple MC interrupts lines, as supported by Tegra264. Turn the single IRQ handler callback into a counted array to allow specifying a separate handler for each interrupt. Move IRQ handlers into tegra_mc_soc struct, so as to specify SoC specific values.
Signed-off-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Link: https://patch.msgid.link/20260226163115.1152181-4-ketanp@nvidia.com Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
show more ...
|