]> 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)
commit3a8ff01e52e2660ed7119b36f7a96e945fd4d61e
treee9321db7e3aff900efeddb0b694606bfabef6e38
parent18ca123f6ebe35a17ec03d9d706c2e230bcf298a
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