From patchwork Tue Sep 22 09:23:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Riedm=C3=BCller?= X-Patchwork-Id: 11791965 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D772F6CB for ; Tue, 22 Sep 2020 09:24:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E3AB2075E for ; Tue, 22 Sep 2020 09:24:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C8VZF+JC"; dkim=temperror (0-bit key) header.d=phytec.de header.i=@phytec.de header.b="oVWWimKP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E3AB2075E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1wmyMYvBkp6SAUzsdPqgwkazviVgc1ebAAbDMQdCnZQ=; b=C8VZF+JCcStiOvHaSk9jlQWMd 4N3tgrg8brxFHtILcnQ+xiBrub6X0xIcBbN6g48XbKwGR8E+LVOUu3wJyCger96TVQf5U+F8ToopE nFAwCBk2hpVnlIQxQsgDK12pYh6Q5nxerv14tmknTSiy8UR8Bwm3DCfph7vbdKwzJPHAHBPu6OT8T Mb+MLzhofcUdsx7Xd3KJQRNgBbJTtQDwlwsUvLUyjBDHNY8u147tO/V42FJDU2YS6xhwUxh7Zp0R8 AG66v+vP6T6FhNm0GCoahUHTSgS3K8o0sunjOmS9qMCGQoBcwZzr6n9Y3J99QlZ40UJ5VbcNjtkvp hSva7SUrw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKeWv-0007lP-L9; Tue, 22 Sep 2020 09:24:09 +0000 Received: from mickerik.phytec.de ([195.145.39.210]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kKeWl-0007iO-GU for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2020 09:24:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1600766639; x=1603358639; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=hhV90uaSPFGY2Y5nurNw/Fsz6Pyt3PHIpkmYm8mujKU=; b=oVWWimKP/wcoIuFSxznFw4PDOHB6oHMRbZuRVa+ueUK0iPd39nw0wgz0PIBwdhDL HAPu47Bmw4MlZVzt925yjbDVHveZn6VEQDXPaeM1zyiWs2LF+KcOpDY5yNuVVJbo 3KFd5v6y9QGbDPRYuV0pzCHTrepcQEKQHg8p2jr6L5Y=; X-AuditID: c39127d2-269ff70000001c25-a3-5f69c2af9f39 Received: from idefix.phytec.de (Unknown_Domain [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id C0.E6.07205.FA2C96F5; Tue, 22 Sep 2020 11:23:59 +0200 (CEST) Received: from lws-riedmueller.phytec.de ([172.16.23.108]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2020092211235886-473851 ; Tue, 22 Sep 2020 11:23:58 +0200 From: Stefan Riedmueller To: Shawn Guo Subject: [PATCH 3/6] ARM: dts: imx6: phytec: Add eeprom pagesize Date: Tue, 22 Sep 2020 11:23:10 +0200 Message-Id: <20200922092313.151293-3-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200922092313.151293-1-s.riedmueller@phytec.de> References: <20200922092313.151293-1-s.riedmueller@phytec.de> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 22.09.2020 11:23:59, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 22.09.2020 11:23:59 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrBLMWRmVeSWpSXmKPExsWyRoCBS3f9ocx4g0dLuC3mHznHavHwqr/F psfXWC3+79nBbvF3+yYWixdbxB3YPHbOusvusWlVJ5vH5iX1Hv1/DTw+b5ILYI3isklJzcks Sy3St0vgyvg+8SVrwQ3eiqmr9rE1MN7k7mLk5JAQMJFY9b2HpYuRi0NIYBujxPfP55ghnGuM Erf6pjGBVLEJGEksmNYIZosIKEuc2tjHDlLELHCHUWLt8ltsIAlhAQeJ6/O3gtksAqoSs9eu YASxeQVsJa6v288IsU5eYual7+wgNqeAncSy8xPB4kJANWuvTGGDqBeUODnzCdhJEgJXGCVO nvkK1SwkcXrxWWYQm1lAW2LZwtfMExgFZiHpmYUktYCRaRWjUG5mcnZqUWa2XkFGZUlqsl5K 6iZGYOgenqh+aQdj3xyPQ4xMHIyHGCU4mJVEeNWM0uOFeFMSK6tSi/Lji0pzUosPMUpzsCiJ 827gLQkTEkhPLEnNTk0tSC2CyTJxcEo1MBY887Ksc4heyM+5vybGMzm90sqt6Ky3cZOZ0SWe 3AeCvUarUy7vqGZ/7R+idfKM7wSZNauKbXZWbSlbkJI6c8/6sMeBPiYM3x68KGs4wf/vlMlV /8y5LA168s1TDokc+LL60qqa5vsSpjY3GlKm2hzf+e9vvm3cqg39GjXbCxYtfpw3V4H3qBJL cUaioRZzUXEiANnkDIVLAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200922_052400_668732_509DFD72 X-CRM114-Status: GOOD ( 11.89 ) X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Stefan Riedmueller , devicetree@vger.kernel.org, Sascha Hauer , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Defining the EEPROM pagesize can increase the write speed significantly. Set it to the pagesize stated in the EEPROM's datasheet for phyCORE-i.MX 6UL, phyCORE-i.MX 6 and phyFLEX-i.MX 6. Signed-off-by: Stefan Riedmueller --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 1 + arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 1 + arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 1 + 3 files changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index aa7fdb9ea5bd..87adfb735f95 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -117,6 +117,7 @@ &i2c1 { som_eeprom: eeprom@50 { compatible = "catalyst,24c32", "atmel,24c32"; + pagesize = <32>; reg = <0x50>; }; diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi index a3f4e8f6cc9e..a80aa08a37cb 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi @@ -85,6 +85,7 @@ &i2c3 { eeprom@50 { compatible = "st,24c32", "atmel,24c32"; + pagesize = <32>; reg = <0x50>; }; diff --git a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi index ce14ce685d12..11fa3fb5947b 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi @@ -75,6 +75,7 @@ &i2c1 { eeprom@52 { compatible = "catalyst,24c32", "atmel,24c32"; + pagesize = <32>; reg = <0x52>; }; };