This series adds ACPI support to the Tegra BPMP driver and support for
Memory Bandwidth Throttler (MBWT) controls exposed by BPMP firmware of
some Tegra platforms.
The current BPMP driver depends on device tree bindings. This series
keeps the existing DT path unchanged while adding an ACPI transport path
for BPMP firmware requests.
MBWT controls are accessed through BPMP firmware requests. This series
defines the MBWT BPMP ABI, adds MBWT helper functions, and exposes a
narrow sysfs interface when firmware reports support for the required
MBWT requests.
Aniruddha Rao (5):
firmware: tegra: bpmp: Move channel initialization to helper
firmware: tegra: bpmp: Add ACPI support
firmware: tegra: bpmp: Add the Memory Bandwidth Throttler ABI
definitions
firmware: tegra: bpmp: Add MBWT BPMP helpers
firmware: tegra: bpmp: Add MBWT sysfs interface
---
Changes since v1:
- Dropped the SoC Kconfig patch.
- Kept the existing DT path unchanged while adding ACPI support.
- Reworked ACPI matching to avoid a dummy ops table.
- Added explicit error handling for short ACPI BMRQ responses.
- Folded MBWT helpers into bpmp.c.
- Reworked MBWT sysfs into per-traffic bandwidth attributes.
- Removed software bandwidth range checks.
- Use NVCLINK consistently in commit messages and documentation.
- Avoid platform-specific or transport-specific MBWT wording.
.../ABI/testing/sysfs-platform-tegra-bpmp | 48 +++
drivers/firmware/tegra/Makefile | 1 +
drivers/firmware/tegra/bpmp-private.h | 16 +
drivers/firmware/tegra/bpmp-tegra-sysfs.c | 205 ++++++++++
drivers/firmware/tegra/bpmp.c | 357 +++++++++++++++---
include/soc/tegra/bpmp-abi.h | 161 +++++++-
6 files changed, 736 insertions(+), 52 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-platform-tegra-bpmp
create mode 100644 drivers/firmware/tegra/bpmp-tegra-sysfs.c
--
2.43.0