Received: by 10.223.185.116 with SMTP id b49csp7921185wrg; Thu, 1 Mar 2018 13:36:38 -0800 (PST) X-Google-Smtp-Source: AG47ELuw2zE74hH7Mx68KU0pYocnYwjXIC2W8lbqe6UKwyTvKEoaFSuyM3prQjOnTkJbWdRDR7At X-Received: by 2002:a17:902:a607:: with SMTP id u7-v6mr3078794plq.367.1519940198464; Thu, 01 Mar 2018 13:36:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519940198; cv=none; d=google.com; s=arc-20160816; b=AMWzF/ocisB4kLkRW/rx39NMhz5LuWrnTAKfJK9O4xEUKHYcI53tSllvU1/zyFcOso kr5D/xl1/rj6hHTc+gupKJ0Ufu2CqsGWOq39ZyWtw/6kdzMcbG24lFSCX9S5CsrNJdm/ jP8Bkp5g83em90MtWKwqygaWRq4F67vXh5JbQ7qNVksouan54Lk2EX/sXcG7XB9Gr1NR xCanWUdCIv5p3zAlHRtWyA6Gx5n6eo8HtKGl55/kcshtlUcY7s49C1jYYy8IbF39KUFB Mf38DFWcNgqxAk4U2nvkXhEJq5+eTQbRVgVZ+k24YE7st+lyUUG+OSfqwNXO8zAXelqT kbcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=4Pyxux2iLRouO77OWITVQtjrUr33kFl3ZpNf9dJlDXY=; b=NIxS9OArzYAnv5IOUt3Gzhzx24JOXT7dHBprn/O6E8A/I60mzL+7IbyZNRu0I95Qr2 pOmYnS7eWq8psckvVVt9l3M42GP4VrS5lmWv6ZNYT+x7vT/Hpl0Eb2RbN+qm32RpddsF LjCQi1zN51mzNMENHkS7mcXbIWyjv6Bh/6R/6PGl46K1p1d02Uy8GlH88LyvRB5uEdR0 s8dCBDgDL3GVEJ8OySSlgx/iDukTs/g6WG8mGUhiunR+tsyQiUBJWgNDkR1MQaH1OVJ9 9E8jFX5fO79lheLg1R7W5BumC7cvhgsDAq+PF9w01Rvtb8u113mYAha8Tv+0J/asK1pN nTBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si2954243pgu.742.2018.03.01.13.36.23; Thu, 01 Mar 2018 13:36:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162220AbeCAVfh (ORCPT + 99 others); Thu, 1 Mar 2018 16:35:37 -0500 Received: from mailoutvs4.siol.net ([213.250.19.137]:33437 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1162207AbeCAVfe (ORCPT ); Thu, 1 Mar 2018 16:35:34 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 8E842522F9C; Thu, 1 Mar 2018 22:35:32 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id k8mnWkBFozdF; Thu, 1 Mar 2018 22:35:32 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 05E47522F9B; Thu, 1 Mar 2018 22:35:32 +0100 (CET) Received: from localhost.localdomain (cpe-86-58-68-135.ftth.triera.net [86.58.68.135]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id A15EE522F9A; Thu, 1 Mar 2018 22:35:29 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@free-electrons.com, wens@csie.org, airlied@linux.ie, robh+dt@kernel.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@kernel.org Cc: jernej.skrabec@siol.net, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v3 16/16] ARM64: dts: sun50i: h5: Enable HDMI output on H5 boards Date: Thu, 1 Mar 2018 22:34:42 +0100 Message-Id: <20180301213442.16677-17-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180301213442.16677-1-jernej.skrabec@siol.net> References: <20180301213442.16677-1-jernej.skrabec@siol.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable HDMI output on all boards with HDMI connector. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 25 ++++++++++++++++++++++ .../dts/allwinner/sun50i-h5-orangepi-prime.dts | 25 ++++++++++++++++++++++ .../allwinner/sun50i-h5-orangepi-zero-plus2.dts | 25 ++++++++++++++++++++++ 3 files changed, 75 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts index 58505fbc2667..98862c7c7258 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts @@ -67,6 +67,17 @@ stdout-path = "serial0:115200n8"; }; + connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -121,6 +132,10 @@ status = "okay"; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -153,6 +168,16 @@ }; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &ir { pinctrl-names = "default"; pinctrl-0 = <&ir_pins_a>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts index 803566608ed8..b75ca4d7d001 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts @@ -62,6 +62,17 @@ stdout-path = "serial0:115200n8"; }; + connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -128,6 +139,10 @@ status = "okay"; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -160,6 +175,16 @@ }; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &ir { pinctrl-names = "default"; pinctrl-0 = <&ir_pins_a>; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts index eda24d813282..53c8c11620e0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts @@ -58,6 +58,17 @@ stdout-path = "serial0:115200n8"; }; + connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + reg_vcc3v3: vcc3v3 { compatible = "regulator-fixed"; regulator-name = "vcc3v3"; @@ -73,6 +84,20 @@ }; }; +&de { + status = "okay"; +}; + +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mmc0 { vmmc-supply = <®_vcc3v3>; bus-width = <4>; -- 2.16.2