Re: [PATCH] ARM: dts: aspeed: convert ASRock SPC621D8HM3 NVMEM content to layout syntax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2024-06-03 at 18:21 -0700, Zev Weiss wrote:
> On Sun, May 19, 2024 at 11:30:44PM PDT, Rafał Miłecki wrote:
> > From: Rafał Miłecki <rafal@xxxxxxxxxx>
> > 
> > Use cleaner (and non-deprecated) bindings syntax. See commit
> > bd912c991d2e ("dt-bindings: nvmem: layouts: add fixed-layout") for
> > details.
> > 
> > Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>
> > ---
> > .../dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts     | 12 ++++++++----
> > 1 file changed, 8 insertions(+), 4 deletions(-)
> > 
> > diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
> > index 555485871e7a..c4097e4f2ca4 100644
> > --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
> > +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-spc621d8hm3.dts
> > @@ -110,11 +110,15 @@ eeprom@50 {
> > 		compatible = "st,24c128", "atmel,24c128";
> > 		reg = <0x50>;
> > 		pagesize = <16>;
> > -		#address-cells = <1>;
> > -		#size-cells = <1>;
> > 
> > -		eth0_macaddress: macaddress@3f80 {
> > -			reg = <0x3f80 6>;
> > +		nvmem-layout {
> > +			compatible = "fixed-layout";
> > +			#address-cells = <1>;
> > +			#size-cells = <1>;
> > +
> > +			eth0_macaddress: macaddress@3f80 {
> > +				reg = <0x3f80 6>;
> > +			};
> > 		};
> > 	};
> > 
> > -- 
> > 2.35.3
> > 
> 
> Acked-by: Zev Weiss <zev@xxxxxxxxxxxxxxxxx>
> 

Thanks, I've applied this to a tree for Joel to pick up.

Andrew





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux