What is the reason for driver tpm-tis dependency on x86 target?

Hi everyone,

(first post on the forum for me, in case of wrong format/topic/destination any direction is appreciated)


In the kernel module definition file package/kernel/linux/modules/other.mk the module tpm-tis has dependency DEPENDS:= @TARGET_x86

define KernelPackage/tpm-tis
  TITLE:=TPM TIS 1.2 Interface / TPM 2.0 FIFO Interface
	DEPENDS:= @TARGET_x86 +kmod-tpm


Is this dependency still required ?

  • The driver seems to be quite generic in linux (I have used it successfully on ARM and MIPS by removing the dependency)
  • All other nearby tpm-related drivers do not have this dependency
  • For context this dependency is in place since the original commit adding the module definition

In case it is not needed anymore I could upstream the removal patch.
Thanks in advance for any info.

Probably because the original author wasn't aware for which platforms it is available/useful, so he restricted it to only this platform he tested it with.