From patchwork Tue Apr 24 14:24:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakob Unterwurzacher X-Patchwork-Id: 10360127 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 1CDE760225 for ; Tue, 24 Apr 2018 14:25:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08203286C5 for ; Tue, 24 Apr 2018 14:25:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF0C528D30; Tue, 24 Apr 2018 14:25:31 +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 55876286C5 for ; Tue, 24 Apr 2018 14:25:31 +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=QlNzt0qHnCQi6pAiv2VRFoVDhMhttjGf45eIUYHwC0g=; b=fn9 P7X8qL5XLlTTPLFSaLWuGY0e3R+vnqKxf9jmH4vkZ7pGmfb5gYF15tM2qvy+t6H4wXk3yPd0fLt8r arz8qvhwIv918hF5V6aWhnxhvSm/cwnrfwYpagFSvf6plIFrY/zGAeru2Cg4IKbfvPKnN9zBP2z0X 8eznZKnX20uDICP/WNruCklu+/kM+QMsEwaReRpV+LbMEXUsnqBC31RZmAiSW7U3hfYDfgZMNH++y hjtCsFz6Z9WKC+DhHOKtrk5of6G9KB8dLNyreKAe/ui+jd9ngAM0ngBQUdqkzKxVx44d1OrkhSY2b HzXAusgMM0fpSdBNZDfUcNrPHb7CkwQ==; 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 1fAysq-0002mH-3Z; Tue, 24 Apr 2018 14:25:28 +0000 Received: from vegas.theobroma-systems.com ([144.76.126.164] helo=mail.theobroma-systems.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fAysm-00021j-3b for linux-rockchip@lists.infradead.org; Tue, 24 Apr 2018 14:25:26 +0000 Received: from [86.59.122.178] (port=47364 helo=blau.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1fAysZ-0002do-Do; Tue, 24 Apr 2018 16:25:11 +0200 From: Jakob Unterwurzacher To: jakob.unterwurzacher@theobroma-systems.com Subject: [PATCH] arm64: dts: rockchip: enable hdmi on rk3399-puma-haikou Date: Tue, 24 Apr 2018 16:24:59 +0200 Message-Id: <20180424142459.3339-1-jakob.unterwurzacher@theobroma-systems.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_072524_341405_866637F6 X-CRM114-Status: UNSURE ( 7.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Klaus Goger , Heiko Stuebner MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Earlier kernels showed a corrupt image on hdmi, on v4.16 things work fine at resolutions up to 1920x1080. On v4.17-rc2 two fixes are pending for hdmi to work: 1) "iommu/rockchip: make clock handling optional" https://patchwork.kernel.org/patch/10344875/ 2) Add missing enable_irq in rockchip_drm_vop.c http://lists.infradead.org/pipermail/linux-rockchip/2018-April/020427.html These should get merged soon, so I think it's time to enable the hdmi output in our dts. Signed-off-by: Jakob Unterwurzacher Cc: linux-rockchip@lists.infradead.org Cc: Heiko Stuebner Cc: Klaus Goger --- arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts index 7d3e8bfd51dd..23c59c8f0775 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts @@ -143,6 +143,11 @@ }; }; +&hdmi { + ddc-i2c-bus = <&i2c3>; + status = "okay"; +}; + &i2c1 { status = "okay"; clock-frequency = <400000>; @@ -281,3 +286,19 @@ &usb_host0_ohci { status = "okay"; }; + +&vopb { + status = "okay"; +}; + +&vopb_mmu { + status = "okay"; +}; + +&vopl { + status = "okay"; +}; + +&vopl_mmu { + status = "okay"; +};