Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1611139pxb; Sun, 17 Jan 2021 15:52:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCRYnuwU3iB+124vrhmcaw5kYG7xlEVN+uO1sMxW0sTTGBAH/hq0t/pdgnMETXgkLThPVK X-Received: by 2002:a05:6402:a52:: with SMTP id bt18mr17653874edb.228.1610927536339; Sun, 17 Jan 2021 15:52:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610927536; cv=none; d=google.com; s=arc-20160816; b=F45PrfpMXgQrh4S4Z0m9grpY5YC2LxnzJLYPYYdKllJNDd0DsmVwoFHSLpXzzRntUz LLfqz/GkiA5kwvIwvc0HfPgQMkHvY2fXU0yu09FaVMhk8ybUMYxhtTH6S6U1Is73FU5m KKOT453fni632cxHxzme46JovbyEUMm6E35j27nNrEwU/S3X3BV7DIVqysu4zqcBiu9q 8o3zhwUeSgZDrbokcqzMMaxaPu0lcsV+d4IE8I6XUd4HmLEJ/9nbNCeHn5IficbxJzTB BONB+5g0IBr70U/iCsqt7pc+6SRh9yi1rKRsa9khmjSpLbdxMNj15H2sVQgG5bssIrHz 09zg== 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=7CZQ3Ynd/NxtdggtzJL3Hu3UvMx+xdFKbu8d3vDBITo=; b=LFarWhQKj89xvd/T8Rg2uZRjlDbpnL1/kOoeKJXoJclFsMyf5HFZe2iG4LHmmDttzK 0OdIckGNbSsnDCYFnzOazDO/Hz4fqod5bdXUCtpOpXfM6ufkmBL8LPNCWQZwhtogMu/W b1uCblionsgFgXUGwHdBdrGGcUfQW7TZeVBZvCiEa80yL7OCVh3z05VHJGjgdvOvnbxL iM69+xR+y6G2X/ZMdQuU8cBk2hqWgERMSzy/BkdbYpscY4NWavskaWsWL/msaIk/REDZ paaVkiRcAH7wq0v2Any2K6jWbp3J/U6GRQSgdxJ3+uHJGyAdygDbPjbp3Wr0DBBtJsGD zJaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b="ekuIq/Yt"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eAAL11lY; 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 z25si4520297edm.412.2021.01.17.15.51.53; Sun, 17 Jan 2021 15:52:16 -0800 (PST) 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=fm3 header.b="ekuIq/Yt"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=eAAL11lY; 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 S1730355AbhAQXqL (ORCPT + 99 others); Sun, 17 Jan 2021 18:46:11 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57983 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730826AbhAQXpJ (ORCPT ); Sun, 17 Jan 2021 18:45:09 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8ECBF5C012E; Sun, 17 Jan 2021 18:43:41 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 17 Jan 2021 18:43:41 -0500 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=fm3; bh=7CZQ3Ynd/Nxtd ggtzJL3Hu3UvMx+xdFKbu8d3vDBITo=; b=ekuIq/Yt0j3Dbom/OQoNBDm/uYetY H7MF6T7Ok8z8p9l45bgxYfA7D5/tzlgHDhlUhKN35Isl9z5EpRvVmTQ4Tyu8EB1H 6Cc9sWM9c8TjEyTq8Fu03JkFbHxKIfpazCGMlXDP90nUHSHknPd8plMiiyufDFd8 EJqouGpEbQtUaBXEXhA0Ncaqv3NeUDWuHqQU7uKpYe3ttzxcSYccqaxTP7EsWo4B x2972SCN6xLqr/qtwbqOe8lS1UpK27xmAnoz0iNMeuEoTMerN8Xuq4wlKWZN/Rc8 h/To0LfveQULOYIAVjjY495trCvgBMCfiGxEDUmunT5bYR9A0gey+CPEQ== 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=7CZQ3Ynd/NxtdggtzJL3Hu3UvMx+xdFKbu8d3vDBITo=; b=eAAL11lY Leghmzotywkt8j/CMQGuNAOi+8f//fLo83x9oW4KhN/0II2NKjunAwrTrquPRanE p42bFXDRMjcPRRG/pN6NrxV8LeYGw24EQGtQVyW+b1kESwtDHrU6XwYPU77Hru3e +wNOkkYgu7jzyMfAkpWTTWkA5eT9klRjlOjTVHcnzQxtQ1+yCfL5M9fkQAQ15viF aTOXHmQ603jl9iAvYDKbtuunFDfHjew1WBpipUdRY+TITV7jdfcPPKq1X+Ff5R2C tKY0YCZo3myhEW5vklpSmRIxXfOzDRyjHjgakFqTNwJTgvlwJwDGQqygS/j7bbtQ 079nUoQRDFuOkg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdejgdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeetlhhishhtrghirhcuhfhrrghntghishcuoegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrfgrthhtvghrnhepgeegtdetjeekge eguefgheeuvedugedvteejveeiudegvddtkeffkeehtdetudfhnecukfhppeejfedrleef rdekgedrvddtkeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhgrihhlfh hrohhmpegrlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: from ThinkpadX1Yoga3.localdomain (c-73-93-84-208.hsd1.ca.comcast.net [73.93.84.208]) by mail.messagingengine.com (Postfix) with ESMTPA id 75DDE240057; Sun, 17 Jan 2021 18:43:40 -0500 (EST) 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 6/6] arch/arm: reMarkable2: Enable lcdif Date: Sat, 16 Jan 2021 20:25:39 -0800 Message-Id: <20210117042539.1609-6-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210117042539.1609-1-alistair@alistair23.me> References: <20210117042539.1609-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 | 70 +++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index f419ab704f06..d4e93f7ca7ea 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -221,6 +221,42 @@ reg_epdpmic: vcom { }; }; +&lcdif { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lcdif>; + pinctrl-1 = <&pinctrl_lcdif>; + lcd-supply = <®_epdpmic>; + lcd2-supply = <®_sdoe>; + display = <&display0>; + prevent-frying-pan; + status = "okay"; + + display0: display { + bits-per-pixel = <24>; + bus-width = <24>; + + display-timings { + native-mode = <&timing0>; + + timing0: timing0 { + clock-frequency = <40000000>; + hactive = <334>; + vactive = <1405>; + hfront-porch = <1>; + hback-porch = <1>; + hsync-len = <1>; + vback-porch = <1>; + vfront-porch = <1>; + vsync-len = <1>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; + }; +}; + &sdma { status = "okay"; }; @@ -331,6 +367,40 @@ 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_uart1: uart1grp { fsl,pins = < MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79 -- 2.29.2