Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4385886ybh; Tue, 6 Aug 2019 10:45:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL7uRJn5v5/Uyv9S4QDbGbvID9WECszlVP3+lLNgM+wh2i9UdiJHsgINupVzS00kowzcah X-Received: by 2002:a17:90a:2627:: with SMTP id l36mr4473678pje.71.1565113538700; Tue, 06 Aug 2019 10:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565113538; cv=none; d=google.com; s=arc-20160816; b=uZpYx+/8s0AhLL3FaZMOM+dUMW743VObaDGLi8xS1GAhYOHkXOxpU2FosF9OSO036k ttN/fvggbtSYQ5UKsWkLASRLTNCjJXnJndMu1VUgoZvqKjZp13xsBS+EuzlzW/qPydcO uc1VqRMTK3AWWNagLAlNl76hG9Tqvm7t647K9XPTETM2iJoHNa5GIjidEn8dkvlMygQQ smDZvTYUWKOS4M3gwYqIGB48WMZw6oEdwCUqnBcRXxT+YMkT8mpH5RLbia9At7Fo+HX2 gGgIiHJ2UB7TKCz1EYrruyui+AhJoC7yd1mT9yLmj391azq+qrpl7kPNF0eNaS33GuIj UZ9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+bPPPw086XlGsfCjReX/dfc2ntbeJIaUkfGBONGNYV0=; b=j7rOirVzZcE2jjhE/onvX0+5fI7E6AJxDcoQp0u9e+p/Bqp7urG1YaBU8kLYZml8JU PG3QU4tnk6yCPA16POHDAEkEQcmmntm5iRWu8HxytoCgLla7Gp+8X8ICqMZE3dkBNxMz cAq2WVzglYzZ+lPDya4ItFphEQhKc7eP1Jlfcd2mfEyNmlaSyNXXqp9Zes5pZm1N4OAx eyz6dRL85xebJzz/ScuhJt0zlEA5pU8V5c0tFG7xohMIYBVla1myIVoTfRlfUP8iy6kS jilYASt2Wo+FZikeBIYV3uy09x0+wf+GFIyxHLX8WFBzCYDE2qKbx9PmY4uOmJ1HOEQ8 5esw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=L32f2mT8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si14959711plf.410.2019.08.06.10.45.22; Tue, 06 Aug 2019 10:45:38 -0700 (PDT) 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; dkim=pass header.i=@megous.com header.s=mail header.b=L32f2mT8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387553AbfHFP54 (ORCPT + 99 others); Tue, 6 Aug 2019 11:57:56 -0400 Received: from vps.xff.cz ([195.181.215.36]:55450 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387527AbfHFP5y (ORCPT ); Tue, 6 Aug 2019 11:57:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1565107072; bh=hF73OcLMSBQTt85tuavHzM/b80WjbO/5pa+6hf7Ij0Q=; h=From:To:Cc:Subject:Date:References:From; b=L32f2mT8XPQVCjlNq+xzSMAm+p1moJpligfxrFrnmeGmNpQDjL751AvS62z1xm8iX PpnbV0LiMXIP2NkYYb7qaGz8kr4Fy2DtLlFbT5Q35ejNCy3rNU+c4BL4oc8MAEEIr0 5Kv974GSt2ff+5OPqmAtHCq4WIwHHXRF7Uv4CR/s= From: megous@megous.com To: linux-sunxi@googlegroups.com, Maxime Ripard , Chen-Yu Tsai , Rob Herring , =?UTF-8?q?Jernej=20=C5=A0krabec?= Cc: Ondrej Jirman , David Airlie , Daniel Vetter , Mark Rutland , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 4/4] arm64: dts: allwinner: orange-pi-3: Enable HDMI output Date: Tue, 6 Aug 2019 17:57:43 +0200 Message-Id: <20190806155744.10263-5-megous@megous.com> In-Reply-To: <20190806155744.10263-1-megous@megous.com> References: <20190806155744.10263-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ondrej Jirman Orange Pi 3 has a DDC_CEC_EN signal connected to PH2, that enables the DDC I2C bus voltage shifter. Before EDID can be read, we need to pull PH2 high. This is realized by the ddc-en-gpios property. Signed-off-by: Ondrej Jirman --- .../dts/allwinner/sun50i-h6-orangepi-3.dts | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts index 2c6807b74ff6..01bb1bafe284 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts @@ -22,6 +22,18 @@ stdout-path = "serial0:115200n8"; }; + connector { + compatible = "hdmi-connector"; + ddc-en-gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>; /* PH2 */ + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; @@ -72,6 +84,10 @@ cpu-supply = <®_dcdca>; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -91,6 +107,16 @@ status = "okay"; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &mdio { ext_rgmii_phy: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; -- 2.22.0