2020-01-30 13:55:51

by Benjamin GAIGNARD

[permalink] [raw]
Subject: [PATCH] ARM: dts: stm32: remove useless properties in stm32mp157a-avenger96 stmpic node

Theses 3 properties are not coded in driver so remove them from the DTS.

Signed-off-by: Benjamin Gaignard <[email protected]>
---
arch/arm/boot/dts/stm32mp157a-avenger96.dts | 4 ----
1 file changed, 4 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index 628c74a45a25..e2d9febaa661 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -134,10 +134,6 @@
#interrupt-cells = <2>;
status = "okay";

- st,main-control-register = <0x04>;
- st,vin-control-register = <0xc0>;
- st,usb-control-register = <0x30>;
-
regulators {
compatible = "st,stpmic1-regulators";

--
2.15.0


2020-02-10 16:45:39

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: stm32: remove useless properties in stm32mp157a-avenger96 stmpic node

Hi Benjamin

On 1/30/20 2:53 PM, Benjamin Gaignard wrote:
> Theses 3 properties are not coded in driver so remove them from the DTS.
>
> Signed-off-by: Benjamin Gaignard <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp157a-avenger96.dts | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> index 628c74a45a25..e2d9febaa661 100644
> --- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> +++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> @@ -134,10 +134,6 @@
> #interrupt-cells = <2>;
> status = "okay";
>
> - st,main-control-register = <0x04>;
> - st,vin-control-register = <0xc0>;
> - st,usb-control-register = <0x30>;
> -
> regulators {
> compatible = "st,stpmic1-regulators";
>
>

Applied on stm32-next.

Thanks
Alex