]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32mp15: remove hwlocks from pinctrl
authorEtienne Carriere <etienne.carriere@linaro.org>
Mon, 5 Sep 2022 09:15:28 +0000 (11:15 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 6 Sep 2022 13:40:14 +0000 (15:40 +0200)
Removes hwlocks properties from stm32mp151 pinctrl node. These locks
could be used for other purpose, depending on board and software
configuration hence do not enforce their use to protect pinctrl
devices.

This patch is an alignment with Linux device tree with v6.0 as the
hwsem support wasn’t yet added in pincontrol in kernel. It avoids
issues when the Linux kernel is started with the U-Boot device tree.

Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp151.dtsi

index a5ac62c83d3a2ebcb79eb39b7482cca3bf209bf7..767a06ef684308d59cbaef23f82384906349cdca 100644 (file)
                        ranges = <0 0x50002000 0xa400>;
                        interrupt-parent = <&exti>;
                        st,syscfg = <&exti 0x60 0xff>;
-                       hwlocks = <&hwspinlock 0>;
                        pins-are-numbered;
 
                        gpioa: gpio@50002000 {
                        pins-are-numbered;
                        interrupt-parent = <&exti>;
                        st,syscfg = <&exti 0x60 0xff>;
-                       hwlocks = <&hwspinlock 0>;
 
                        gpioz: gpio@54004000 {
                                gpio-controller;