From patchwork Wed Jul 11 13:22:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 10519759 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 F136A603D7 for ; Wed, 11 Jul 2018 13:28:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6D8129018 for ; Wed, 11 Jul 2018 13:28:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA0B02901D; Wed, 11 Jul 2018 13:28:34 +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 5220129018 for ; Wed, 11 Jul 2018 13:28:34 +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=LsRxHV8a9L2cOx9WTjNCQFLSjZ3IogE+PvnC/S0kDiA=; b=sin3bsF7n2w/k4urj7cF2ZCNOe ggEqlUbAfwG/927GURZc+uBOPaT0/uSiz8ghieR9lbelM0xaR9BaKHRInoefTP9+C6jtNcSLroQX7 rXaeKWTivscAxSoMloNwBUlZhnlr9072k1Xxy+PgUinzTxeeFH6HuFXr9azMS8SORi6tv/FsHnOU1 BNY6qLie82r0VzZ5C+E7ZkErm7+wV8Zwc/bm8m248q3LjXGuOEqYjnVMaYPGcp0vj78//bypKyq4o ee1qWL7roUXLZr4A7Paj7vyHwZRHncUUFSb6TqLZq5o9849RmaiOcZc8xmpxKJkUjUi/OiK22OYfZ WcTUfQAQ==; 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 1fdFAQ-0000Da-HF; Wed, 11 Jul 2018 13:28:26 +0000 Received: from burlywood.maple.relay.mailchannels.net ([23.83.214.26]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdF7N-0005EA-3w for linux-arm-kernel@lists.infradead.org; Wed, 11 Jul 2018 13:25:24 +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 79CAB5C27FE; Wed, 11 Jul 2018 13:25:04 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.19.130]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id C1EB15C373E; Wed, 11 Jul 2018 13:25:03 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [199.195.250.187]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.1); Wed, 11 Jul 2018 13:25:04 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Cellar-Macabre: 27f5bb9a011829ad_1531315504251_2853765430 X-MC-Loop-Signature: 1531315504251:3724385430 X-MC-Ingress-Time: 1531315504251 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 47AB364AC0; Wed, 11 Jul 2018 13:24:56 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Subject: [PATCH 1/2] ARM: sun8i: h3: enable HDMI output on Banana Pi M2 Zero Date: Wed, 11 Jul 2018 21:22:32 +0800 Message-Id: <20180711132233.42301-2-icenowy@aosc.io> In-Reply-To: <20180711132233.42301-1-icenowy@aosc.io> References: <20180711132233.42301-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180711_062518_263944_D81C0182 X-CRM114-Status: GOOD ( 15.16 ) 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-sunxi@googlegroups.com, linux-kernel@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 Banana Pi M2 Zero board has a miniHDMI port connected to the HDMI controller of Allwinner H3 SoC. Enable the HDMI output in Banana Pi M2 Zero device tree. Signed-off-by: Icenowy Zheng Tested-by: Julian Calaby --- .../dts/sun8i-h2-plus-bananapi-m2-zero.dts | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts index 7d01f9322658..eb61dcf32797 100644 --- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts @@ -26,6 +26,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "c"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -55,10 +66,24 @@ }; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mmc0 { vmmc-supply = <®_vcc3v3>; bus-width = <4>;