Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp223057pxb; Fri, 15 Oct 2021 04:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKkDOowhPA8MKqEeWKVmRsK4TGe9us6fJ0UXgVU/rJaTdfmvANAcGqD9XxTbqBrq7+ffSt X-Received: by 2002:a17:902:74c7:b0:13f:48e1:3cd2 with SMTP id f7-20020a17090274c700b0013f48e13cd2mr10516005plt.33.1634296873584; Fri, 15 Oct 2021 04:21:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634296873; cv=none; d=google.com; s=arc-20160816; b=q/VMk2NBaKwI6rcNoSKFZHoYm0efbbDk/QKp48xA+bAVMRO+tgQ3dqRXb4jpKTHgFa Y5RjUlS0g+5CNw7982Rvvdavgbd4Jukn5/pTTeScoB8tlbqawZzJ0BxaiOxFdt0Nd9V0 S/Qhl0vJ6yHKH+jk4tzr9Ms4j6kisGsarjOLlWQPiaLGtOAupU6tQwfdlP2Pyy3PdWs9 COB75lV+1hSERFIbfQosDJ9+yP5MpttnkGDiUtdf/TeSInFE9z9DKb2LMUTUKy6xmt5u OUz/qc+bsIMu+48hwd9/g1ERqTSAFcaR95VqiMxMw0plzkSx6VHxsare8ibDv1/Wm3Eo h3Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EkvNe4X+FtwCmULGjppFY+7jusV9hjF1scIcnJ6v5wg=; b=aM37+Bw7blf8fgbmAzPPvLk6D1GF/bBwcXYjJ/pXXmVrikxybXbEFAEVMXsMJDADEJ 3M7fOg0reZURYFE2YRiqDYLCBh19tMbrJFto0PHjRC38vkb3esPqX/zK1u9IJe+e5uS6 kvuPax5vbAwn+9FC1zBFpZFw2b5CgtnWn6Z56YhqAmkR++cuH06ww1M87JQm4E+S+zih TJT+ODm7IQjXDjxw9BtROnhlkbhw7UUjFP0qY4NpaO/rSMQn8R/g+ifPkkdomH6d9f31 kMtS7MPS9fbsQQL8bn37cQP++CeeENuiy/jTaO/qeGxeg4VEEYsvuSY4bPa9838ahsu9 E+7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X4O+yjyl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d8si7343062pgq.172.2021.10.15.04.21.00; Fri, 15 Oct 2021 04:21:13 -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=@kernel.org header.s=k20201202 header.b=X4O+yjyl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235350AbhJODBw (ORCPT + 99 others); Thu, 14 Oct 2021 23:01:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:41722 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235274AbhJODBh (ORCPT ); Thu, 14 Oct 2021 23:01:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BCF8261151; Fri, 15 Oct 2021 02:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634266772; bh=KfjD2rCyH2HclCsiLQsNo252pJdf5DBVJQQPUNIyJMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X4O+yjylSXm3zsoDdbKT62HmSvuErqoiqFce2NbpOSDBeayumOqPhi1RZ8N+BPWBC xajRjB/ccSW8vEOmpCgx62jC+6ZQWogjwvBOxYJ6tpVvlOEmUsENrERZXpOENCTeSh cbCoq4nXKtU7lMiiT81bSxc9n62hxY/8rHplENhIhrPZejl5GHKX0TKjJhOU0QMRB/ LYvxNN8MB4e4da024qdfX/KAoNGoAZ077+4jmEGczW9venFscZgsPhYA5rEGpiLayL X98pe+QssaZcOU6VKQu/HSGTBN/CECh/1aNof7LjL8ouFjjSvGbw8m8dhOdLGTUqoZ CyQepUaKGNkIg== Date: Fri, 15 Oct 2021 10:59:24 +0800 From: Shawn Guo To: Alistair Francis Cc: lee.jones@linaro.org, robh+dt@kernel.org, lgirdwood@gmail.com, broonie@kernel.org, kernel@pengutronix.de, 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 Subject: Re: [PATCH v12 10/10] ARM: dts: imx7d: remarkable2: Enable lcdif Message-ID: <20211015025923.GA22881@dragon> References: <20211009115732.19102-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211009115732.19102-1-alistair@alistair23.me> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 09, 2021 at 09:57:32PM +1000, Alistair Francis wrote: > Connect the dispaly on the reMarkable2. > > Signed-off-by: Alistair Francis Maybe there are some patches missing. It doesn't apply to my branch. Shawn > --- > 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 1b49c26816cd..5f32c216c3fd 100644 > --- a/arch/arm/boot/dts/imx7d-remarkable2.dts > +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts > @@ -47,6 +47,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"; > @@ -55,6 +65,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 { > @@ -114,6 +134,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"; > }; > @@ -228,6 +262,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.31.1 >