From patchwork Thu Feb 1 08:37:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Code Kipper X-Patchwork-Id: 10195139 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 BED9560247 for ; Thu, 1 Feb 2018 08:37:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E4F82899F for ; Thu, 1 Feb 2018 08:37:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 914EF28A12; Thu, 1 Feb 2018 08:37:57 +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 145EC2899F for ; Thu, 1 Feb 2018 08:37:57 +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=TaLYOBwr8T5DjXahhK75RPfW+yTCRcMNOlvBeFGqnVI=; b=glV 6CiV4Aht35u6tUeZjiHuT567HnwWQqs5t7+Ft0LpmPwlbEtKNdyCAKyfZjCndHWp8pFaF5Av/Tahv 34a7ungs08h2Ry2ZKTEE3zHsNkiSCw5Uf3M965BmUlMIzFlL1UGZjq1d+lJHGG5wAp5i+R3SvL7tz 8KP0Wk40MfJGIL+9gk8tR1PyKk7E6IGJYXxg3ZKjU//XRdjrhzwW0f8/nPYQb8zfvtye3WCNCeU1D MmyIh9UOOQH2G/HDX9aOfY4ocGm/ZZk32rOcY2n7wryfNNw5zTwKxI2vkmvJPrmY1A3GGKof1PcOR 2Hjth/cTNWrlx58vItjPx8gs8YAb7QQ==; 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 1ehANY-0005Pv-6d; Thu, 01 Feb 2018 08:37:56 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ehANU-0004y1-0A for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2018 08:37:54 +0000 Received: by mail-lf0-x244.google.com with SMTP id q194so24895645lfe.13 for ; Thu, 01 Feb 2018 00:37:41 -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=TJfL8SdEltx8ynuwrgxxBob5xt+s0MaWvVqe8IwjaoU=; b=MUOgch/Ks3sN+Kjpf3gyEaj9fVgxP4QvUrAqbu3xLXMEmfpjLYXCxq6WMolhlUPwgd iw/D80B9nOTRiXm/s9qIVIZP2mYBHyVouBQbMQmorMwAVDHoEzQ0E5+6VOS9pUl4cxNN dHzO01EIxHQvNfO6+YI0YGUCibEOFwI+HDl22hG+BWys5Bz8qe5OQpuus3XttRpq/80E 9YzPwSEi4lQb3tVOgMLo2V6g8uD3qFVBfF+YYLqrrLcKNL8y4fPEVxdEpLiEa9LFVWrr N+toFAVQgEu8SJv1Qw8mlO3YFjlICuitoij4x2EH6S81Wj+1Qm7BqKk1XO50j7fQyoq+ GZKQ== 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=TJfL8SdEltx8ynuwrgxxBob5xt+s0MaWvVqe8IwjaoU=; b=hyLsFHF1nqtI/8xUbL76uF9S8sobe/5sVVmQZaY0/AsnmKwcZc/HEUe5lMkyjcwq+A MNdHLS02Wpm/ZfeQ6T8HO1W2Rh5+1zWphybvwyew1fw/iSGxr1328xye0BeqbfRoynFI HXMEmuI00usIQYhB/tMIxgt0xmE3/Fx1UcJWOSvUOpvrirjVqlODgBGg5jjWdocm/jZh MJ8wfXLXFrPz2LhD93XopqlEbO1v5xu3DZgzF+VRMsCnkN9/O+jgsY0s3SAcj974l+S1 slaR1LMN70y083OlbvhpjpGVEBbz1ZZF1Ivxl+sd2VMkdrD8GRswX0rd7+EDI6E5yYGd 0YKA== X-Gm-Message-State: AKwxyteV5z6wLsbWEPxNTq68gs7hVOPnRrCuSDaS63amY7iCQnPIkFW+ 8svw/K30KIK2yVZC57V+U/I= X-Google-Smtp-Source: AH8x225A3gHrJymEciZN1h7WKC6lvs2RA8IECHJ8rcKGKVbWfPFehNQ/hJHU58J7YaO4ZsUD0CH5FA== X-Received: by 10.46.43.86 with SMTP id q83mr11603180lje.142.1517474259659; Thu, 01 Feb 2018 00:37:39 -0800 (PST) Received: from localhost.localdomain (c80-217-9-219.bredband.comhem.se. [80.217.9.219]) by smtp.gmail.com with ESMTPSA id h1sm1823572ljc.40.2018.02.01.00.37.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 00:37:38 -0800 (PST) From: codekipper@gmail.com To: maxime.ripard@free-electrons.com, wens@csie.org, linux-sunxi@googlegroups.com Subject: [linux-sunxi][PATCH v2] ARM: sun6i: a31: Enable HDMI support on the Mele I7 Date: Thu, 1 Feb 2018 09:37:37 +0100 Message-Id: <20180201083737.13211-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-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 --- v2 changes compared to v1 are: - Reordered nodes. --- 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..a3b70173c527 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"; }; @@ -113,6 +128,16 @@ }; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &ir { pinctrl-names = "default"; pinctrl-0 = <&ir_pins_a>; @@ -161,6 +186,10 @@ status = "okay"; }; +&tcon0 { + status = "okay"; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;