From patchwork Thu Mar 9 15:30:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13167751 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DB28C64EC4 for ; Thu, 9 Mar 2023 15:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WoUqmsY3H2z0ROpvfxNkHEdaOi7Q8vQhMtuA6YOpS6I=; b=yPOE4IPLphrK40 3TxoyLGk3H6uxrrE3aMzOmFrAlJ3hi9Iur3I46/xlxshUwcxFHobMAcfoV0E0vfIx9v9xFZK0H00I P3mNjXIkkGYKLKiTZ1rLWPGWgcYhjt3XKv8dgywcsVP7bO4qCS+z9g+LXWmF7/YkxMYhdTX4EoT60 a0YgIFJVx0XOylEKgKYweqyKaAzIfLqzYayatom/QycJ32SfiJNCJV+7Zg7Ckr2I17sFKDQZqJXoC VPOqcl/XYofboTOB14/HzxcBz6/EFwT+JDaB8bF+FqS+VYRvYSnnK9PyzH5Cgj01IUmQBKnKtmVfS fecI2n1HpE7Me5ChMaZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIT0-00B0Ys-SN; Thu, 09 Mar 2023 15:46:07 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIEL-00Av06-WE for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 15:31:00 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:3a77:63e:b168:ae06]) by baptiste.telenet-ops.be with bizsmtp id WFWs2900Z54Hw2A01FWsuQ; Thu, 09 Mar 2023 16:30:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1paIDi-00BL6g-1U; Thu, 09 Mar 2023 16:30:52 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1paIEG-00GUnn-Jh; Thu, 09 Mar 2023 16:30:52 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 1/3] ARM: dts: armadillo800eva: Add I2C EEPROM for MAC address Date: Thu, 9 Mar 2023 16:30:47 +0100 Message-Id: <6d402b289fd20125d9f6f6b2a4f239aa1887daa6.1678375464.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_073058_232569_D0CA76E8 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a device node for the M24C01 I2C EEPROM which serves as external storage for the Ethernet MAC address. While at it, restore sort order (by unit address) of the I2C devices. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts index 76f04011870cc571..48b678a6c5cb92e5 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts @@ -210,6 +210,19 @@ &cmt1 { &i2c0 { status = "okay"; + + wm8978: codec@1a { + #sound-dai-cells = <0>; + compatible = "wlf,wm8978"; + reg = <0x1a>; + }; + + eeprom@50 { + compatible = "st,24c01", "atmel,24c01"; + reg = <0x50>; + pagesize = <16>; + }; + touchscreen@55 { compatible = "sitronix,st1232"; reg = <0x55>; @@ -219,12 +232,6 @@ touchscreen@55 { pinctrl-names = "default"; gpios = <&pfc 166 GPIO_ACTIVE_LOW>; }; - - wm8978: codec@1a { - #sound-dai-cells = <0>; - compatible = "wlf,wm8978"; - reg = <0x1a>; - }; }; &i2c2 { From patchwork Thu Mar 9 15:30:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13167758 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC23CC64EC4 for ; Thu, 9 Mar 2023 15:49:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X8EfCEpYUiydKbsCiVWQZBdB50qlQ24jGEfa8Dtq4Tk=; b=CpuwRNzS5aTZG8 JlIItpVD0Db2Fb/mJEnsrLvaZeIIU/LP8Q39X9pOts28w7qZxNGxnuZMD5UyD+jCzDQcLzPU3/fKe zRa0l52YjFyrDnexPFBLtaoQt9FQV8uM6q0uhfneS+fAwrE71dja2ssgXkK7v7dO+P0ZshSYMvqIq PAmaCM5fjDFUieo1RdfpjyaUd26W4MN6Tt7y6/Rv/zVGXTJekk5ShertUFUyFPmNJsuXIUTqCZruK S16/S8jGhVCrS99shu7SOYNY5ogy1mqRqKhvDE5++x93QqtYRAj+y7yOV0PRhZXnjBDUMQ/C0knCX fJWCVa9cYO9x8dmri4Tw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIVH-00B1aG-VR; Thu, 09 Mar 2023 15:48:28 +0000 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIEM-00Av01-9b for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 15:31:01 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:3a77:63e:b168:ae06]) by xavier.telenet-ops.be with bizsmtp id WFWs2900K54Hw2A01FWsrP; Thu, 09 Mar 2023 16:30:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1paIDi-00BL6i-1s; Thu, 09 Mar 2023 16:30:52 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1paIEG-00GUnq-Kl; Thu, 09 Mar 2023 16:30:52 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 2/3] arm64: dts: renesas: condor: Add I2C EEPROM for PMIC Date: Thu, 9 Mar 2023 16:30:48 +0100 Message-Id: <84971f48eca0b696f592a922268af8c150d9bae3.1678375464.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_073058_567576_8D4E385F X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a device node for the I2C EEPROM which serves as external storage for the PMIC setup. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77980-condor.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts index 1d326552e2facd06..68d1f1d53b3a38b4 100644 --- a/arch/arm64/boot/dts/renesas/r8a77980-condor.dts +++ b/arch/arm64/boot/dts/renesas/r8a77980-condor.dts @@ -14,3 +14,11 @@ / { model = "Renesas Condor board based on r8a77980"; compatible = "renesas,condor", "renesas,r8a77980"; }; + +&i2c0 { + eeprom@50 { + compatible = "rohm,br24t01", "atmel,24c01"; + reg = <0x50>; + pagesize = <8>; + }; +}; From patchwork Thu Mar 9 15:30:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13167752 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6F36AC61DA4 for ; Thu, 9 Mar 2023 15:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Nb757dv6hYScMfnWxSTbZUTJu+5cgErGpfA5itqChsI=; b=MyUfdrlGJrCj1E 2uiJMDDV6reEULoGCcVmVs1/RUW8YBGgcW3e7wEkqH6ZBp+fNiU/ce/o75NwXYiFTfZGwVuXUDHPw 9p8rOV4CaafxZVj2j/PM0BA3CIc0+jzbHPnEtTrplXAzEbRl772ixYkVkjiiVR3yKtEis1C6j465Q RFHNYHia8c5wjFzRvx2/ZV0YICNHapHZrXJbcvz7T4iRMIkf9JAeOXDDa7veOcOgD6tB93ju0Sj8F n8H0bradtZRu9vBjW6jQw5oYqa1mDHueOpJknrgvNyBrPGfQ37ySnUyT1au70/MvwWRSLK95ql+UK MXqVlvehrbxvLCNkt+bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1paITa-00B0pu-SY; Thu, 09 Mar 2023 15:46:43 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1paIEM-00Av07-1J for linux-arm-kernel@lists.infradead.org; Thu, 09 Mar 2023 15:31:00 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:3a77:63e:b168:ae06]) by baptiste.telenet-ops.be with bizsmtp id WFWs2900b54Hw2A01FWsuS; Thu, 09 Mar 2023 16:30:52 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1paIDi-00BL6l-2L; Thu, 09 Mar 2023 16:30:52 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1paIEG-00GUnu-LL; Thu, 09 Mar 2023 16:30:52 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 3/3] arm64: dts: renesas: ulcb: Add I2C EEPROM for PMIC Date: Thu, 9 Mar 2023 16:30:49 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230309_073058_279309_EA3D20F2 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a device node for the I2C EEPROM which serves as external storage for the PMIC setup. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/ulcb.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi index 8b437632981dc5e3..7c91a4d5e8d4fb12 100644 --- a/arch/arm64/boot/dts/renesas/ulcb.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi @@ -268,6 +268,12 @@ dvfs: dvfs { }; }; }; + + eeprom@50 { + compatible = "rohm,br24t01", "atmel,24c01"; + reg = <0x50>; + pagesize = <8>; + }; }; &ohci1 {