From patchwork Sun Jan 27 14:48:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10782891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F3A7C91E for ; Sun, 27 Jan 2019 14:48:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DD3FD2A6FA for ; Sun, 27 Jan 2019 14:48:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDC9A2AE22; Sun, 27 Jan 2019 14:48:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7D54B2A6FA for ; Sun, 27 Jan 2019 14:48:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1JFAgNDTJnjEzH9CvqF44dc/NTJhz3gXAdJOBr+/l9Q=; b=mqyCqwetUg+dmr kHzNErOxRCkXD3Pn0oGTzfmkBgpykYJjAEeDrVTwiDnkBhys6yzdUlSOi8tHuMddbfKP1DR/OS56L vLEZegtzsqAzjdViDzr5eSBeZmB2bDt7YohB6i2TotoidXm4A1GipEtqFKPT4RBeTBe+EYDzfxCNP /gHrGqvFolSR7zzTXNSDmlxU9SJAzKuWcCkT6X6oQkI2FJSnMx1Myzp9zFdrjY0cU8inDLCzQUin/ AzVnbgADexhf5UEF1TAT7YzRoidjjZygHNWqVdq6aopNC+SZmByQa+VwIZ/NOUIJUCaDUXfq+SULD JAnI1OiHmwx3erd4ZZdw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnlk1-0000Z5-2r; Sun, 27 Jan 2019 14:48:57 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljn-0000MW-Iu for linux-arm-kernel@lists.infradead.org; Sun, 27 Jan 2019 14:48:45 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 614F45F9F2; Sun, 27 Jan 2019 22:48:39 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Subject: [PATCH 1/5] ARM: dts: sun5i: Add backlight GPIO for reference design tablet Date: Sun, 27 Jan 2019 22:48:34 +0800 Message-Id: <20190127144838.3578-2-wens@csie.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127144838.3578-1-wens@csie.org> References: <20190127144838.3578-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190127_064843_751527_CEF21603 X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now that we support the GPIOs on the AXP209, we can control the LCD backlight with them. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi b/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi index 6202aabedbfe..5b1f0e198eb6 100644 --- a/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi +++ b/arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi @@ -54,7 +54,7 @@ pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>; brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>; default-brightness-level = <8>; - /* TODO: backlight uses axp gpio1 as enable pin */ + enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */ }; chosen { From patchwork Sun Jan 27 14:48:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10782895 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5E5221515 for ; Sun, 27 Jan 2019 14:49:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4AFC02B029 for ; Sun, 27 Jan 2019 14:49:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3ED692B02E; Sun, 27 Jan 2019 14:49:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E5ECF2B029 for ; Sun, 27 Jan 2019 14:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hzXx5OdGjt6D9DVq6vHChmv1vwxzMwAvQs2jKM53ZVk=; b=TkMW3rGimdRBp7 bDcsC43ZgqaRbXHGmgdTuVyiwI++BTd3q/CSkjnOAjEXSQ7XcP8vwPR7xNvh5FzLtxMdXedfRRWOI Mqs6Xzgt4NNPBqS0UmRl1vMYIS50vf8aUZ7zyizibt9/b9Us0JwPpj0RX/0rgfcGqcGZljsK9lNDU RHLLqk6s1tAfYJhm+1uAizXuR7K6p+aZVsCWJrTOaIF8UMj4sXOp/VeUltlYM2iqkVt880jdEdN3W CEVSlORlI2K3ETh5Qt5qYyA5SDeetjcFAehqVNMBoj0TLr5HaWZyWJ6w7ZEHjDkoZ7+ZoCStCpRzD EZhHBi2zwly2JqZL7VqA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnlkf-00017e-0t; Sun, 27 Jan 2019 14:49:37 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljo-0000MY-8k for linux-arm-kernel@lists.infradead.org; Sun, 27 Jan 2019 14:48:46 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 69A8F5FD23; Sun, 27 Jan 2019 22:48:39 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Subject: [PATCH 2/5] ARM: dts: sun5i: q8-tablet: Move panel properties to correct node level Date: Sun, 27 Jan 2019 22:48:35 +0800 Message-Id: <20190127144838.3578-3-wens@csie.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127144838.3578-1-wens@csie.org> References: <20190127144838.3578-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190127_064844_435281_5C0AABAC X-CRM114-Status: GOOD ( 11.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The panel backlight and enable GPIO comments were incorrectly placed in the input port, while it should have been in the panel node itself. Move them to the correct position. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts index a89f29fa3e40..3a844dae26f7 100644 --- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts @@ -50,13 +50,13 @@ panel: panel { compatible = "urt,umsh-8596md-t", "simple-panel"; + /* TODO: lcd panel uses axp gpio0 as enable pin */ + backlight = <&backlight>; #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; - /* TODO: lcd panel uses axp gpio0 as enable pin */ - backlight = <&backlight>; #address-cells = <1>; #size-cells = <0>; From patchwork Sun Jan 27 14:48:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10782893 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D522B1823 for ; Sun, 27 Jan 2019 14:49:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF3A52B02A for ; Sun, 27 Jan 2019 14:49:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFC412B029; Sun, 27 Jan 2019 14:49:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 616902B029 for ; Sun, 27 Jan 2019 14:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2BO3qL+biT6ZR/+dwM+M15BTYgOJfUCf7jeNerM1w0Y=; b=FB2NUeach/5+rB QyD+SfaQjbX5ojSTofNXD72CY6sdS08pwC1MwFhCTF5mgyyQ7vNtJKQcVnLTO9XefeVLg551+mz6z 2INzZrLnul+ZWiyMDNi6N+89I29ENiSi1OYqlLDLC1QYG1VyqBEC4Mvma2OMwjJOIpg4Lw8YbHYS4 ytP0DuJN+VAxoIXCKaQuhpIvrdXvXG8Vz4gwUyFAC7JVkgQMt5HFgAdF6V6HdxuSKUuTCl76TIJ4L FI3TPSBShLF3akrQIG+QeC/xsF+1W9ljYR57YHH6ky/7+thE2jMCv2Siyv9yybRiHh/3VCaYxraS+ 685Mabgwao7JCctRV0Vg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnlkU-0000y0-Ca; Sun, 27 Jan 2019 14:49:26 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljn-0000MZ-KV for linux-arm-kernel@lists.infradead.org; Sun, 27 Jan 2019 14:48:46 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 70B125FD53; Sun, 27 Jan 2019 22:48:39 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Subject: [PATCH 3/5] ARM: dts: sun5i: q8-tablet: Add LCD Panel enable GPIO Date: Sun, 27 Jan 2019 22:48:36 +0800 Message-Id: <20190127144838.3578-4-wens@csie.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127144838.3578-1-wens@csie.org> References: <20190127144838.3578-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190127_064843_888721_12A8FAD4 X-CRM114-Status: GOOD ( 11.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Now that we support the AXP209 GPIOs, we can toggle the LCD panel enable line. Add the GPIO phandle to the panel. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts index 3a844dae26f7..ead159f89e74 100644 --- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts @@ -50,7 +50,7 @@ panel: panel { compatible = "urt,umsh-8596md-t", "simple-panel"; - /* TODO: lcd panel uses axp gpio0 as enable pin */ + enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */ backlight = <&backlight>; #address-cells = <1>; #size-cells = <0>; From patchwork Sun Jan 27 14:48:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10782889 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45C5E91E for ; Sun, 27 Jan 2019 14:48:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2574F2ADB8 for ; Sun, 27 Jan 2019 14:48:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1184F28C85; Sun, 27 Jan 2019 14:48:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CC6E229BF6 for ; Sun, 27 Jan 2019 14:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZlfNdZaegAHadPoOp25uGyyinZ4C4FEwRY4PZmlPeNs=; b=H8l/ELX36Ze6bA hqmoan9UInZ8b14wYDjoftDHiwS8vHNIbjIr5S3FbDwXe4jG12maBcaudmXQQJwp9dXeFe1eL6hYa 6b2ZUfuEGkA4XaiEqjPREj+IrBvxnzgfrPd831w239EJEn+8tqX9wAMLsNPsSs4NI3y03vEHoWkVr 330csJYlBPQctRGe2hLMRCbQ4KB1a53eVmemXvccInh3IJQQopo8uO9caZFeg5cTLt/nI9Obfo8do lkgjiOvcCK5yVeyPAZseEmGnV0WcI0WQbuf2kvMnHGv0/wkE2nNi2RFGw5DtBAOlkHKW4Xwqsh32e Kxlae8N7v0ARsm9lTf+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljs-0000Ol-1A; Sun, 27 Jan 2019 14:48:48 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljn-0000MX-Jt for linux-arm-kernel@lists.infradead.org; Sun, 27 Jan 2019 14:48:45 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 789EE5FD54; Sun, 27 Jan 2019 22:48:39 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Subject: [PATCH 4/5] ARM: dts: sun5i: q8-tablet: Add LCD Panel power supply Date: Sun, 27 Jan 2019 22:48:37 +0800 Message-Id: <20190127144838.3578-5-wens@csie.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127144838.3578-1-wens@csie.org> References: <20190127144838.3578-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190127_064843_779868_8CD32454 X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The A13 Q8 tablet, following the A13 reference tablet design, has the system's fixed 3.3V rail feed the VCC supply of the LCD panel. Additional voltage rails used by the panel are generated using a regulator fed from the unregulated IPSOUT output of the PMIC. The latter is unrepresentable in the device tree. Both are controlled with MOSFETs by the enable GPIO added in the previous patch. The actual enable or reset pin for the panel is tied directly to LCD-VCC after the MOSFET. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts index ead159f89e74..c77c0758145a 100644 --- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts @@ -50,6 +50,7 @@ panel: panel { compatible = "urt,umsh-8596md-t", "simple-panel"; + power-supply = <®_vcc3v3>; enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */ backlight = <&backlight>; #address-cells = <1>; From patchwork Sun Jan 27 14:48:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10782899 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D62A31515 for ; Sun, 27 Jan 2019 14:50:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C39AA2B02E for ; Sun, 27 Jan 2019 14:50:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B76912B036; Sun, 27 Jan 2019 14:50:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7151A2B02E for ; Sun, 27 Jan 2019 14:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BFA7obu3kv3eNm0nkgzeT9+ARFSfHKksJGBPfdEg4/A=; b=uhknkNr5UpyeJb wXybLPAWWfTfWe92pDvDY9vQebyJkSh+AqRpDqzhmQMiW2NObqsVsXi5b0L5Xu9r/U0p44nlicBrp xZXM9UvPnv+Cfl9AIgS/gsjaj/hGtm6kex92uAkDXO9K+ahkiwf83KYdOSpEgdoSj99hJYhF5sK3+ +jWmR1XfyqRyvGmflOiCIHckXgBEuxqsE7U62OqM+KYOvM8IZt87CgTbB7AZi+Lby7fKbD67TnvXO tD6Ss7g4ub8gkUUiwo8qO1SDu+bcK9eiOKb+nOF3af8GI646OJKRCxovRxhKbQcdOzrKj0Sjop9A9 7NURG1wEDZw9UD8yVnSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnllA-0001t9-R1; Sun, 27 Jan 2019 14:50:08 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gnljq-0000Ns-8V for linux-arm-kernel@lists.infradead.org; Sun, 27 Jan 2019 14:48:47 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 7E3945FD5D; Sun, 27 Jan 2019 22:48:39 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard Subject: [PATCH 5/5] ARM: dts: sun5i: q8-tablet: Use bananapi, s070wv20-ct16 panel compatible Date: Sun, 27 Jan 2019 22:48:38 +0800 Message-Id: <20190127144838.3578-6-wens@csie.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190127144838.3578-1-wens@csie.org> References: <20190127144838.3578-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190127_064846_423161_47846099 X-CRM114-Status: GOOD ( 13.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The compatible string for the LCD panel used for the Q8 tablets are just a placeholder that was shown to be compatible with the actual panels found on these devices. The real panels do not have any identifiable markings and vary between production runs. The compatibe string previously used had a pixel clock that could not be accurately reproduced on Allwinner hardware, and discussions on whether a margin should be added to the display drivers and how large a margin was acceptable had stalled. Now that we have a panel model that is actually used with Allwinner hardware, has the same dimensions, and the timings have been shown to work with the nameless panels, we can use that one instead. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts index c77c0758145a..7257f39b31ce 100644 --- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts +++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts @@ -49,7 +49,7 @@ compatible = "allwinner,q8-a13", "allwinner,sun5i-a13"; panel: panel { - compatible = "urt,umsh-8596md-t", "simple-panel"; + compatible = "bananapi,s070wv20-ct16", "simple-panel"; power-supply = <®_vcc3v3>; enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */ backlight = <&backlight>;