From patchwork Fri Nov 8 09:28:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 11234395 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A52E139A for ; Fri, 8 Nov 2019 09:29:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7947A21D7E for ; Fri, 8 Nov 2019 09:29:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="LociPey5"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=codeaurora.org header.i=@codeaurora.org header.b="aOQM+mJv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731460AbfKHJ3W (ORCPT ); Fri, 8 Nov 2019 04:29:22 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:38182 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731373AbfKHJ3V (ORCPT ); Fri, 8 Nov 2019 04:29:21 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9001C60F5C; Fri, 8 Nov 2019 09:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573205360; bh=jEnGQcwQCZxTDWB7zh/OHN49Bfwp0HUrBuLfwQlzzlo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LociPey5sEyWT4JC1q0yEBeu2ny+UtIkd1xo6gJaz9ok6uZqSb9bBX/kvGAnzhAI4 LvegWXHcJvxgM0DYxDhb8QS+V9fOcrj2FBbkNaUjcjs3vrsTSxH9rsZXpDDEJlzLMq l0X/Lsjy651rEM33lDxTD/Depw+zkA6We8aLpCIY= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.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: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E0D4760F35; Fri, 8 Nov 2019 09:29:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573205359; bh=jEnGQcwQCZxTDWB7zh/OHN49Bfwp0HUrBuLfwQlzzlo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aOQM+mJvf6RGFplbImaeLTshe6hIPQAVeW4YU6py2O5ebu4w//+07CAQUJSRu/R+t y82hZJy79tsxIiSijjYQXDRKRSZCme8hr8Ec0jUvvI6AfefOfDO2aZuNtuoCvTYCet dNr4WwA1Po9cwea3ytz9VFZK8+RJXGe/LWBVdHyI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E0D4760F35 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=rnayak@codeaurora.org From: Rajendra Nayak To: agross@kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org, swboyd@chromium.org, Kiran Gunda , Rajendra Nayak Subject: [PATCH v5 09/13] arm64: dts: qcom: sc7180: Add SPMI PMIC arbiter device Date: Fri, 8 Nov 2019 14:58:20 +0530 Message-Id: <20191108092824.9773-10-rnayak@codeaurora.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20191108092824.9773-1-rnayak@codeaurora.org> References: <20191108092824.9773-1-rnayak@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Kiran Gunda Add SPMI PMIC arbiter device to communicate with PMICs attached to SPMI bus. Signed-off-by: Kiran Gunda Signed-off-by: Rajendra Nayak Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 6b7dd71e3315..d13d201442dc 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -232,6 +232,25 @@ }; }; + spmi_bus: spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0 0x0c440000 0 0x1100>, + <0 0x0c600000 0 0x2000000>, + <0 0x0e600000 0 0x100000>, + <0 0x0e700000 0 0xa0000>, + <0 0x0c40a000 0 0x26000>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <1>; + #size-cells = <1>; + interrupt-controller; + #interrupt-cells = <4>; + cell-index = <0>; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sc7180-smmu-500", "arm,mmu-500"; reg = <0 0x15000000 0 0x100000>;