]> git.baikalelectronics.ru Git - kernel.git/commit
optee: model OP-TEE as a platform device/driver
authorArd Biesheuvel <ardb@kernel.org>
Mon, 9 Dec 2019 14:59:28 +0000 (15:59 +0100)
committerJens Wiklander <jens.wiklander@linaro.org>
Fri, 3 Jan 2020 08:26:40 +0000 (09:26 +0100)
commite53607a5a6dc8620479f87f56d36635d68929cf4
treee9321db7e3aff900efeddb0b694606bfabef6e38
parent498b47670c5ee1c0b4be596eefcfb035b76ac53e
optee: 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: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers/tee/optee/core.c