Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp297398pxt; Fri, 6 Aug 2021 02:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybA/RyOv7satpNU8urlqGsNRhlwit5Lq5IOv/erBvFDejwzyPaEWfCLqzTqQQNSy0OfqNi X-Received: by 2002:a92:d944:: with SMTP id l4mr71798ilq.102.1628241213553; Fri, 06 Aug 2021 02:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628241213; cv=none; d=google.com; s=arc-20160816; b=LX5ckMmUT7G/4DT01OECtyV23qkrs3rXS63nr4eMfTWHHReSex8NejwH75G97ykD8Q C9THsWcz3YQ0F1pqh9kEflExreyCrZGUzQSrdd9HA3KfmVZInFRtjaj667SOO4vOAHNC +1IlyFllGT6aA9nzthjzdtkx+2BqgMLSL5hOLPFu3m4pLa5s0V9oi8Ay+5466Bz87Og5 6Pb5AIsEWAg/Du1F9Xws3HGTmex6tL5CxcQuyUyhaY1EYEphu0VoseCFvdwsZbOTE4Fk tOUc7ClymeMF28UBxNSJQM1Uijb44exNDB409AXdJPr6lkIcPRiD8FcBYWiGoLep23Hh Nzqg== 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=UMe+3P4YUXxWDB9MuMuOzPb8/JlMM81hk5eWcH49tWQ=; b=CELiPXj5fhM2ai8IRabKRWn4mmD2fEHfOL2cIVsej7vMDyde3Kr5VJ5KhJTcR2FHvR l4hF5H/lVmIdcFEFOSagAwDW7LJ6YuQUlrtt9xNHN2y89SOeYvHfRGgvrdt5nVXx/s4S xhQXtJK5vFW16eQeosOfPVWVFfL0/zr2Trw/p0GfCihkWkaCCsb+PXhU9wTncHmQHZRD xg9COsp4a3CWziPR623u4EG4MjKSRmY0mlXG0mSuLS2+gNOroM0HK0bCJVSMbiL3hMNC ncHYgB4uxxCkv7ZSQ1hRXtSLNCs09tcnG63QMsL+w7A7SkyVTFUdqrgqJbse0MxbsNAT UkNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b="ebKG/nVD"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ebxdyBt4; 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 i12si9576290ilu.109.2021.08.06.02.13.21; Fri, 06 Aug 2021 02:13:33 -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="ebKG/nVD"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ebxdyBt4; 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 S244338AbhHFJMT (ORCPT + 99 others); Fri, 6 Aug 2021 05:12:19 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35441 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244213AbhHFJMK (ORCPT ); Fri, 6 Aug 2021 05:12:10 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BE3AA5C00DA; Fri, 6 Aug 2021 05:11:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 06 Aug 2021 05:11:54 -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=UMe+3P4YUXxWD B9MuMuOzPb8/JlMM81hk5eWcH49tWQ=; b=ebKG/nVDfdmeyaIxSgoN+JJrgmfzt HbNHOfPYhjxTR1PHTOGV1w2HOXTX9lVf+/C/RwY2qr/CwOnJdoQoyRnJem0meDoc 33/6Fa5OJ9OBnF6lJspp9uWCLaeEF6xVLK++AWlU/MOl8rwYyrsP+GweFLN5FFyu l6aKlN8G5W+4+B37deM4j/Kd1ywUaBpkBxJZYIW6Lp9MxZLNVII5n7+gW0/9a+lq 2bnexSg0zhqeig/PiYYSFJpS/obLTzI989w6Ix24fdahOehO2PMmVzj5ZTeo4Qs3 ILt4w5Sww5i72lZOsRbhjdEu7+IkhHFbeFqt5Yp4eHsAvId5Qdj33pPtA== 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=UMe+3P4YUXxWDB9MuMuOzPb8/JlMM81hk5eWcH49tWQ=; b=ebxdyBt4 RswBqJjrG0XBvwTAvBnIwheuQS2LSoaQnY9tC2TFC0AQ2dE8BKL1xtz5xwHBcHlU L7zU3S8MZbehCH5eycrCu3UgyYtgux5umAoi6sCSxCBuwY0ck82Dg9kc7r2hcmnd f0goQwz/xiVpElTW8gTFXjca0K0gpPhnGSsfEavHZ3ts14GLaWGzHtPRsrg1n2g5 mJR3jmGRtrWvyUj7MGngIqkeC/gvgYvwprHuswL+gD++6M94xDUxu+RJX82S23Qn 6BudDYlM1Hk9WN4I4ZMMeXK4V4aWxostP97pabcoj6c1O+redD+4SUS2hL+25der 9Mvs98bEHpAJ7g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjedugdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgrihhrsegrlhhish htrghirhdvfedrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 6 Aug 2021 05:11:51 -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 v9 10/12] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a Date: Fri, 6 Aug 2021 19:10:56 +1000 Message-Id: <20210806091058.141-11-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210806091058.141-1-alistair@alistair23.me> References: <20210806091058.141-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 cc33b53ae6ba..2f0c4fda38a3 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