Skip to content

ARM: STM32: add art-pi(stm32h750xbh6) board support

[email protected] linux-arm-kernel linux-devicetree linux-doc linux-serial lkml 9 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest6 patches 2 repliesIn review
  2. v86 patches 6 repliesSuperseded
  3. v76 patches 3 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v67 of 9 patches1 replySuperseded
v57 of 9 patches2 repliesSuperseded
v47 of 9 patches2 repliesSuperseded
v39 patches10 repliesSuperseded
v28 patches3 repliesSuperseded
v18 patches22 repliesSuperseded

Changes in v9 from the cover letter

- move gpio{a..k} entries from stm32h7-pinctrl.dtsi to stm32h743.dtsi v8 link:
https://lore.kernel.org/lkml/[email protected]/

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Documentation: arm: stm32: Add stm32h750 value line docDocumentation/arm/index.rst Documentation/arm/stm32/stm32h750-overview.rst+35 -00 replies
2/6dt-bindings: arm: stm32: Add compatible strings for ART-PI boardDocumentation/devicetree/bindings/arm/stm32/stm32.yaml+4 -00 replies
3/6ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750arch/arm/boot/dts/stm32h7-pinctrl.dtsi arch/arm/boot/dts/stm32h743-pinctrl.dtsi arch/arm/boot/dts/stm32h743.dtsi +2 more+451 -3100 replies
4/6ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6arch/arm/boot/dts/Makefile arch/arm/boot/dts/stm32h750.dtsi arch/arm/boot/dts/stm32h750i-art-pi.dts+236 -00 replies
5/6ARM: stm32: Add a new SOC - STM32H750arch/arm/mach-stm32/board-dt.c+1 -00 replies
6/6dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'Documentation/devicetree/bindings/serial/st,stm32-uart.yaml+2 -10 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchRob HerringValentin Caron
1/6
2/6A-b
3/6
4/6
5/6
6/6R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/6] ARM: STM32: add art-pi(stm32h750xbh6) board support

From: dillon min <[email protected]>

This patchset intend to add art-pi board support, this board developed by rt-thread(https://www.rt-thread.org/).

Board resources:
8MiB QSPI flash
16MiB SPI flash
32MiB SDRAM
AP6212 wifi,bt,fm comb

sw context:
- as stm32h750 just has 128k bytes internal flash, so running a fw on internal flash to download u-boot/kernel to qspi flash, boot u-boot/kernel from qspi flash. this fw is based on rt-thread.
- kernel can be xip on qspi flash or load to sdram
- root filesystem is jffs2(created by buildroot), stored on spi flash

to support the boad, add following changes.
- fix r0-r3, r12 register restore failed after svc call,
- add dts binding
- update yaml doc

---
changes in v9:
- move gpio{a..k} entries from stm32h7-pinctrl.dtsi to stm32h743.dtsi v8 link:
https://lore.kernel.org/lkml/[email protected]/

changes in v8:
- drop '[PATCH v7 3/6] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750' - stm32h743-pinctrl.dtsi file
- move compatible string "st,stm32h743-pinctrl" from stm32h7-pinctrl.dtsi to stm32h743.dtsi
- update stm32h743i-{dico/eval}.dtsi to include stm32h7-pinctrl.dtsi
- move file stm32h743.dtsi submit position to [PATCH V8 3/6] v7 link:
https://lore.kernel.org/lkml/[email protected]/

changes in v7:
- remove changes in Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml Hi Rob Herring
as you has already ack this patch, please ignore it. thanks history link:
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
- remove "[PATCH v6 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support" remove "[PATCH v6 5/9] ARM: dts: stm32: add stm32h750-pinctrl.dtsi"
- reference to stm32h743-pinctrl.dtsi in stm32h750i-art-pi.dts v6 link:
https://lore.kernel.org/lkml/[email protected]/

changes in v6:
- add gpiox{gpio-ranges, ngpios} in stm32h7-pinctrl.dtsi
- add status="disabled" in stm32h743.dtsi

changes in v5:
- accroding to rob's suggestion, replace false with 'type: object' of 'additionalProperties'.
- add Tested-by: Valentin Caron <[email protected]>

changes in v4:
- use unevaluatedProperties: false to fix dtbs_check warrnings instead of add 'bluetooth' in st,stm32-uart.yaml

changes in v3:
- fix dtbs_check warrning: (8002cbd78fd5 and 4bc21d3dd678)

Quoted 1 line
Quoted 1 line

arch/arm/boot/dts/stm32h743i-eval.dt.yaml: soc: pin-controller:

     {'type': 'object'} is not allowed for {'#address-cells': [[1]], '#size-cells':
     [[1]], 'ranges': [[0,
Quoted 1 line
Quoted 1 line

arch/arm/boot/dts/stm32h743i-eval.dt.yaml: soc: 'i2c@40005C00',

     'i2c@58001C00' do not match any of the regexes: '@(0|[1-9a-f][0-9a-f]*)$',
     '^[^@]+$', 'pinctrl-[0-9]+'
Quoted 1 line
Quoted 1 line

arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800:

'bluetooth' does not match any of the regexes: 'pinctrl-[0-9]+'

changes in v2:
- reorganize the pinctrl device tree about stm32h7-pinctrl/stm32h743/750-pinctrl
stm32h7-pinctrl.dtsi --> stm32h743-pinctrl.dtsi --> stm32h743i-disco.dts

                         |                          |-> stm32h743i-eval.dts
                         |-> stm32h750-pinctrl.dtsi --> stm32h750i-art-pi.dts

same to the stm32f7/f4's pinctrl style
- fix author name/copyright mistake
- add compatible string st,stm32h750-pinctrl to pinctl-stm32h743.c as they have same pin alternate functions, update Kconfig description
- make item in stm32h750i-art-pi.dts sort by letter

*** BLURB HERE ***

dillon min (6):
Documentation: arm: stm32: Add stm32h750 value line doc
dt-bindings: arm: stm32: Add compatible strings for ART-PI board
ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750
ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6
ARM: stm32: Add a new SOC - STM32H750
dt-bindings: serial: stm32: Use 'type: object' instead of false for
'additionalProperties'

 Documentation/arm/index.rst                        |   1 +
 Documentation/arm/stm32/stm32h750-overview.rst     |  34 +++
 .../devicetree/bindings/arm/stm32/stm32.yaml       |   4 +
 .../devicetree/bindings/serial/st,stm32-uart.yaml  |   3 +-
 arch/arm/boot/dts/Makefile                         |   1 +
 arch/arm/boot/dts/stm32h7-pinctrl.dtsi             | 275 ++++++++++++++++++
 arch/arm/boot/dts/stm32h743-pinctrl.dtsi           | 306 ---------------------
 arch/arm/boot/dts/stm32h743.dtsi                   | 176 +++++++++++-
 arch/arm/boot/dts/stm32h743i-disco.dts             |   2 +-
 arch/arm/boot/dts/stm32h743i-eval.dts              |   2 +-
 arch/arm/boot/dts/stm32h750.dtsi                   |   6 +
 arch/arm/boot/dts/stm32h750i-art-pi.dts            | 229 +++++++++++++++
 arch/arm/mach-stm32/board-dt.c                     |   1 +
 13 files changed, 729 insertions(+), 311 deletions(-)
 create mode 100644 Documentation/arm/stm32/stm32h750-overview.rst
 create mode 100644 arch/arm/boot/dts/stm32h7-pinctrl.dtsi
 delete mode 100644 arch/arm/boot/dts/stm32h743-pinctrl.dtsi
 create mode 100644 arch/arm/boot/dts/stm32h750.dtsi
 create mode 100644 arch/arm/boot/dts/stm32h750i-art-pi.dts
Signature · 1 line
2.7.4