Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp259427ybh; Wed, 11 Mar 2020 00:17:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsOj5/ncVDj3XSlp7Ow9Zc7mgX91ZQvFJNCdwPQHEjNyO3ktN0ez6BPS5K2w34084XgNj+E X-Received: by 2002:aca:cf48:: with SMTP id f69mr939098oig.122.1583911072444; Wed, 11 Mar 2020 00:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583911072; cv=none; d=google.com; s=arc-20160816; b=hqkHcJIZPggpYdjGQPJfyRarYv2pqIz1RBBZ+jTm0P+GaxJloOGU24SkF0q2uZ60eA RgrzHM52tAIY2hQ22ekRDI6JHb8b3750wRsVaeL6Q8JpnJxAmhLa+9YYN/zlIhmtO8CR JYWwXopS5rltAsT/0T8hMhUO25XeBhLoT/d/nnBDnCZ4mH7fyt/jOzhRWhTy5WC4jvVn pg4lXfpjWZY7MDaqYZ3T5Mz13UjxFSV6BTClQJ5BgVhXSLEMlMQZVXlf4uYLVnsCtnXK Q4vewU1vjwH6PVPC3Kj9aEIRg3YsmXZGi/1cDU2cPDd4TRBGFyl1oZUjMZgcOmXgpK+F lQWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IDp/Wg3YqBlc8jBgpwC9QkVTix2dRl9yZj9HY7KYOUE=; b=pIq+563HVLDscEL3AS7jy8Lq8NftjSauZCUknL++XMaiiVU5ffCM+Cg8CilicqVoEE ttaBXJCDoz/Sjg7X6Iq7n0+mxdCwJ5KVJUT3Lx2LOiJxDPd95q50vQlrHOUwZE1rFhJT 4szXWms2EKInWxsyZtd26ynl20TjOb5JMTv12BgHSh3Ng5IYcftqVjzGhn/mlkoduwdR cCehP/Timuvt1mIWj44QfwB4vYjMBhLvxNuy7OQsljIVp81uxjOosVEWNgMgw4LY4XXx m6JrZDQwWnhSByYTmQE+2jSCUz9jyZu90YUF45moJTlbhJz8k2YnHndqt8kCUMuq61ml lGqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PEWHmPat; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m126si714296oig.177.2020.03.11.00.17.39; Wed, 11 Mar 2020 00:17:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PEWHmPat; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728195AbgCKHQW (ORCPT + 99 others); Wed, 11 Mar 2020 03:16:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:39490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbgCKHQV (ORCPT ); Wed, 11 Mar 2020 03:16:21 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CAF5A208C3; Wed, 11 Mar 2020 07:16:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583910981; bh=OQIeb4oj8r6aT9zrf+ckOYy531/qz6nDOVCUb0TQuxU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PEWHmPatR+Metyz2pN2PIn+lc0oPlTzr34YQam5O/lpbq0OXTuRat4ADPVIE6H+p7 WEy6/dZbEiUkSX2sud5UK18LvNfmefUqhP97G9i/8xWe79LAHG+uahsKto1NyWUx/c 8jVaoqxKmfsFh3F+CZptkLDyC6ncQrvsuEdm2c5w= Date: Wed, 11 Mar 2020 15:16:14 +0800 From: Shawn Guo To: Michael Walle Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Mark Rutland , Li Yang Subject: Re: [PATCH 1/3] arm64: dts: ls1028a: sl28: fix on-board EEPROMS Message-ID: <20200311071613.GL29269@dragon> References: <20200225175756.29508-1-michael@walle.cc> <20200225175756.29508-2-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200225175756.29508-2-michael@walle.cc> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 25, 2020 at 06:57:54PM +0100, Michael Walle wrote: > The module itself has another EEPROM at 50h on I2C4. The EEPROM on the > carriers is located at 57h on I2C3. Fix that in the device trees. > > Signed-off-by: Michael Walle Doesn't apply to my branch. Shawn > --- > .../fsl-ls1028a-kontron-kbox-a-230-ls.dts | 6 +++--- > .../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 14 ++++++++------ > .../dts/freescale/fsl-ls1028a-kontron-sl28.dts | 6 ++++++ > 3 files changed, 17 insertions(+), 9 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > index aaf3c04771c3..32f6c80414bc 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts > @@ -18,10 +18,10 @@ > "kontron,sl28", "fsl,ls1028a"; > }; > > -&i2c4 { > - eeprom@50 { > +&i2c3 { > + eeprom@57 { > compatible = "atmel,24c32"; > - reg = <0x50>; > + reg = <0x57>; > pagesize = <32>; > }; > }; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts > index 20fd86746f94..ff4a43986290 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts > @@ -80,6 +80,14 @@ > }; > }; > > +&i2c3 { > + eeprom@57 { > + compatible = "atmel,24c64"; > + reg = <0x57>; > + pagesize = <32>; > + }; > +}; > + > &i2c4 { > status = "okay"; > > @@ -92,12 +100,6 @@ > assigned-clocks = <&mclk>; > assigned-clock-rates = <1250000>; > }; > - > - eeprom@50 { > - compatible = "atmel,24c32"; > - reg = <0x50>; > - pagesize = <32>; > - }; > }; > > &sai5 { > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts > index c60a444ad09d..4ba6aae45ef1 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts > @@ -181,6 +181,12 @@ > > &i2c4 { > status = "okay"; > + > + eeprom@50 { > + compatible = "atmel,24c32"; > + reg = <0x50>; > + pagesize = <32>; > + }; > }; > > &lpuart1 { > -- > 2.20.1 >