From patchwork Wed Aug 14 12:49:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171283 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp791862ily; Wed, 14 Aug 2019 05:52:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzX6GC+zaDsQLVdQ1v5bXZ1A6QwYVR35/w61ZdnyDmtGJypcjIQ0nb8rwwLPDdetp+G3miG X-Received: by 2002:a17:90a:8a84:: with SMTP id x4mr6954464pjn.105.1565787126516; Wed, 14 Aug 2019 05:52:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787126; cv=none; d=google.com; s=arc-20160816; b=TfS56jNlFAaj64WqoGcJmfiN2/dcGf7+35VwXNQDTxx4VLyzsVf6oWkdTjdKpWjCkf cCPN9Xj4JyFiq15r39dMQjpTm87yrGxii1LUQcdfz6BveQSLMUf5gy0s5xvkm0z0DwUu 8ZolOYoSMWi+qAOHDXgcGs+zaIuJMSDo07SP3hPFUfSmihK7I0hOVl14VXopjMK7C9od nfUMhJVwycQU7Z4B/8ZcpQRwTw631bih5zpamHEzSQL5A5Ft3N7RnNRtBx6FAZvLIP2W 8MsLxwDVSrbGMgl9/YWDi1DsuHU/yLBFBiZ9oIdd9bWaDvrENDFRmoBaswJ3C0SSbZQt Iusg== 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=gKk1DQZehXRm9JHCnMjuC2d12RKXftvdpC6c76pfGSs=; b=hIim8M43yAD5RNNdaxpt1hsu8hRShqS74cvhM2RdTVe9YUI1ZX3i4GXjDvDNDRXXKK AcUs2OW+uz6XLcnn1EH29Q836qxNgG7f2aJdT/2GAhGpZahq3YOFJmimtZHSxArjwx5v gNwRtKfaTuPc9b0XQ0hlO/NWAfBDg+us9sVeSERGqbX6koTUdDeHUTQ4Nrieenbb12bN GwP6F9ICBil6oUhxgkJvzobQj84VE567cEfcKoAy53g2aSYP/xsOY0Xjkm4g/KU9heD3 HLvjkt74HA8slhLzfFe3Vbv2B/blX4j6LwIqbkPze994cykgrzOy9CelYP817tbOgLSu xWaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RxhTmJvi; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si8943866pfo.68.2019.08.14.05.52.06; Wed, 14 Aug 2019 05:52:06 -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=@kernel.org header.s=default header.b=RxhTmJvi; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727988AbfHNMwF (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:34978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwC (ORCPT ); Wed, 14 Aug 2019 08:52:02 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C05C220679; Wed, 14 Aug 2019 12:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787122; bh=KGche2qb9n3+R+dRh1JII7lRXM3kNRv8UG58448Q+mA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RxhTmJviggLF9K3uyx5dMHoQhkJjetV5oV/LM0leiULmq0LbXTdxmVpFGrR2+GjrM eJURhDLXdqaKAPgp32wPNA+rR+A3MoeHhvWjOCPsGe84P4w44iVAMC6kwUMoffXQdh pUbeYANhfPxVcMUUCVFniGeEPwlwybH5PJVCczp4= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/22] arm64: dts: qcom: sm8150-mtp: add tlmm reserved range Date: Wed, 14 Aug 2019 18:19:54 +0530 Message-Id: <20190814125012.8700-5-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index df08ee50510d..8700f015c074 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -23,6 +23,10 @@ status = "okay"; }; +&tlmm { + gpio-reserved-ranges = <0 4>, <126 4>; +}; + &uart2 { status = "okay"; }; From patchwork Wed Aug 14 12:49:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171284 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp791959ily; Wed, 14 Aug 2019 05:52:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBF/VisHOls1yR8tIsotfV/KBKB2q0CyRsZqKZ+bEAmJf3Ga8xuulvjpOGZwvzoozqZ6yw X-Received: by 2002:a17:902:900a:: with SMTP id a10mr43435445plp.281.1565787131150; Wed, 14 Aug 2019 05:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787131; cv=none; d=google.com; s=arc-20160816; b=o/rkRrwW29quxzhpow47OVlRvtCSCbhggJrHXL5rw5iZeRgvJLBBo1DAVrGOXgNt4X DPvypb5jJ/13ChC3GjrDSwd63e+P1ZHUxDVrpHpuv/rdT5IhLiJRedx3zN/KuUYXEJmj 2FEezIFibOjpM1XNTIrR5RFHrHNHmDZHzmab9yiy5Y5m6rC6vZDf38MfgI4mxo4vtQoq aiaZUgrNNmE8ADjxWPLMQzKys8qjH9ivRu2YTiCtRStn56EyGNzkI5voGfRBqyCz627r VpKmX0IUg1G0P9M/jw1ch/TBkuQABmrAugFrj7MkNyGPe1fb3MskOU9i2p66M/O+IUtt RlYA== 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=zd3eK3CUN3NkafIlmQPhfxN1DalFRt+xzAP31r1q0+I=; b=Dr7+MXEJ8P4UHCwejp2s5j4cfkf5l3BfFfVGFoonDsBiuwPvemrx5UNBOj2kRgIv/J nxc6mW40A99UB62sFXvknQjA8Ze2K+B3sV4WiftCiOuh8rbXUwrlwwNfIKbRM62isynt NeLicTNeWtNmNSpL8TXVvHoaCZMDWPZEQoH0PVm7Ji2ObAda2dTI95Ih2kM+ex9e5lYo ynPGqO6ijIM9+fOIIFttqoKmzdL7yb0Ogk2W+aDW8TvUrWX01VrqpPrX7IEJs2+M1XT1 C3WnCT0stzzn4pGHQAgVKAnYg01kXo6Rl0bIuyDx39kUZuRwE+/tNNvLI7bSopVISIlr d+UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SiBdvYwI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si59625822pgn.56.2019.08.14.05.52.10; Wed, 14 Aug 2019 05:52:11 -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=@kernel.org header.s=default header.b=SiBdvYwI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728016AbfHNMwJ (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:35058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwG (ORCPT ); Wed, 14 Aug 2019 08:52:06 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BC61221721; Wed, 14 Aug 2019 12:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787126; bh=OTu/rVwYzp82ReggRCSSQw57VpPiQ6WZYNxd+LzJVUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SiBdvYwInZVlBtKvONEoLS8fcRjvGgPbk8jJSgibBwntoXu3xi0mXnmFGYOcp0hGf /GL7O2oN6K1BdLyUsnPRkSoQuLLGdy6WFkmRBN4s7hcgdfubhLc0jwR6ok6aHBtOlR 1Y61tMRXZDk3WwpjmtF768UKMjVtGGh2zOxqyx6E= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/22] arm64: dts: qcom: sm8150: Add spmi node Date: Wed, 14 Aug 2019 18:19:55 +0530 Message-Id: <20190814125012.8700-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add SPMI node which is used for spmi_bus Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5f2f21270e2d..5c6b103b042b 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -272,6 +272,24 @@ }; }; + spmi_bus: spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0c440000 0x0001100>, + <0x0c600000 0x2000000>, + <0x0e600000 0x0100000>, + <0x0e700000 0x00a0000>, + <0x0c40a000 0x0026000>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + cell-index = <0>; + }; }; timer { From patchwork Wed Aug 14 12:49:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171288 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792221ily; Wed, 14 Aug 2019 05:52:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8fpEnn4oEf3TN/C4hI+PHif5n5ALWVuwZkEGC7a7hJ2AYJ4IOG5S5R5x4IpxYSF+Z+cAO X-Received: by 2002:a17:902:aa08:: with SMTP id be8mr12691204plb.144.1565787144944; Wed, 14 Aug 2019 05:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787144; cv=none; d=google.com; s=arc-20160816; b=y9hklFmDAH40Xl6iZqdpMA6JMb1i9tWNQ4j/rH7fmGLPc7AZGAq+Hyg5s7LJTnB66T T4sBrV6qEdBKXmN3fUdcprr+GPvJwTmLulDfq92DbTOdRp6lOoG/im+bruXwyyGUYl3C JMLkfBudst0hMSZAZDIEqKt3ijdO7nvFmDAN3lzPSr2tId55zLDc02sqhsXPxkYEiaQu XbwHlhtYsHpPR5907Cz27zTtSnwIBqW7cis13AfQYJmd8LqtbiltkDB4zf5r9Vr5BTUw VsGMsgeT8nLr55Rk6+xayMH4hWVdCsyAiBtln3aCLqxFoSGsGvxlcJ6cMMVz75g4kqWY fzAQ== 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=j8Mb5u1N5TKTAirbuDEEPZUOgpvMSux/JQWY3aHkuVQ=; b=Qy1LNssy2mNLk393OomYOx3JF9zibxGoyfhqFckPE5GSgm4H2ZaHD6kyMTy2RTYyKQ ffuUhdqTFeADYL1MtEP0DPwgctKtKGD3KjRpEdGTv87EnCzCOHt/OCPOChAk6C2vZBrh eqU4kWa9h8CJxcwur6oeOVaPol+Mfagnmy7XMzCJU3J6fzlkADqVuQoUpxnMDhqCtShO WEJfld6PbQYqalMPHmp76iHF7K5k7/SJ/gGj9ULSRcg5rQlphjsQaJoIBwMX2NTwfJRL evqfywN/OAuKhJHNbZQi9P/RkiWR+C00zHedJlhKhT47bGbnE7I2q7nPu5tm3KB32pTQ dhMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XqrsaOSN; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 71si61536455plf.156.2019.08.14.05.52.24; Wed, 14 Aug 2019 05:52:24 -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=@kernel.org header.s=default header.b=XqrsaOSN; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728093AbfHNMwX (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:35390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMwW (ORCPT ); Wed, 14 Aug 2019 08:52:22 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4A4B5206C2; Wed, 14 Aug 2019 12:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787141; bh=GuUKwJX45IQZpMPvL/7FpSDUMkebqsknhrExHJ8k8fQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XqrsaOSNVwUjyQsEwsPfvKEDqQpWrqSR1Es9CavYJBlddXwxxRWsIvw+iQ9Z7EM8I kwj4EJAQTgGt/5XM9/8wgfGkQ6B6aEUCqopLb97FeaH9jYSdey0k4cKHPBbO6fJh9g a3szZuv9aCFHQXgz2vWKIAWNQsGiZcG815KEGwcE= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/22] arm64: dts: qcom: pm8150b: Add Base DTS file Date: Wed, 14 Aug 2019 18:19:59 +0530 Message-Id: <20190814125012.8700-10-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PMIC pm8150b is a slave pmic and this adds base DTS file for pm8150b Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/pm8150b.dtsi -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi new file mode 100644 index 000000000000..c0a678b0f159 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: BSD-3-Clause +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. +// Copyright (c) 2019, Linaro Limited + +#include +#include + +&spmi_bus { + pm8150@2 { + compatible = "qcom,spmi-pmic"; + reg = <0x2 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; + + qcom,pm8150@3 { + compatible ="qcom,spmi-pmic"; + reg = <0x3 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Wed Aug 14 12:50:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171289 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792284ily; Wed, 14 Aug 2019 05:52:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1IyUpTCY+FsvakMqSP7GXKIyRRyJQKQL1pSWBGOwxs6Wfpn+qpWx+SazPPmMben0tLgOI X-Received: by 2002:a17:90a:3321:: with SMTP id m30mr7152641pjb.2.1565787148805; Wed, 14 Aug 2019 05:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787148; cv=none; d=google.com; s=arc-20160816; b=c/C2VwPYONHq8UvsmqOqN4mTcLEYQkWBPtuqVW6BRB9k0gx1j6tP6pIJzwDG+zQ2Ry BcZMTrU48ygb6XGWJSWYfNKSzyfDxGjYXp4ok9dv7Ft1I71JSg1XPLGUZsLxIbZBQOqt VLig0Iqh39YoENY3IELpgncCPBC+kt6hCsrcKU9qBTu11bqHB3xiRV3lwbBoQA8MGNhG A2mt0V8y9hJhvzVBD/RPYaRQM1+8Ld26IAaMc471isIHDwsMFEt0cZHiaaRG8tfMfaGG t2FF+tHGEgHA5fziaJ5ORWR77nJ4p90FD1FrWEERJ8JVPGkVurglgh2ZEBB53o5gRXiT gkRA== 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=TEmfG4gK8OQ4PWMWwl4E5JFIx+8W/9Zwy+WAqTXZgkY=; b=kItcYrrerHEj+QFAGPZXZQdiO7WbqxNmqilFGkr5bPhB2Xfq6ZymBRIvmQRHl4HFiY 8jKM8krlvYdhJG6SdTNF4AhZjp5kNegY//jxkeDT2vGIAqcrqccZ+KyTdJ5FoP+9/ai6 //nGuKfz63ywr+EXYdaYsLwn+DaIoUm67mAC+pgoyytsZgQGrzOch3WpTujbm1w8UPc+ lTIOsTyd3ET57d7yiWvhaDANd6OL5iN7ZH1TlGCC520EeU+dyKku14G1YZDokU4Smexp 1SGw3jFz6M9oK/uP+e34DxQSzglk2kRsj96vaK66DiJ5JZOjYevEAyav5+ARt1Nzt0vU XUyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rzgoL9Xw; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si22825598pfa.19.2019.08.14.05.52.28; Wed, 14 Aug 2019 05:52:28 -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=@kernel.org header.s=default header.b=rzgoL9Xw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728117AbfHNMw1 (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:35474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMw0 (ORCPT ); Wed, 14 Aug 2019 08:52:26 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 31F9A20679; Wed, 14 Aug 2019 12:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787145; bh=yHwj43RsqITyAr0fSJFE8OTSdfeCb/5KsEpjhocIRHA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rzgoL9XwasBQXu8It3der7khoKdcfyf5yuww7PkIxDcE4/LYF9Mxw9dDs3652Mw40 SoMfSvd5QpP3lodDq4JOFq6ItwNbwQ3z4+EZguw2auSTL3zQJI2ddcfPJapHlH2Jwp r+LsX87zwm3fYdCBZ8K6wXp/aeV5whQtlwSkP57M= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/22] arm64: dts: qcom: pm8150b: Add pon and adc nodes Date: Wed, 14 Aug 2019 18:20:00 +0530 Message-Id: <20190814125012.8700-11-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pon and adc nodes found in pm8150b PMIC. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 54 +++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index c0a678b0f159..846197bd65cd 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. // Copyright (c) 2019, Linaro Limited +#include #include #include @@ -11,6 +12,59 @@ reg = <0x2 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pon@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + }; + + adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + + ref-gnd@0 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + vref-1p25@1 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "vref_1p25"; + }; + + die-temp@6 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "die_temp"; + }; + + chg-temp@9 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "chg_temp"; + }; + + smb1390-therm@14 { + reg = ; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "smb1390_therm"; + }; + + smb1355-therm@78 { + reg = ; + qcom,ratiometric; + qcom,hw-settle-time = <200>; + qcom,pre-scaling = <1 1>; + label = "smb1355_therm"; + }; + }; }; qcom,pm8150@3 { From patchwork Wed Aug 14 12:50:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171290 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792337ily; Wed, 14 Aug 2019 05:52:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqywviDycGrYThrXWul1KUNbePXsVu8esIPLq14z/TVwLXpDGjXDhYQpaQoiRzuQNriQJLk9 X-Received: by 2002:a63:be0d:: with SMTP id l13mr1886117pgf.357.1565787152515; Wed, 14 Aug 2019 05:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787152; cv=none; d=google.com; s=arc-20160816; b=QQk9AXr3dAtb46rTZOs77cT5cd8JCpza86erpYR63CX81O+rJrHosHFPuwcHJ/0Mau 1g2Ncr0i/SCz++9IyvhY/U0chOVy7HMmG4rzjb4a6n3IqEdg4+vTFh0MpOkZju324Qri 1NK+pPcKRfvwyQLA834zKc8MfSSa501HEgcNN728mZ4FRG+l29MjFSusR8kTxYDRQGtL 8jsJA5m8SfmCyjf+xS/pHOB3dEk6NHvqRxRDf4lQ9GVqqCaeHhnG3Cv+P6ndwJGpsXRn XXgHner0clyRNHVgr+YORvqfBjIzhjUh7bwX5EtUrLGqhvcPmxRgWiQY7fzSrDRkUWpd Muaw== 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=lMxsSgnNY/Q+OoNjgdSUxin7SHsk6lsNBEl301wuGqc=; b=RfdZVL5++afXS3VfGFjoDP/FWpSgtgSPMJxO46BHLqrdGxIU7nOMHuWK9w+SfzBr2Y eMjCk4H7uQYJlrF5Q57MGpYaU2uR79tEf1Drca88zfaHgOq+2S+4Ic0nshb1jBppNju1 gGJLXN12sZSgJgSctWSTsIUrmEa22hTvA7Czaailx8YbrYiuEftXmsg8V+fAriH3Rwuq EYjU7Y4ZnyTvz9dSOT2hNXAIk50t2gYugeTTXRHlNtYjJakEuGEp2tEuVRYA+2zoxQ76 F/iiSt+Y6VPz/w7A8Nk6qKDwR4qlbN8Fzx/0u5hZwT4OUUiSzka27XfqqS8N6sGwkELa loQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fmg835nK; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si22825598pfa.19.2019.08.14.05.52.32; Wed, 14 Aug 2019 05:52:32 -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=@kernel.org header.s=default header.b=Fmg835nK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728147AbfHNMwb (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:35570 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbfHNMw3 (ORCPT ); Wed, 14 Aug 2019 08:52:29 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 14D1A206C2; Wed, 14 Aug 2019 12:52:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787149; bh=92Dv0hab1SjjodxPx7Hc3x0MCwpXsuMnnSOxwF4X0Ao=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fmg835nK/pDBasV6OMsO8E3wK6MBK/ieQu0bWK4NsRq1gmICLYLjSNhGaOHGo0HVk plorxT6juuA0pXk13dJV54yYXNevFXFo0C0/zeDYvVgOesC3kmMWDlsnbMv6jV1rXN 4JmgZjPEQm41hHG9JaXah4mQg+2WlRq0hTFAnuoo= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/22] arm64: dts: qcom: pm8150b: Add gpio node Date: Wed, 14 Aug 2019 18:20:01 +0530 Message-Id: <20190814125012.8700-12-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the gpio node found in pm8150b PMIC. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi index 846197bd65cd..2bb2384461f7 100644 --- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi @@ -65,6 +65,25 @@ label = "smb1355_therm"; }; }; + + pm8150b_gpios: gpio@c000 { + compatible = "qcom,pm8150b-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupts = <0x2 0xc0 0 IRQ_TYPE_NONE>, + <0x2 0xc1 0 IRQ_TYPE_NONE>, + <0x2 0xc2 0 IRQ_TYPE_NONE>, + <0x2 0xc3 0 IRQ_TYPE_NONE>, + <0x2 0xc4 0 IRQ_TYPE_NONE>, + <0x2 0xc5 0 IRQ_TYPE_NONE>, + <0x2 0xc6 0 IRQ_TYPE_NONE>, + <0x2 0xc7 0 IRQ_TYPE_NONE>, + <0x2 0xc8 0 IRQ_TYPE_NONE>, + <0x2 0xc9 0 IRQ_TYPE_NONE>, + <0x2 0xca 0 IRQ_TYPE_NONE>, + <0x2 0xcb 0 IRQ_TYPE_NONE>; + }; }; qcom,pm8150@3 { From patchwork Wed Aug 14 12:50:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171292 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792503ily; Wed, 14 Aug 2019 05:52:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxf774nQO5m0EdFtc33V/zu8AU2qOFcPcdsbRShR7zOffl1SRZOeRss+A6vZo5BXDfzBufL X-Received: by 2002:a62:b60e:: with SMTP id j14mr46912911pff.54.1565787160816; Wed, 14 Aug 2019 05:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787160; cv=none; d=google.com; s=arc-20160816; b=SHo/eM3W79XIwCvRWLaqo0HwUtoOSii6VdgnU6iHMKwGnIjIKtbW2gwhIq3PFJFw2W bbzo03gQjgxWj6A9bqb2JpSBomBPJ9HT6TVwH/z5U7RNr19nEVyWBmVHSV8I1xuoHY+N Gx+TCa6YgyvZzuwND5nnPqEE+5jxqn4XOrB248VU1dsDrKHHSsTZZ1a08yQSN7cnqDyv V6rsq+pWCPOMJZU6/G4fb/Q1Ce8v0ZqYN5e0y537VKZNNq937vqyf9Qb3knKKi5OkeKn nPJd2zEczuIvhrMG8UisZUSHcJZ5Xyycaqk0sl5FjTq4vDsLrnQUd6V0GjYQfZTBIAZ3 ZJwg== 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=IDgJJO8KpRbKYpTXfMdsjpJBnNoCPIR5HLYNceY4GSk=; b=bEpszsqOS6I6HIEbz7zi+j1cM8t1VS/moEA8bchAxrTqk6n6AjbQG01aHKVsjR79mm ky6paMasG6wXbvDTAi/UZq3KrOvzkCIoesbJzqR2eeN6w6aijHPpmDrUAtlRvuk/oAzS r13hBNgSnjeVLICTQdLnwK94EC30v3PtqJlIOGAmYpc4PkQIvFC9C1JkAHwANJXiitJi qbLDVJClTZWscblzQh6y+dj+bwCdpSUU5LBoFiM4LkVc1VBMyVHD4H/ttCsfun+5jh3d FaqvW/v6yGP4JzpKxXtH5qtyN8Ki7xO45IwYV7ros7bfkjFauYpIenFKFobYlj7d9vOw tI/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X06siOE+; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go19si7420868plb.150.2019.08.14.05.52.40; Wed, 14 Aug 2019 05:52:40 -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=@kernel.org header.s=default header.b=X06siOE+; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728173AbfHNMwj (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:35668 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727687AbfHNMwi (ORCPT ); Wed, 14 Aug 2019 08:52:38 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D039A206C2; Wed, 14 Aug 2019 12:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787157; bh=hKY3I5jTWS34k0VD8Uf0fyHcsSlvg46QwuYtvYAUysU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X06siOE+DAYXS4OKihOPYi9NNZVN8wLt9TkHumUGQf9qTOmr917csN39oNFM1ObN1 QloA5z/8faprdsob1xPO8Rm4OE01oxY2Lf62CoJeZy2FqLz+Og6QYyqGMsYBOrHNec 0WchLJWvCMST6liSQg8I4DczqP13ctSfg3R1h84k= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/22] arm64: dts: qcom: pm8150l: Add pon and adc nodes Date: Wed, 14 Aug 2019 18:20:03 +0530 Message-Id: <20190814125012.8700-14-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pon and adc nodes found in pm8150l PMIC. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/pm8150l.dtsi | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi index e61ae6c6dab5..d685dac426a3 100644 --- a/arch/arm64/boot/dts/qcom/pm8150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi @@ -2,6 +2,7 @@ // Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. // Copyright (c) 2019, Linaro Limited +#include #include #include @@ -11,6 +12,38 @@ reg = <0x4 SPMI_USID>; #address-cells = <1>; #size-cells = <0>; + + pon@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + }; + + adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + interrupts = <0x4 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + + ref-gnd@0 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + vref-1p25@1 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "vref_1p25"; + }; + + die-temp@6 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "die_temp"; + }; + }; }; qcom,pm8150@5 { From patchwork Wed Aug 14 12:50:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171294 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792650ily; Wed, 14 Aug 2019 05:52:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgh20XSFO6Z25ikoGOgHSoVy/TvgK8usGFSmA1tiwYZL2/beV/Tmo8jV/3LjtqDdm/J29W X-Received: by 2002:a63:c44c:: with SMTP id m12mr38032007pgg.396.1565787168622; Wed, 14 Aug 2019 05:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787168; cv=none; d=google.com; s=arc-20160816; b=YY2K/T0vYXKUPrgHLy68tfUsHRfZ9Hc2sq10FQ2V2iPM1oSXx5K1/znGNVTBTOpmCq rh7HFBJT+8xi/ABO8WtxWlf31McMBSiFSDt2CtDsPwEg//Wt8KSWyl02qjx1ZxZbjGeL Nc4wyzYm9iK0YRXo/8bB1Z//yKN0vxePgWWGYwsLgTpaYFHevNxxi5A2apn9IjBiHOQC m3xaLbWhfWOWWeanLwvfJrKOCVpxJ1d7s94hL9Z/4DF8hZZgvPp1beq+zgd7fDWIotVL A6Pd4UqVos8z1deD7vW9aZzBHx//0MqXZ2Na998Ei9TirmGxprp51TssGWbENlEc4TnZ B1GQ== 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=bdcxCoy+j6NMeUlwzWa2aLkQULMYtUhlRvD+ZvK91UI=; b=xEie/kkZgYMomU3QWVsZbKyGoFk5Erv2RAo1UMntsuGkcRAb/0vG80cj2Yqe4yIg5u 8SgHC6yaSseiO/M/nuKVhN3obLZA4dApe7owN/F5h+JZAwrw0g1McB8uTWDhMGiq2jhI jSv3A8rtxyH+nLK5h7b6kS6wT7yzSMEKVv4ww0f8eBGzVepQmmVvoFYvSfjyoJ/DYjYR ismkt+iK3NpGUTGK0Ead7dv5oW2cEKkJCxBFFUhKpZVsswVcvF2CoU/rUwMRj7jfxIQ3 RQgsEKsNHn1elmMjZ8euDDPmMGPiysg4bxCqee/PsoOvBsAbFlXsVCDj8ckUu6egktTj Q9PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RhR+yUHY; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si20933032pgr.460.2019.08.14.05.52.48; Wed, 14 Aug 2019 05:52:48 -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=@kernel.org header.s=default header.b=RhR+yUHY; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728213AbfHNMwr (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:35872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728196AbfHNMwp (ORCPT ); Wed, 14 Aug 2019 08:52:45 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9A9CF206C2; Wed, 14 Aug 2019 12:52:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787164; bh=WAR4IN1KEa9st82tyiub0/dp9HHRWBNOMci3HjfgYkw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RhR+yUHYqKlRCXg+eanSwEeCSvVqdhizBIFAuW1utn9uF+36sASCqFZqwJF+eXB7v q2pL9MIU4nKo5Iug2W3U9W9FobEQ4sZr1fdlBkqmDgce8gyHr6DnJo7dVvy/GfTzqA CUQdMkGZSdj/vRzMxYi8P9w4cVAgjCzNMHCzVTKg= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/22] arm64: dts: qcom: sm8150-mtp: Include pmics Date: Wed, 14 Aug 2019 18:20:05 +0530 Message-Id: <20190814125012.8700-16-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sm8150-mtp uses pm8150, pm8150b and pm8150l pmics, so include the files Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 3 +++ 1 file changed, 3 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts index 8700f015c074..43ba14cc0b00 100644 --- a/arch/arm64/boot/dts/qcom/sm8150-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8150-mtp.dts @@ -5,6 +5,9 @@ /dts-v1/; #include "sm8150.dtsi" +#include "pm8150.dtsi" +#include "pm8150b.dtsi" +#include "pm8150l.dtsi" / { model = "Qualcomm Technologies, Inc. SM8150 MTP"; From patchwork Wed Aug 14 12:50:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171296 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792805ily; Wed, 14 Aug 2019 05:52:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0kFuVP/F/LSlGSHoeHPShNrTMlLrRzc9iWvfFF54BqM0IYYvbZq93ups87B26O1FZxB/Y X-Received: by 2002:a17:90a:ba8e:: with SMTP id t14mr1270780pjr.116.1565787177807; Wed, 14 Aug 2019 05:52:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787177; cv=none; d=google.com; s=arc-20160816; b=raOdE385lnFq419FwcILZAKDB2t9BL/v2FPQ0QdHMALIKy0OiYNY83d+XB/Mvmi6DB uQMsSflc1FQacFwV1MbOfF8zVqQygAr0L1Mo4GuFE6PrF7bZcxO4F2/ibiW5Spnaegy+ lEl4EJn4K3pWzsCjbJVb5kZIb06mdQNDa8ufeRYaFiLkXZpYiH9qN2JmTJo+veJ0Kar8 L6Qhx6HlSNdH526jMDzgYmpR4vGYWYmSdAdCWsRJmsC/OI2mS4sTvup7LZCWqoNOuUuL 38jv7CFcNNGCWjQ1MyL25yPQBUOpsSE8fdofwPoKkOdP+QTRIg8h81aanaHVTDItXlyR molg== 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=ujKYIfqkOX0KCEcK5aB7/nBP3OCdLS8NTZsAODKnXSE=; b=rxX3rQoPU7kgSxwEbrJniaQfOI2oBbt7OGCcamvWJrpkagpabcwoh97zYZDTym2NNw VEXfyZFGnY9e3bNnq/pfhkjWQ2MJEMEfNITLkJ+I8zIcJrX3QjOGHzExeS+yrCCJiDaf klHfDHBDxEkcdStpeFRYgeapVNwS0EU0jmJKZDQw4U0XZS0bhJMdsWTN1Ude5Q9Ed22B YCJ+KVYT/NDeu55gFXBKO9gU65e1Xw0HONgRPEwGF2FjXCCTOnkU3kYhMctkMu+FqPYL mDCmzweA3oTFQXB+mzD9yxlbRJ6sUAbJlSfhvLpZga0mHAh/7AdWH2VASK1DOSbe6nBR 4ggg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="zOXvXoo/"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si64882755plv.130.2019.08.14.05.52.57; Wed, 14 Aug 2019 05:52:57 -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=@kernel.org header.s=default header.b="zOXvXoo/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbfHNMwz (ORCPT + 28 others); Wed, 14 Aug 2019 08:52:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:36082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbfHNMwx (ORCPT ); Wed, 14 Aug 2019 08:52:53 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AFF92184B; Wed, 14 Aug 2019 12:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787172; bh=8rCmgCmjbHa3LmqgXmT8xe3QsdrTF0QeAhzbRowfYfc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zOXvXoo/7J2/z3iVLdEuY+0R8b9nPJXJ8mNA1ayGHjC+luH4bZi8R++hMTerBlAFD nAsOH8snZ24GBMlg+xW4Q5R8rICY4tFUIl5uy3vzjr9rFgUka81xyl/Sh+61087ywi MuW/AXpQNqy/sN2R4rvT6Nl7gE7Vp3vKUZemSHIQ= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 17/22] arm64: dts: qcom: sm8150: Add apss_shared and apps_rsc nodes Date: Wed, 14 Aug 2019 18:20:07 +0530 Message-Id: <20190814125012.8700-18-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add apss_shared and apps_rsc node including the rpmhcc child node Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5c6b103b042b..5258b79676f6 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -4,6 +4,7 @@ #include #include +#include / { interrupt-parent = <&intc>; @@ -213,6 +214,12 @@ interrupts = ; }; + apss_shared: mailbox@17c00000 { + compatible = "qcom,sm8150-apss-shared"; + reg = <0x17c00000 0x1000>; + #mbox-cells = <1>; + }; + timer@17c20000 { #address-cells = <1>; #size-cells = <1>; @@ -272,6 +279,29 @@ }; }; + apps_rsc: rsc@18200000 { + label = "apps_rsc"; + compatible = "qcom,rpmh-rsc"; + reg = <0x18200000 0x10000>, + <0x18210000 0x10000>, + <0x18220000 0x10000>; + reg-names = "drv-0", "drv-1", "drv-2"; + interrupts = , + , + ; + qcom,tcs-offset = <0xd00>; + qcom,drv-id = <2>; + qcom,tcs-config = , + , + , + ; + + rpmhcc: clock-controller { + compatible = "qcom,sm8150-rpmh-clk"; + #clock-cells = <1>; + }; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0x0c440000 0x0001100>, From patchwork Wed Aug 14 12:50:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171297 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp792911ily; Wed, 14 Aug 2019 05:53:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbRqS2zXZ8Wn8ri4mS8uIO9p/ioM5KFrxvRe0OwbRqptKWXIj6Bq2fNWd1TgneaKbPAzkC X-Received: by 2002:a63:f13:: with SMTP id e19mr38964617pgl.132.1565787181901; Wed, 14 Aug 2019 05:53:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787181; cv=none; d=google.com; s=arc-20160816; b=TWDiGZodlUjYbeojdaoxmIpeluGHeiBYkPWCbiIDtEBCu2h+t8Gpyf/M1N8GWankiK 72JuzmU/OiwhtJXSr4JWU6NSalhtN9v+8cmIWktMHnze110l0FcDAVfIjR8jvwqRbC0b 1sJvEjA7ZVMnONbtAj0MmLia/2PqFUj2KTYxrq9veDt5hmoLgwPaU6ZUtWaLnEoer1kj yWGVzewKMtm+nkWr3PomSyr2Dd/XX4oR3XVAd+nyKNUbX3t3rNMb0/OOsIqzDkKt/hQY VEDfCjS5qyAMMNx2/g0iwf/6DizP5ls2dBNPBfPYZFI4phTdsaQ9wyiP5rVN77Ijg8eF 0L9Q== 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=w70kuWxiH2qZt2cKTQvh7cjhcxPznRhn/NnyJt5zT8w=; b=sPJUoW1U5ku9Rhq8BzohJQ5diYgvXjAKEEndszPvMwL+8yCX6OmDz/oMfPS5yE/7+T VqxXc6K9q9jAduvvSkhNaj/NSWz4r8FOAXhn/Dex0ISx7LbTfxO0qzS6qpG2fQA3592V 8Pk/wpotqabNvYZ9WGFWKuvivuIvIDrQ2+KtEX0mcQ3+8Y7K1ggzv3ldms5f3oucuyD1 12FwSzlFl14FCwyI2K3FsG2cn68usmUEIPuJCgSraraFk14JcgvdOhb4Re3nzxouqR5+ BzVFj4O4bZTZnFanKMXP5u8uWUQUonGGEJWow4mkZYYXNK5mPZ/dNwDULTjoQHBqC4Ck +Nbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=J0cwHoOR; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b31si16023179pgb.128.2019.08.14.05.53.01; Wed, 14 Aug 2019 05:53:01 -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=@kernel.org header.s=default header.b=J0cwHoOR; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbfHNMxA (ORCPT + 28 others); Wed, 14 Aug 2019 08:53:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:36186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbfHNMw5 (ORCPT ); Wed, 14 Aug 2019 08:52:57 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4EF502186A; Wed, 14 Aug 2019 12:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787176; bh=Jbnl14VH0GAAeG6oOTitKjeePEn1JZpTLPVkMGnWg1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J0cwHoORkLit1M9Mkl921zoohMCxy9EcqQBsDglWEC5azHcnengxetDHACLhgCNjU wM3Re6l55BpytznqKZRRikQTKaAYlQ/7pkIslpwEXYRNiNuSe5fytcBaLDdE/Q5rQ/ LzVBfA/VooxWuaUVPll+X2KmM6yD+du8SqZKMUfg= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Vinod Koul , Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 18/22] arm64: dts: qcom: sm8150: Add reserved-memory regions Date: Wed, 14 Aug 2019 18:20:08 +0530 Message-Id: <20190814125012.8700-19-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the reserved memory regions in SM8150 Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 111 +++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5258b79676f6..7111e1f092f4 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -153,6 +153,117 @@ method = "smc"; }; + reserved_memory: reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + hyp_mem: memory@85700000 { + reg = <0x0 0x85700000 0x0 0x600000>; + no-map; + }; + + xbl_mem: memory@85d00000 { + reg = <0x0 0x85d00000 0x0 0x140000>; + no-map; + }; + + aop_mem: memory@85f00000 { + reg = <0x0 0x85f00000 0x0 0x20000>; + no-map; + }; + + aop_cmd_db: memory@85f20000 { + compatible = "qcom,cmd-db"; + reg = <0x0 0x85f20000 0x0 0x20000>; + no-map; + }; + + smem_mem: memory@86000000 { + reg = <0x0 0x86000000 0x0 0x200000>; + no-map; + }; + + tz_mem: memory@86200000 { + reg = <0x0 0x86200000 0x0 0x3900000>; + no-map; + }; + + rmtfs_mem: memory@89b00000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x0 0x89b00000 0x0 0x200000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = <15>; + }; + + camera_mem: memory@8b700000 { + reg = <0x0 0x8b700000 0x0 0x500000>; + no-map; + }; + + wlan_mem: memory@8bc00000 { + reg = <0x0 0x8bc00000 0x0 0x180000>; + no-map; + }; + + npu_mem: memory@8bd80000 { + reg = <0x0 0x8bd80000 0x0 0x80000>; + no-map; + }; + + adsp_mem: memory@8be00000 { + reg = <0x0 0x8be00000 0x0 0x1a00000>; + no-map; + }; + + mpss_mem: memory@8d800000 { + reg = <0x0 0x8d800000 0x0 0x9600000>; + no-map; + }; + + venus_mem: memory@96e00000 { + reg = <0x0 0x96e00000 0x0 0x500000>; + no-map; + }; + + slpi_mem: memory@97300000 { + reg = <0x0 0x97300000 0x0 0x1400000>; + no-map; + }; + + ipa_fw_mem: memory@98700000 { + reg = <0x0 0x98700000 0x0 0x10000>; + no-map; + }; + + ipa_gsi_mem: memory@98710000 { + reg = <0x0 0x98710000 0x0 0x5000>; + no-map; + }; + + gpu_mem: memory@98715000 { + reg = <0x0 0x98715000 0x0 0x2000>; + no-map; + }; + + spss_mem: memory@98800000 { + reg = <0x0 0x98800000 0x0 0x100000>; + no-map; + }; + + cdsp_mem: memory@98900000 { + reg = <0x0 0x98900000 0x0 0x1400000>; + no-map; + }; + + qseecom_mem: memory@9e400000 { + reg = <0 0x9e400000 0 0x1400000>; + no-map; + }; + }; + soc: soc@0 { #address-cells = <1>; #size-cells = <1>; From patchwork Wed Aug 14 12:50:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171300 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp793043ily; Wed, 14 Aug 2019 05:53:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwsPai9lezYwe1EQa96vh+zwq4z0IEXjipJt1+sGcrLZmFHd27zSEJWV5PDupeOQX1rM5w X-Received: by 2002:a62:7789:: with SMTP id s131mr13518806pfc.50.1565787190923; Wed, 14 Aug 2019 05:53:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787190; cv=none; d=google.com; s=arc-20160816; b=xBx8ld46pKwtFp5bOrkd77sLTIrUXBF6aYzXlXpKKRIsTacn78fZ6bvqt+ZEIoAkTM Q+vzDFjsxh03T467a7YdFUJb1MaGOmiOjcY6p9HwgH/muyRNKamOBMvMXtX+CuAByHJJ 6mYjUp2OkEeMBJA05+OpuVHjDqJS2eNJbWc3jwblVQUXK6XReskxGF76OyFGtwoUbLpX xp3b/1xmb2uFndoArGCTyMw/6nxJDaoiLKrzEdlW1pDdCe8DuE7YVuWp9L5f94PYNW9O p7LMh+JdIL58RLGwtxEhA8OI91Dt7ue6Bu42Tka5Tjouc2andifLLuKCqp1iuhZxrSJ0 5Aqw== 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=2I9zxcX6tndZAZtzTAmfPaaGT+j4LzHsXK5VbxV2kQw=; b=lQxGPbvGyReaNUn86PDHvSJn14nmoUj8Hz0lTlIOZTBxRncX71/T/3L1pQet3WuGkW Vot4Hu1e6s2CSaTf40pq2Gc9MXHhQsNt3nYPr2ri1gItxDGUKLYYx3CZrSToxDmAVatI 9lHVPU8dvPcyoMRu9mungwi0Zr5x6g9fwZyYSzYk3odHD0WOsto0v3uGcSrHIUZVyLeu EB165vGWyMPwEODVEKCrQTakyzZMLTCcVv4X+Ag6+oFvXjYWoeTmybBdgI6i/JekFLXW MGeH6JphOmbcO3N0T8P4YPC6wxE+qxFFW3cO7Jcdj2vpz6HqA2CotT2sgQgiPD2yyUHS sMoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SEAwZgLI; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s144si14536345pfs.9.2019.08.14.05.53.10; Wed, 14 Aug 2019 05:53:10 -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=@kernel.org header.s=default header.b=SEAwZgLI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728331AbfHNMxJ (ORCPT + 28 others); Wed, 14 Aug 2019 08:53:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:36334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728292AbfHNMxE (ORCPT ); Wed, 14 Aug 2019 08:53:04 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A11B2083B; Wed, 14 Aug 2019 12:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787184; bh=/h3YqqWp1GHG2tFB04Jfi8yAYbuoQfxznrc6/QZfTZA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SEAwZgLIU4Lj8Pzg3/OyeOHVZuaJMJPxR/sttBTVzoWxQsqrHs2PUEjfG84CZyTvA XQWiO7ez2qhhHs3NcFMLo481iDvJxZZOBiZYx3WGGBQcYpi/KuWJJa/CPJPoIR1fUS kpfq35JV8s2C+hj+TlOYI8RqwGBKhBYt7p2SF9MY= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH 20/22] arm64: dts: qcom: sm8150: Add pmu node to SM8150 SoC Date: Wed, 14 Aug 2019 18:20:10 +0530 Message-Id: <20190814125012.8700-21-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sibi Sankar Add the CPU PMU on SM8150 to get perf support for hardware events. Signed-off-by: Sibi Sankar Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 7111e1f092f4..19be87dc893f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -148,6 +148,11 @@ reg = <0 0x80000000 0 0>; }; + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; From patchwork Wed Aug 14 12:50:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 171301 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp793159ily; Wed, 14 Aug 2019 05:53:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxArHkvBHkn1bFrMgu7WLpbM9p6TMcAfD1JmOmYnIgVOW+e7Jj9uxhNtBbEO9JPvCj3xs3D X-Received: by 2002:a17:902:eb:: with SMTP id a98mr40160564pla.75.1565787196672; Wed, 14 Aug 2019 05:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565787196; cv=none; d=google.com; s=arc-20160816; b=bsXdfeg6o2Y7ev5l83EVipxXeWUoBi1ARluWWC5wtmj75AOWvztP3Ga60jae+T6eSq 1QdmBhc7UDTR1WKg3VY1Wx6UNP55CA60s7rkD6nL1544F4GgeDr/Di/Vu1xlO1beWLcB f1/BojnfBmRI/bXBVyC8CDMCOT9/qqK78iiDl3sjAIEuPSj2LyMhFdQfn8JTkz3dVoQ+ pT3T0ZnIVBcG9V2+gNq1w1ipj+Nr5gYAWFuBZpqmghoggRTLD6p3djKKvSnFjnRocUcg no6AYdczeIvS6oJh065eJmUt8CyxNnVozWOqKPH0D1hAMHVW0oj/uo422hXnPaafeFp4 n0uw== 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=oJ4KpdFLJrs5dvrv06Jvw2Me9aqOyI42/G+chQ16d/E=; b=mwInuoHCBteCh6KLnzlE8418WQm+yhYM0GJaE4bPFWlj/u1SYRh34qEAOeLhgCcDWO rtaAws09UoSgsORhfYgIdUeFoxyIIUFEr02a6wMt7lNRYoL5BZa+NZ2reL3jUEpZwg74 CI9L4g5GcCZEScKMCrGVjSmERn4knpE15KTZB0e65xFqLMSvwfJNJGILpheXtGuReuJq dCcAIsjAA9oi+5khrx5Hri+zArtD8BWkT4rRh0KGMC7lUm9o/Xjg+p1qGqRoDoCJ03gg q5t2OI0EAsFAMxa7QoLh2vrD1iOBebJscMB1pGrNmUwp6cH23sDWHLPMio5TuocVi0XH 3VpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eXEkDRz5; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c23si66707273pfr.8.2019.08.14.05.53.16; Wed, 14 Aug 2019 05:53:16 -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=@kernel.org header.s=default header.b=eXEkDRz5; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727784AbfHNMxP (ORCPT + 28 others); Wed, 14 Aug 2019 08:53:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:36516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728313AbfHNMxM (ORCPT ); Wed, 14 Aug 2019 08:53:12 -0400 Received: from localhost.localdomain (unknown [171.76.115.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D5E9520679; Wed, 14 Aug 2019 12:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565787192; bh=ozSvUfuy0tlEOLeLXY303hhvAHSOWvlhS6BaeKgVStU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eXEkDRz5zqT5G5aV+1O9GdR5OPrgNlzGc5ad9clKYpLXLI/8gHQcxfPhFehS2Fpjd ddFFUuAtEjalEx2hyeB8zlioqAvmeeAqW/23RhuoiHJM64L0ByHiwU1jNlUMfZR8hd xstVadxH8stsCxNY0EtdFwa0JPSv0kZDk7X95V10= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , sibis@codeaurora.org, Rob Herring , Mark Rutland , Stephen Boyd , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH 22/22] arm64: dts: qcom: sm8150: Add APSS shared mailbox Date: Wed, 14 Aug 2019 18:20:12 +0530 Message-Id: <20190814125012.8700-23-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190814125012.8700-1-vkoul@kernel.org> References: <20190814125012.8700-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sibi Sankar Add APSS shared mailbox support to SM8150 SoC. Signed-off-by: Sibi Sankar Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 5df3f335272a..88cbab4a9297 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -5,6 +5,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -338,6 +339,16 @@ #interrupt-cells = <2>; }; + aoss_qmp: qmp@c300000 { + compatible = "qcom,sm8150-aoss-qmp"; + reg = <0x0c300000 0x100000>; + interrupts = ; + mboxes = <&apss_shared 0>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; interrupt-controller;