Fix STM32 DT issues on v5.7-rc4
Subsystems (6)
cover Fix STM32 DT issues on v5.7-rc4
This series fixes issues hight lighted by dtbs_check on STM32 devicetrees. The patches has been developped on top of v5.7-rc4 tag.
Benjamin Gaignard (15):
ARM: dts: stm32: remove useless interrupt-names property on stm32f429
ARM: dts: stm32: update pwm pinctrl node names for stm32f4
ARM: dts: stm32: update led nodes names for stm32f249-disco
ARM: dts: stm32: update led nodes names for stm32f469-disco
ARM: dts: stm32: remove useless interrupt-names property on stm32f746
ARM: dts: stm32: update led nodes names for stm32f429-eval
ARM: dts: stm32: update led nodes names for stm32f769-disco
ARM: dts: stm32: update led nodes names for stm32f746-eval
ARM: dts: stm32: remove useless interrupt-names property on stm32f743
ARM: dts: stm32: Update nodes names for stm32h743 pinctrl
ARM: dts: stm32: Update nodes names for stm32mp15 pinctrl
ARM: dts: stm32: Add missing #address and #size cells on spi node for
stm32mp151
ARM: dts: stm32: update led nodes names for stm32f746-eval
dt-bindings: pinctrl: stm32: Add missing interrupts property
dt-bindings: usb: dwc2: Fix issues for stm32mp15x SoC
.../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++-- arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32746g-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 4 ++-- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- arch/arm/boot/dts/stm32f429.dtsi | 1 - arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++---- arch/arm/boot/dts/stm32f746.dtsi | 1 - arch/arm/boot/dts/stm32f769-disco.dts | 4 ++-- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 10 +++++----- arch/arm/boot/dts/stm32h743.dtsi | 1 - arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++--- arch/arm/boot/dts/stm32mp151.dtsi | 2 ++ arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 15 files changed, 36 insertions(+), 32 deletions(-)
Signature · 1 line
2.15.0
PATCH 1/15 ARM: dts: stm32: remove useless interrupt-names property on stm32f429
Driver doesn't use interrupt's name to get it so remove it from the node.
--- arch/arm/boot/dts/stm32f429.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/stm32f429.dtsi +0 -1
@@ -322,7 +322,6 @@ assigned-clock-parents = <&rcc 1 CLK_LSE>; interrupt-parent = <&exti>; interrupts = <17 1>; - interrupt-names = "alarm"; st,syscfg = <&pwrcfg 0x00 0x100>; status = "disabled"; };
Signature · 1 line
2.15.0
PATCH 2/15 ARM: dts: stm32: update pwm pinctrl node names for stm32f4
In reply to Benjamin GaignardRename pwm pinctrl nodes name to matching with yaml bindings requirements.
--- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32f4-pinctrl.dtsi +2 -2
@@ -257,7 +257,7 @@ }; }; - pwm1_pins: pwm-1 { + pwm1_pins: pwm1-0 { pins { pinmux = <STM32_PINMUX('A', 8, AF1)>, /* TIM1_CH1 */ <STM32_PINMUX('B', 13, AF1)>, /* TIM1_CH1N */
@@ -265,7 +265,7 @@ }; }; - pwm3_pins: pwm-3 { + pwm3_pins: pwm3-0 { pins { pinmux = <STM32_PINMUX('B', 4, AF2)>, /* TIM3_CH1 */ <STM32_PINMUX('B', 5, AF2)>; /* TIM3_CH2 */
Signature · 1 line
2.15.0
PATCH 3/15 ARM: dts: stm32: update led nodes names for stm32f249-disco
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32f429-disco.dts +2 -2
@@ -70,10 +70,10 @@ leds { compatible = "gpio-leds"; - red { + led-red { gpios = <&gpiog 14 0>; }; - green { + led-green { gpios = <&gpiog 13 0>; linux,default-trigger = "heartbeat"; };
Signature · 1 line
2.15.0
PATCH 4/15 ARM: dts: stm32: update led nodes names for stm32f469-disco
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/stm32f469-disco.dts +4 -4
@@ -89,17 +89,17 @@ leds { compatible = "gpio-leds"; - green { + led-green { gpios = <&gpiog 6 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; }; - orange { + led-orange { gpios = <&gpiod 4 GPIO_ACTIVE_LOW>; }; - red { + led-red { gpios = <&gpiod 5 GPIO_ACTIVE_LOW>; }; - blue { + led-blue { gpios = <&gpiok 3 GPIO_ACTIVE_LOW>; }; };
Signature · 1 line
2.15.0
PATCH 5/15 ARM: dts: stm32: remove useless interrupt-names property on stm32f746
In reply to Benjamin GaignardDriver doesn't use interrupt's name to get it so remove it from the node.
--- arch/arm/boot/dts/stm32f746.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/stm32f746.dtsi +0 -1
@@ -304,7 +304,6 @@ assigned-clock-parents = <&rcc 1 CLK_LSE>; interrupt-parent = <&exti>; interrupts = <17 1>; - interrupt-names = "alarm"; st,syscfg = <&pwrcfg 0x00 0x100>; status = "disabled"; };
Signature · 1 line
2.15.0
PATCH 6/15 ARM: dts: stm32: update led nodes names for stm32f429-eval
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/stm32429i-eval.dts +4 -4
@@ -104,17 +104,17 @@ leds { compatible = "gpio-leds"; - green { + led-green { gpios = <&gpiog 6 1>; linux,default-trigger = "heartbeat"; }; - orange { + led-orange { gpios = <&gpiog 7 1>; }; - red { + led-red { gpios = <&gpiog 10 1>; }; - blue { + led-blue { gpios = <&gpiog 12 1>; }; };
Signature · 1 line
2.15.0
PATCH 7/15 ARM: dts: stm32: update led nodes names for stm32f769-disco
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32f769-disco.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/stm32f769-disco.dts +2 -2
@@ -66,11 +66,11 @@ leds { compatible = "gpio-leds"; - green { + led-green { gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; - red { + led-red { gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>; }; };
Signature · 1 line
2.15.0
PATCH 8/15 ARM: dts: stm32: update led nodes names for stm32f746-eval
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32746g-eval.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/stm32746g-eval.dts +4 -4
@@ -66,17 +66,17 @@ leds { compatible = "gpio-leds"; - green { + led-green { gpios = <&gpiof 10 1>; linux,default-trigger = "heartbeat"; }; - orange { + led-orange { gpios = <&stmfx_pinctrl 17 1>; }; - red { + led-red { gpios = <&gpiob 7 1>; }; - blue { + led-blue { gpios = <&stmfx_pinctrl 19 1>; }; };
Signature · 1 line
2.15.0
PATCH 9/15 ARM: dts: stm32: remove useless interrupt-names property on stm32f743
In reply to Benjamin GaignardDriver doesn't use interrupt's name to get it so remove it from the node.
--- arch/arm/boot/dts/stm32h743.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/stm32h743.dtsi +0 -1
@@ -487,7 +487,6 @@ assigned-clock-parents = <&rcc LSE_CK>; interrupt-parent = <&exti>; interrupts = <17 IRQ_TYPE_EDGE_RISING>; - interrupt-names = "alarm"; st,syscfg = <&pwrcfg 0x00 0x100>; status = "disabled"; };
Signature · 1 line
2.15.0
PATCH 10/15 ARM: dts: stm32: Update nodes names for stm32h743 pinctrl
In reply to Benjamin GaignardFix the nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
arch/arm/boot/dts/stm32h743-pinctrl.dtsi +5 -5
@@ -163,7 +163,7 @@ #interrupt-cells = <2>; }; - i2c1_pins_a: i2c1@0 { + i2c1_pins_a: i2c1-0 { pins { pinmux = <STM32_PINMUX('B', 6, AF4)>, /* I2C1_SCL */ <STM32_PINMUX('B', 7, AF4)>; /* I2C1_SDA */
@@ -173,7 +173,7 @@ }; }; - ethernet_rmii: rmii@0 { + ethernet_rmii: rmii-0 { pins { pinmux = <STM32_PINMUX('G', 11, AF11)>, <STM32_PINMUX('G', 13, AF11)>,
@@ -256,7 +256,7 @@ }; }; - usart1_pins: usart1@0 { + usart1_pins: usart1-0 { pins1 { pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */ bias-disable;
@@ -269,7 +269,7 @@ }; }; - usart2_pins: usart2@0 { + usart2_pins: usart2-0 { pins1 { pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */ bias-disable;
@@ -282,7 +282,7 @@ }; }; - usbotg_hs_pins_a: usbotg-hs@0 { + usbotg_hs_pins_a: usbotg-hs-0 { pins { pinmux = <STM32_PINMUX('H', 4, AF10)>, /* ULPI_NXT */ <STM32_PINMUX('I', 11, AF10)>, /* ULPI_DIR> */
Signature · 1 line
2.15.0
PATCH 11/15 ARM: dts: stm32: Update nodes names for stm32mp15 pinctrl
In reply to Benjamin GaignardFix the nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +3 -3
@@ -6,7 +6,7 @@ #include <dt-bindings/pinctrl/stm32-pinfunc.h> &pinctrl { - adc1_in6_pins_a: adc1-in6 { + adc1_in6_pins_a: adc1-in6-0 { pins { pinmux = <STM32_PINMUX('F', 12, ANALOG)>; };
@@ -58,13 +58,13 @@ }; }; - dac_ch1_pins_a: dac-ch1 { + dac_ch1_pins_a: dac-ch1-0 { pins { pinmux = <STM32_PINMUX('A', 4, ANALOG)>; }; }; - dac_ch2_pins_a: dac-ch2 { + dac_ch2_pins_a: dac-ch2-0 { pins { pinmux = <STM32_PINMUX('A', 5, ANALOG)>; };
Signature · 1 line
2.15.0
PATCH 12/15 ARM: dts: stm32: Add missing #address and #size cells on spi node for stm32mp151
In reply to Benjamin GaignardAdd the missing #address-cells and #size-cells to spi node.
--- arch/arm/boot/dts/stm32mp151.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/stm32mp151.dtsi +2 -0
@@ -1324,6 +1324,8 @@ dma-names = "tx", "rx"; clocks = <&rcc QSPI_K>; resets = <&rcc QSPI_R>; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; };
Signature · 1 line
2.15.0
PATCH 13/15 ARM: dts: stm32: update led nodes names for stm32f746-eval
In reply to Benjamin GaignardUpdate led nodes names to be aligned with yaml description
--- arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +1 -1
@@ -62,7 +62,7 @@ led { compatible = "gpio-leds"; - blue { + led-blue { label = "heartbeat"; gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat";
Signature · 1 line
2.15.0
PATCH 14/15 dt-bindings: pinctrl: stm32: Add missing interrupts property
In reply to Benjamin GaignardDriver use interrupt-parent field so update the bindings to allow it.
--- Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml +3 -0
@@ -36,6 +36,9 @@ properties: pins-are-numbered: true hwlocks: true + interrupts: + maxItems: 1 + st,syscfg: allOf: - $ref: "/schemas/types.yaml#/definitions/phandle-array"
Signature · 1 line
2.15.0
Re: [PATCH 14/15] dt-bindings: pinctrl: stm32: Add missing interrupts property
Quoted 7 lines · Benjamin Gaignard
Driver use interrupt-parent field so update the bindings to allow it.
Signed-off-by Benjamin Gaignard <[email protected]>--- Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ 1 file changed, 3 insertions(+)
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 14/15] dt-bindings: pinctrl: stm32: Add missing interrupts property
In reply to Benjamin GaignardQuoted 3 lines · Benjamin Gaignard
Driver use interrupt-parent field so update the bindings to allow it.
Signed-off-by Benjamin Gaignard <[email protected]>
Patch applied.
Yours,
Linus Walleij
PATCH 15/15 dt-bindings: usb: dwc2: Fix issues for stm32mp15x SoC
In reply to Benjamin GaignardCorrect the compatible list for stm32mp15x SoC.
Fix the name of the stm32mp15x dedicated supply to be aligned with what the driver use.
--- Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/usb/dwc2.yaml +4 -2
@@ -44,7 +44,9 @@ properties: - const: st,stm32f4x9-hsotg - const: st,stm32f7-hsotg - const: st,stm32mp15-fsotg - - const: st,stm32mp15-hsotg + - items: + - const: st,stm32mp15-hsotg + - const: snps,dwc2 - const: samsung,s3c6400-hsotg reg:
@@ -90,7 +92,7 @@ properties: vusb_a-supply: description: phandle to voltage regulator of analog section. - vusb33d-supply: + usb33d-supply: description: reference to the VBUS and ID sensing comparators supply, in order to perform OTG operation, used on STM32MP15 SoCs.
Signature · 1 line
2.15.0
Re: [PATCH 15/15] dt-bindings: usb: dwc2: Fix issues for stm32mp15x SoC
Quoted 9 lines · Benjamin Gaignard
Correct the compatible list for stm32mp15x SoC.
Fix the name of the stm32mp15x dedicated supply to be aligned with what the driver use.Signed-off-by Benjamin Gaignard <[email protected]>--- Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Hi Benjamin
Quoted 16 lines · Benjamin Gaignard
This series fixes issues hight lighted by
dtbs_checkon STM32 devicetrees. The patches has been developped on top of v5.7-rc4 tag.Benjamin Gaignard (15):
ARM: dts: stm32: remove useless interrupt-names property on stm32f429
ARM: dts: stm32: update pwm pinctrl node names for stm32f4
ARM: dts: stm32: update led nodes names for stm32f249-disco
ARM: dts: stm32: update led nodes names for stm32f469-disco
ARM: dts: stm32: remove useless interrupt-names property on stm32f746
ARM: dts: stm32: update led nodes names for stm32f429-eval
ARM: dts: stm32: update led nodes names for stm32f769-disco
ARM: dts: stm32: update led nodes names for stm32f746-eval
ARM: dts: stm32: remove useless interrupt-names property on stm32f743
ARM: dts: stm32: Update nodes names for stm32h743 pinctrl
ARM: dts: stm32: Update nodes names for stm32mp15 pinctrl
ARM: dts: stm32: Add missing #address and #size cells on spi node for
Quoted 4 lines
stm32mp151ARM: dts: stm32: update led nodes names for stm32f746-eval
dt-bindings: pinctrl: stm32: Add missing interrupts property
dt-bindings: usb: dwc2: Fix issues for stm32mp15x SoC
For dts(i) part, it looks good to me. I let Rob to review before taking the whole series.
thanks
alex
Quoted 18 lines
.../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++-- arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32746g-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 4 ++-- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- arch/arm/boot/dts/stm32f429.dtsi | 1 - arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++---- arch/arm/boot/dts/stm32f746.dtsi | 1 - arch/arm/boot/dts/stm32f769-disco.dts | 4 ++-- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 10 +++++----- arch/arm/boot/dts/stm32h743.dtsi | 1 - arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++--- arch/arm/boot/dts/stm32mp151.dtsi | 2 ++ arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 15 files changed, 36 insertions(+), 32 deletions(-)
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Benjamin
Quoted 21 lines · Benjamin Gaignard
This series fixes issues hight lighted by
dtbs_checkon STM32 devicetrees. The patches has been developped on top of v5.7-rc4 tag.Benjamin Gaignard (15):
ARM: dts: stm32: remove useless interrupt-names property on stm32f429
ARM: dts: stm32: update pwm pinctrl node names for stm32f4
ARM: dts: stm32: update led nodes names for stm32f249-disco
ARM: dts: stm32: update led nodes names for stm32f469-disco
ARM: dts: stm32: remove useless interrupt-names property on stm32f746
ARM: dts: stm32: update led nodes names for stm32f429-eval
ARM: dts: stm32: update led nodes names for stm32f769-disco
ARM: dts: stm32: update led nodes names for stm32f746-eval
ARM: dts: stm32: remove useless interrupt-names property on stm32f743
ARM: dts: stm32: Update nodes names for stm32h743 pinctrl
ARM: dts: stm32: Update nodes names for stm32mp15 pinctrl
ARM: dts: stm32: Add missing #address and #size cells on spi node forstm32mp151ARM: dts: stm32: update led nodes names for stm32f746-eval
dt-bindings: pinctrl: stm32: Add missing interrupts property
dt-bindings: usb: dwc2: Fix issues for stm32mp15x SoC
Quoted 17 lines
.../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 3 +++ Documentation/devicetree/bindings/usb/dwc2.yaml | 6 ++++-- arch/arm/boot/dts/stm32429i-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32746g-eval.dts | 8 ++++---- arch/arm/boot/dts/stm32f4-pinctrl.dtsi | 4 ++-- arch/arm/boot/dts/stm32f429-disco.dts | 4 ++-- arch/arm/boot/dts/stm32f429.dtsi | 1 - arch/arm/boot/dts/stm32f469-disco.dts | 8 ++++---- arch/arm/boot/dts/stm32f746.dtsi | 1 - arch/arm/boot/dts/stm32f769-disco.dts | 4 ++-- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 10 +++++----- arch/arm/boot/dts/stm32h743.dtsi | 1 - arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 6 +++--- arch/arm/boot/dts/stm32mp151.dtsi | 2 ++ arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 +- 15 files changed, 36 insertions(+), 32 deletions(-)
Series applied on stm32-next. Note that changes in patch 11 were already present thanks to another patch and patch 14 has already been taken by Linus.
Regards
Alex
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel