On 31/12/2021 21:18, Bjorn Andersson wrote:
Unfortunately I don't know how to determine the list of protected GPIOs,
other than trial and error.
But once you have the list, you can use "gpio-reserved-ranges" (a series
of offset, count pairs) in the TLMM DT node to mark off these gpios as
reserved.
Ah nice, worked first time.
gpio-reserved-ranges = <20 4>;
Well I guess its good to know there's no more esoteric explanation than
"trustzone made it explode" - it only seems to be the one GPIO too,
quite what use there is for TZ in this GPIO
PINGROUP(20, pwm20, atest_char2, _, _, _, _, _, _, _)
is anybody's guess.
Good enough for my purposes.
Thanks !
---
bod