]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: stm32: don't mix SCMI and non-SCMI board compatibles
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Wed, 22 Nov 2023 18:52:34 +0000 (19:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:44:52 +0000 (15:44 -0800)
[ Upstream commit bfc3c6743de0ecb169026c36cbdbc0d12d22a528 ]

The binding erroneously decreed that the SCMI variants of the ST
evaluation kits are compatible with the non-SCMI variants.

This is not correct, as a kernel or bootloader compatible with the non-SCMI
variant is not necessarily able to function, when direct access
to resources is replaced by having to talk SCMI to the secure monitor.

The binding has been adjusted to reflect thus, so synchronize the device
trees now.

Fixes: 5b7e58313a77 ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/st/stm32mp157a-dk1-scmi.dts
arch/arm/boot/dts/st/stm32mp157c-dk2-scmi.dts
arch/arm/boot/dts/st/stm32mp157c-ed1-scmi.dts
arch/arm/boot/dts/st/stm32mp157c-ev1-scmi.dts

index afcd6285890cc0dad551573a83b81decb8ae459a..c27963898b5e6c8d6599937afdec47d42d7d2a2c 100644 (file)
@@ -11,7 +11,7 @@
 
 / {
        model = "STMicroelectronics STM32MP157A-DK1 SCMI Discovery Board";
-       compatible = "st,stm32mp157a-dk1-scmi", "st,stm32mp157a-dk1", "st,stm32mp157";
+       compatible = "st,stm32mp157a-dk1-scmi", "st,stm32mp157";
 
        reserved-memory {
                optee@de000000 {
index 39358d9020003153e9c3ba1a523675a6118d81be..62261894313407454b77158d6d201215a7352611 100644 (file)
@@ -11,7 +11,7 @@
 
 / {
        model = "STMicroelectronics STM32MP157C-DK2 SCMI Discovery Board";
-       compatible = "st,stm32mp157c-dk2-scmi", "st,stm32mp157c-dk2", "st,stm32mp157";
+       compatible = "st,stm32mp157c-dk2-scmi", "st,stm32mp157";
 
        reserved-memory {
                optee@de000000 {
index 07ea765a4553a5f6a21ed498b8412bd5cfb3dd18..c7c4d7e89d612368ea53c7b98a93df3440c59f54 100644 (file)
@@ -11,7 +11,7 @@
 
 / {
        model = "STMicroelectronics STM32MP157C-ED1 SCMI eval daughter";
-       compatible = "st,stm32mp157c-ed1-scmi", "st,stm32mp157c-ed1", "st,stm32mp157";
+       compatible = "st,stm32mp157c-ed1-scmi", "st,stm32mp157";
 
        reserved-memory {
                optee@fe000000 {
index 813086ec248959295707f0b26dabc8c77f62c10c..2ab77e64f1bbb91cfac8af73afcfd80976f1be04 100644 (file)
@@ -11,8 +11,7 @@
 
 / {
        model = "STMicroelectronics STM32MP157C-EV1 SCMI eval daughter on eval mother";
-       compatible = "st,stm32mp157c-ev1-scmi", "st,stm32mp157c-ev1", "st,stm32mp157c-ed1",
-                    "st,stm32mp157";
+       compatible = "st,stm32mp157c-ev1-scmi", "st,stm32mp157c-ed1", "st,stm32mp157";
 
        reserved-memory {
                optee@fe000000 {