* [PATCH v1 0/2] add support of stm32mp157f-dk2 board
@ 2025-05-24 10:03 Himanshu Bhavani
2025-05-24 10:03 ` [PATCH v1 1/2] ARM: dts: stm32: " Himanshu Bhavani
2025-05-24 10:03 ` [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible Himanshu Bhavani
0 siblings, 2 replies; 7+ messages in thread
From: Himanshu Bhavani @ 2025-05-24 10:03 UTC (permalink / raw)
To: alexandre.torgue, amelie.delaunay
Cc: Himanshu Bhavani, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Oleksij Rempel, Marc Kleine-Budde,
Leonard Göhrs, Marek Vasut, Roan van Dijk, David Jander,
devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Himanshu Bhavani (2):
ARM: dts: stm32: add support of stm32mp157f-dk2 board
dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible
.../devicetree/bindings/arm/stm32/stm32.yaml | 1 +
arch/arm/boot/dts/st/stm32mp157f-dk2.dts | 15 +++++++++++++++
2 files changed, 16 insertions(+)
create mode 100644 arch/arm/boot/dts/st/stm32mp157f-dk2.dts
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 1/2] ARM: dts: stm32: add support of stm32mp157f-dk2 board
2025-05-24 10:03 [PATCH v1 0/2] add support of stm32mp157f-dk2 board Himanshu Bhavani
@ 2025-05-24 10:03 ` Himanshu Bhavani
2025-05-26 7:27 ` Alexandre TORGUE
2025-05-24 10:03 ` [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible Himanshu Bhavani
1 sibling, 1 reply; 7+ messages in thread
From: Himanshu Bhavani @ 2025-05-24 10:03 UTC (permalink / raw)
To: alexandre.torgue, amelie.delaunay
Cc: Himanshu Bhavani, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Oleksij Rempel, Marc Kleine-Budde,
Leonard Göhrs, Marek Vasut, David Jander, Roan van Dijk,
devicetree, linux-stm32, linux-arm-kernel, linux-kernel
STM32MP157F is similar to the STM32MP157C, so reuse the existing
stm32mp157c-dk2.dts as a base for the STM32MP157F-DK2 board.
Datasheet: https://www.st.com/resource/en/data_brief/stm32mp157f-dk2.pdf
Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
---
arch/arm/boot/dts/st/Makefile | 3 ++-
arch/arm/boot/dts/st/stm32mp157f-dk2.dts | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/st/stm32mp157f-dk2.dts
diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
index 60d55516f723..38179638e5eb 100644
--- a/arch/arm/boot/dts/st/Makefile
+++ b/arch/arm/boot/dts/st/Makefile
@@ -70,7 +70,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
stm32mp157c-lxa-tac-gen2.dtb \
stm32mp157c-odyssey.dtb \
stm32mp157c-osd32mp1-red.dtb \
- stm32mp157c-phycore-stm32mp1-3.dtb
+ stm32mp157c-phycore-stm32mp1-3.dtb \
+ stm32mp157f-dk2.dtb
dtb-$(CONFIG_ARCH_U8500) += \
ste-snowball.dtb \
ste-hrefprev60-stuib.dtb \
diff --git a/arch/arm/boot/dts/st/stm32mp157f-dk2.dts b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
new file mode 100644
index 000000000000..ab406b2c44c1
--- /dev/null
+++ b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
+/*
+ * Copyright (C) 2025 Silicon Signals Pvt. Ltd.
+ *
+ * Author: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
+ */
+
+/dts-v1/;
+
+#include "stm32mp157c-dk2.dts"
+
+/ {
+ model = "STMicroelectronics STM32MP157F-DK2 Discovery Board";
+ compatible = "st,stm32mp157f-dk2", "st,stm32mp157";
+};
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible
2025-05-24 10:03 [PATCH v1 0/2] add support of stm32mp157f-dk2 board Himanshu Bhavani
2025-05-24 10:03 ` [PATCH v1 1/2] ARM: dts: stm32: " Himanshu Bhavani
@ 2025-05-24 10:03 ` Himanshu Bhavani
2025-05-26 15:26 ` Conor Dooley
1 sibling, 1 reply; 7+ messages in thread
From: Himanshu Bhavani @ 2025-05-24 10:03 UTC (permalink / raw)
To: alexandre.torgue, amelie.delaunay
Cc: Himanshu Bhavani, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin, Oleksij Rempel, Leonard Göhrs, Marek Vasut,
Marc Kleine-Budde, Roan van Dijk, David Jander, devicetree,
linux-stm32, linux-arm-kernel, linux-kernel
Add the "st,stm32mp157f-dk2" compatible string to the STM32 SoC
bindings. The MP157F is functionally similar to the MP157C.
Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
---
Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 5fee2f38ff25..ddc9310e7d26 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -117,6 +117,7 @@ properties:
- st,stm32mp157a-dk1-scmi
- st,stm32mp157c-dk2
- st,stm32mp157c-dk2-scmi
+ - st,stm32mp157f-dk2
- const: st,stm32mp157
- items:
--
2.34.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/2] ARM: dts: stm32: add support of stm32mp157f-dk2 board
2025-05-24 10:03 ` [PATCH v1 1/2] ARM: dts: stm32: " Himanshu Bhavani
@ 2025-05-26 7:27 ` Alexandre TORGUE
2025-05-27 6:36 ` Himanshu Bhavani
0 siblings, 1 reply; 7+ messages in thread
From: Alexandre TORGUE @ 2025-05-26 7:27 UTC (permalink / raw)
To: Himanshu Bhavani, amelie.delaunay
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Oleksij Rempel, Marc Kleine-Budde, Leonard Göhrs,
Marek Vasut, David Jander, Roan van Dijk, devicetree, linux-stm32,
linux-arm-kernel, linux-kernel
Hi Himanshu
On 5/24/25 12:03, Himanshu Bhavani wrote:
> STM32MP157F is similar to the STM32MP157C, so reuse the existing
> stm32mp157c-dk2.dts as a base for the STM32MP157F-DK2 board.
>
> Datasheet: https://www.st.com/resource/en/data_brief/stm32mp157f-dk2.pdf
> Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
> ---
> arch/arm/boot/dts/st/Makefile | 3 ++-
> arch/arm/boot/dts/st/stm32mp157f-dk2.dts | 15 +++++++++++++++
> 2 files changed, 17 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/boot/dts/st/stm32mp157f-dk2.dts
>
> diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
> index 60d55516f723..38179638e5eb 100644
> --- a/arch/arm/boot/dts/st/Makefile
> +++ b/arch/arm/boot/dts/st/Makefile
> @@ -70,7 +70,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
> stm32mp157c-lxa-tac-gen2.dtb \
> stm32mp157c-odyssey.dtb \
> stm32mp157c-osd32mp1-red.dtb \
> - stm32mp157c-phycore-stm32mp1-3.dtb
> + stm32mp157c-phycore-stm32mp1-3.dtb \
> + stm32mp157f-dk2.dtb
> dtb-$(CONFIG_ARCH_U8500) += \
> ste-snowball.dtb \
> ste-hrefprev60-stuib.dtb \
> diff --git a/arch/arm/boot/dts/st/stm32mp157f-dk2.dts b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
> new file mode 100644
> index 000000000000..ab406b2c44c1
> --- /dev/null
> +++ b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
> @@ -0,0 +1,15 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
> +/*
> + * Copyright (C) 2025 Silicon Signals Pvt. Ltd.
> + *
> + * Author: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
> + */
> +
> +/dts-v1/;
> +
> +#include "stm32mp157c-dk2.dts"
In this case what is the aim of this series if you just use stm32mp157C
devicetree ?
ST people (mainly Amélie) are preparing a full support of
STM32MP157F-DK2 leveraging the F variant compare to the C variant.
Series will be sent this week.
Regards
Alex
> +
> +/ {
> + model = "STMicroelectronics STM32MP157F-DK2 Discovery Board";
> + compatible = "st,stm32mp157f-dk2", "st,stm32mp157";
> +};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible
2025-05-24 10:03 ` [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible Himanshu Bhavani
@ 2025-05-26 15:26 ` Conor Dooley
0 siblings, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2025-05-26 15:26 UTC (permalink / raw)
To: Himanshu Bhavani
Cc: alexandre.torgue, amelie.delaunay, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Oleksij Rempel, Leonard Göhrs, Marek Vasut,
Marc Kleine-Budde, Roan van Dijk, David Jander, devicetree,
linux-stm32, linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
On Sat, May 24, 2025 at 03:33:14PM +0530, Himanshu Bhavani wrote:
> Add the "st,stm32mp157f-dk2" compatible string to the STM32 SoC
> bindings. The MP157F is functionally similar to the MP157C.
>
> Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/2] ARM: dts: stm32: add support of stm32mp157f-dk2 board
2025-05-26 7:27 ` Alexandre TORGUE
@ 2025-05-27 6:36 ` Himanshu Bhavani
2025-05-27 15:18 ` Alexandre TORGUE
0 siblings, 1 reply; 7+ messages in thread
From: Himanshu Bhavani @ 2025-05-27 6:36 UTC (permalink / raw)
To: Alexandre TORGUE, amelie.delaunay@foss.st.com
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Oleksij Rempel, Marc Kleine-Budde, Leonard Göhrs,
Marek Vasut, David Jander, Roan van Dijk,
devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Hi Alexandre,
> Hi Himanshu
>
> On 5/24/25 12:03, Himanshu Bhavani wrote:
> > STM32MP157F is similar to the STM32MP157C, so reuse the existing
> > stm32mp157c-dk2.dts as a base for the STM32MP157F-DK2 board.
> >
> > Datasheet: https://www.st.com/resource/en/data_brief/stm32mp157f-dk2.pdf
> > Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
> > ---
> > arch/arm/boot/dts/st/Makefile | 3 ++-
> > arch/arm/boot/dts/st/stm32mp157f-dk2.dts | 15 +++++++++++++++
> > 2 files changed, 17 insertions(+), 1 deletion(-)
> > create mode 100644 arch/arm/boot/dts/st/stm32mp157f-dk2.dts
> >
> > diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
> > index 60d55516f723..38179638e5eb 100644
> > --- a/arch/arm/boot/dts/st/Makefile
> > +++ b/arch/arm/boot/dts/st/Makefile
> > @@ -70,7 +70,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
> > stm32mp157c-lxa-tac-gen2.dtb \
> > stm32mp157c-odyssey.dtb \
> > stm32mp157c-osd32mp1-red.dtb \
> > - stm32mp157c-phycore-stm32mp1-3.dtb
> > + stm32mp157c-phycore-stm32mp1-3.dtb \
> > + stm32mp157f-dk2.dtb
> > dtb-$(CONFIG_ARCH_U8500) += \
> > ste-snowball.dtb \
> > ste-hrefprev60-stuib.dtb \
> > diff --git a/arch/arm/boot/dts/st/stm32mp157f-dk2.dts b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
> > new file mode 100644
> > index 000000000000..ab406b2c44c1
> > --- /dev/null
> > +++ b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
> > @@ -0,0 +1,15 @@
> > +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
> > +/*
> > + * Copyright (C) 2025 Silicon Signals Pvt. Ltd.
> > + *
> > + * Author: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
> > + */
> > +
> > +/dts-v1/;
> > +
> > +#include "stm32mp157c-dk2.dts"
>
> In this case what is the aim of this series if you just use stm32mp157C
> devicetree ?
This patch series aims to add support for the STM32MP157F board device
tree. The primary motivation is to ensure that users working with the
STM32MP157F variant have a reference DTS available. Currently, no such
device tree exists, even though the STM32MP157F and STM32MP157C are
largely similar.
> ST people (mainly Amélie) are preparing a full support of
> STM32MP157F-DK2 leveraging the F variant compare to the C variant.
> Series will be sent this week.
If ST is working on a dedicated DTS for the F variant, it's likely they are starting
from the C variant as a base, this is exactly the approach I’ve taken here. At this
stage, I have not included an SCMI-based version of the board since it hasn't
been tested yet.
Please let me know if you have any further suggestions.
Best Regards,
Himanshu
> Regards
> Alex
>
> > +
> > +/ {
> > + model = "STMicroelectronics STM32MP157F-DK2 Discovery Board";
> > + compatible = "st,stm32mp157f-dk2", "st,stm32mp157";
> > +};
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/2] ARM: dts: stm32: add support of stm32mp157f-dk2 board
2025-05-27 6:36 ` Himanshu Bhavani
@ 2025-05-27 15:18 ` Alexandre TORGUE
0 siblings, 0 replies; 7+ messages in thread
From: Alexandre TORGUE @ 2025-05-27 15:18 UTC (permalink / raw)
To: Himanshu Bhavani, amelie.delaunay@foss.st.com
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Oleksij Rempel, Marc Kleine-Budde, Leonard Göhrs,
Marek Vasut, David Jander, Roan van Dijk,
devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Hi Himanshu
On 5/27/25 08:36, Himanshu Bhavani wrote:
> Hi Alexandre,
>
>> Hi Himanshu
>>
>> On 5/24/25 12:03, Himanshu Bhavani wrote:
>>> STM32MP157F is similar to the STM32MP157C, so reuse the existing
>>> stm32mp157c-dk2.dts as a base for the STM32MP157F-DK2 board.
>>>
>>> Datasheet: https://www.st.com/resource/en/data_brief/stm32mp157f-dk2.pdf
>>> Signed-off-by: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
>>> ---
>>> arch/arm/boot/dts/st/Makefile | 3 ++-
>>> arch/arm/boot/dts/st/stm32mp157f-dk2.dts | 15 +++++++++++++++
>>> 2 files changed, 17 insertions(+), 1 deletion(-)
>>> create mode 100644 arch/arm/boot/dts/st/stm32mp157f-dk2.dts
>>>
>>> diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
>>> index 60d55516f723..38179638e5eb 100644
>>> --- a/arch/arm/boot/dts/st/Makefile
>>> +++ b/arch/arm/boot/dts/st/Makefile
>>> @@ -70,7 +70,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
>>> stm32mp157c-lxa-tac-gen2.dtb \
>>> stm32mp157c-odyssey.dtb \
>>> stm32mp157c-osd32mp1-red.dtb \
>>> - stm32mp157c-phycore-stm32mp1-3.dtb
>>> + stm32mp157c-phycore-stm32mp1-3.dtb \
>>> + stm32mp157f-dk2.dtb
>>> dtb-$(CONFIG_ARCH_U8500) += \
>>> ste-snowball.dtb \
>>> ste-hrefprev60-stuib.dtb \
>>> diff --git a/arch/arm/boot/dts/st/stm32mp157f-dk2.dts b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
>>> new file mode 100644
>>> index 000000000000..ab406b2c44c1
>>> --- /dev/null
>>> +++ b/arch/arm/boot/dts/st/stm32mp157f-dk2.dts
>>> @@ -0,0 +1,15 @@
>>> +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
>>> +/*
>>> + * Copyright (C) 2025 Silicon Signals Pvt. Ltd.
>>> + *
>>> + * Author: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
>>> + */
>>> +
>>> +/dts-v1/;
>>> +
>>> +#include "stm32mp157c-dk2.dts"
>>
>> In this case what is the aim of this series if you just use stm32mp157C
>> devicetree ?
>
> This patch series aims to add support for the STM32MP157F board device
> tree. The primary motivation is to ensure that users working with the
> STM32MP157F variant have a reference DTS available. Currently, no such
> device tree exists, even though the STM32MP157F and STM32MP157C are
> largely similar.
>
>> ST people (mainly Amélie) are preparing a full support of
>> STM32MP157F-DK2 leveraging the F variant compare to the C variant.
>> Series will be sent this week.
>
> If ST is working on a dedicated DTS for the F variant, it's likely they are starting
> from the C variant as a base, this is exactly the approach I’ve taken here. At this
> stage, I have not included an SCMI-based version of the board since it hasn't
> been tested yet.
Please have a look on:
https://lore.kernel.org/all/20250527-stm32mp157f-dk2-v1-0-8aef885a4928@foss.st.com/
The idea is to have the same approach than for STM32MP13 and STM32MP25
relying on SCMI and preparing the add of F variant feature: DVFS/cpufreq.
regards
alex
> Please let me know if you have any further suggestions.
>
>
> Best Regards,
> Himanshu
>
>> Regards
>> Alex
>>
>>> +
>>> +/ {
>>> + model = "STMicroelectronics STM32MP157F-DK2 Discovery Board";
>>> + compatible = "st,stm32mp157f-dk2", "st,stm32mp157";
>>> +};
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-05-27 15:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-24 10:03 [PATCH v1 0/2] add support of stm32mp157f-dk2 board Himanshu Bhavani
2025-05-24 10:03 ` [PATCH v1 1/2] ARM: dts: stm32: " Himanshu Bhavani
2025-05-26 7:27 ` Alexandre TORGUE
2025-05-27 6:36 ` Himanshu Bhavani
2025-05-27 15:18 ` Alexandre TORGUE
2025-05-24 10:03 ` [PATCH v1 2/2] dt-bindings: arm: stm32: add STM32MP157F-DK2 board compatible Himanshu Bhavani
2025-05-26 15:26 ` Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).