From patchwork Tue Jan 30 18:33:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Code Kipper X-Patchwork-Id: 10192223 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 E86FB60375 for ; Tue, 30 Jan 2018 18:33:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D573222B26 for ; Tue, 30 Jan 2018 18:33:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C935A2521E; Tue, 30 Jan 2018 18:33: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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 5C83522B26 for ; Tue, 30 Jan 2018 18:33:47 +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=VF/CjopkgHr9u1MnS2+eDoJCWtMdpaFU5UjwISn0JrE=; b=Cz3 TyfQ2r+zb4O2N/+d5LQzKC6g2Ah5dR1EPnZbFjVCDd2D5E9Jih62qwnsrFYkNw2rn1Hez61HFg0eH kWWu7OHMFtQ/quzQ/LaV8I4DFR83m1HEBzDJYX/s9VGjXlZUbSJ1bzQfhXy3s7udhqMBY9ofkLLzL HziGh2ZajiOnQ/r6u+X9WgAR7+gPbuWB8BTdZ4b2cO+RsYsqhJ0VSkrBDVp8t/PjOVYmwQn0TrzHC HVijerLDjtjzShjYiCLFYi1nk1ln7EsnrTxVxqeVJu/E60zB1FSJ51rTJL1Dl4RBZ4zBTtzVGDYGi kSiVcdI042jpHbFuXKfB/p8VMbKY88w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egaj3-0002n3-MU; Tue, 30 Jan 2018 18:33:45 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egaj0-0002l7-0K for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2018 18:33:44 +0000 Received: by mail-lf0-x241.google.com with SMTP id q17so16807018lfa.9 for ; Tue, 30 Jan 2018 10:33:30 -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; bh=lm6cZGPl+giK0Q+CxlNUieZ3C15ZqxKba8fWKyzaXDo=; b=A+AESSspTrsCg0T8n/FVDl6KYwsVwH7ICZ/3oPborS+otEf6uzyL7er+ibXLj9jREk txI+TTcS92DJhjCzNtA9Q4li5TXMLKPJzRHo9GDWZ0G9/SbLdLvAasoJdlGalzNlVOG7 UAg+VlKbbobUvuISBUwGLWNEJZtdNLSWWk7hhQixq+bt7PDTeIra/t02eQVVG5eWryJw zSt7tvHj857WvOcyJnHvwwlPRdEsQj2ECSGk1L1IlhUygeQBm9iiB3czpUawOwTHUkG1 7Ywp3EbD09HL58SwPP1POlgHqXb3TJX0Zph6tYPB2Tje56LZcSLnhjfj2cLjtM09kTi/ Uftg== 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; bh=lm6cZGPl+giK0Q+CxlNUieZ3C15ZqxKba8fWKyzaXDo=; b=QQQqYeJOmpkwi1DnBhrR/F5tKGaz4P1pGrqFxEbAZ+OqqDSJ8r65K+AJ84fB5dJ5dI vjGt2a/dLwV2ficg5zqZX+wIroclsND+ItDwHtWckQUO0m1UzcVnHh8RVbhFBwNzAeI6 cJRjSGEK5MzOiklsN/z4URdCNcDV3KPX4t5tBonvvOu6T4qy9Sn9RWRokHtg1enMLjLX XWduHEPhNnNCA0GhTdv//RdBl3GbhtN6CBJ98ssn+Wgmu/MVvHQyOKgHRuW9E139Ttuy m3SvCqsDOIwkQKZjaYWMe63ka4Zs9Q01lHhnX0DRBtxjh+2arVf6d6N4uISAVIUxKv4T x5gg== X-Gm-Message-State: AKwxytcy/KGnFxnTBAnK4ko3IlsEl6LaaUKatHBDsX3ArNGMVgwNP257 /aGrhjLw/X0OaCDTvvWDwvI= X-Google-Smtp-Source: AH8x224GY+emLsMz0zstLlpp88fvz6FjazPLCwIrvip5A0fPDqpcgJJUO0BBXmnFm6Fp+bAQ6k6BUA== X-Received: by 10.25.141.148 with SMTP id p142mr182789lfd.24.1517337208707; Tue, 30 Jan 2018 10:33:28 -0800 (PST) Received: from localhost.localdomain (c80-217-9-219.bredband.comhem.se. [80.217.9.219]) by smtp.gmail.com with ESMTPSA id g19sm2883381lja.65.2018.01.30.10.33.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jan 2018 10:33:28 -0800 (PST) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com Subject: [linux-sunxi][PATCH] ARM: sun6i: a31: Enable HDMI support on the Mele I7 Date: Tue, 30 Jan 2018 19:33:27 +0100 Message-Id: <20180130183327.20825-1-codekipper@gmail.com> X-Mailer: git-send-email 2.16.1 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-arm-kernel@lists.infradead.org, Marcus Cooper 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: Marcus Cooper The Mele I7 has an HDMI connector wired to the HDMI pins on the SoC. Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun6i-a31-i7.dts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31-i7.dts b/arch/arm/boot/dts/sun6i-a31-i7.dts index 010a84c7c012..4f69be4988a5 100644 --- a/arch/arm/boot/dts/sun6i-a31-i7.dts +++ b/arch/arm/boot/dts/sun6i-a31-i7.dts @@ -58,6 +58,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -93,6 +104,10 @@ status = "okay"; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -101,6 +116,16 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &gmac { pinctrl-names = "default"; pinctrl-0 = <&gmac_pins_mii_a>; @@ -161,6 +186,10 @@ status = "okay"; }; +&tcon0 { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;