stm32: q/o/x-spi bindings generate dtc warnings #88404
Labels
area: OSPI
Octo SPI
area: QSPI
Quad SPI
bug
The issue is a bug, or the PR is fixing a bug
platform: STM32
ST Micro STM32
priority: medium
Medium impact/importance bug
Milestone
Is your enhancement proposal related to a problem? Please describe.
Current STM32 Q/O/X-SPI bindings is not following device tree specification and since #76735 a warning is generated when building platforms enabling Q/O/X-SPI nodes:
This is because we don't respect a device tree (dtc check which is the de facto specification) which states that reg and sizes of SPI devices (nodes sitting on a SPI bus), should be defined as:
ie
#size-cells = <0>;
On STM32 SoCs, we're defining them as:
ie
#size-cells = <1>;
. This design was adopted in #68274 which was approved by subsytem maintainer at that time.Describe the solution you'd like
Review STM32 Q/O/X-SPI devices binding to comply with dts spec and do the same as others socs description vendors, where address is defined in bus node:
and first two cells are address/size of the controller and last two cells are addressable address/size
The text was updated successfully, but these errors were encountered: