From patchwork Tue Nov 7 12:49:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 10046657 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 76AF56031B for ; Tue, 7 Nov 2017 12:50:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 61F00296AA for ; Tue, 7 Nov 2017 12:50:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 542A529B4D; Tue, 7 Nov 2017 12:50:47 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 D2080296AA for ; Tue, 7 Nov 2017 12:50:46 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=FZJlOLo2A4QKd2H4oF3Do9dQBRjlsQwyFC3jHzFATsE=; b=JAS KqG0oR9Po3aDJQ5TZhtVgSuglIizQpcSJ6zW6SEdd9xmIgHPGQtFfabLPVhRT2F6SCIT4GxFawHLj Bem8/TzZxB+LYIUJJBso72Cu9gbMNLrEBL+GdTaOlr06pySqvaP0EH1Wt8sIzedTRYHK1rcIcGhq1 S1hh4SYfjroeGIkafrUuvLMOgiY+dXtHL+4eimAacbKiPbmmWGbRFj1r8ny9O3dtIAPsQib3uobTa mGhr7lHRti9HzHettbla/mXTsJwApkUblrao+Tcl7IsaCODCaofISMJAkIE6+bQLSrcxqiRib4DBH 0PBS488PwsaMUxYDiQZQOd6VPoEfKkw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eC3Kv-0005hV-RC; Tue, 07 Nov 2017 12:50:37 +0000 Received: from mail.micronovasrl.com ([212.103.203.10]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eC3Ks-0005f5-62 for linux-arm-kernel@lists.infradead.org; Tue, 07 Nov 2017 12:50:35 +0000 Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id 7EDF6B01556 for ; Tue, 7 Nov 2017 13:50:11 +0100 (CET) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=x-mailer:message-id:date:date:subject:subject:to:from:from; s=dkim; t=1510059011; x=1510923012; bh=DSp3hT7vVYBLl3DntAcAHogK M2VtSSXTb/6twosL7MQ=; b=KT9kvSRIKZxI2flQUr2HmWiFkjtGaV3NYnsBDgj9 B6I0xloJngUQHQ+OXJYYQcz2kWl6TU3PrapwI4HlgtBJUGrvE9G62pnKEY9C1sy8 qOO5YHEqu9y+iP7ZLn+NzdysmDFGl0iZqjnbkQtcGEgON75nHhp5DUvJcTy8OGOA A3Y= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4pEnGWItjgbh for ; Tue, 7 Nov 2017 13:50:11 +0100 (CET) Received: from localhost.localdomain (benettig-pc.dominio.micronovasrl.com [192.168.123.215]) by mail.micronovasrl.com (Postfix) with ESMTPSA id 180E7B00958; Tue, 7 Nov 2017 13:50:11 +0100 (CET) From: Giulio Benetti To: robh+dt@kernel.org Subject: [PATCH 1/1] add rgb888 pins to a20 to enable parallel rgb LCD Date: Tue, 7 Nov 2017 13:49:59 +0100 Message-Id: <1510058999-6778-1-git-send-email-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171107_045034_426954_AFE1944A X-CRM114-Status: UNSURE ( 7.53 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, wens@csie.org, maxime.ripard@free-electrons.com, Giulio Benetti , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 On sun7i-a20-* there's no way to enable PA00--PA27 as RGB888 LCD0 pins. Add lcd_rgb888_pins in sun7i-a20.dtsi. It can be used on sun7i-a20-olinuxino-lime.dts. This patch gives possibility to set parallel lcd pins for RGB888. To be used with tcon0 in your .dts Best regards Giulio Benetti Micronova srl Signed-off-by: Giulio Benetti --- arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 228c368..b85a917 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -921,6 +921,14 @@ pins = "PI20", "PI21"; function = "uart7"; }; + + lcd_rgb888_pins: lcd-rgb888 { + pins = "PD0", "PD1", "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", + "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", + "PD16", "PD17", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23", + "PD24", "PD25", "PD26", "PD27"; + function = "lcd0"; + }; }; timer@1c20c00 {