From patchwork Fri Jun 22 12:45:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10482191 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 CE10F602CB for ; Fri, 22 Jun 2018 14:06:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5C0C28ED0 for ; Fri, 22 Jun 2018 14:06:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA72F28F49; Fri, 22 Jun 2018 14:06:09 +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 718CA28ED0 for ; Fri, 22 Jun 2018 14:06:09 +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=+eJiu5HFDjPGid5zxntq5t2iloARW6oy0mOUqpIQnhQ=; b=CDafuMD/vzyrcps8LcLqaBKXjp j8gnR4pzYbkXzWHH/giNNByNj+VtSfnWuu8wCHKN5WkVAHzXaOwtsA11wRYsIXdTt/HYfePXMm0PC VPd2hUMzSNC6SD9LzIuzhon1Jbq3+pqvuqdH7mfbWNgMklrsCOfqfYpEXxcQRIIBHM5LSuDLGwaLq ZqIXXSu/p4eha4brRt7bB2bd3sTRUSUsqzZ2voaACJR9Wigi1UvrbrKBgPpgO6ZCtbMnixke5c4jN owcNqN5YwayJEKDdvLFB+zUwq7z2aVDX2EsUmrh2ep6vfVwjhiedlGjw7WtP1lqnKgFkOROmRAscx eNkf3ZfQ==; 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 1fWMhO-0003sT-Cu; Fri, 22 Jun 2018 14:06:02 +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 1fWMgp-0003Yo-N3 for linux-arm-kernel@bombadil.infradead.org; Fri, 22 Jun 2018 14:05:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding: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=tq5v3ayVPtm6c2HQp+MIG1tvsuYSNd7anh9oDInEij8=; b=CNWgYULgS+8F3MIswLdDtxKN1 FU23r9BTx0dOD6cAzBbiCcVTCp+Q5/M4R8AWkbJV1606bvrUklHiJd2UeJlN6sv4GnsizdpkCEoDc cJ15jUrJbhrqpKfRhplDvcy7CDP2twiQ9EHGnM+sg1aiJXDr/1M06s3h61sKq63w6Xs8FFwKa+Fd7 5b1lCIx2yA+1xCfhodUjaB8rtCfsEeQzEmztvmJPQjfA+hwk80B3RYOXgpFVw48GQfoTUqJeAVZQB OY6VIj+rw3wN/tvAXU51uwXMWdtog2yrrQOhqPkjz1S5g/T7cUUbu12915W1H7dpe0y4yHZpYjn+l CkDS6wvHQ==; Received: from giant.birch.relay.mailchannels.net ([23.83.209.68]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fWLYb-0007zX-8b for linux-arm-kernel@lists.infradead.org; Fri, 22 Jun 2018 12:52:54 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 31EC1122D55; Fri, 22 Jun 2018 12:52:41 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.17.92]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 227D8122834; Fri, 22 Jun 2018 12:52:39 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.18.63.202]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.15.2); Fri, 22 Jun 2018 12:52:41 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Absorbed-Stupid: 119ab9267e64f242_1529671960053_4036915329 X-MC-Loop-Signature: 1529671960043:1712851949 X-MC-Ingress-Time: 1529671960042 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id CA1286301B; Fri, 22 Jun 2018 12:50:16 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jagan Teki , Jernej Skrabec Subject: [PATCH v2 6/7] arm64: allwinner: a64: add device tree node for HDMI simplefb Date: Fri, 22 Jun 2018 20:45:39 +0800 Message-Id: <20180622124540.56203-5-icenowy@aosc.io> In-Reply-To: <20180622124540.56203-1-icenowy@aosc.io> References: <20180622124540.56203-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180622_085253_531532_FBBEC884 X-CRM114-Status: GOOD ( 18.50 ) 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-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 As the U-Boot bootloader now is also capable of initialize the HDMI on A64 boards, add a simplefb device tree node for accessing the HDMI framebuffer initialized by the bootloader. Signed-off-by: Icenowy Zheng --- Changes in v2: - Dropped LCD SimpleFB as it's already added. LCD SimpleFB needs some fix but the fix is present when adding DE2 CCU. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 318c4ba8ae9f..840753432ea5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -68,6 +68,15 @@ <&display_clocks CLK_MIXER0>; status = "disabled"; }; + + simplefb_hdmi: framebuffer-hdmi { + compatible = "allwinner,simple-framebuffer", + "simple-framebuffer"; + allwinner,pipeline = "mixer1-lcd1-hdmi"; + clocks = <&display_clocks CLK_MIXER1>, + <&ccu CLK_TCON1>, <&ccu CLK_HDMI>; + status = "disabled"; + }; }; cpus {