From patchwork Sun Jul 9 16:36:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 9831825 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 71A8260317 for ; Sun, 9 Jul 2017 16:36:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 603A4223A5 for ; Sun, 9 Jul 2017 16:36:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 544BF25F31; Sun, 9 Jul 2017 16:36:58 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 ECE0C223A5 for ; Sun, 9 Jul 2017 16:36:55 +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=NlPZJbSo0AQaRUyEWYpAxbfMPI2sBwFNgpTdtVyz+ZU=; b=aiO OhUGdB+qjnyXHNr5GVw4XFZXey4nSnTNFXTIIrpFxZBs77St09Q64JsNT0k7LDbUNCxtjym2U4pIp dqJhnEYU4AC7NQq7I+dHdYfuFgTfvofwwaeQjpdR+gcdKbSEQUiAtPZyqtfc++qdTCuYWBDmjpSvh 00QcxtK0jhfdD5Xd5e8bWhouVEgL8w95k7SzxEyl9moZf68zIWj7IFTLIJU4PKgGZELmdwfxqrgaj xxnuWF2j8i5tYicbM1zrjN5+lWnbf744HNtOerXvk9yyFmMNJQNtXdKWpXWgXlh5JERz/tkEQupGg qD2MtYatNYzHMO12mwJr5Q225md+ruQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dUFCW-0003b9-IV; Sun, 09 Jul 2017 16:36:52 +0000 Received: from gagarine.paulk.fr ([109.190.93.129]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dUFCS-0003Yr-2k for linux-arm-kernel@lists.infradead.org; Sun, 09 Jul 2017 16:36:50 +0000 Received: by gagarine.paulk.fr (Postfix, from userid 65534) id 1E285213CF; Sun, 9 Jul 2017 18:36:23 +0200 (CEST) Received: from localhost.localdomain (vpn-0-22.aquilenet.fr [141.255.130.22]) by gagarine.paulk.fr (Postfix) with ESMTP id A0DA820EEB; Sun, 9 Jul 2017 18:36:18 +0200 (CEST) From: Paul Kocialkowski To: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: tegra: Register host1x node with iommu binding on tegra124 Date: Sun, 9 Jul 2017 19:36:14 +0300 Message-Id: <20170709163614.6746-1-contact@paulk.fr> X-Mailer: git-send-email 2.13.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170709_093648_413556_618AE4DB X-CRM114-Status: GOOD ( 11.19 ) 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: Thierry Reding , Stephen Warren , Mikko Perttunen , Paul Kocialkowski , Jonathan Hunter 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 This registers the host1x node with the SMMU (as HC swgroup) to allow the host1x code to attach to it. It avoid failing the probe sequence, which resulted in the tegra drm driver not probing and thus nothing being displayed on-screen. Signed-off-by: Paul Kocialkowski Tested-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra124.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 187a36c6d0fc..b3b89befffeb 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -85,6 +85,7 @@ clocks = <&tegra_car TEGRA124_CLK_HOST1X>; resets = <&tegra_car 28>; reset-names = "host1x"; + iommus = <&mc TEGRA_SWGROUP_HC>; #address-cells = <2>; #size-cells = <2>;