linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] allow optee to be exposed on ACPI systems
@ 2018-12-27 19:01 Ard Biesheuvel
  2018-12-27 19:01 ` [RFC PATCH 1/2] optee: model OP-TEE as a platform device/driver Ard Biesheuvel
  2018-12-27 19:01 ` [RFC PATCH 2/2] optee: add ACPI support Ard Biesheuvel
  0 siblings, 2 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2018-12-27 19:01 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sumit Garg, Graeme Gregory, Jerome Forissier, Ard Biesheuvel,
	linux-kernel, Jens Wiklander

Similar to how OP-TEE is exposed as a pseudo device under /firmware/optee
on DT systems, permit OP-TEE presence to be exposed via a device object
in the ACPI namespace. This makes it possible to model the OP-TEE interface
as a platform device gets instantiated automatically both on DT and ACPI
systems, and implement the driver as a platform driver that is able to
use the generic device properties API to access the 'method' attribute
as well as potential future extensions to the binding that introduce
new attributes.

What remains to be discussed is how to expose OP-TEE pseudo devices,
e.g., Sumit's RNG implementation on SynQuacer which we would like to
bind a Linux driver to.

Cc: Jens Wiklander <jens.wiklander@linaro.org>
Cc: Sumit Garg <sumit.garg@linaro.org>
Cc: Graeme Gregory <graeme.gregory@linaro.org>
Cc: Jerome Forissier <jerome.forissier@linaro.org>

Ard Biesheuvel (2):
  optee: model OP-TEE as a platform device/driver
  optee: add ACPI support

 drivers/tee/optee/core.c | 94 +++++++++-----------
 1 file changed, 41 insertions(+), 53 deletions(-)

-- 
2.19.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-27 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-27 19:01 [RFC PATCH 0/2] allow optee to be exposed on ACPI systems Ard Biesheuvel
2018-12-27 19:01 ` [RFC PATCH 1/2] optee: model OP-TEE as a platform device/driver Ard Biesheuvel
2018-12-27 19:01 ` [RFC PATCH 2/2] optee: add ACPI support Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).