From patchwork Tue Aug 14 10:27:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Gautam X-Patchwork-Id: 10565293 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 084A113B4 for ; Tue, 14 Aug 2018 10:28:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6865290E0 for ; Tue, 14 Aug 2018 10:28:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8B1029114; Tue, 14 Aug 2018 10:28:09 +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 3915F290E0 for ; Tue, 14 Aug 2018 10:28:09 +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=FlCzvqkhAypmAJbC6y9E9bqVtaHFytk54OyawwKAOb0=; b=eLB bkHy4iwSzn3h2472c7xDNx1jjVN7p9nJ/ChOPT/Hgxb1TWgiQQJLsYPFJZ6oDV5y2QiDZaJLzJ52q 4Yke79XJ3gmcqxVOoX+B7sdCaOmyt8HqzxzKSrDDgQPxvY+FKBDaS+jjnNmyt4JhgtsJAxuRWmasm eeVJ/7Wv03DsoqyGnv7W7vvlf0ipO38A1b4t1l6bQzTTEyBo6sm6LCE1TXJDdUzLu/9O8EO0oFrGT UTUxzEwvh44eEd1ee21AzIvotnuMMV5O2+fFrxhFLUXXER9uoDEpvmAX7D6Zq77alfq3KDwCD0dAB /Ab1aifo9gtNab/MF0FXjlcF0H79PIg==; 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 1fpWYX-0000qu-5q; Tue, 14 Aug 2018 10:28:05 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpWYU-0000p6-SQ for linux-arm-kernel@lists.infradead.org; Tue, 14 Aug 2018 10:28:04 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 235646076A; Tue, 14 Aug 2018 10:27:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534242471; bh=Ql3iaYXDrD02dBPNZdnP3nudl1Jl24mHM63EzSesTz8=; h=From:To:Cc:Subject:Date:From; b=jWo6vCfpLTed+abNAsC0s1gYiVOgRgJWVPuEZVnec8ACCtTv3J9lqFnSMrTss/xwU sTVc84gH52HPXlSTLuC+CevbSqcgvAPtsUFoH5cXgqtGKuFZri1BshikYXQVYGISE1 wvmB6FDW7o53XED6i/4awi+exnPAqWaSFNiWGRvo= Received: from blr-ubuntu-41.ap.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek.gautam@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 0EF4560214; Tue, 14 Aug 2018 10:27:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534242470; bh=Ql3iaYXDrD02dBPNZdnP3nudl1Jl24mHM63EzSesTz8=; h=From:To:Cc:Subject:Date:From; b=OMHjq5bkK6pSkb6ZTrsgegL0XtfnufpjR4KTDb24fyPCuJ9dkeAUACBzRYLfoNqEM A2Vz5UINlLnxIUptmDvgFNKdKcQFU2YLeWSJZZ0ng7hCmTHSIXNg+ajK0mYRHdtR+j 5WBmyfzSJivl4DYxHGNx9gKLuDp5ORJCXC3Fo0ps= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0EF4560214 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org From: Vivek Gautam To: joro@8bytes.org, robh+dt@kernel.org, andy.gross@linaro.org, will.deacon@arm.com, iommu@lists.linux-foundation.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/3] Enable smmu support on sdm845 Date: Tue, 14 Aug 2018 15:57:37 +0530 Message-Id: <20180814102740.30222-1-vivek.gautam@codeaurora.org> X-Mailer: git-send-email 2.16.1.72.g5be1f00a9a70 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180814_032802_960771_AE720DFE X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. 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: mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vivek Gautam , robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org 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 series enables apps-smmu (arm,mmu-500) and gpu-smmu (qcom,smmu-v2) on sdm845. gpu-smmu needs one power domain from gpu clock controller whose driver was sent by Amit [1]. Changes since v1: - Addressed Rob's review comments by adding a SoC specific compatible. Have added a new dt-bindings patch for this. - Updated node name to 'iommu'. - Addressed Doug's review comment about removing status property from smmu's nodes, as smmu is either present on the soc or not. Enabling it is not a board-level decision. [1] https://lore.kernel.org/patchwork/patch/973839/ Vivek Gautam (3): dt-bindings: arm-smmu: Add binding doc for Qcom smmu-500 dts: arm64/sdm845: Add node for arm,mmu-500 dts: arm64/sdm845: Add node for qcom,smmu-v2 .../devicetree/bindings/iommu/arm,smmu.txt | 5 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 95 ++++++++++++++++++++++ 2 files changed, 100 insertions(+)