Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23CF5EB64D9 for ; Thu, 6 Jul 2023 12:39:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D60F686330; Thu, 6 Jul 2023 14:38:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="xQ0/7f2L"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 367D686330; Thu, 6 Jul 2023 14:38:56 +0200 (CEST) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AD07386237 for ; Thu, 6 Jul 2023 14:38:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 366Ccl40045500; Thu, 6 Jul 2023 07:38:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1688647127; bh=0ole3HVJdZ8DB74idvntuCbiGyWeJmQXM+DYg5DbN9w=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=xQ0/7f2Lm198Mbo7CfKzW8gmpOx/hUvrSo0pN+zyiOlLmN8atjRQ3AbJcys3qirF5 ohZqnt4la2y1jfyMhscUKhxaHZjYijQ8oSADKcsyBnbnLXo1wj04EgxL8puP5s8lB+ Jp/sbIxpRz5g96A5Oa5TcGf0a4EaoF0Uy4q2tBeU= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 366Ccl2u022627 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jul 2023 07:38:47 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Jul 2023 07:38:47 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 6 Jul 2023 07:38:47 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 366Ccl4d089822; Thu, 6 Jul 2023 07:38:47 -0500 Date: Thu, 6 Jul 2023 07:38:47 -0500 From: Nishanth Menon To: Roger Quadros CC: , , , Subject: Re: [PATCH 3/6] arm: dts: k3-am642: Sync main_i2c0 with kernel Message-ID: <20230706123847.jtusg37dlskiiij3@educator> References: <20230704181008.305561-1-rogerq@kernel.org> <20230704181008.305561-4-rogerq@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230704181008.305561-4-rogerq@kernel.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 21:10-20230704, Roger Quadros wrote: > main_i2c0 and pinmux should be in k3-am642-evm.dts. > Also add the I2C EEPROM. > > Signed-off-by: Roger Quadros > --- > arch/arm/dts/k3-am642-evm-u-boot.dtsi | 11 ----------- > arch/arm/dts/k3-am642-evm.dts | 20 ++++++++++++++++++++ > 2 files changed, 20 insertions(+), 11 deletions(-) > > diff --git a/arch/arm/dts/k3-am642-evm-u-boot.dtsi b/arch/arm/dts/k3-am642-evm-u-boot.dtsi > index 64857b0909..80c04d0117 100644 > --- a/arch/arm/dts/k3-am642-evm-u-boot.dtsi > +++ b/arch/arm/dts/k3-am642-evm-u-boot.dtsi > @@ -34,21 +34,10 @@ > > &main_pmx0 { > bootph-pre-ram; > - main_i2c0_pins_default: main-i2c0-pins-default { > - bootph-pre-ram; > - pinctrl-single,pins = < > - AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ > - AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ > - >; > - }; > }; > > &main_i2c0 { > - status = "okay"; > bootph-pre-ram; > - pinctrl-names = "default"; > - pinctrl-0 = <&main_i2c0_pins_default>; > - clock-frequency = <400000>; > }; > > &main_uart0 { > diff --git a/arch/arm/dts/k3-am642-evm.dts b/arch/arm/dts/k3-am642-evm.dts > index 39feea78a0..529eb81538 100644 > --- a/arch/arm/dts/k3-am642-evm.dts > +++ b/arch/arm/dts/k3-am642-evm.dts > @@ -233,6 +233,13 @@ > >; > }; > > + main_i2c0_pins_default: main-i2c0-default-pins { > + pinctrl-single,pins = < > + AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ > + AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ > + >; > + }; > + > main_i2c1_pins_default: main-i2c1-pins-default { > pinctrl-single,pins = < > AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ > @@ -335,6 +342,19 @@ > status = "reserved"; > }; > > +&main_i2c0 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&main_i2c0_pins_default>; > + clock-frequency = <400000>; > + > + eeprom@50 { > + /* AT24CM01 */ > + compatible = "atmel,24c1024"; > + reg = <0x50>; > + }; > +}; > + > &main_i2c1 { > status = "okay"; > pinctrl-names = "default"; > -- > 2.34.1 > We should be getting this change again as part of sync back from kernel. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D