diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2018-11-27 13:49:53 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-06 23:26:33 -0500 |
commit | 075b0185b6e785f08391802dccd3293ce8517a93 (patch) | |
tree | 333c02ed92fa0912bf2a5cfed7256e049292e5f1 /arch/arm/dts | |
parent | 9119f547d3e9b9f488055b90572a8ff83125b3e2 (diff) |
pinctrl: stm32: make pinctrl use hwspinlock
Protect configuration registers with a hardware spinlock.
If a hwspinlock is defined in the device-tree node used it
to be sure that none of the others processors on the SoC could
change the configuration at the same time.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/stm32mp157c-ed1.dts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157c-ed1.dts b/arch/arm/dts/stm32mp157c-ed1.dts index fc277dd7d2..7a9b742d36 100644 --- a/arch/arm/dts/stm32mp157c-ed1.dts +++ b/arch/arm/dts/stm32mp157c-ed1.dts @@ -369,6 +369,10 @@ status = "okay"; }; +&pinctrl { + hwlocks = <&hwspinlock 0>; +}; + &usbphyc_port0 { phy-supply = <&vdd_usb>; vdda1v1-supply = <®11>; |