Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1604543pxb; Wed, 30 Mar 2022 06:58:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySqKO8N3JohHT53KeaJFbrzfDEJM8oIMZArHFjMRr7ikM2/zUWh9XcIagjZCdLlmdK6+lj X-Received: by 2002:a05:6870:a2d2:b0:d7:60ca:5065 with SMTP id w18-20020a056870a2d200b000d760ca5065mr2225255oak.72.1648648686930; Wed, 30 Mar 2022 06:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648648686; cv=none; d=google.com; s=arc-20160816; b=c9Cc4ZHmnEATkzcpeE6rImTmYIFlcBOfkOMHU7mX+Q4sOSl2+773wW6jzpxoSeQcxb LeWAFyUl8Eev4yVG3FrdRuMq7zNsDFeZG0N8QLRxei5nn+YWya11tKc/HJOuFCfQdIR1 QuWEuMl9dkaigoTdWHYDDNN40RdUkiNTzVHDp4FEw8vXx2eqD+vFVxc8ce1rg6Rw1lCX HRMheyy/UOmo9lUkOlWBMuHXzeBWpNDy/MmLhNZ+0jpOc6e1Lo78BxlnbXNYB3WMH3l2 YOt67sF71mmeqZdoLnVmZtZ1117bqRBc8ukGoatwcq3h+/+Boo4owyWL9uEgakXJw/ZX Atdg== 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=MwfV7nsItBnW3Ozn8rdsGHNQf72GR2WAjiX9XTD015E=; b=zkPxEtbMpqp80P73UOjQnbDIQEi8wlTj8IitohjSHQ8B1aQPEz819TJRC3oYE2fa4z InrLRm+1ZAgbPfs5QA3/ecm4nthqShD2LX6gMcNZf+w35jmDLlbaZgN03911/5Or8rDG aeSsQpF+45iWNH18hrfZI2RRNUJIPVL+vvPuEPaY35TfWr/dLZq7eg8pDmpgihkZXiWl 0azJYL7JX0qA4/vzrnCy7OOy64S6f8jlxtHhzERmpChMXcH/3DoCY/HOcgX/Hd+SgFaZ S7J25wizSYQ/uK+yrIN7B1/Twnph0yWO7FZX8h5eLJ7iRIzC+kSzaTNe7sk8PVuJ7pS5 F/Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=VqXkFVdS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iJfZWwIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h130-20020aca3a88000000b002ef0c34769dsi15133552oia.285.2022.03.30.06.57.52; Wed, 30 Mar 2022 06:58:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm1 header.b=VqXkFVdS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iJfZWwIw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244948AbiC3Jn4 (ORCPT + 99 others); Wed, 30 Mar 2022 05:43:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244958AbiC3Jny (ORCPT ); Wed, 30 Mar 2022 05:43:54 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AA8926758A; Wed, 30 Mar 2022 02:42:06 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 509C35C0112; Wed, 30 Mar 2022 05:42:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 30 Mar 2022 05:42:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-transfer-encoding:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=MwfV7nsItBnW3O zn8rdsGHNQf72GR2WAjiX9XTD015E=; b=VqXkFVdSuwozC3TVRTXmgAgA0DNufN ICcHcs7su254A753czgLfAAYq4DzUIylEOBNkl6vSy+pxXOEtljJPaCSr5oiOsen xUf98usU8u9N6DA2YFtGBL/VGHbRJdlNRHeR8WRuCaDURxA6Z4tVV33ZH9eDpGdT satBMZ9QAW0la4K56GNZcd1cooFAzBfpp6GHqmL2I6ea50F16214F0nzVXYTj2lq QNDaKhJ4eve9Fg72Xpen7YReKdEHcTKHFA+n3kpd+CFLnNxVju+VdvKSiPYE9T0p 3IonpU/P3oIqfUUILtFGdPT5cewDfuqqy6rhMXgPJwz0h457cd89JoZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=MwfV7n sItBnW3Ozn8rdsGHNQf72GR2WAjiX9XTD015E=; b=iJfZWwIwJ8yxPEzgX2ydP/ p4zrZKUYupVD6W7iz8nChu6aNFD7/Vk1b0y2ws+wNXgD4lsN4DOdkUdX+ZRvd+QU YFiXE3vtDcVz+rfXU3G8t4NzetWeuzp8PMvw/RoAbZB1gV4WRAH3/OW+PHd3EYQb Ufn9Dbwg577uD/+UW+bqKkyQKCGd2I9wOBL/E1v43uchwGRNPs1GEEjgvG9tTnB3 EaxTYtBAbChXRhxoWOsTSHksI0yLwxfpfhFOYL5DJWsq9OVTDbEVTOA1ARy9ybrb NJBIo/xMbWyosSPxdUQEcSVQcCrTrSRQ7z1Gz/Ajikimkd9hyyI7K/G7aPprIIYQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeivddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpeeggedtteejke eggeeugfehueevudegvdetjeeviedugedvtdekffekhedtteduhfenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghirhesrghlih hsthgrihhrvdefrdhmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Mar 2022 05:41:58 -0400 (EDT) From: Alistair Francis To: lgirdwood@gmail.com, robh+dt@kernel.org, kernel@pengutronix.de, lee.jones@linaro.org, broonie@kernel.org Cc: linux-hwmon@vger.kernel.org, geert@linux-m68k.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, alistair23@gmail.com, s.hauer@pengutronix.de, andreas@kemnade.info, linux@roeck-us.net, rui.zhang@intel.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, amitk@kernel.org, Alistair Francis Subject: [PATCH v20 4/4] ARM: dts: imx7d-remarkable2: Enable lcdif Date: Wed, 30 Mar 2022 19:41:26 +1000 Message-Id: <20220330094126.30252-5-alistair@alistair23.me> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220330094126.30252-1-alistair@alistair23.me> References: <20220330094126.30252-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Connect the dispaly on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 74 +++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 99ac0d242936..03a4029e1e57 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -68,6 +68,16 @@ reg_digitizer: regulator-digitizer { startup-delay-us = <100000>; /* 100 ms */ }; + reg_sdoe: regulator-sdoe { + compatible = "regulator-fixed"; + regulator-name = "SDOE"; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_sdoe_reg>; + pinctrl-1 = <&pinctrl_sdoe_reg>; + gpio = <&gpio3 27 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; pinctrl-names = "default"; @@ -76,6 +86,16 @@ wifi_pwrseq: wifi_pwrseq { clocks = <&clks IMX7D_CLKO2_ROOT_DIV>; clock-names = "ext_clock"; }; + + panel { + compatible = "eink,vb3300-kca"; + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; + }; }; &clks { @@ -132,6 +152,20 @@ reg_epdpmic: vcom { }; }; +&lcdif { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lcdif>; + lcd-supply = <®_epdpmic>; + lcd2-supply = <®_sdoe>; + status = "okay"; + + port { + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; +}; + &snvs_pwrkey { status = "okay"; }; @@ -246,6 +280,46 @@ MX7D_PAD_I2C4_SCL__I2C4_SCL 0x4000007f >; }; + pinctrl_lcdif: lcdifgrp { + fsl,pins = < + MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79 + MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79 + MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79 + MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79 + MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79 + MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79 + MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79 + MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79 + MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79 + MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79 + MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79 + MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79 + MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79 + MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79 + MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79 + MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79 + + MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79 + MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79 + MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79 + MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79 + MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79 + + MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79 + MX7D_PAD_LCD_CLK__LCD_CLK 0x79 + MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x79 + MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x79 + MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x79 + MX7D_PAD_LCD_RESET__LCD_RESET 0x79 + >; + }; + + pinctrl_sdoe_reg: sdoereggrp { + fsl,pins = < + MX7D_PAD_LCD_DATA22__GPIO3_IO27 0x74 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79 -- 2.35.1