Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp477409pxb; Thu, 19 Aug 2021 04:18:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPQlH48Wtith9/Sk9y8QwFNd3kTmQj4h72kF0EhrAxb59gxPQedNnq+hqvKEKjQo40Mke7 X-Received: by 2002:a5d:91c2:: with SMTP id k2mr10839069ior.117.1629371928916; Thu, 19 Aug 2021 04:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629371928; cv=none; d=google.com; s=arc-20160816; b=lbpHehWox1B+/NHkhL8Ofb2Hsj/em7X6bh+40P3WHNIKQ69W/dbU8ne0oThrDDR0z7 QDKZQ0N2qc3hTH3BLETEt4Ud5tElDhqYeX3iIcfLekauPrAFrw7uoQ2cPFL5re/QFLJI HLStPo1XGjsZd4NzMc0NpLHJ+aWuIgO8cgDV+jGGJfKoMSodMlQ+vqy0JhKMhjQh1Caw m3KLYq6T+YTdkDvx/WrXXDjNb2WZCUFr2JV1wVSDkCfWB3Hq7Z2f9N6VCCRWH1lyWTve numYZAEJEjoU485S1forjiuvfWnkKMUMmI5LmtD4/ZAhWHXayhi07/p1R33hZInANXfa zqPQ== 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=OcxDmT6yzDNfT/cRSP0vqtlrxPSFTAH5XRTlf5MSQVA=; b=poA5XJjTCndTFTdyUeCBaYTHbfejnPZEr5zpO3AdOyZtiucLiaeg46yAM1XZP2uNxX 2NTWj26UyHuzB9a5lY1wMV5mAJ9z99LL3QvzTYauWmQfVj371SE6adzbnt84b/OqHd9s 7iLzNolf9k9MgWL/A5m1dHBZVxKC35WBDijuu41hCjp39qxd4Y1H5J7/dy94JvY+TuB1 zwlvGf8FaXABRfrU45x1jpCcbl5qvsCqBotuYzrwENhJcPOvljiGGRRNJHzsnJrhgyEr En9HMO33zjsHLIteWCFSbD8telmG2fOMPZuD1LU+L3xRUz+YyhuylrFBw8SxAcLLOpOY Vr6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b="atg/5DJB"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SwwheKrU; 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 f22si2861663jam.92.2021.08.19.04.18.37; Thu, 19 Aug 2021 04:18:48 -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=fm1 header.b="atg/5DJB"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=SwwheKrU; 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 S238778AbhHSLRL (ORCPT + 99 others); Thu, 19 Aug 2021 07:17:11 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45139 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238785AbhHSLQ5 (ORCPT ); Thu, 19 Aug 2021 07:16:57 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 61DBE5C0076; Thu, 19 Aug 2021 07:16:21 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 19 Aug 2021 07:16:21 -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=fm1; bh=OcxDmT6yzDNfT /cRSP0vqtlrxPSFTAH5XRTlf5MSQVA=; b=atg/5DJBzmwu2uLkh2rq/TUMU5Wu/ zpTxAizVp/bGxVIBb/QajNB27bOsN3865z6tuVBgsWxy2fH4p3Istv6/thBNZUdD +x4TEbqn8i8C1Wi3qh0MN2MYqtjkNUkZQn1VZLdxiIh/QlTbwVnAUIYr9jazxPe6 50Oovyc1pjIBFkG01e2qQhykHLm6O2B4DaQM4TZtgcJChmFxyGzFRbmaCjf928md WP0pL6HPzdotCbB/FCp/NIxg6bi6PXcvQtlqVjFEr/E1TTtRMUckbHCVR+FzPTMV wAxFn0NpUwWjIflJOss3ESt0n63TTfNlKRoRciKx9O3apQv2etrpUoQYQ== 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= fm3; bh=OcxDmT6yzDNfT/cRSP0vqtlrxPSFTAH5XRTlf5MSQVA=; b=SwwheKrU JVaR9Xo6ZVZ1rcZIbeoJsRVtOtS74pvbuH3xtcV2TiKjtu57/U/p9MCHA1fbiV12 a/4pJNUjGCFRSzagu7+3Xg+6H5RETuZF4hZ0eMPqrzJKKIIbQwAVYBXz5dYE9zWI B8wuFKbhxEpAllljG/KzplPVPw+E2xPjKNtPXKMXgr6q5awJDac55SvwnZYMeToD T5LTe54xnel0FaGfHFDeFUSsO9so1+rY8e9hjBQUlwWJecsJ24cW6iIW1Hh9V3oH 1IeIzsH3dkI4/nmLwhJt+eTUnjp6fUcXWX1Fvsh/uB40WCxducevciqmzGrBfj2u PjLtP3IvnvX4qw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleejgdefiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 19 Aug 2021 07:16:17 -0400 (EDT) From: Alistair Francis To: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alistair23@gmail.com, Alistair Francis Subject: [PATCH v11 08/10] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a Date: Thu, 19 Aug 2021 01:44:47 +1000 Message-Id: <20210818154449.1037-9-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210818154449.1037-1-alistair@alistair23.me> References: <20210818154449.1037-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 052f9da32398..ab2f61d9c635 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -86,6 +86,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"; }; @@ -179,6 +206,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 @@ -186,6 +220,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