2019-12-19 12:19:45

by Arnaud POULIQUEN

[permalink] [raw]
Subject: [PATCH v2] ARM: dts: stm32: update mlahb node according to the bindings

Update of the mlahb node according to to DT bindings using json-schema

Signed-off-by: Arnaud Pouliquen <[email protected]>
---
arch/arm/boot/dts/stm32mp151.dtsi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 3dd570b10181..047051c56ef7 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1669,10 +1669,11 @@
};
};

- mlahb {
- compatible = "simple-bus";
+ mlahb: ahb {
+ compatible = "st,mlahb", "simple-bus";
#address-cells = <1>;
#size-cells = <1>;
+ ranges;
dma-ranges = <0x00000000 0x38000000 0x10000>,
<0x10000000 0x10000000 0x60000>,
<0x30000000 0x30000000 0x60000>;
--
2.17.1


2020-01-09 09:03:54

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH v2] ARM: dts: stm32: update mlahb node according to the bindings

Hi Arnaud

On 12/19/19 1:18 PM, Arnaud Pouliquen wrote:
> Update of the mlahb node according to to DT bindings using json-schema
>
> Signed-off-by: Arnaud Pouliquen <[email protected]>
> ---
> arch/arm/boot/dts/stm32mp151.dtsi | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 3dd570b10181..047051c56ef7 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1669,10 +1669,11 @@
> };
> };
>
> - mlahb {
> - compatible = "simple-bus";
> + mlahb: ahb {
> + compatible = "st,mlahb", "simple-bus";
> #address-cells = <1>;
> #size-cells = <1>;
> + ranges;
> dma-ranges = <0x00000000 0x38000000 0x10000>,
> <0x10000000 0x10000000 0x60000>,
> <0x30000000 0x30000000 0x60000>;
>

Applied on stm32-next.

Thanks
Alex