commit | 9a28dbc4fc1ac3a923ecbc149236432e86a1d794 | [log] [tgz] |
---|---|---|
author | Clément Léger <clement.leger@bootlin.com> | Mon Dec 19 16:46:20 2022 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Mar 14 15:55:45 2023 +0100 |
tree | bf6cff0738965a73a5245fcda6ad856daa72288e | |
parent | 0db2982068aa66a20d041a4aadb43d4d18de6265 [diff] |
plat-sam: matrix: add matrix_dt_get_id() to parse matrix id from dt Rather than using hardcoded values for matrix identifier in drivers themselves, (which might change in future hardware SoC), add matrix_dt_get_id() function which allows to retrieve the ID based on a devite-tree node reg property. This property contains the address of the peripheral and thus can be used to match the address with an identifier. This is also useful for peripheral which have multiple instances and thus id is not the same for all of them. Signed-off-by: Clément Léger <clement.leger@bootlin.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers