Skip to content

Commit

Permalink
spi: stm32: use SoC specific compatible
Browse files Browse the repository at this point in the history
This patch replaces st,stm32-spi compatible with st,stm32h7-spi SoC
specific compatible and updates the example accondingly.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Amelie Delaunay authored and Mark Brown committed Jun 28, 2017
1 parent a2f07d3 commit 567300d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/spi/spi-stm32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from 4 to 32-bit data size. Although it can be configured as master or slave,
only master is supported by the driver.

Required properties:
- compatible: Must be "st,stm32-spi".
- compatible: Must be "st,stm32h7-spi".
- reg: Offset and length of the device's register set.
- interrupts: Must contain the interrupt id.
- clocks: Must contain an entry for spiclk (which feeds the internal clock
Expand Down Expand Up @@ -38,7 +38,7 @@ Example:
spi2: spi@40003800 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "st,stm32-spi";
compatible = "st,stm32h7-spi";
reg = <0x40003800 0x400>;
interrupts = <36>;
clocks = <&rcc SPI2_CK>;
Expand Down

0 comments on commit 567300d

Please sign in to comment.