Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp3210390pxb; Sat, 9 Oct 2021 04:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo5/XycuWpcwZFGo7qEnTS0wrFa/61V6OMkHR6ec+H/FFK6so94EzKRMwJ1pUVyDt5n2G3 X-Received: by 2002:a17:90a:ba14:: with SMTP id s20mr18499794pjr.20.1633780478337; Sat, 09 Oct 2021 04:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633780478; cv=none; d=google.com; s=arc-20160816; b=TARrtbLqdgvK6YGnh9EgP02fokvHyMrB1ioGNtGfllIRB0cyB8QvOlQaWKoOMGbCZC n3e/jYU8jvcaTmWrAxb5Ld+mpAMdOd7npwCOw2advHYu5SExGUlfFEAczmLDdswDQLsi JdfgV9scgxFgMNuosb8YvACYEFVDRJClZKhBoUIIg5yEvpJ5ASS2LGwbRR9ROsR0b+B/ 6GFkA/IXG6PEbSyjqtu0iqWqXUonXTPibT0e3x833ohbThfbUi2vP2PjHdWXqx3i64jo 5GO/CEeyMiV7etLzuCCKhKc4BaOWGook64RR2oPxMIuNDwOKodgM0s0b8wbVMl0PtcfP ahzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=XiqTZKl1McPnskC+dsf8QVzxlqYLoghf8xc3andbQlc=; b=BlDbGjzTThvIYbewdL7wJ0vZKOgbtz0HzGaOJUr6cwmhZW3vgrKpm3Sj5jfF0NE5mc i2bMSYgaY28+Ok2/+x2geZnBoa+Fto+lXiMiMHguySgW9sKmUHc0hjLOrMa4yITUY4MD N6+XKdFPSvRQ/XOLAliDB1heN4d8n3hQaPnSUZj76I0WMYcaPXk4YJvM7XCCv2EeiQsJ nfCwdKiiJhVa3JqVQVZkJOY2g//8vEOfxaD95GoTXAH/fo1vSRC2R3FoV80GmFn4hi+S kdN+2aDU0GEsV9m0U2DA1w5BWkki4ZdV381+YcHOkyaHWUC2NIbuqJ9zxXl+t7G7VmY7 fvnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=qRFtx2kR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MCZu76iT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k190si2586710pgd.472.2021.10.09.04.54.25; Sat, 09 Oct 2021 04:54:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm2 header.b=qRFtx2kR; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MCZu76iT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244918AbhJILxv (ORCPT + 99 others); Sat, 9 Oct 2021 07:53:51 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:43545 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244820AbhJILxn (ORCPT ); Sat, 9 Oct 2021 07:53:43 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 643AE58055A; Sat, 9 Oct 2021 07:51:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 09 Oct 2021 07:51:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=XiqTZKl1McPns kC+dsf8QVzxlqYLoghf8xc3andbQlc=; b=qRFtx2kR06CVDRGF+zN8ihSZfCIjW YuSf37CnflE31Q+lNI2bPmCQpjkKKjej6zER92QOvJp82OA4d22Jyu1R1UeiSOEx SAv1niYx+SCPP6Q1IymldzRRLcYNLIV0T+1o+YEk4L0OzKOuVZRDrFJLfO96gHrK I7nP2+5Op52LfmQI4+H67gjE6CQffSKlQ5oy+38pt1qJIBISakED2dJWXLgOkIfn 2ueH2gGnT0uwyof7JU2/pnXndgiyNK3jwTv3PSHoc3P/kmnloCZDUAYBh6iUXJKD //+5hmZPCqvb6HJ+x1hqVG8geiXnjf3b7E1XTwMDP7phuH1soOdmrI4uw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=XiqTZKl1McPnskC+dsf8QVzxlqYLoghf8xc3andbQlc=; b=MCZu76iT StWrmP0VJoW7XiwAsIo0zlFjgqZlHu31p1pl2zQDURXcSzoIta/hdFm+girT32Yn kPvq9kB/UjNejbKsPm6MbYZZChQe1r14o+Eaqm4snbPq+A7Ph7MAnPo3Vg3xi/E+ KxHfiE40T9Q37kRugnMabhBRQ5gHjDcFTkRTf4Te2rdWn9EBQrHJzdhyLjQuYIpq xQ7xJoNLfYaYytu7dF106zuMtSEa9sI/Ej7R9I8Z6DWxz/l46ryGT7+2O8sZzE6g yqArghXjsLoCd0P4CSGjsyg6UcXUS5WC5OspxtpgRx4E0vt0ZrKvGig25sogyp5i if7bartooPycZw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtvddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeeggedtteejke eggeeugfehueevudegvdetjeeviedugedvtdekffekhedtteduhfenucevlhhushhtvghr ufhiiigvpedunecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlih hsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 9 Oct 2021 07:51:41 -0400 (EDT) From: Alistair Francis To: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, kernel@pengutronix.de Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, linux-imx@nxp.com, amitk@kernel.org, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, linux-hwmon@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Alistair Francis Subject: [PATCH v12 08/10] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a Date: Sat, 9 Oct 2021 21:50:30 +1000 Message-Id: <20211009115031.18392-12-alistair@alistair23.me> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211009115031.18392-1-alistair@alistair23.me> References: <20211009115031.18392-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 2099784d6515..1b49c26816cd 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -87,6 +87,33 @@ wacom_digitizer: digitizer@9 { }; }; +&i2c4 { + clock-frequency = <100000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4>; + status = "okay"; + + epd_pmic: sy7636a@62 { + compatible = "silergy,sy7636a"; + reg = <0x62>; + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_epdpmic>; + #address-cells = <1>; + #size-cells = <0>; + #thermal-sensor-cells = <0>; + + epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>; + regulators { + reg_epdpmic: vcom { + regulator-name = "vcom"; + regulator-boot-on; + }; + }; + }; +}; + &snvs_pwrkey { status = "okay"; }; @@ -180,6 +207,13 @@ MX7D_PAD_SAI1_TX_BCLK__GPIO6_IO13 0x14 >; }; + pinctrl_epdpmic: epdpmicgrp { + fsl,pins = < + MX7D_PAD_SAI2_RX_DATA__GPIO6_IO21 0x00000074 + MX7D_PAD_ENET1_RGMII_TXC__GPIO7_IO11 0x00000014 + >; + }; + pinctrl_i2c1: i2c1grp { fsl,pins = < MX7D_PAD_I2C1_SDA__I2C1_SDA 0x4000007f @@ -187,6 +221,13 @@ MX7D_PAD_I2C1_SCL__I2C1_SCL 0x4000007f >; }; + pinctrl_i2c4: i2c4grp { + fsl,pins = < + MX7D_PAD_I2C4_SDA__I2C4_SDA 0x4000007f + MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79 -- 2.31.1