Re: [PATCH] pinctrl: stm32: prevent the use of the secure protected pins
From: Linus Walleij
Date: Wed May 04 2022 - 18:04:44 EST
On Mon, May 2, 2022 at 5:31 PM Fabien Dessenne
<fabien.dessenne@xxxxxxxxxxx> wrote:
> The hardware denies any access from the Linux non-secure world to the
> secure-protected pins. Hence, prevent any driver to request such a pin.
>
> Mark the secure-protected GPIO lines as invalid (.init_valid_mask) and
> prevent the pinmux request / pinconf setting operations.
> Identify the secure pins with "NO ACCESS" in the pinconf sysfs.
>
> Signed-off-by: Fabien Dessenne <fabien.dessenne@xxxxxxxxxxx>
Patch applied!
Yours,
Linus Walleij