[U-Boot] [PATCH 3/4] ARM: dts: stm32: Remove useless "st, stm32-gpio" compatible string

Patrick DELAUNAY patrick.delaunay at st.com
Tue Jun 25 08:24:18 UTC 2019


Hi Patrice,

> From: Patrice CHOTARD <patrice.chotard at st.com>
> Sent: vendredi 21 juin 2019 15:39
> 
> Since pinctrl_stm32 driver update, each gpio bank is now binded by pinctrl driver.
> The compatible string "st,stm32-gpio" becomes useless, remove it.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>

> ---
> 
>  arch/arm/dts/stm32429i-eval-u-boot.dtsi  | 11 -----------  arch/arm/dts/stm32f429-
> disco-u-boot.dtsi | 11 -----------  arch/arm/dts/stm32f469-disco-u-boot.dtsi | 11 -----
> ------
>  arch/arm/dts/stm32f7-u-boot.dtsi         | 17 -----------------
>  arch/arm/dts/stm32mp157-u-boot.dtsi      | 12 ------------
>  5 files changed, 62 deletions(-)
> 
> diff --git a/arch/arm/dts/stm32429i-eval-u-boot.dtsi b/arch/arm/dts/stm32429i-eval-
> u-boot.dtsi
> index 6da0a636c1..fe437bbfe2 100644
> --- a/arch/arm/dts/stm32429i-eval-u-boot.dtsi
> +++ b/arch/arm/dts/stm32429i-eval-u-boot.dtsi
> @@ -92,57 +92,46 @@
>  };
> 
>  &gpioa {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiob {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioc {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiod {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioe {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiof {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiog {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioh {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioi {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioj {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiok {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
> diff --git a/arch/arm/dts/stm32f429-disco-u-boot.dtsi b/arch/arm/dts/stm32f429-
> disco-u-boot.dtsi
> index 0cc3100440..52f80320bc 100644
> --- a/arch/arm/dts/stm32f429-disco-u-boot.dtsi
> +++ b/arch/arm/dts/stm32f429-disco-u-boot.dtsi
> @@ -79,57 +79,46 @@
>  };
> 
>  &gpioa {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiob {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioc {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiod {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioe {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiof {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiog {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioh {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioi {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioj {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiok {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
> diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi b/arch/arm/dts/stm32f469-
> disco-u-boot.dtsi
> index 3da308e6a4..2409cf746a 100644
> --- a/arch/arm/dts/stm32f469-disco-u-boot.dtsi
> +++ b/arch/arm/dts/stm32f469-disco-u-boot.dtsi
> @@ -94,57 +94,46 @@
>  };
> 
>  &gpioa {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiob {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioc {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiod {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioe {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiof {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiog {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioh {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioi {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioj {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiok {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
> diff --git a/arch/arm/dts/stm32f7-u-boot.dtsi b/arch/arm/dts/stm32f7-u-boot.dtsi
> index 29b157324e..3ba7f8410d 100644
> --- a/arch/arm/dts/stm32f7-u-boot.dtsi
> +++ b/arch/arm/dts/stm32f7-u-boot.dtsi
> @@ -65,58 +65,41 @@
>  };
> 
>  &gpioa {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiob {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioc {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiod {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioe {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiof {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiog {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioh {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioi {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
> -&gpioj {
> -	compatible = "st,stm32-gpio";
> -};
> -
> -&gpiok {
> -	compatible = "st,stm32-gpio";
> -};
> -
>  &pinctrl {
>  	u-boot,dm-pre-reloc;
> 
> diff --git a/arch/arm/dts/stm32mp157-u-boot.dtsi b/arch/arm/dts/stm32mp157-u-
> boot.dtsi
> index 09560e2d91..66dc6df787 100644
> --- a/arch/arm/dts/stm32mp157-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp157-u-boot.dtsi
> @@ -82,62 +82,50 @@
>  };
> 
>  &gpioa {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiob {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioc {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiod {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioe {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiof {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiog {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioh {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioi {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioj {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpiok {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
>  &gpioz {
> -	compatible = "st,stm32-gpio";
>  	u-boot,dm-pre-reloc;
>  };
> 
> --
> 2.17.1

Regards
Patrick


More information about the U-Boot mailing list