Skip to contentSkip to conversation

TEE bus callbacks for 6.20

GIT PULL Applied Jens Wiklander 2 participants 2 messages Jan 17 – Jan 21

lore
Share & tools
lore
#0 lore raw

Hello arm-soc maintainers,

Please pull these updates adding TEE bus callbacks to let the users of the bus get rid of the struct device_driver callbacks .probe(), .remove() and .shutdown().

The maintainers for the updated drivers using the TEE bus have agreed to take these changes via my tree, with the exception of the maintainer for drivers/firmware/broadcom/tee_bnxt_fw.c, who has remained silent during the review. However, the changes in the drivers are straight forward so it's better to take these patches too rather than excluding them.

Further details are in the last patch set:
https://lore.kernel.org/op-tee/[email protected]/

Thanks,
Jens

The following changes since commit 8f0b4cce4481fb22653697cced8d0d04027cb1e8:

Linux 6.19-rc1 (2025-12-14 16:05:07 +1200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jenswi/linux-tee.git tags/tee-bus-callback-for-6.20

for you to fetch changes up to e82d0477fd80707221c3d110f56d05506de2698c:

tpm/tpm_ftpm_tee: Fix kdoc after function renames (2026-01-15 10:28:33 +0100)

----------------------------------------------------------------
TEE bus callback for 6.20

- Move from generic device_driver to TEE bus-specific callbacks
- Add module_tee_client_driver() and registration helpers to reduce boilerplate
- Convert several client drivers (TPM, KEYS, firmware, EFI, hwrng, and RTC)
- Update documentation and fix kernel-doc warnings

----------------------------------------------------------------
Uwe Kleine-König (18):
tee: Add some helpers to reduce boilerplate for tee client drivers
tee: Add probe, remove and shutdown bus callbacks to tee_client_driver
tee: Adapt documentation to cover recent additions
rtc: optee: Migrate to use tee specific driver registration function
rtc: optee: Make use of tee bus methods
hwrng: optee - Make use of module_tee_client_driver()
hwrng: optee - Make use of tee bus methods
efi: stmm: Make use of module_tee_client_driver()
efi: stmm: Make use of tee bus methods
firmware: arm_scmi: optee: Make use of module_tee_client_driver()
firmware: arm_scmi: Make use of tee bus methods
firmware: tee_bnxt: Make use of module_tee_client_driver()
firmware: tee_bnxt: Make use of tee bus methods
KEYS: trusted: Migrate to use tee specific driver registration function
KEYS: trusted: Make use of tee bus methods tpm/tpm_ftpm_tee: Make use of tee specific driver registration tpm/tpm_ftpm_tee: Make use of tee bus methods tpm/tpm_ftpm_tee: Fix kdoc after function renames

 Documentation/driver-api/tee.rst             | 18 +-----
 drivers/char/hw_random/optee-rng.c           | 26 ++-------
 drivers/char/tpm/tpm_ftpm_tee.c              | 35 ++++++++----
 drivers/firmware/arm_scmi/transports/optee.c | 32 ++++-------
 drivers/firmware/broadcom/tee_bnxt_fw.c      | 30 +++-------
 drivers/firmware/efi/stmm/tee_stmm_efi.c     | 25 ++-------
 drivers/rtc/rtc-optee.c                      | 27 +++------
 drivers/tee/tee_core.c                       | 84 ++++++++++++++++++++++++++++
 include/linux/tee_drv.h                      | 12 ++++
 security/keys/trusted-keys/trusted_tee.c     | 17 +++---
 10 files changed, 166 insertions(+), 140 deletions(-)
#1 lore raw
This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This pull request was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Quoted 6 lines · On Sat, 17 Jan 2026 13:30:08 +0100 you wrote:

Hello arm-soc maintainers,

Please pull these updates adding TEE bus callbacks to let the users of the bus get rid of the struct device_driver callbacks .probe(), .remove() and .shutdown().

Quoted 7 lines

The maintainers for the updated drivers using the TEE bus have agreed to take these changes via my tree, with the exception of the maintainer for drivers/firmware/broadcom/tee_bnxt_fw.c, who has remained silent during the review. However, the changes in the drivers are straight forward so it's better to take these patches too rather than excluding them.

[...]

Here is the summary with links:
- [GIT,PULL] TEE bus callbacks for 6.20

    https://git.kernel.org/soc/soc/c/e6bea2f5534d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html