[PATCH] pinctrl: stm32: prevent the use of the secure protected pins
Linus Walleij
linus.walleij at linaro.org
Wed May 4 15:04:26 PDT 2022
On Mon, May 2, 2022 at 5:31 PM Fabien Dessenne
<fabien.dessenne at foss.st.com> 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 at foss.st.com>
Patch applied!
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list