From patchwork Wed Mar 8 17:46:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylvain Lemieux X-Patchwork-Id: 9611733 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 153E5602B4 for ; Wed, 8 Mar 2017 17:48:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01CCD28618 for ; Wed, 8 Mar 2017 17:48:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA2D128624; Wed, 8 Mar 2017 17:48:08 +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=0.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_SORBS_WEB autolearn=no 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 89EDC28618 for ; Wed, 8 Mar 2017 17:48:08 +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: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=aGpYp9pGUuj77C5AeTLwXnP8JU9GqrodZAH6eE8znyM=; b=dFqMefzuM114P3ZkaWrz64VuDB vEMOzKzMLcxWhW92HZLFGYxq21U9OqbDREpAUX47W+3m5dzeuRa/BM5C6E6rXc5EDc+fS1Ak6oWBS pXKwIAHlBDuFSlK2uJibMAdACRqNyvZB4VF5h/PIAk9HjNIzMOviyfzU0eXCYG2qhYpo5Y2IvEt8i STqWfHN3wSg6YiwAsi8V0lZcYK0fFb/Vl+DCfk1mQ5vnLOUY5p4XuFDpqrBI02bxl/9v8jbwL2YAd ZVIUgbGAVryEaOemd597l4gY7hznPAoqO3GCeAcaJ42P1kB4WojIdpTTjoinsfqEYvwQJfuD5YH6Q xXdEPZ7Q==; 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 1clfgw-00036m-HN; Wed, 08 Mar 2017 17:48:02 +0000 Received: from mail-it0-x242.google.com ([2607:f8b0:4001:c0b::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1clfg5-0002pI-G6 for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2017 17:47:11 +0000 Received: by mail-it0-x242.google.com with SMTP id r141so6676959ita.1 for ; Wed, 08 Mar 2017 09:46:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZVR5WUzcj+fofYmcP8AGp4p6xOT+G0Dq5rG6k0WQBUs=; b=JwyO10YslO67PNR3Y40J5JP02Dxz16tOrRLXjNgS57MRoUFVTPVDk8sIwCQSsn0e2o 6/Ccjod5beF7I7JxVnf3Gt+gPUF8eSbAZ+8BfSgDkHtywgAFof7mhh+XKsYiwpzLdCoh vfxOvfzYkcWYYz7dg5qGBOPbK/eSWvG9ROnIXaaAAiP25uTvjXZ9yYXwwI0VnjIQe0Pb LdZyuVW6TZws2GDu6nb2k+rOJ0kK0TaWYe31ZLoiGdzjvsN15jNnwb5k8Bq/C78XgJEx 7lxlWD6l8+H4kNwCFInmMMS43bEH2xJH3ZTW6FvyCxBvtCAnYlhGE6/z8nQngKqzf+ue 5Npg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZVR5WUzcj+fofYmcP8AGp4p6xOT+G0Dq5rG6k0WQBUs=; b=EY/KDnSRXc5OnKIMXeYME1IoPOBCQqgLeAwXdAjhUcxMqKvCioPnqDy/7C62jFzWQA QwyyYjSxpIgGsXqLKMFevv/YXBqqbsfnttko+iJyZzQ+/YipScxkOPVh67hnTRFbUMVh Dr4FQRu1H6XlCZAnRauJMTyZSm6+w8WI6thH5A4zlfLZkHdFwfZAyIkTb9kCXDVualLt F6hoQuqoPZ/YIigoY+5svVpaxzQJLkWI4SfeMq6Hm3y5x+nPo3hfx9cs7Ks/9f4KwNjY YWrVCrp6g4MukEYJLWE/GSkohlNOEoHrQFnXkr7LEYJGjY+4B2iDOGGmXYU8Pr6bGOSi D5kg== X-Gm-Message-State: AMke39nFitFI7FEzpINSaG5KYPi69z28GKH6m6eRahsz5KlSdEnAlHO3PBK0eDa3cGV/OA== X-Received: by 10.107.145.87 with SMTP id t84mr8279504iod.64.1488995208400; Wed, 08 Mar 2017 09:46:48 -0800 (PST) Received: from CABRO3AP00510.localdomain ([74.51.240.241]) by smtp.gmail.com with ESMTPSA id h143sm1806123ith.1.2017.03.08.09.46.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Mar 2017 09:46:47 -0800 (PST) From: Sylvain Lemieux To: vz@mleia.com, robh+dt@kernel.org Subject: [PATCH 1/2] [kernel] ARM: dts: lpc32xx: phy3250: add clcd configuration Date: Wed, 8 Mar 2017 12:46:37 -0500 Message-Id: <20170308174638.25578-2-slemieux.tyco@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170308174638.25578-1-slemieux.tyco@gmail.com> References: <20170308174638.25578-1-slemieux.tyco@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170308_094709_576704_A908CDA5 X-CRM114-Status: UNSURE ( 9.92 ) 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: devicetree@vger.kernel.org, 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 From: Liam Beguin Updating CLCD board and panel definiton to use up-to-date devicetree hardware description. Signed-off-by: Liam Beguin Signed-off-by: Sylvain Lemieux --- arch/arm/boot/dts/lpc3250-phy3250.dts | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/lpc3250-phy3250.dts b/arch/arm/boot/dts/lpc3250-phy3250.dts index fd95e2b10357..1e5dbbad6cc4 100644 --- a/arch/arm/boot/dts/lpc3250-phy3250.dts +++ b/arch/arm/boot/dts/lpc3250-phy3250.dts @@ -72,7 +72,42 @@ }; &clcd { + interrupt-names = "combined"; + max-memory-bandwidth = <11700000>; /* Bps, 240x320@60 16bpp */ status = "okay"; + + port { + clcd_pads: endpoint { + remote-endpoint = <&clcd_panel>; + arm,pl11x,tft-r0g0b0-pads = <3 10 19>; /* Set LCD to BGR 565 */ + }; + }; + + panel { + compatible = "panel-dpi"; + + port { + clcd_panel: endpoint { + remote-endpoint = <&clcd_pads>; + }; + }; + + panel-timing { + clock-frequency = <5850000>; + + hactive = <240>; + hback-porch = <11>; + hfront-porch = <22>; + hsync-len = <5>; + + vactive = <320>; + vback-porch = <2>; + vfront-porch = <1>; + vsync-len = <2>; + + pixelclk-active = <1>; + }; + }; }; &i2c1 {