Commit 595311cf authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Wei Tian
Browse files

optee: model OP-TEE as a platform device/driver

mainline inclusion
from mainline-v5.6-rc1
commit f349710e
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7X26S



-------------------------------------------------

model OP-TEE as a platform device/driver

To simplify adding ACPI support to the OP-TEE driver, model it as
a platform driver. This will permit us to use the generic device
property layer for parsing additional properties, regardless of
whether DT or ACPI is being used.

Note that this change will result in the OP-TEE driver to be loaded
automatically on systems that advertise the presence of OP-TEE via
the device tree.

Acked-by: default avatarSumit Garg <sumit.garg@linaro.org>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Conflicts:
	drivers/tee/optee/core.c
	[tianwei: adjust context]
Signed-off-by: default avatarTian Wei <tianwei@phytium.com.cn>
parent 6cbfc80d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment