[2/6] arm64: xilinx: Use lower case for partition address

Message ID a96ac9a32a363b04958157548f290d480c21590c.1695040866.git.michal.simek@amd.com
State New
Headers
Series arm64: xilinx: Tune DTSes to remove warnings from make W=1 dtbs |

Commit Message

Michal Simek Sept. 18, 2023, 12:41 p.m. UTC
  Lower case should be used for register address.
Issue is reported as:
flash@0: partitions: Unevaluated properties are not allowed
('partition@22A0000' was unexpected)

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Laurent Pinchart Sept. 18, 2023, 2:58 p.m. UTC | #1
Hi Michal,

Thank you for the patch.

On Mon, Sep 18, 2023 at 02:41:13PM +0200, Michal Simek wrote:
> Lower case should be used for register address.
> Issue is reported as:
> flash@0: partitions: Unevaluated properties are not allowed
> ('partition@22A0000' was unexpected)
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> index c4774a42d5fc..157dcb4a27a8 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
> @@ -222,9 +222,9 @@ partition@2280000 {
>  				label = "Secure OS Storage";
>  				reg = <0x2280000 0x20000>; /* 128KB */
>  			};
> -			partition@22A0000 {
> +			partition@22a0000 {
>  				label = "User";
> -				reg = <0x22A0000 0x1d60000>; /* 29.375 MB */
> +				reg = <0x22a0000 0x1d60000>; /* 29.375 MB */
>  			};
>  		};
>  	};
  

Patch

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
index c4774a42d5fc..157dcb4a27a8 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sm-k26-revA.dts
@@ -222,9 +222,9 @@  partition@2280000 {
 				label = "Secure OS Storage";
 				reg = <0x2280000 0x20000>; /* 128KB */
 			};
-			partition@22A0000 {
+			partition@22a0000 {
 				label = "User";
-				reg = <0x22A0000 0x1d60000>; /* 29.375 MB */
+				reg = <0x22a0000 0x1d60000>; /* 29.375 MB */
 			};
 		};
 	};