Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Arm: dts: stm32: remove extra compatible string for uart

This patch removes the extra compatibility string "st,stm32-usart" to
avoid confusion, save some time & space.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Vikas Manocha and committed by
Greg Kroah-Hartman
0dc262f4 ea04f82a

+4 -8
+1 -1
Documentation/devicetree/bindings/dma/stm32-dma.txt
··· 71 71 Example: 72 72 73 73 usart1: serial@40011000 { 74 - compatible = "st,stm32-usart", "st,stm32-uart"; 74 + compatible = "st,stm32-uart"; 75 75 reg = <0x40011000 0x400>; 76 76 interrupts = <37>; 77 77 clocks = <&clk_pclk2>;
+3 -7
Documentation/devicetree/bindings/serial/st,stm32-usart.txt
··· 2 2 3 3 Required properties: 4 4 - compatible: can be either: 5 - - "st,stm32-usart", 6 5 - "st,stm32-uart", 7 - - "st,stm32f7-usart", 8 6 - "st,stm32f7-uart", 9 - - "st,stm32h7-usart" 10 7 - "st,stm32h7-uart". 11 - depending on whether the device supports synchronous mode 12 - and is compatible with stm32(f4), stm32f7 or stm32h7. 8 + depending is compatible with stm32(f4), stm32f7 or stm32h7. 13 9 - reg: The address and length of the peripheral registers space 14 10 - interrupts: 15 11 - The interrupt line for the USART instance, ··· 29 33 }; 30 34 31 35 usart2: serial@40004400 { 32 - compatible = "st,stm32-usart", "st,stm32-uart"; 36 + compatible = "st,stm32-uart"; 33 37 reg = <0x40004400 0x400>; 34 38 interrupts = <38>; 35 39 clocks = <&clk_pclk1>; ··· 39 43 }; 40 44 41 45 usart1: serial@40011000 { 42 - compatible = "st,stm32-usart", "st,stm32-uart"; 46 + compatible = "st,stm32-uart"; 43 47 reg = <0x40011000 0x400>; 44 48 interrupts = <37>; 45 49 clocks = <&rcc 0 164>;