From patchwork Tue Jul 10 10:24:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Russell King X-Patchwork-Id: 10516807 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 A6382603D7 for ; Tue, 10 Jul 2018 10:27:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7FD0283D1 for ; Tue, 10 Jul 2018 10:27:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC3FA284BD; Tue, 10 Jul 2018 10:27: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 46366283D1 for ; Tue, 10 Jul 2018 10:27: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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Message-Id:MIME-Version:Subject:To :From:References:In-Reply-To:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wXIZlE4HQ5ryq4Pmowt4CgmBqRRj/r5Aibw0PiotJ4I=; b=f0Y5fuozmHbiiC XSluuISlGbI+T/uAQaEecoGJMmzh4jOdUQ/639dsQT7z6YanS4TAC/eATqlrLx8y/XpmpN3cZTizC gNV0ZvQvX9uneN/TEPIVYoYgCpJDHKlphIO60aGr7fcx8hxmEI8J95ri62qPIV9+9ozUkB8xP5Olp X2PYGvnrN1opAcZ9/AE/HK2e7dAeY1llGoom54UuBWQUe9HkpiHK9d2UHpWjQ6HWsedawAc557e2P AoBPXPf6M80EPvWI9FgIAPqGiFr5uOhQ9XAbBwIUW1y6pcN8n+JFKkAcd2wdaKdmtS7mjKq5TePUH Hq7SKVW0Tzd7UWNBofQQ==; 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 1fcprM-00054a-Nl; Tue, 10 Jul 2018 10:27:04 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcpr9-0004rc-Ay for linux-arm-kernel@bombadil.infradead.org; Tue, 10 Jul 2018 10:26:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5DBsH57xx/GviRUo+IQGhmV6AcbV2vdhunC57cMQFnI=; b=WMPWzSKpt7mdKA3WIgMQqEVeei 2brQGydeQqajfxMTXKqsGcZcuyQcW1tbtLZXfKkOmqvG8/80n0Yp+N8y7M+577URYSx6VxiF3H+cT qJ6CSLLoWi83j2eyRFxYkcl1mbEhOKa/J0VrnCpI/UWUM1TdSbb8/uqvnt8L64x/SvkqjBZbiyEiy MuNZT9MKOgCheXfeyY8yozqCQT/E8RWcPkKfNp1oCeY/RVNltXrZ7lh96QGrdLY928j3LF3xSVPLJ 8x/fwPIsadhEO1Brq7M90M1WOuUNOexHk1ih1dWSN0hbyolKFpdxaWaxg5/4RMPXTiIgIwNtCxA+8 DIR/NGcw==; Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fcpr5-0003pd-Rj for linux-arm-kernel@lists.infradead.org; Tue, 10 Jul 2018 10:26:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Date:Sender:Message-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Subject:Cc:To:From:References: In-Reply-To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5DBsH57xx/GviRUo+IQGhmV6AcbV2vdhunC57cMQFnI=; b=al5AQP6o3nxvpSPcIhwJG3GJlZ OggASeNwFhWoCrssbXOL5C1VK8Bmxm2YCnDtB78AqmJR9klnNTxuO4kdOhyznBizmxSMbYA7dNt+j 6OR3w+qFc9VCbypTlAcPh3rUqSUrizcFh4ZUmZdz3TO10ISuE/gfmG/FRZdukyB+0uH4=; Received: from e0022681537dd.dyn.armlinux.org.uk ([fd8f:7570:feb6:1:222:68ff:fe15:37dd]:48072 helo=rmk-PC.armlinux.org.uk) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fcpon-0002iE-GO; Tue, 10 Jul 2018 11:24:25 +0100 Received: from rmk by rmk-PC.armlinux.org.uk with local (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1fcpom-0003ZI-FL; Tue, 10 Jul 2018 11:24:24 +0100 In-Reply-To: <20180710102344.GH17271@n2100.armlinux.org.uk> References: <20180710102344.GH17271@n2100.armlinux.org.uk> From: Russell King To: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: dts: cubox: add LCD controller and TDA998x configuration MIME-Version: 1.0 Content-Disposition: inline Message-Id: Date: Tue, 10 Jul 2018 11:24:24 +0100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180710_062648_042844_DBC09108 X-CRM114-Status: GOOD ( 11.81 ) 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 , Andrew Lunn , Jason Cooper , Gregory Clement , Rob Herring , Sebastian Hesselbarth 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 Add DT configuration for the HDMI display output on the Dove Cubox. This adds support for the LCD0 controller which is connected to a TDA19988 HDMI encoder. Signed-off-by: Russell King --- arch/arm/boot/dts/dove-cubox.dts | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts index 580e3cbcfbf7..f6dd56f63d09 100644 --- a/arch/arm/boot/dts/dove-cubox.dts +++ b/arch/arm/boot/dts/dove-cubox.dts @@ -67,6 +67,25 @@ gpu-subsystem { status = "okay"; }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + display_reserved: framebuffer { + compatible = "marvell,dove-framebuffer"; + size = <0x02000000>; + alignment = <0x02000000>; + no-map; + }; + }; + + display-subsystem { + compatible = "marvell,dove-display-subsystem"; + memory-region = <&display_reserved>; + ports = <&lcd0_port>; + }; }; &uart0 { status = "okay"; }; @@ -117,6 +136,30 @@ silabs,pll-master; }; }; + + tda998x: hdmi-encoder { + compatible = "nxp,tda998x"; + reg = <0x70>; + video-ports = <0x234501>; + interrupts-extended = <&gpio0 27 IRQ_TYPE_LEVEL_LOW>; + + port { + tda998x_video: endpoint { + remote-endpoint = <&lcd0_rgb>; + }; + }; + }; +}; + +&lcd0 { + status = "okay"; + clocks = <&si5351 0>; + clock-names = "ext_ref_clk1"; + lcd0_port: port { + lcd0_rgb: endpoint { + remote-endpoint = <&tda998x_video>; + }; + }; }; &sdio0 {