soc.lore.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Add STM32MP25 support
@ 2023-05-29 16:01 Alexandre Torgue
  2023-05-29 16:27 ` Alexandre TORGUE
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Torgue @ 2023-05-29 16:01 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, Conor Dooley, Linus Walleij,
	Catalin Marinas, Will Deacon, Arnd Bergmann, Olof Johansson, soc
  Cc: linux-arm-kernel, devicetree, Alexandre Torgue, linux-stm32,
	linux-kernel, linux-gpio

I'm pleased to announce extension of the STM32 MPU family with the addition of
the STM32MP25 Armv8 based SoCs.

STM32MP25 family is composed of 4 SoCs defined as following:

  -STM32MP251: common part composed of 1*Cortex-A35, common peripherals like
   SDMMC, UART, SPI, I2C, PCIe, USB3, parallel and DSI display, 1*ETH ...

  -STM32MP253: STM32MP251 + 1*Cortex-A35 (dual CPU), a second ETH, CAN-FD and
   LVDS display.

  -STM32MP255: STM32MP253 + GPU/AI and video encode/decode.
  -STM32MP257: STM32MP255 + ETH TSN switch (2+1 ports).

  A second diversity layer exists for security features/ A35 frequency:
  -STM32MP25xY, "Y" gives information:
    -Y = A means A35@1.2GHz + no cryp IP and no secure boot.
    -Y = C means A35@1.2GHz + cryp IP and secure boot.
    -Y = D means A35@1.5GHz + no cryp IP and no secure boot.
    -Y = F means A35@1.5GHz + cryp IP and secure boot.

This series adds the STM32MP257F EV1 board support. This board embeds a
STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA,
1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ...

Thanks
Alex

Alexandre Torgue (10):
  dt-bindings: pinctrl: stm32: support for stm32mp257 and additional
    packages
  pinctrl: stm32: add stm32mp257 pinctrl support
  dt-bindings: stm32: add st,stm32mp25 compatibles to the stm32 family
  arm64: introduce STM32 family on Armv8 architecture
  arm64: dts: st: introduce stm32mp25 SoCs family
  arm64: dts: st: introduce stm32mp25 pinctrl files
  dt-bindings: stm32: document stm32mp257f-ev1 board
  arm64: dts: st: add stm32mp257f-ev1 board support
  arm64: defconfig: enable ARCH_STM32 and STM32 serial driver
  MAINTAINERS: add entry for ARM/STM32 ARCHITECTURE

Patrick Delaunay (1):
  dt-bindings: stm32: add st,stm32mp25-syscfg compatible for syscon

 .../bindings/arm/stm32/st,stm32-syscon.yaml   |    1 +
 .../devicetree/bindings/arm/stm32/stm32.yaml  |   12 +
 .../bindings/pinctrl/st,stm32-pinctrl.yaml    |    4 +-
 MAINTAINERS                                   |    1 +
 arch/arm64/Kconfig.platforms                  |   14 +
 arch/arm64/boot/dts/Makefile                  |    1 +
 arch/arm64/boot/dts/st/Makefile               |    2 +
 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   38 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi        |  279 ++
 arch/arm64/boot/dts/st/stm32mp253.dtsi        |   23 +
 arch/arm64/boot/dts/st/stm32mp255.dtsi        |    9 +
 arch/arm64/boot/dts/st/stm32mp257.dtsi        |    9 +
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |   50 +
 arch/arm64/boot/dts/st/stm32mp25xc.dtsi       |    8 +
 arch/arm64/boot/dts/st/stm32mp25xf.dtsi       |    8 +
 .../boot/dts/st/stm32mp25xxai-pinctrl.dtsi    |   83 +
 .../boot/dts/st/stm32mp25xxak-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp25xxal-pinctrl.dtsi    |   71 +
 arch/arm64/configs/defconfig                  |    3 +
 drivers/pinctrl/stm32/Kconfig                 |    6 +
 drivers/pinctrl/stm32/Makefile                |    1 +
 drivers/pinctrl/stm32/pinctrl-stm32.h         |    3 +
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c    | 2581 +++++++++++++++++
 include/dt-bindings/pinctrl/stm32-pinfunc.h   |    3 +
 24 files changed, 3280 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/st/Makefile
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp251.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp253.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp255.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xc.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xf.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxai-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxak-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxal-pinctrl.dtsi
 create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp257.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 00/11] Add STM32MP25 support
  2023-05-29 16:01 [PATCH 00/11] Add STM32MP25 support Alexandre Torgue
@ 2023-05-29 16:27 ` Alexandre TORGUE
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre TORGUE @ 2023-05-29 16:27 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, Conor Dooley, Linus Walleij,
	Catalin Marinas, Will Deacon, Arnd Bergmann, Olof Johansson, soc
  Cc: linux-arm-kernel, devicetree, linux-stm32, linux-kernel, linux-gpio

Hi,

Please drop this mail, my mail server has crashed. The full series has 
been resend.

Alex

On 5/29/23 18:01, Alexandre Torgue wrote:
> I'm pleased to announce extension of the STM32 MPU family with the addition of
> the STM32MP25 Armv8 based SoCs.
> 
> STM32MP25 family is composed of 4 SoCs defined as following:
> 
>    -STM32MP251: common part composed of 1*Cortex-A35, common peripherals like
>     SDMMC, UART, SPI, I2C, PCIe, USB3, parallel and DSI display, 1*ETH ...
> 
>    -STM32MP253: STM32MP251 + 1*Cortex-A35 (dual CPU), a second ETH, CAN-FD and
>     LVDS display.
> 
>    -STM32MP255: STM32MP253 + GPU/AI and video encode/decode.
>    -STM32MP257: STM32MP255 + ETH TSN switch (2+1 ports).
> 
>    A second diversity layer exists for security features/ A35 frequency:
>    -STM32MP25xY, "Y" gives information:
>      -Y = A means A35@1.2GHz + no cryp IP and no secure boot.
>      -Y = C means A35@1.2GHz + cryp IP and secure boot.
>      -Y = D means A35@1.5GHz + no cryp IP and no secure boot.
>      -Y = F means A35@1.5GHz + cryp IP and secure boot.
> 
> This series adds the STM32MP257F EV1 board support. This board embeds a
> STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA,
> 1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ...
> 
> Thanks
> Alex
> 
> Alexandre Torgue (10):
>    dt-bindings: pinctrl: stm32: support for stm32mp257 and additional
>      packages
>    pinctrl: stm32: add stm32mp257 pinctrl support
>    dt-bindings: stm32: add st,stm32mp25 compatibles to the stm32 family
>    arm64: introduce STM32 family on Armv8 architecture
>    arm64: dts: st: introduce stm32mp25 SoCs family
>    arm64: dts: st: introduce stm32mp25 pinctrl files
>    dt-bindings: stm32: document stm32mp257f-ev1 board
>    arm64: dts: st: add stm32mp257f-ev1 board support
>    arm64: defconfig: enable ARCH_STM32 and STM32 serial driver
>    MAINTAINERS: add entry for ARM/STM32 ARCHITECTURE
> 
> Patrick Delaunay (1):
>    dt-bindings: stm32: add st,stm32mp25-syscfg compatible for syscon
> 
>   .../bindings/arm/stm32/st,stm32-syscon.yaml   |    1 +
>   .../devicetree/bindings/arm/stm32/stm32.yaml  |   12 +
>   .../bindings/pinctrl/st,stm32-pinctrl.yaml    |    4 +-
>   MAINTAINERS                                   |    1 +
>   arch/arm64/Kconfig.platforms                  |   14 +
>   arch/arm64/boot/dts/Makefile                  |    1 +
>   arch/arm64/boot/dts/st/Makefile               |    2 +
>   arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   38 +
>   arch/arm64/boot/dts/st/stm32mp251.dtsi        |  279 ++
>   arch/arm64/boot/dts/st/stm32mp253.dtsi        |   23 +
>   arch/arm64/boot/dts/st/stm32mp255.dtsi        |    9 +
>   arch/arm64/boot/dts/st/stm32mp257.dtsi        |    9 +
>   arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |   50 +
>   arch/arm64/boot/dts/st/stm32mp25xc.dtsi       |    8 +
>   arch/arm64/boot/dts/st/stm32mp25xf.dtsi       |    8 +
>   .../boot/dts/st/stm32mp25xxai-pinctrl.dtsi    |   83 +
>   .../boot/dts/st/stm32mp25xxak-pinctrl.dtsi    |   71 +
>   .../boot/dts/st/stm32mp25xxal-pinctrl.dtsi    |   71 +
>   arch/arm64/configs/defconfig                  |    3 +
>   drivers/pinctrl/stm32/Kconfig                 |    6 +
>   drivers/pinctrl/stm32/Makefile                |    1 +
>   drivers/pinctrl/stm32/pinctrl-stm32.h         |    3 +
>   drivers/pinctrl/stm32/pinctrl-stm32mp257.c    | 2581 +++++++++++++++++
>   include/dt-bindings/pinctrl/stm32-pinfunc.h   |    3 +
>   24 files changed, 3280 insertions(+), 1 deletion(-)
>   create mode 100644 arch/arm64/boot/dts/st/Makefile
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp251.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp253.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp255.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp257.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25xc.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25xf.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxai-pinctrl.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxak-pinctrl.dtsi
>   create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxal-pinctrl.dtsi
>   create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp257.c
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 00/11] Add STM32MP25 support
  2023-05-30 12:39 ` Linus Walleij
@ 2023-05-30 13:32   ` Alexandre TORGUE
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre TORGUE @ 2023-05-30 13:32 UTC (permalink / raw)
  To: Linus Walleij
  Cc: robh+dt, krzysztof.kozlowski+dt, Conor Dooley, Catalin Marinas,
	Will Deacon, Arnd Bergmann, Olof Johansson, soc,
	linux-arm-kernel, devicetree, linux-stm32, linux-kernel,
	linux-gpio

Hi Linus

On 5/30/23 14:39, Linus Walleij wrote:
> On Mon, May 29, 2023 at 6:20 PM Alexandre Torgue
> <alexandre.torgue@foss.st.com> wrote:
> 
>> Alexandre Torgue (10):
>>    dt-bindings: pinctrl: stm32: support for stm32mp257 and additional
>>      packages
>>    pinctrl: stm32: add stm32mp257 pinctrl support
> 
> Can patch 1 & 2 be applied to the pinctrl tree separately?

Yes please. I'll take others directly in my platform tree.

Thanks
Alex

> Yours,
> Linus Walleij


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 00/11] Add STM32MP25 support
  2023-05-29 16:20 Alexandre Torgue
@ 2023-05-30 12:39 ` Linus Walleij
  2023-05-30 13:32   ` Alexandre TORGUE
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Walleij @ 2023-05-30 12:39 UTC (permalink / raw)
  To: Alexandre Torgue
  Cc: robh+dt, krzysztof.kozlowski+dt, Conor Dooley, Catalin Marinas,
	Will Deacon, Arnd Bergmann, Olof Johansson, soc,
	linux-arm-kernel, devicetree, linux-stm32, linux-kernel,
	linux-gpio

On Mon, May 29, 2023 at 6:20 PM Alexandre Torgue
<alexandre.torgue@foss.st.com> wrote:

> Alexandre Torgue (10):
>   dt-bindings: pinctrl: stm32: support for stm32mp257 and additional
>     packages
>   pinctrl: stm32: add stm32mp257 pinctrl support

Can patch 1 & 2 be applied to the pinctrl tree separately?

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 00/11] Add STM32MP25 support
@ 2023-05-29 16:20 Alexandre Torgue
  2023-05-30 12:39 ` Linus Walleij
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Torgue @ 2023-05-29 16:20 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, Conor Dooley, Linus Walleij,
	Catalin Marinas, Will Deacon, Arnd Bergmann, Olof Johansson, soc
  Cc: linux-arm-kernel, devicetree, Alexandre Torgue, linux-stm32,
	linux-kernel, linux-gpio

I'm pleased to announce extension of the STM32 MPU family with the addition of
the STM32MP25 Armv8 based SoCs.

STM32MP25 family is composed of 4 SoCs defined as following:

  -STM32MP251: common part composed of 1*Cortex-A35, common peripherals like
   SDMMC, UART, SPI, I2C, PCIe, USB3, parallel and DSI display, 1*ETH ...

  -STM32MP253: STM32MP251 + 1*Cortex-A35 (dual CPU), a second ETH, CAN-FD and
   LVDS display.

  -STM32MP255: STM32MP253 + GPU/AI and video encode/decode.
  -STM32MP257: STM32MP255 + ETH TSN switch (2+1 ports).

  A second diversity layer exists for security features/ A35 frequency:
  -STM32MP25xY, "Y" gives information:
    -Y = A means A35@1.2GHz + no cryp IP and no secure boot.
    -Y = C means A35@1.2GHz + cryp IP and secure boot.
    -Y = D means A35@1.5GHz + no cryp IP and no secure boot.
    -Y = F means A35@1.5GHz + cryp IP and secure boot.

This series adds the STM32MP257F EV1 board support. This board embeds a
STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports), 2*USB typeA,
1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2 for power distribution ...

Thanks
Alex

Alexandre Torgue (10):
  dt-bindings: pinctrl: stm32: support for stm32mp257 and additional
    packages
  pinctrl: stm32: add stm32mp257 pinctrl support
  dt-bindings: stm32: add st,stm32mp25 compatibles to the stm32 family
  arm64: introduce STM32 family on Armv8 architecture
  arm64: dts: st: introduce stm32mp25 SoCs family
  arm64: dts: st: introduce stm32mp25 pinctrl files
  dt-bindings: stm32: document stm32mp257f-ev1 board
  arm64: dts: st: add stm32mp257f-ev1 board support
  arm64: defconfig: enable ARCH_STM32 and STM32 serial driver
  MAINTAINERS: add entry for ARM/STM32 ARCHITECTURE

Patrick Delaunay (1):
  dt-bindings: stm32: add st,stm32mp25-syscfg compatible for syscon

 .../bindings/arm/stm32/st,stm32-syscon.yaml   |    1 +
 .../devicetree/bindings/arm/stm32/stm32.yaml  |   12 +
 .../bindings/pinctrl/st,stm32-pinctrl.yaml    |    4 +-
 MAINTAINERS                                   |    1 +
 arch/arm64/Kconfig.platforms                  |   14 +
 arch/arm64/boot/dts/Makefile                  |    1 +
 arch/arm64/boot/dts/st/Makefile               |    2 +
 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   38 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi        |  279 ++
 arch/arm64/boot/dts/st/stm32mp253.dtsi        |   23 +
 arch/arm64/boot/dts/st/stm32mp255.dtsi        |    9 +
 arch/arm64/boot/dts/st/stm32mp257.dtsi        |    9 +
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |   50 +
 arch/arm64/boot/dts/st/stm32mp25xc.dtsi       |    8 +
 arch/arm64/boot/dts/st/stm32mp25xf.dtsi       |    8 +
 .../boot/dts/st/stm32mp25xxai-pinctrl.dtsi    |   83 +
 .../boot/dts/st/stm32mp25xxak-pinctrl.dtsi    |   71 +
 .../boot/dts/st/stm32mp25xxal-pinctrl.dtsi    |   71 +
 arch/arm64/configs/defconfig                  |    3 +
 drivers/pinctrl/stm32/Kconfig                 |    6 +
 drivers/pinctrl/stm32/Makefile                |    1 +
 drivers/pinctrl/stm32/pinctrl-stm32.h         |    3 +
 drivers/pinctrl/stm32/pinctrl-stm32mp257.c    | 2581 +++++++++++++++++
 include/dt-bindings/pinctrl/stm32-pinfunc.h   |    3 +
 24 files changed, 3280 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/st/Makefile
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp251.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp253.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp255.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xc.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xf.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxai-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxak-pinctrl.dtsi
 create mode 100644 arch/arm64/boot/dts/st/stm32mp25xxal-pinctrl.dtsi
 create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32mp257.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-30 13:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-29 16:01 [PATCH 00/11] Add STM32MP25 support Alexandre Torgue
2023-05-29 16:27 ` Alexandre TORGUE
2023-05-29 16:20 Alexandre Torgue
2023-05-30 12:39 ` Linus Walleij
2023-05-30 13:32   ` Alexandre TORGUE

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).