From patchwork Thu Apr 8 17:04:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417451 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp793813jai; Thu, 8 Apr 2021 10:05:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziiv52OSxIV0zYYePXzChu9Xc6jvAVbmdNWQUo0cQzQxv4qe8aWzjHsZ8c9lPH36JSFMSO X-Received: by 2002:a17:906:c301:: with SMTP id s1mr11472616ejz.382.1617901515226; Thu, 08 Apr 2021 10:05:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901515; cv=none; d=google.com; s=arc-20160816; b=kaAlIqgcFEZylIHqtNZdcImDIGMFjWrM/FZsokVA3ub0tZ5WEh+BCBNcTYPlawVV2F tIURY0gfleuUUdBQaqS7E8nlMsFoFLpdWk6CkG4A8NsWwM/xGXpRQGgjM55qw69XEK7B WSurJHXU6MC6I368BYubFzji8fSdgT1hOuxl/hGP18hPPzsqjb1uVRP/A3R5zDMtEeNj is5qFGJuw9Hjyz5114WKmySJnIltPtIRlL36PqHDn9NxO3/xgt7IbWqKhIZHqESAK+rx ZaLxfM3Efeo0n9F9CbK1FgcgBp1yRFnURpXmfM+hKZagbSeITd9awEWnggZ0nft3nOWS tayQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YVSTC6W3nYNbVnRN/o2kL063WCTg1tq+1lBFNgsIUgY=; b=JiGVitX8BlzzVzt/q3WTJfQOopA0Vn9Job7obr2N8UebP6KVolNEnVNdtLtKJqRqV3 dsDoUPqlKR7aJy4uJbz+M/KG1T63rrMZqLo/qtqLityOmQm/Mclp26x1CYcxUL7ZGf5Z bgMDJD+AazJ7pPoCgKZRSoxghU17q/J2XxP1EDDOpTzOhVQU8K/6T30De6MG/buUKCmh BHdIcXumrdQ8XobU4khrs66wUitINUCfo/sZiNwVqtb88+X4O2KoA0wWGlbvr51ghVST go3z+bwXTPqzUjAAXI6LJ29KUeTK5410/BEB6u/Lgcoya6jOtwW9tCmBKsi3nYS4speC WB9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GGcKuVYt; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si3555edt.518.2021.04.08.10.05.15; Thu, 08 Apr 2021 10:05:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GGcKuVYt; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231480AbhDHRFZ (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232374AbhDHRFX (ORCPT ); Thu, 8 Apr 2021 13:05:23 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9582FC061761 for ; Thu, 8 Apr 2021 10:05:12 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id f2-20020a17090a4a82b02900c67bf8dc69so3555156pjh.1 for ; Thu, 08 Apr 2021 10:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YVSTC6W3nYNbVnRN/o2kL063WCTg1tq+1lBFNgsIUgY=; b=GGcKuVYtePPs1oM61Be9wT9PB7rzBj7U94IBZoAi6I0/mLXLnvL/Ize15ocAsJhtct cExFyMb82+H/EDGsPPSZFRS6AM+/xbT0j0aleMEvZBEJpHb/sPk/Q2EHN+u4MxHDjBrG kaTRDa1uWHvM9yGj9Bb9DbAXctPwiKZBQrMP1W4yJqVXaIzG8CTDiJMSKInW2ppBaZ12 bnUWK9zUDDLejBPTtz/Nfvvq+8L2LkWKkaXnQhg3tPYuc/dWw7tSemliIZPykK/o3Je7 BMLgu68YK+a0wrxwfVM76KB2duFAFV/2m/bXD/g81BzcHOZJvz0R4GwxO6Ffe0U4Fwfm Pr7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YVSTC6W3nYNbVnRN/o2kL063WCTg1tq+1lBFNgsIUgY=; b=ZGk24tf0fcJ7DZTNVi9MvS61yJeDHzdF8FO/DVutl/WKDSQfgnVL3jn0s0cBJpGLX8 I14ouqSfsY4NZ+Pu5JSV56DKwFuq1chvoJWXn2VMMP4bhDB4kPmRdU4eIxP8A2Gpd8FD f/lVpHSj1EYXCnMHyrDypW4/5u4+nZJ/JP2xEN0P65cmBXgXuKF8WVzo/v0wXomj7sbp FeSEpUrDxW/sdfGCWh7FN5NUD0sEDlSThMdHuFDfcSRggGAagx24zew7mCLphAnK4O3E 8AmFGuSu1rzAsVwlhvplhrQEI7ikTwCD6nbqRf2VPnGDi8mi5C5F/grqfQFD3tsEGNE4 EKkg== X-Gm-Message-State: AOAM531Me/R0mSq01kgoIQzEpUqqU0bg3qioB2hmxNzdpkyW0MiOofGA P6FGO63K+SMjRWJszhBIT4Ji X-Received: by 2002:a17:902:b40e:b029:e9:51e:477f with SMTP id x14-20020a170902b40eb02900e9051e477fmr8580887plr.55.1617901512097; Thu, 08 Apr 2021 10:05:12 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:11 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 01/15] ARM: dts: qcom: sdx55: Add support for A7 PLL clock Date: Thu, 8 Apr 2021 22:34:43 +0530 Message-Id: <20210408170457.91409-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On SDX55 there is a separate A7 PLL which is used to provide high frequency clock to the Cortex A7 CPU via a MUX. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index e4180bbc4655..41c90f598359 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -352,6 +352,14 @@ intc: interrupt-controller@17800000 { <0x17802000 0x1000>; }; + a7pll: clock@17808000 { + compatible = "qcom,sdx55-a7pll"; + reg = <0x17808000 0x1000>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "bi_tcxo"; + #clock-cells = <0>; + }; + watchdog@17817000 { compatible = "qcom,apss-wdt-sdx55", "qcom,kpss-wdt"; reg = <0x17817000 0x1000>; From patchwork Thu Apr 8 17:04:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417452 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp793939jai; Thu, 8 Apr 2021 10:05:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1dCGczwzhjD22SfvRF3tqpm/H5go+R+qs89pecruGYZnK2rjkdwAENBC0oBm6XOP398sL X-Received: by 2002:aa7:86cf:0:b029:20a:f9d5:da77 with SMTP id h15-20020aa786cf0000b029020af9d5da77mr8351445pfo.16.1617901521252; Thu, 08 Apr 2021 10:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901521; cv=none; d=google.com; s=arc-20160816; b=M4xfmFGY2ctnx9LNLAhsyRoCRmPV/YAt59Z8FyNoAHK5vFitoRfx0wtUSUqkoYhd/r LxZxpQ6OT2bGgmIpGPeXOvoATMo/dUIqKvs5bRq7QVx8ueYXa6GkttyKLMweOR2TzRkD PpRROXkbf0nJQ/Wg6Se/X0UqESZUB8REiBDWlmjsSUn0OxFWlAYCuqihYOXwYnhqtu7x zlYx2F98mVDXkF4MrwXtf7OZ2kQXAM6jHWN86x2MDRfncO+NScvyqyLCBZANQBW+DzjQ cJogduEx2z0eVRrUqPhkBuKNgLqohLWJrmwJMhdHIiP70xP9XmRsnl4xkraKz4acbCWq uBiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aEvUk+4RWmRs7+anXOJcYXF+5/SqZAT4E83Z4Y0Mxhw=; b=Pk3XNZ8/VrjwSirkP9mgECxWm2fiYJveXH2u1fO9lmm6RtYka/Eippr4CznEuQmO9Z 7s1DIMNiQLBQTMc8g3M/+fk8l//m0Qilu91ZPVuvst5JiyjRlbZWLGjW5AY1LYDV9+wK 5Jfk+R6QmSXszEYaH0MnoNMj4o6T11nv8hY6qzeDARPy1er2hDq31b5Mf55YfMvorNr7 hFFtaeQj2ZD5UVMu1PBFPlkq3RKYsA5R3PpLftkBndMPYcfwwPfnh29EeGlLkvmehQjG twhfgIDDqq8AYgQCrvC3DLLYss3FLeq/SS0ebRqpxML6IAd5/ijLXIFm3CXei1rCXmr1 Awxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cY894oX0; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz6si2966482pjb.36.2021.04.08.10.05.21; Thu, 08 Apr 2021 10:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cY894oX0; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232521AbhDHRFb (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbhDHRF1 (ORCPT ); Thu, 8 Apr 2021 13:05:27 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2916EC061762 for ; Thu, 8 Apr 2021 10:05:15 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id t20so1361122plr.13 for ; Thu, 08 Apr 2021 10:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aEvUk+4RWmRs7+anXOJcYXF+5/SqZAT4E83Z4Y0Mxhw=; b=cY894oX0l5yGF8xq8wA4enwi7hsDoD/52Puo7/vHdGfiY1dMWqEahF+bwfanND/VvZ ClVfGPZEK1yVVb6VhI33IgT6/vVzLhsorKCrIxvZRkXjxtLoKo/CQkvRcbQurb5ZIHFV 63N5KeZ68h9I4oIW/tV3PEX6DtzYgHPMMIleHIXeh+2m5HS6LG9gVNMZF5cbvOrddOHD 42Er5eqr4bBemv2uTeuppDQEIunoXqg4sTnSE8Sz1MRzUNeanO1IHyMcxhtR7IRMC99A hn9WI+SMu/EqUW1ZoC4gED/Fu7anq9pKBFt986xMXaUmyDUiYokyVMJEZBWO89W86JFB q6iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aEvUk+4RWmRs7+anXOJcYXF+5/SqZAT4E83Z4Y0Mxhw=; b=S3YtsBk9BUSgeVEvToKpsP5aZ6MXZprPcUANSfGNCt2hzzLIASJPNU7D9w7QiFuLOe zsilVcguLQw/VvzbFUaVaBLeJpoYFc88yu/6rbRCrhqMYGH6TEw9LzUkVs2xgEEaemgX 9FoANVRjdn+0lCBU0q2eOqn5JrszuG/qbquRAURFPxKKC7uEXRXLef+llwv0dY0UWjbg MpGhi7N2bYF2RkPfAUb/6ygHC/7lZCeaPgjVdfQgFTVsjrtubeXRvImFnEcd/5LF3sUK RAnhITt+lOvLM1IwtoiktVJMJgBdUB+uDmfWhqrLZ9AsVtEr+nyZGZQtd+hBX+pq7r+7 atyA== X-Gm-Message-State: AOAM532I9AqDUILI28di3u5g+g9uh5ptbfEgGde3FnDrT0TjKFDOEgf1 iS9FrxWYB2fs3rgan06Wkaig X-Received: by 2002:a17:902:b7c5:b029:e8:fdfa:4e0 with SMTP id v5-20020a170902b7c5b02900e8fdfa04e0mr8675184plz.35.1617901514676; Thu, 08 Apr 2021 10:05:14 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:14 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 02/15] ARM: dts: qcom: sdx55: Add support for APCS block Date: Thu, 8 Apr 2021 22:34:44 +0530 Message-Id: <20210408170457.91409-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The APCS block on SDX55 acts as a mailbox controller and also provides clock output for the Cortex A7 CPU. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 41c90f598359..8112a5283ce2 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -360,6 +360,15 @@ a7pll: clock@17808000 { #clock-cells = <0>; }; + apcs: mailbox@17810000 { + compatible = "qcom,sdx55-apcs-gcc", "syscon"; + reg = <0x17810000 0x2000>; + #mbox-cells = <1>; + clocks = <&rpmhcc RPMH_CXO_CLK>, <&a7pll>, <&gcc GPLL0>; + clock-names = "ref", "pll", "aux"; + #clock-cells = <0>; + }; + watchdog@17817000 { compatible = "qcom,apss-wdt-sdx55", "qcom,kpss-wdt"; reg = <0x17817000 0x1000>; From patchwork Thu Apr 8 17:04:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417453 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp793950jai; Thu, 8 Apr 2021 10:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGhayma+AyimZ/aPP0doUWuq4pDHRpu3EqSA94ben0RtXRP4lEaQWS2Y+euuoygeu0FdT8 X-Received: by 2002:a17:902:c641:b029:e9:4226:beca with SMTP id s1-20020a170902c641b02900e94226becamr8948096pls.38.1617901522006; Thu, 08 Apr 2021 10:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901522; cv=none; d=google.com; s=arc-20160816; b=z0HK6Uzg/plo9Bk4XJY5zOYBueD9CADFzWkHQykuhVWaipFVzafIv4E292Eeh+fzx5 8RIjYqMVXvHcZLXyF6NdACRFNf5ArCXuaT00LTwx6K3lsppnB7krjkMjGg+cFSGw5Wb/ onfB4Vj8Qi/PIZ1m1/nFL+1oQhhhutOmWuhJbh/8vezW2Imprn7iHcMV7Gac5xQJwvVK Que3HLQkXkwI/0AqlQkA1n6ihZQDcpvZCpVdmCZOO8FY+2p3ui6bhtmIm/qxG1oiee7h ZRwuKrlzb0GPQEf0IIxNce1bLnJZoLdignb6+AgglvSPe8OaJI7m8d+YQRUhWLJEyVqM 7qsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ip5PiCXeJMTF74L2XmShdZvP7VmFmojAvEXdIoCfk54=; b=ENsXduIIktuzqVEvuFxm2OTCvy8D6URZRH7VOVXzjqpbR+tOT1rrOrbTNDMzV4wvf4 9LywepqR+0rp7D3KavL07CDuHNz5Cj0dr97PQrFzj2sNnaJ4fjkEAiaGQ1uAKuTVu5YB SWmZXgYPmiIu/jZeVPk1QFkypk6JCU8VkOQdWXFQAW/8G8odSDpGrvT0OR02+gcEc4s8 UHLl2zp0JAWSaWjJQSMmxLhuvfxm+Kxza9f5NYG1MyyX+SEV0Ia1Wa42S3AU0luX4qdh y6kCXB83wSesMdjA5uEOAj1ikXcG7EZY3YGkQyyGuDt5DQiZfxCJiKnnmEHR6eNW/NcI a+5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d7ilNP+I; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz6si2966482pjb.36.2021.04.08.10.05.21; Thu, 08 Apr 2021 10:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=d7ilNP+I; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232416AbhDHRFb (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232507AbhDHRF3 (ORCPT ); Thu, 8 Apr 2021 13:05:29 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74963C061763 for ; Thu, 8 Apr 2021 10:05:17 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id ep1-20020a17090ae641b029014d48811e37so1733852pjb.4 for ; Thu, 08 Apr 2021 10:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ip5PiCXeJMTF74L2XmShdZvP7VmFmojAvEXdIoCfk54=; b=d7ilNP+IchuW7BTBlUdFQzLfcwKxQNapgKuWmNBWWi+M190BDNF1B7FD9yCpsWPz15 icMifBOpt4dP4a7QmC68zbmJMz4zz8uKpFAR4CMzJL8kkh6zEYH1YRNO/JK6vdajDJrj t6o8XVxZvblSk3Rgc/l3us48ZMQxXOZgiYByvAf1Aawevlxd1P8asOXTc60o1pZVr4LN ljdEvjB+kuAFrlKXEC6/AiP8BrHYeeaJj8DOK91Id59oztmm3bONpHxMnjivPQc98Vkz L92JSSqAWuBTr9+LByVISyVQYjWdOcF7vVCazcPBpH1iuTbqXslAFTVvbyc2n9xJJ5pG 8WHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ip5PiCXeJMTF74L2XmShdZvP7VmFmojAvEXdIoCfk54=; b=M2DX9F6oKwzExA09q4AwRglCnoKseGsicptvVHjZRGXY/xKOnW6yluF89CHlrw6WgI DRQZZRuUtw9Qlapq3SOfwHf/kPauXbAuXe8QV7SpLzafBJiDWCpOIvkoaBesCEZH80t1 /i+SqWY5DqMY4wl8kzLFcW2z0GjtclDuS2qendzFObQ2xrvUGpS5Zo+qa0v7+ZFYX63c En9uqSIkLhmbPuIz6nWC/J89WBYG/HGb0QgGTsG2rUwn/DOLCloMYWippb3/SUcxrdID 1q0ePCael9ix5+5OOi5u9AREvuMSZQc+h99TCePmewZFwT2tVH+zbvAfKFWvHGiKARrb lZUA== X-Gm-Message-State: AOAM530RscAWpWwaC7hoFiljfar4R6/JUAg96c3SWYY1r8EASLDl6WDZ pgUBAgbifwvZDjytmkhRFdYA X-Received: by 2002:a17:90b:1b42:: with SMTP id nv2mr9441228pjb.190.1617901516943; Thu, 08 Apr 2021 10:05:16 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:16 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 03/15] ARM: dts: qcom: sdx55: Add CPUFreq support Date: Thu, 8 Apr 2021 22:34:45 +0530 Message-Id: <20210408170457.91409-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add CPUFreq support to SDX55 platform using the cpufreq-dt driver. There is no dedicated hardware block available on this platform to carry on the CPUFreq duties. Hence, it is accomplished using the CPU clock and regulators tied together by the operating points table. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 8112a5283ce2..20cb2c903a91 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -53,6 +53,35 @@ cpu0: cpu@0 { compatible = "arm,cortex-a7"; reg = <0x0>; enable-method = "psci"; + clocks = <&apcs>; + power-domains = <&rpmhpd SDX55_CX>; + power-domain-names = "rpmhpd"; + operating-points-v2 = <&cpu_opp_table>; + }; + }; + + cpu_opp_table: cpu-opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-345600000 { + opp-hz = /bits/ 64 <345600000>; + required-opps = <&rpmhpd_opp_low_svs>; + }; + + opp-576000000 { + opp-hz = /bits/ 64 <576000000>; + required-opps = <&rpmhpd_opp_svs>; + }; + + opp-1094400000 { + opp-hz = /bits/ 64 <1094400000>; + required-opps = <&rpmhpd_opp_nom>; + }; + + opp-1555200000 { + opp-hz = /bits/ 64 <1555200000>; + required-opps = <&rpmhpd_opp_turbo>; }; }; From patchwork Thu Apr 8 17:04:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417454 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp793964jai; Thu, 8 Apr 2021 10:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBCUMAiuxQvTBK/315aNkT1mDFoo3sSQnqj9XST0F9pWa9kp4TPCeEOuzq9qbgrQjbXxEG X-Received: by 2002:a62:6451:0:b029:23f:6ea1:293f with SMTP id y78-20020a6264510000b029023f6ea1293fmr8343218pfb.53.1617901522409; Thu, 08 Apr 2021 10:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901522; cv=none; d=google.com; s=arc-20160816; b=LMj/VDYPpF4KsH9IwFbl3on17OxNIKHQp5h9jTZAyWRLMG6Opl53rEKkZ+1eN/hAPx WnHxyGW0YD5UG757DguRDrJTAEl5/9QlIKKN17ZQL0P9LyZGJX8nBTGlV3iM6UgIkclW IcLuZg+lmT6sUA9DyyePUGriIW+c6LC+Z7dXJ17h1sQjgoJ8iX0iovDOhONP7MESL9j5 0boVMQ58RgkI7YFto/GFFtnds+IjGkuHucukipb0LjUVskvXBT6hcobustE2uugGCcoq Tng0l8L5AfioXPncMwcITwkbYAHKsqXpymsP0KyIkDhJzhs2p2Aw/Yt8ZeJURo3hKgpY HXIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ejJXVBT5cBRarr3YHdHRXIKuEjksOMgRH6cDDd4fC4A=; b=BN6ROiW0AsVEXNPCwIqyuAM4gtiFtXYD0Rd4Amk0pK0dlz9cR3BZ86VXXOuW8+orqt I6B9kFyf7g3oXsmktN0SYgBy+nTJiNum+rK3COLyez9oEKY9ljxR4EdkLg/cdQFgWuB+ bJaUpPIG26c1JxMA4oWJEIjciP2tIJGx7LLniuQiXyq0wyGow0XSew+B+QuhkAIuZcu4 eBQpPjWb/8DhonkkUr/B7juR8RdJjAJ/hTUr484Xvg/2ccTGdbo6/kMPUQjPkTW1BUHv w7i0/+WCw4gtM6JmHRI6yKLFIN89vQPhlybSvRxtFTQ8/1w/JvDg8q+IBvgTPDS68qoG Nyrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gp4g5meS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz6si2966482pjb.36.2021.04.08.10.05.22; Thu, 08 Apr 2021 10:05:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gp4g5meS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232520AbhDHRFc (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232515AbhDHRFa (ORCPT ); Thu, 8 Apr 2021 13:05:30 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AF31C061764 for ; Thu, 8 Apr 2021 10:05:19 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id k8so1848249pgf.4 for ; Thu, 08 Apr 2021 10:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ejJXVBT5cBRarr3YHdHRXIKuEjksOMgRH6cDDd4fC4A=; b=gp4g5meSQtfycjiHInhRMBUaoK64/oyZdSgaVs77co98X/4vWXY5vXdesA3No3Zosw fip2DyI/v2rxEMK0qL9bNvq7YS23of7PORV1GvHCpui3C0o0IWaHQADrCQc4ChlB0QMo 9cJnU+rm3s7wd/cby3/CJcP0xuX4huDmn1nXJB0EPU+huZIPjBBJCb7w2+Aw+iYddqR9 2SWLlI40Z6cWmlO59XS/ynItgFs9v++vEEqnyFFDi9N9WsBxAZUT4KdL4iM/7lplacZy kBXhH2EGyM8LhO1YpE7DFq+zp0gzZHxhGVXojLi02AsQ1fHC1AymMTzNiD9pzaVF92Qp 4q/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ejJXVBT5cBRarr3YHdHRXIKuEjksOMgRH6cDDd4fC4A=; b=JGsPGno2/ghRB5ptvt1UZXLe0FSMavv0q1xPls3ophhhPJuK/B18NOrQ/cj8rIE8zl EhCiLnDutJZVhkhpz3wkr8E+HyLZgkcCVXCSM78DLEFFjhUokMmQnwxoE0Ykjd6s2sSm 9GhdA2IK+Yl3ub3t184UMJwRWaxEyNTaHCpA+bRXtzHJZ2iEf+XifVAJVUDt2a0jUsqn 9HMq5iCFS72YkhWC8YohR8kg1do4Xc4xEifkmXcPCES2pJX6Lymn1a3+fAkMqBgjHCfR HHyUS12Ybq7TGcqIjlHRjdNMqhOGyB8oj+KH7LRzxN96m0njDMNxTlpnVOhpR1CVUh9B IuCg== X-Gm-Message-State: AOAM531WuXIjLS41/uzhnSNfqudQ7KMFVy591vfBxrtUor8JIDPDC08K trOQ/9yiA2Y+ZWAE6fuJjiie X-Received: by 2002:a65:6242:: with SMTP id q2mr8847360pgv.277.1617901519013; Thu, 08 Apr 2021 10:05:19 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:18 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 04/15] ARM: dts: qcom: sdx55: Add modem SMP2P node Date: Thu, 8 Apr 2021 22:34:46 +0530 Message-Id: <20210408170457.91409-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SMP2P nodes for the SDX55 platform to communicate with the modem. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 20cb2c903a91..f2805b526516 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -148,6 +148,37 @@ smem { hwlocks = <&tcsr_mutex 3>; }; + smp2p-mpss { + compatible = "qcom,smp2p"; + qcom,smem = <435>, <428>; + interrupts = ; + mboxes = <&apcs 14>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + modem_smp2p_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + modem_smp2p_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + ipa_smp2p_out: ipa-ap-to-modem { + qcom,entry-name = "ipa"; + #qcom,smem-state-cells = <1>; + }; + + ipa_smp2p_in: ipa-modem-to-ap { + qcom,entry-name = "ipa"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; From patchwork Thu Apr 8 17:04:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417455 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp793987jai; Thu, 8 Apr 2021 10:05:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUWnIhix4pf+fW1KKiiWGuOBkPslf5d049xuBmG3ehTljLpaXzqc0DVBjoVci9vL2drlnC X-Received: by 2002:a63:5214:: with SMTP id g20mr9064747pgb.158.1617901524002; Thu, 08 Apr 2021 10:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901523; cv=none; d=google.com; s=arc-20160816; b=Fco51HJKYiEpRNTWT3rsGFuQRoVwNe89pvF9ptHM7zOHz4UE/CJrnyHRf4egHAfVw1 zhtT/w1+GgUhGszu4DIBDJWtlGkUf9xswc33EHVFH76uax58eSMAtBvZpxarj8/lRTIb Sn2U+VzeOlBdI0MPoUvy/CnaBiAsyafEA66bGbDnh9M03j6rAdhhINiqpNAVF7FC17Jl 7JALsmEYoD+eeBkbHznxgYrqHy17OzQ05aZ42e9lEH7jBbbzP4w613Cs12xZ4m3DzWPt VtRQ6UmztY5IDlZt1EtzQZVmtiGrmbkh4h3/ysdi4dENotXOi6YGrcwAHlwC3qsim9LH nTig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cVewZhBEpab07BjvnZGNIe0pCoZUQtHPXZvSB4BTsrE=; b=rUQlkOiR0iNBfwWEryoMHX7WDkXNChq9+N2ZaidvX3R/G4F2Xi78bzYY/5XAVg1oUy Pi9e4hEUt4/lZ31jANY03EcQ0+iLXqnV8W4bAYE26NLFWKFJxipjx0QWDkI/G+mSjTFE fDduJgJVnNX2DdPbt4zKyiEI/oYPbZrSpufXNOByGW7bByuL+U0xX7rikihspTLlBF7u 46G23p8myv0Ux9XuNYEJH2LiG6kBNHuTGDeU1sKFZRgNiu0UJhZLuHCKXyTBl8kcHVf8 I51lECsf0X4WAHzKFALAcMP1lqU/NwGDclNgD5+pw9K1YePKkh9R5L7J61/jW0uvofLw bpkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FQ6iT7/B"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz6si2966482pjb.36.2021.04.08.10.05.23; Thu, 08 Apr 2021 10:05:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FQ6iT7/B"; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232547AbhDHRFe (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232538AbhDHRFd (ORCPT ); Thu, 8 Apr 2021 13:05:33 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F55AC061760 for ; Thu, 8 Apr 2021 10:05:21 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id ay2so1382997plb.3 for ; Thu, 08 Apr 2021 10:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cVewZhBEpab07BjvnZGNIe0pCoZUQtHPXZvSB4BTsrE=; b=FQ6iT7/BUaQdyx1lCcVKI+fBNrD0R7wrF586oSPf6Q69EQtCC09G14my/u7Ae3cJQW +QYAwY4ZGDQwHvAGXK47Pidf60sax9TWpps26Z/j9SHXjSwR+QVIIhkkyILOGdWOVpvx n56reyQ2TevS4ekSD/BIL9c+NK4hghog/+hDBkvc9wuwcum15unmAZrvmCyOCuf2uoGG 1/SzJfV+e8eSCv1B22yTBaNDsulNMrSBdXaIt8h5T9/0/qa5tmf54LAi1CV9s2CZz/GE uRZkzfdVV1NKKjYRq/VAky4t4t6GIw4CmXfsX4b8pTsfcR6fhrOm1rYxkhafsNJsmlOs ChFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cVewZhBEpab07BjvnZGNIe0pCoZUQtHPXZvSB4BTsrE=; b=FMpWde05hkVU6Hc41YsTC1QimX1HkZzOjHXXRd/SEzdMPF/TYm+cvWm7G9x+OMWfBP dMbajMYzHKWyHnIAQiUHw0JDulNhJqdO0RD0XvRjbd7vs1JAkjOx1k2RY+lD2bV0McIO 6zH7ooyuWA+KQqlj8vgCKbEbjy8r+AdxOlh9cTz5vsGRMs3mrrigl1B+EUVVSjDcbVyd 37bA67mH9GD4E31itF5U7kSXk0IECwSDigmAMiRzPLB8ceFsBKZArM17NIZZyHb4PQ6g 1bkT6Zg6de2sSxW+OGcutfVIJZnvmH8EuSb6K9WwY8KNTyVK6OfpaIB42sxz+mAcdFyE 4vcA== X-Gm-Message-State: AOAM533QMDp5zWcLDiFI9TKOB6TfVtpY4ABCjFFaP8FUbwR6hQNWa5La FZanTEtH5KMET0SQDpwazASq X-Received: by 2002:a17:902:525:b029:e8:e347:b07f with SMTP id 34-20020a1709020525b02900e8e347b07fmr8671570plf.34.1617901521172; Thu, 08 Apr 2021 10:05:21 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:20 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 05/15] ARM: dts: qcom: sdx55: Add IMEM and PIL info region Date: Thu, 8 Apr 2021 22:34:47 +0530 Message-Id: <20210408170457.91409-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add a simple-mfd representing IMEM on SDX55 and define the PIL relocation info region, so that post mortem tools will be able to locate the loaded remoteproc. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index f2805b526516..4ca871735025 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -379,6 +379,21 @@ tlmm: pinctrl@f100000 { #interrupt-cells = <2>; }; + imem@1468f000 { + compatible = "simple-mfd"; + reg = <0x1468f000 0x1000>; + + #address-cells = <1>; + #size-cells = <1>; + + ranges = <0x0 0x1468f000 0x1000>; + + pil-reloc@94c { + compatible = "qcom,pil-reloc-info"; + reg = <0x94c 0x200>; + }; + }; + apps_smmu: iommu@15000000 { compatible = "qcom,sdx55-smmu-500", "arm,mmu-500"; reg = <0x15000000 0x20000>; From patchwork Thu Apr 8 17:04:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417456 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794107jai; Thu, 8 Apr 2021 10:05:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8SvDztSNe2jFLm9jzJVvfnX6NsF6P49dYYUSbnIUPY0kM9zC9Y/3UKFyz+uQ8iLzAgqMh X-Received: by 2002:aa7:9619:0:b029:1fa:ed79:b724 with SMTP id q25-20020aa796190000b02901faed79b724mr8377998pfg.38.1617901529900; Thu, 08 Apr 2021 10:05:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901529; cv=none; d=google.com; s=arc-20160816; b=PrmV9XX76oTp/Qo0qocCQCod7ZZz0J0kBWayssMZyVIu75AIbaPjxp3KavNQEn0w7U vNEasr/3xpq/NzQglhQRQ2P9qLT2IERRyZKswkmxIpJfJcRhHYkc6oeHFLjSn2fvuSrA 0g09m34jtMfL71oPxRrmtAAcBJcLm67AJ/71dZsf35NLYdyw90xvjQ0rjX3Pda92sQ7T aegAjhL15zQi9Tge0MnYCAUCCPOcTL+WqDp+8POZE90bxQrHVS8bv9othwzfZPizvQ47 G7dPxY+1MCngQZrY+9uZbDxEPk10+ozT4z6sZ/mFeK24ZPoSO473sEPpzdGckBjXMYSQ lGbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KN4LU6k0DDNtB1tTf++h2CYThhSstL5XVO+zCntug+s=; b=ZUx0GJAyIaKhHriQJ1b2wgYDdh8ECt8MzX8lXnDfy45whmeW1F2MuUQ8zKtMksxQsX ecQWTERwJquhGKVgRDG1tRq9Esbtnn4hQw0GonEv2zGJgz0SLz4VMb7D6L0ZeWA0UA5Q KEPBk9LDhyKYSCO4RwIk5BfEHz5Y+L8uphT+xBBweIgLOKC6XpdHgLNwwddT5hi95V0F WqUU15oRG0SPmJ/Q0OS8Lns8XrIqwTzsnQOSLBezGOU1K9eqAFy6Mv+RQwhbfpOtEuRx rEzCCOGm7GdP9oE6o7roU9BhtnXtcN42UUD/TD86M8zjWbswVg1M8rDAHCjEtcroMBtG T1QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s8bMWKPR; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz6si2966482pjb.36.2021.04.08.10.05.29; Thu, 08 Apr 2021 10:05:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s8bMWKPR; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232580AbhDHRFj (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbhDHRFg (ORCPT ); Thu, 8 Apr 2021 13:05:36 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B590FC061765 for ; Thu, 8 Apr 2021 10:05:24 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id d5-20020a17090a2a45b029014d934553c4so2585444pjg.1 for ; Thu, 08 Apr 2021 10:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KN4LU6k0DDNtB1tTf++h2CYThhSstL5XVO+zCntug+s=; b=s8bMWKPRweagGjIdIt4CPbxE7dEHVwxb2IkFrTXDK1uw/gKkyB3t2grQ8rpauRBNVY rQ7Y3FFr7HZ52e/lVDfzfMzP5zBmu+BVsG/+D1MpwfthofMYo88twkfK7J3xxs4UcZ3B 4Vj6H7ujzrN/J6qRPdyuG0SbBxnO+GJMyRB8KuWPp9I5mShfI7AxVRRpdot1KOVC8O91 KSHw7Wo+tZbmoR63/kvYba13T2XyHyritv48oKa3S0sr6zFUyOnpPGxEfyBIsOi9HRsu frEzU9GYTjmz1pjf1NX2zxWGxTFTOewj052IcE9TUhxXfPWUHa1/uFYbndbR1XAWILVa MLqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KN4LU6k0DDNtB1tTf++h2CYThhSstL5XVO+zCntug+s=; b=fAVVBNGciAY30Jd9vz2uVpxMSIczstnv3jR3VhQDQ0DQ8UtjPaLVSM9wPdkNfPiq/6 m95kavvjdH1+SoBRvKiSvPVRXLZFjGGX9+Gm3pUDijtYyU2jEEp+esyhVtHe4ry0qys7 TvseKkB50V0B3LS2PoznSJEHye7ff3D8RbG8wDAsWcfNh0vrPAVvNre1+PhplYQ4eS2G vvGVnAcBW2Mn73nPMd/12hRZLajKkcQjG9fCfsuwcdyBrURiQyqn4Ltlaq388RxTdPon wDDoD/QlQDc6lbyaAU0dQQGI7dsP+CL3Vkt9JIs9dMsRC2LVlqVo7FwB7okV/Cfl8tpc 7/zg== X-Gm-Message-State: AOAM531IYL5yrO7XkfYdOSBn48TuMIIqmZy7MpSiBtD8uV/YqJThNmqH PmTVJKDACio1aKl0+XoKe2B7 X-Received: by 2002:a17:902:9a98:b029:e6:faf5:8196 with SMTP id w24-20020a1709029a98b02900e6faf58196mr8612088plp.23.1617901524203; Thu, 08 Apr 2021 10:05:24 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:23 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 06/15] dt-bindings: firmware: scm: Add compatible for SDX55 Date: Thu, 8 Apr 2021 22:34:48 +0530 Message-Id: <20210408170457.91409-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree compatible for SCM present in SDX55 platform. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt index a884955f861e..10281ae6e1b6 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt @@ -21,6 +21,7 @@ Required properties: * "qcom,scm-msm8998" * "qcom,scm-sc7180" * "qcom,scm-sdm845" + * "qcom,scm-sdx55" * "qcom,scm-sm8150" * "qcom,scm-sm8250" * "qcom,scm-sm8350" From patchwork Thu Apr 8 17:04:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417457 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794230jai; Thu, 8 Apr 2021 10:05:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk4RGsgCvlG1gALjq0fSKSi2/3E/e9yi59umPvVdlNm2FJAp2CYZrmwr2g5CVRz7mmch5O X-Received: by 2002:a17:902:348:b029:e8:dea9:f026 with SMTP id 66-20020a1709020348b02900e8dea9f026mr8726655pld.19.1617901537249; Thu, 08 Apr 2021 10:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901537; cv=none; d=google.com; s=arc-20160816; b=Dnp7cvch+0chwj/Wcj7qu14eFObVON836YaXVeI2bM9WvyAFpOR8pEc6VKT+swLizJ lsC4rxPj/Zxh/lZIAXmrQ3EZJI6ZctyaRoFllDHbblmoqbyBKU9bM1t9Ua5526IxncKX W3GpSmF65eu/mLyStBMRympjd12ZY/SLHoUtAIqi804zd3jHcXhpaV9HAZFu5NPXYtCl O2+nnXEyFmGiTzKhqLvE9+OLZwQwybTHDe3xePZcC/1EIP2cfXFkcQfuB6HTfVtD9RyO ktOA3v9W3wZ7pr2Bd1taiAz9MW6XXyp7wDwhSlq+p5MEmKZfwtFDjJzU6e+9J9Blphtz DVCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=twy+/YT43L8O7f37bIAuxQ9pdmnuUZbowFVhGwUSlwA=; b=xL56bEzjU39F/+Zbjulh3GPxycfew18QPNMR52apcNbLxjaulaQP8C4gW99Jsu9OhQ FEMc2HxOjlzpNOGgmjx5hpPHrssqgdL72g1vMJoXbAuFV1aaWMFSIcYPjqQ4+DzYf0tA 7/DOHBHiyIkqNDmHdFK+8UtwilsOh2DRhOVsfYxbK2VrqRXeBEEdGjqv92Moj3a0ugOD keaba0AJtz+Sf7w81sK0GCgSHLjK9m3f1UmrgaGaZ+NWojVEKGlIV7QIBZRk+oy84jah qFBjrGLA94x0YrZBBkFDnnlMuS7Sw5tsgwJMB7bW+zDiCVMQ6R6KuQerb0BUEYZPmF3h bVNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ppa1ZY9g; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si28629349pgb.342.2021.04.08.10.05.37; Thu, 08 Apr 2021 10:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ppa1ZY9g; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232615AbhDHRFo (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbhDHRFk (ORCPT ); Thu, 8 Apr 2021 13:05:40 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19C8BC061761 for ; Thu, 8 Apr 2021 10:05:27 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id ay2so1383142plb.3 for ; Thu, 08 Apr 2021 10:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=twy+/YT43L8O7f37bIAuxQ9pdmnuUZbowFVhGwUSlwA=; b=ppa1ZY9gYLjg6mh/M7wcGyDQ/a6C9JbryK1DtakJIxIJugQQlRYRWG/dL1Y777j4v0 8VnGFaPfYNwAbwPIExyjhMvLkrI4jvLDKmwaPxKJ0+OALxDoaV6q3S11yMWfkLaHMSvq igndrGo8AzZZoIYtUtnKjBGCzL0NYTECbrFNSDP7KZwI/YTCoaTACUrr2fO3GHCDFY9C Hz+JbqjZGbhvTuOqhiPRCpvKJ4auwC4CA4lpkNnKn3fL44oVVacYAi2U6ddEL+xvbfEJ dxq041qdUcCLcv4B+3VvOV1S61+v5SYVZ5S4JPwC/N+59sO+T0x2cNcL4ldO3tAPH9AY JNkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=twy+/YT43L8O7f37bIAuxQ9pdmnuUZbowFVhGwUSlwA=; b=TQrlb05quy+hmLf7OWMqFV0UPyM6DytWwg8+8IBtI3tH7oLQvcgg51wEJvxnwwI350 rcSvCdrAV4qFiXgHPT0A4TbFeAdcIKeyQVMY9TNP9h6xpVPV7/Fek64wMGAWVGBnZxaK FAx8VmqDtCml//CqXQqlkt8+m8hdbJyaMzNFSFKLjy19JIN+UTrwxsEDdlcAqYe5zhrr qz49FjZes8y3wQ5PXrRZTy1R/J91BLhZaqUNbCjK05vbNHsrVbhQbyFvWJeBAHBzMsvC +dCJsl4rXrUjNn66Ypi88ayHRJGk06sRAYPI/BhMoknNxCs1rlrTLmFF3zlWS4OIFtRD 6XJA== X-Gm-Message-State: AOAM531jAzfQ7PNSg1UTiYgF38TRqyGhBBnCtzG/T6Qk57bJtRsmfPAM dlkMHg+Cg/KdNA7JxMrzVpsH X-Received: by 2002:a17:90a:4290:: with SMTP id p16mr9458366pjg.120.1617901526658; Thu, 08 Apr 2021 10:05:26 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:26 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 07/15] ARM: dts: qcom: sdx55: Add SCM node Date: Thu, 8 Apr 2021 22:34:49 +0530 Message-Id: <20210408170457.91409-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add SCM node to enable SCM functionality on SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 4ca871735025..daf34f24a5d3 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -85,6 +85,12 @@ opp-1555200000 { }; }; + firmware { + scm { + compatible = "qcom,scm-sdx55", "qcom,scm"; + }; + }; + psci { compatible = "arm,psci-1.0"; method = "smc"; From patchwork Thu Apr 8 17:04:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417458 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794272jai; Thu, 8 Apr 2021 10:05:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5fx2hzDDvHvYN5f7osnX+9oC2dVtTBBaaPgPfKV8/JbnzvAmEqBYaE2LsOx/HjiQTlN3J X-Received: by 2002:a17:90a:9309:: with SMTP id p9mr9272015pjo.37.1617901539075; Thu, 08 Apr 2021 10:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901539; cv=none; d=google.com; s=arc-20160816; b=QmCynggJTX9AklflqzXbzDetqqQ4LMWHQ0ulkQzjk35LZHnqd/GrtCvbifdfoEQjgw wkc906V+ya/IXPMPx+ZY2Tf/FjetN4chYcmMhdjOFV3s7YwDdltu+IysKPMEMsHZNBlI shZPP3dG23kZzr7IhdyDMd/+0qoPzMZG7h3dKFl/jCOOtEi/uRPIVzbepKXbwf0PPcen ZyY/hjWnTDAh5zPKvOvEhwCPQIGYiWpgPQTkuF1Vg9ezsUZSdYTGdu+1mQqF+GKifR0H g0SLW2hwsKFNZNf3+zrmJTWqXyoggqYIGAXmA9FStU65fdfu6f+lmcRe+wydKLtngX7r AAiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WkGTLvSx/Floa4sNfaIw69QwwL07yolmpgJlxSppzaY=; b=0Dmi2DgFcSXa5UN8JyomuNZrTWQ9Zx0sZIqxqxTa8BM6AMx6Vbyh4xsAw0lRnEqCmo axZKt6UwcLMFFpRyzK8QXvLhSABcS9mFYb/fJAHq2QmNY6vFnACyWLB+AnI1tHadc9Fe n84+uzvUnyycbmV+9cF9V3o1/2iEHb+sxQzkthF95PcflV2C/WRAw4+2PAVDzdnK09bb m82T2VBbZU87Dygzp8VQt7jjLj6HT5/Xqn8yJaunhfK7qb7eMGr2glLGOAic/ComEd7Y gp7kPXpGSGwl4GeOMOT2sA0LeU+LVcc8bhZ+SNdVjXs0H9O3B0U6mhOGPDlnLnHlUXGA nSUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YeADWS34; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j17si28629349pgb.342.2021.04.08.10.05.38; Thu, 08 Apr 2021 10:05:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YeADWS34; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbhDHRFt (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232574AbhDHRFl (ORCPT ); Thu, 8 Apr 2021 13:05:41 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9964DC061764 for ; Thu, 8 Apr 2021 10:05:29 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id t7so1371702plg.9 for ; Thu, 08 Apr 2021 10:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WkGTLvSx/Floa4sNfaIw69QwwL07yolmpgJlxSppzaY=; b=YeADWS34uHnGr6tx+/VVfp3uAbOHbTGwk7CIJkvNyxEfJu1W8xg9tj7GyJFBN1ClFl zTv3mv6rjwvwNJjb5O1hWVguPBfHyXGEayNrHqD867wA4w9G7SOKCWcgElUDeQkvHRsn hZ5zbTcR8WPabx0SjOkNpja27nvNleqeyxbLifN/Q9ytRaPfdqC3Re7BaGbOnfqDt7sv qExPMjxSCDOskZofPgrHvs/1TC79gmonQJTHxjQlgX0IGxL5xDZiDtd/te5o6PluRvWm Mi/17iAA4qw+LXpmCQr6NOFYdhmnqJqmvwfF2ui5Q0OyBHwDwLKGNgyn2kjK7SLAVXun j4yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WkGTLvSx/Floa4sNfaIw69QwwL07yolmpgJlxSppzaY=; b=E4e5WQGKNEswxpKIAyuWaaNxesqMlgPRqbiCBpX9BYAOOokK6uTiWnfkbnSG+8g7vz G/bwT7EIY+OhQYjConth6GI+Cfp1zhUbnQ6JkFlKD5UZjL5gdQupMB9ZOBBBldq92OjJ 9Zgm67QFSPFfOakfv/0UyBcjzai4NpxAiYhtaBC1FpRDC+OAVJPJmtnOXmXtIR3bn+WS Oor1AkzSKe1yuJjqlYDfQj3BYLqAk2WaeRANACPJ3BdJFF/HNoGRI0PvmRqYoT3OAmGr hg9PVLJ47mTp8k4cNIHPjTKX8C785AWuqaIFJUAJQKfz3y6t4O603uE6yVNT5RUnDA3r dRGA== X-Gm-Message-State: AOAM530ig4fj576csTkXLd07vhXFM4BY1bWfvuZ9lqdc3hTusvhsrELn mu7+sMeqpAYjE7ZaXTkf2EfF X-Received: by 2002:a17:902:8b83:b029:e8:bfa4:12d5 with SMTP id ay3-20020a1709028b83b02900e8bfa412d5mr8634243plb.21.1617901529108; Thu, 08 Apr 2021 10:05:29 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:28 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 08/15] ARM: dts: qcom: sdx55: Add interconnect nodes Date: Thu, 8 Apr 2021 22:34:50 +0530 Message-Id: <20210408170457.91409-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add interconnect nodes for the providers in SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index daf34f24a5d3..3372e076f9bd 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -253,6 +254,34 @@ usb_ssphy: phy@ff6200 { }; }; + mc_virt: interconnect@1100000 { + compatible = "qcom,sdx55-mc-virt"; + reg = <0x01100000 0x400000>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + mem_noc: interconnect@9680000 { + compatible = "qcom,sdx55-mem-noc"; + reg = <0x09680000 0x40000>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + system_noc: interconnect@162c000 { + compatible = "qcom,sdx55-system-noc"; + reg = <0x0162c000 0x31200>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + ipa_virt: interconnect@1e00000 { + compatible = "qcom,sdx55-ipa-virt"; + reg = <0x01e00000 0x100000>; + #interconnect-cells = <1>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + qpic_bam: dma-controller@1b04000 { compatible = "qcom,bam-v1.7.0"; reg = <0x01b04000 0x1c000>; @@ -589,6 +618,10 @@ rpmhpd_opp_turbo_l1: opp10 { }; }; }; + + apps_bcm_voter: bcm_voter { + compatible = "qcom,bcm-voter"; + }; }; }; From patchwork Thu Apr 8 17:04:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417459 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794388jai; Thu, 8 Apr 2021 10:05:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxrhEtOhDZKjb7ctbs/L/8JabhqOYTNbdHdvhAmcEeE5NyIzAfnu+8U4UkPm8DZN/pbWoB X-Received: by 2002:a17:90b:3846:: with SMTP id nl6mr9408970pjb.48.1617901545278; Thu, 08 Apr 2021 10:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901545; cv=none; d=google.com; s=arc-20160816; b=l2k58ybO/nSGD1pL9jQ7XtqTNtTeYlbgw+r3UcaQ0vY+4z/yqpcfnp53n/zAePmzLJ b3QdiexACQkC5oYRyNrwctU3w/RJxDIbgWIrKRoerJTfj02CC9BihNjESWnRtBnYPXOM wOsTphNvr2UbMnx054C8Sj16+AJik7KeUV2XeKfaHui7iF9/b14Ek8mHEePQ+sqdhBOV noSDz06Wxp3QFeNCeSrGByPy9oRz6omi/2mHUO1HhG1yR7rpnJuuN77f/NZA/XkGrkjO CylPNkV4GelOyOUcN5ZYgN+0rOkS0Fp7D7ZNItlWnc0mVcZuk6TR8SA/LPVPUdU+OgiA mTTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FIgU/OjhUT9TbTsGyinKnrhgMtWW6SgsB8GT9Tt1KRM=; b=C0Q23TaXlXpBIpKA0+W6SDEaGF44oW3qT3+BMSVDnlqvqFXZ9URWworH0BcqwB6JzW 5UUm3yXoUrUBvqjQ/sdfYlFyOj3HG3n7I2KTIqYYPJgouGOPcGcH4knUv9eJPwr60KYF ggYOy4qI7REvdsuyRkAWiXgOKA0OVcy6FOTAFEHDuqFZxMEvXzG7oE9ddOcu0hTYBsxO x+sndgnRrYETvQ5Ov2IQm7tEo2sAJDDlghITFfGpoNyEAHYlqYKEgFTA9HpdEk1bDu81 2NV9K/ZQh5OXusdRxkvX46t1LjRyjS9VIn2LsN2xwwQ4tYL7n4A+6xJGiiyc5vRhrVvF 1eLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PbyAMzlC; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si10742925pju.54.2021.04.08.10.05.45; Thu, 08 Apr 2021 10:05:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PbyAMzlC; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbhDHRFy (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232614AbhDHRFo (ORCPT ); Thu, 8 Apr 2021 13:05:44 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 070E6C0613D7 for ; Thu, 8 Apr 2021 10:05:32 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id y16so2293876pfc.5 for ; Thu, 08 Apr 2021 10:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FIgU/OjhUT9TbTsGyinKnrhgMtWW6SgsB8GT9Tt1KRM=; b=PbyAMzlCjYcY7U5BOOwD95ruqMi6k3Segi7l9PgfvcDDZMx4/Gaa0VRjHFjs+fbhIW oDlEVTJf89TEzkyBgTh5MYlNuRYcK33Cv4Jt63J1G0qD3OlJ6eI60taGGgLiclbT1MuH 2edwo1yD4fdarxF4U+V3CjE7XIIHN28Roo13/Hn3Drc9ovvPuOHOrdjPRTYBHdRtDkDP gJPwN18b6tBufToqLokPKf5lxJaJVYZ0iRaf6W/wfn3A4GjE4woSr10TNkOwmjvnDdDM hdMItYPqWYCQDmlpYsf64e4aabS2b8/ZRvS7XWEQRgFshI4vnJ0EC9VANnVUrO2ddOsZ I+Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FIgU/OjhUT9TbTsGyinKnrhgMtWW6SgsB8GT9Tt1KRM=; b=KFQ6rNQxPGLcuKNf3mkOiQI/P/BQ8Illyq7f/GUomkgfujuJU5Lyg4aJshigxeYNnr 9a7KTDAdd8DLjTWnchfdAgtwjeHbPf0N8DZwQAhwGAQ/3aeHk7zjzJfNx7L4UjNtTwNP gKwVdq5AEoXD1uFBvau0ul8m3hH6cHXejZWkqToYh7n8hpAxfNqr1mOy9OsQX97as2RL 9yYhSFMPTaBqXkQdQj5Md5+362HVUfh81APD6wKjje4X5h4bDfKE7irJr2T21OQr/Q7i hf6yMPkQ+tfGNW3MqVr4t9Bu9OEz77fqts9BH6xIYs0a1bgLWIBZpwD1JeZIYSvitxqG JpyQ== X-Gm-Message-State: AOAM531MpYhuZPNSnl9scaaQile5H8PZnGeDeyZ3EseEV/lWEeIigf9U FRzLY9tPg49QlQ7EV0OxizemBC6yIfjx X-Received: by 2002:aa7:962f:0:b029:244:8f8f:4734 with SMTP id r15-20020aa7962f0000b02902448f8f4734mr3544723pfg.49.1617901531470; Thu, 08 Apr 2021 10:05:31 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:31 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 09/15] ARM: dts: qcom: Fix node name for NAND controller node Date: Thu, 8 Apr 2021 22:34:51 +0530 Message-Id: <20210408170457.91409-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Use the common "nand-controller" node name for NAND controller node to fix the `make dtbs_check` validation for Qcom platforms. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- arch/arm/boot/dts/qcom-sdx55.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 7bf1da916f25..ff1bdb10ad19 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -480,7 +480,7 @@ qpic_bam: dma@7984000 { status = "disabled"; }; - nand: qpic-nand@79b0000 { + nand: nand-controller@79b0000 { compatible = "qcom,ipq4019-nand"; reg = <0x79b0000 0x1000>; #address-cells = <1>; diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 3372e076f9bd..aa3edecf5810 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -294,7 +294,7 @@ qpic_bam: dma-controller@1b04000 { status = "disabled"; }; - qpic_nand: nand@1b30000 { + qpic_nand: nand-controller@1b30000 { compatible = "qcom,sdx55-nand"; reg = <0x01b30000 0x10000>; #address-cells = <1>; From patchwork Thu Apr 8 17:04:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417460 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794634jai; Thu, 8 Apr 2021 10:05:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwD/yDjbfPeoq/QNMDYdZ+PNFQSs5uDhsdZZ6ndGoakvYAsz6RzESaNtMokooKimspIIrTP X-Received: by 2002:aa7:8493:0:b029:1ee:75b2:2865 with SMTP id u19-20020aa784930000b02901ee75b22865mr8178766pfn.61.1617901556702; Thu, 08 Apr 2021 10:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901556; cv=none; d=google.com; s=arc-20160816; b=SqM43fJK5ZoY/R782g+Mw+KKVONIElvYW7gTW6crFBnXZDgqAkGRUtNX6RvSQpxrJy eQlt/qNiorrHGQNmNX4g82T6P4+CIV2o8brc8ZmYcaa0SLwmMhVteLSEzjnmcVbTSHtf h4Ckc6m9csmStayXeGjX4Uu8Gd+H4S0QaCTRV0NgUskT4Z4cKAp3Co6jPh/2N9/hsgly Ygsu7YyZDObwol9t+YZGJwzWkezOX25ZR1Yybgs/WGXYXcUuRhnq1FoK5h/WOWbU1y3V Sups2y2aN1QmYC3M3ZkDgzMRyFBzUz2JOkPzpgI+x5Uz6vBCduba1Ll14cEb1wYwerXq Juhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eJ9Bq7I+RO+flvh+OXa43h5cJJd1W9cz3i6BtHkT8v8=; b=XHryzGfG+AKeauo51oh0pkLoZ/AC2HBHJPh0kCgNzXMD8ADBi6xDQ+WKzlmppLQCMS Bf0OfGF9dNaAUk8kEUU72oMJl9gqGulN/baJCWgLy4nGunSeEATLD2lAJ72MqFmoRYkk 3Kmnt27NFPOMEE2TbPXGu12sOkThoCUx2Q1GqFjbyYLoHz0bBnm1txDrE5+xPOQ8oWzp 2+WLtHSXQI+0Z9b5wcm43AhyyPlxYFei+qrKnX9X6utHdk0/NjZk3N/pG9I/nu80LS+n AxaxfXBZxXZMAQSkvO/KbgdC1QnuTnavPO+jYF8gkcfsgF/Pe6ZPTqWY0hGoF2thYtIy wuNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qaRYFdcK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si4813760plr.415.2021.04.08.10.05.56; Thu, 08 Apr 2021 10:05:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qaRYFdcK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232657AbhDHRF6 (ORCPT + 16 others); Thu, 8 Apr 2021 13:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232590AbhDHRFq (ORCPT ); Thu, 8 Apr 2021 13:05:46 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C559C0613D8 for ; Thu, 8 Apr 2021 10:05:35 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id l123so2284227pfl.8 for ; Thu, 08 Apr 2021 10:05:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eJ9Bq7I+RO+flvh+OXa43h5cJJd1W9cz3i6BtHkT8v8=; b=qaRYFdcKrWAzX3q4lvtZVJ+IgRd+uBPwpKSMBNKzf18zO0jBRjYCldiBDO/WVhTCHJ v7P6TIEKYaM29lWx3EAOj6r/Z7cAwrFRAWLMEKvQf7LGCKCesA2vFlV5kzktLAzh3xjL EoMJvQOrrxhkQi3egGVLZAXywmNqyAIVUyEMgyfW9mUl8QLn6cxbpZb3rVVGk0Ch1d4i COV7s+oddjArIud5XENOXPj9CRDfoWAb0AvGNkWAtDwUsh5UlDhHhwhUyhgNDRUPyRw4 AXNlX2RuDer+ezvh4zdjmgiagnniMVHyB9JaS5gb1nY9+5LXwuDzHJV2EEVawg4zd7Ik KpQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eJ9Bq7I+RO+flvh+OXa43h5cJJd1W9cz3i6BtHkT8v8=; b=C8Oow0JQgAeQCCI4kXdoTwgNImQQgLl3P1qAqeqtCmtBy25FcpWie30XBJNvnUY08n r6RhoUoAAdNEpYh9O4EEGRxZDPQN89hmq6/NhVEAuIGHwdF1qXi8icBCSnLD3+vFyzyM LjCpb9TM+WIOvgGL7v4dyBKvez2fyPfsMkCg+SZgJ4J0zOOnwWCVeZWjlziSGupp8avL lr34VAEki4YUpMuq8LB9DqckmVKMbq3w5VZzSlbsjnnt06mKX1O/885+yt0+pqB7aNuF 6Ap9QHpsercujnYbUmY6xwoZ+mauiZxzUbiEciVp2N45kD67gG/gMZ4pU4QdOEdny/9c GbBg== X-Gm-Message-State: AOAM531Uq4G27jVvqRwj/YoOo2qQCj7wV5yVMYb6SjIA9sPbwv9SZ+5f o/CSJl2LJrYA9TDzAhbC4t/U X-Received: by 2002:a05:6a00:1ad4:b029:216:aa9d:dcea with SMTP id f20-20020a056a001ad4b0290216aa9ddceamr8172874pfv.47.1617901534581; Thu, 08 Apr 2021 10:05:34 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:34 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 10/15] dt-bindings: arm: qcom: Add binding for Telit FN980 TLB board Date: Thu, 8 Apr 2021 22:34:52 +0530 Message-Id: <20210408170457.91409-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for Telit FN980 TLB board based on SDX55. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 174134f920e1..d5d561d9e8aa 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -172,6 +172,7 @@ properties: - items: - enum: - qcom,sdx55-mtp + - qcom,sdx55-telit-fn980-tlb - const: qcom,sdx55 - items: From patchwork Thu Apr 8 17:04:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417461 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794665jai; Thu, 8 Apr 2021 10:05:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwrQNlurzmZTczdaPnAv7aez2YsUoO7rOGTnGf+bZTBpp1WoxdkpCmeCyHspstrHZxEVeFk X-Received: by 2002:a17:902:e74f:b029:e5:fedb:92b9 with SMTP id p15-20020a170902e74fb02900e5fedb92b9mr8701177plf.67.1617901558616; Thu, 08 Apr 2021 10:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901558; cv=none; d=google.com; s=arc-20160816; b=M1pdYpvbaQhIO4gCxdEJEDfmLoRhKoeuUswpEr6L5/f7ZeQsElEVj9WiGEwmVNSL6P us9MehtEWEXhQTOyNcMX3nkaOM8Vf5Xy7qZHBoByKqCFF36iF3yAubZiDC8Nwv94kznC GqsBwYH4vJgis8klx7rH9Kugn+Et9Px+4fsAZCd5GIzLeuw3jqbQqdl0WmUPHXIqeibZ r2m8UFY79lK9Jq1AD7J95wTSLoUOG/7+fLhVkP+l2prAMcxkViNdHDOqqPQjE4s+/b2x dfshgVB6pkezBYV11YBc43GgRSyfQO29u5bpKyg2nsoKzmT3ONA9rAUpkeyzgsUTUprK r7Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2XhRFq4ijoeMflg5ViAudubbSwhjSGuAdnlOkNqShng=; b=GtpLcW0idB7sAo1/1wrd6r4mFfD89p45KM67aa6NltmqAwgTWhePhyp30c1L31uMTf idn+7SbYhH8KkDkn7dDw6oIKTpB5gBcmkdaC3qsPTOGZ1Rqc2tuoKqWYa866MtIsevsh d2jOb6/DNA+4vYBoIsYtSLcpwQ90aJY7HQFzRMMRaKWks+NfKm+LVq1uHVyuWjz5oxO2 iAu35bOGl2Ee6t+Weh7FmtUAV+2ZcueMLo8Xbt75e7gSUtvgfn3EpQKADAbXYH188Ske BOVuNKcxWlpuDKy95Z6LdvNv7cNx1YHY6qxhKfArOb6E8RB9vFOzJS3yTPljVA8XveKy //ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c0iRK44g; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si4813760plr.415.2021.04.08.10.05.58; Thu, 08 Apr 2021 10:05:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c0iRK44g; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232643AbhDHRGE (ORCPT + 16 others); Thu, 8 Apr 2021 13:06:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232633AbhDHRFs (ORCPT ); Thu, 8 Apr 2021 13:05:48 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2541C0613DB for ; Thu, 8 Apr 2021 10:05:37 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id mj7-20020a17090b3687b029014d162a65b6so3553088pjb.2 for ; Thu, 08 Apr 2021 10:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2XhRFq4ijoeMflg5ViAudubbSwhjSGuAdnlOkNqShng=; b=c0iRK44gkwkym6udNDfnby/y2axgeY0i/aJJ8Foec4PWOEwdcU2GWdlv85tyMYAK4d meT8NM+w3beXE6tUkEQdOQWLXyMyQzPPv4WsK7mGkAWJ7KMNlAYbh8gC5Rg5TfSnxLiF /2qcaV9A0lZRYC53tyY6b3qlD9pS4DhpW2VJAOXGu2ciG/7Q7p98n0GNdATh7J25fiNq I6hg8qM55RQ+InPH6aL5zgWPjo/etb1azeQ0G0gCbu/cs1lSOTdoWIw7MHNUsCEMhi5x 88Rrzn58GpLD1By/PSuomr+eB5YF6ARwlYNWE33RNCh2fiaht+5EU5GNGnitfx2qDEJu Qd8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2XhRFq4ijoeMflg5ViAudubbSwhjSGuAdnlOkNqShng=; b=ETnuIJwKcK+xmxlCtFW+jpJA6vhTJG8wQz+y4bdVCjYebdsgyUzD1o5PegX402544V MMQCGo6FdZQuosoiMc63Dla6/y0SlxmBibNmIptsqrwEL19QnHpZAClFyIP5oFJ/YwFp 7DtuWGOQIR+Tl2hnpaS22KqJpbK4udRcsbFP9PLpH8VCfv4s0Sg1ODOAMn6bc5THWq6p jCfvIPbEr8Ym14Ovo825YHV5I2NCs+OlbmwVfpJ8q6aFQdBXudosEQ8x9BTVVSCMJA7l e3EdCabSF4LrY596KaaD9BjcEq86dNFDGzKcQimHC4SsnfUEyFimB/jwe3sUlei6P4Yg qkcw== X-Gm-Message-State: AOAM5337L6UWZy8O6JTY7y50DvQDzpnsuDiK3diH27bCdqi4r2sDf/jt NjY0r2csMKS0a+rSNk7t6HP+ X-Received: by 2002:a17:902:24:b029:e9:3f8f:9af9 with SMTP id 33-20020a1709020024b02900e93f8f9af9mr8909279pla.34.1617901537128; Thu, 08 Apr 2021 10:05:37 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:36 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 11/15] ARM: dts: qcom: sdx55: Add basic devicetree support for Telit FN980 TLB Date: Thu, 8 Apr 2021 22:34:53 +0530 Message-Id: <20210408170457.91409-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Telit FN980 TLB is the development platform based on the Qualcomm SDX55 chipset. This basic support includes support for debug serial, NAND flash, BAM DMA, USB and regulators support. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/Makefile | 3 +- .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 277 ++++++++++++++++++ 2 files changed, 279 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts -- 2.25.1 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 8e5d4ab4e75e..874ab2b66187 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -929,7 +929,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974-sony-xperia-castor.dtb \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \ - qcom-sdx55-mtp.dtb + qcom-sdx55-mtp.dtb \ + qcom-sdx55-telit-fn980-tlb.dtb dtb-$(CONFIG_ARCH_RDA) += \ rda8810pl-orangepi-2g-iot.dtb \ rda8810pl-orangepi-i96.dtb diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts new file mode 100644 index 000000000000..6da366ec15b3 --- /dev/null +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -0,0 +1,277 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Ltd. + */ + +/dts-v1/; + +#include +#include +#include "qcom-sdx55.dtsi" +#include "qcom-pmx55.dtsi" + +/ { + model = "Telit FN980 TLB"; + compatible = "qcom,sdx55-telit-fn980-tlb", "qcom,sdx55"; + qcom,board-id = <0xb010008 0x0>; + + aliases { + serial0 = &blsp1_uart3; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mpss_debug_mem: memory@8ef00000 { + no-map; + reg = <0x8ef00000 0x800000>; + }; + + ipa_fw_mem: memory@8fced000 { + no-map; + reg = <0x8fced000 0x10000>; + }; + + mpss_adsp_mem: memory@90800000 { + no-map; + reg = <0x90800000 0xf800000>; + }; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + vreg_bob_3p3: pmx55-bob { + compatible = "regulator-fixed"; + regulator-name = "vreg_bob_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-always-on; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; + + vreg_s7e_mx_0p752: pmx55-s7e { + compatible = "regulator-fixed"; + regulator-name = "vreg_s7e_mx_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <752000>; + + vin-supply = <&vph_pwr>; + }; + + vreg_sd_vdd: sd-vdd { + compatible = "regulator-fixed"; + regulator-name = "vreg_sd_vdd"; + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + + vin-supply = <&vreg_vddpx_2>; + }; + + vreg_vddpx_2: vddpx-2 { + compatible = "regulator-gpio"; + regulator-name = "vreg_vddpx_2"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2850000>; + enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; + gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; + states = <1800000 0>, <2850000 1>; + startup-delay-us = <200000>; + enable-active-high; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; +}; + +&apps_rsc { + pmx55-rpmh-regulators { + compatible = "qcom,pmx55-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-l1-l2-supply = <&vreg_s2e_1p224>; + vdd-l3-l9-supply = <&vreg_s3e_0p824>; + vdd-l4-l12-supply = <&vreg_s4e_1p904>; + vdd-l5-l6-supply = <&vreg_s4e_1p904>; + vdd-l7-l8-supply = <&vreg_s3e_0p824>; + vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; + vdd-l14-supply = <&vreg_s7e_mx_0p752>; + vdd-l15-supply = <&vreg_s2e_1p224>; + vdd-l16-supply = <&vreg_s4e_1p904>; + + vreg_s2e_1p224: smps2 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <1400000>; + }; + + vreg_s3e_0p824: smps3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_s4e_1p904: smps4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1960000>; + }; + + vreg_l1e_bb_1p2: ldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo2 { + regulator-min-microvolt = <1128000>; + regulator-max-microvolt = <1128000>; + regulator-initial-mode = ; + }; + + ldo3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l4e_bb_0p875: ldo4 { + regulator-min-microvolt = <872000>; + regulator-max-microvolt = <872000>; + regulator-initial-mode = ; + }; + + vreg_l5e_bb_1p7: ldo5 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = ; + }; + + ldo6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + ldo7 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo8 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo9 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l10e_3p1: ldo10 { + regulator-min-microvolt = <3088000>; + regulator-max-microvolt = <3088000>; + regulator-initial-mode = ; + }; + + ldo11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo12 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo13 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo14 { + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + ldo15 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + }; +}; + +&blsp1_uart3 { + status = "ok"; +}; + +&qpic_bam { + status = "ok"; +}; + +&qpic_nand { + status = "ok"; + + nand@0 { + reg = <0>; + + nand-ecc-strength = <8>; + nand-ecc-step-size = <512>; + nand-bus-width = <8>; + /* ico and efs2 partitions are secured */ + secure-regions = <0x500000 0x500000 + 0xa00000 0xb00000>; + }; +}; + +&usb_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l4e_bb_0p875>; + vdda33-supply = <&vreg_l10e_3p1>; + vdda18-supply = <&vreg_l5e_bb_1p7>; +}; + +&usb_qmpphy { + status = "okay"; + vdda-phy-supply = <&vreg_l4e_bb_0p875>; + vdda-pll-supply = <&vreg_l1e_bb_1p2>; +}; + +&usb { + status = "okay"; +}; + +&usb_dwc3 { + dr_mode = "peripheral"; +}; From patchwork Thu Apr 8 17:04:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 418276 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77051C433ED for ; Thu, 8 Apr 2021 17:06:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5B31F610CB for ; Thu, 8 Apr 2021 17:06:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232694AbhDHRGS (ORCPT ); Thu, 8 Apr 2021 13:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232599AbhDHRFw (ORCPT ); Thu, 8 Apr 2021 13:05:52 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888C0C061762 for ; Thu, 8 Apr 2021 10:05:40 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id g15so2313184pfq.3 for ; Thu, 08 Apr 2021 10:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JkDwMEtzOiBc5/NcupeoFQSSG9nOWh7PMrRuxNqcjXw=; b=vjUg3fUSHnzHGP0mch7Dmg8Nmpzb3dWceczBSTsiYqjMy+QPoDKb6qUYNoY43Ep/dJ EYmKHu6oGRB0069S/NdbbsyCpY0O1dhN3ybHGk3yiM6NQXDL7ngQjied5ZNkOJJ+ICrD /ITodkuWIhL5KnKbLntnz1BFTLpN3g1jcBMEPQkLKvn/oy+qUWMhhU7v7QvjQzRXHZac OM6F5sXo7cr7jztvef+tYwdVGSxn9mXUqbGFNMlSLUXPGIgEtYpkExKlmPcmYvmjhJwV Xuj1MsttjgYYuNfDA/+DSc0sRAyaESHFDx38bFywIQEPvldw89XJMeypKBykWDjb7lux yd+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JkDwMEtzOiBc5/NcupeoFQSSG9nOWh7PMrRuxNqcjXw=; b=M3/bJUQJMqHZTAA84+K8loDyqZvRLas5vSawgFJfYn9xa3Y/xpShFcVLSaJp+ttDgw IWOIIoKMU/QJ9VyD0Um7yqypOnX4MTk139o2XloiFn8e5nS+mO4SpfofCNysmRuZMGKx ftASGMjHtX623B/z0obD9mQX+KbXZQwx2/ufQSp1bDDMeuAOnY6kFaLsN3ofZEmCtUlD THOA2Jeom0DqG72aFMboeO5SnmpV4Ue3c1cPhpTIZcjPcg0wFKdWcfrn293dHYtTMkcO YPArQpRPhs+HJVsgJAzUg1WRjiEwq0oBitpBr/dSTW/zPWlolptFi/wvEmV7vLym+OV2 wdLw== X-Gm-Message-State: AOAM531cW+FDNiJHWMVGrNehJ/9SnZtLQrhjV8sAMVVx6vJi2xJJp+8Y /w+Q5y9ksLGuSjaYOe+B1Am4 X-Google-Smtp-Source: ABdhPJy+P6Osji4Z9LVdgzt46nNOyHTX9+JV1muOGWKJUip14XuZDk7MdQAlUfQa71nwCg2rhVEsdw== X-Received: by 2002:a63:4415:: with SMTP id r21mr8975035pga.222.1617901540034; Thu, 08 Apr 2021 10:05:40 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:39 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 12/15] dt-bindings: arm: qcom: Add binding for Thundercomm T55 kit Date: Thu, 8 Apr 2021 22:34:54 +0530 Message-Id: <20210408170457.91409-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for Thundercomm T55 Dev kit based on SDX55. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index d5d561d9e8aa..6827bf82fb74 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -173,6 +173,7 @@ properties: - enum: - qcom,sdx55-mtp - qcom,sdx55-telit-fn980-tlb + - qcom,sdx55-t55 - const: qcom,sdx55 - items: From patchwork Thu Apr 8 17:04:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417463 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794889jai; Thu, 8 Apr 2021 10:06:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSHvoY0YmlZoI6QOKRup9ScpqnAz6hxpfKWMETqYcyoJgNwPcSpSCVe3Gb0uWpktvnNyLL X-Received: by 2002:a17:90a:aa81:: with SMTP id l1mr9585060pjq.190.1617901569759; Thu, 08 Apr 2021 10:06:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901569; cv=none; d=google.com; s=arc-20160816; b=GWab5Vcj32IXX6HsbR/NAqhIxV0Unh8VUUetcdTp/oam30PwqqSVDd6AuhCtGMGWWn xkn2xfmc4cWQDmLHYCwEQdCyw/quZ/YxN+TGdc2L3tgriHNuDCajKjBU8a6xIjQk3uDU Vnap+u6CIucqPI8aPuO/FCnVQJsFlsMzBZa+Xso5jmCNI869q6EC9NEHANN4NoSWNePs EogYrelk5rh+JFj2HJaXZLGoo7JW7vBwI4Hc7qzvmcYfowmq5uOtc+215EK2SJh7Cya7 SL6JiRdn/8UthK0kJMrSN1a5tDuTx3IAM2OuWf/reicIdkgCB3kD7CtfkMdgRWARntLz 9y3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wSY1KNrsEzDWYatM0ZrxRoCpvrDbm9YIr/BDATB7Pqw=; b=ueWAjJzYFic5AORWrVq2Tbz1UkCsz3k6XccK6ZQP0Mtb/VGHaJDDks1ns38hGDSsN5 qe+qSMngsTl40kZqzsIETrqxz8SmmLuztu9vs1NUU3PZwrGAZPNVXJInC9LDQRrIbQUZ 2d7fO5s6O1b4ezUx1mh5wdukcSqGO0MNQzLSC+ynK384sywdNvt7Ghfvhvx2dnbdZCXB vF9WOTfmVFwRp1hE4I7i+V6oG3otUEjmQpt+JYVEDmJBTM6fWgMN+BY15CGksJKVxM+I gv50IxjveRSRwpOOBE9m6PIHu0/YTFpP1LtkyPPu/5jcR6AnQ0+3vfVt/bAUp+qjfNfr H14Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4N4+piS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si2174469pfd.266.2021.04.08.10.06.09; Thu, 08 Apr 2021 10:06:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S4N4+piS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232599AbhDHRGT (ORCPT + 16 others); Thu, 8 Apr 2021 13:06:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232516AbhDHRFy (ORCPT ); Thu, 8 Apr 2021 13:05:54 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 120E2C0613DC for ; Thu, 8 Apr 2021 10:05:43 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id l123so2284524pfl.8 for ; Thu, 08 Apr 2021 10:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wSY1KNrsEzDWYatM0ZrxRoCpvrDbm9YIr/BDATB7Pqw=; b=S4N4+piSDP/RqA1P2ZEDRzM/qxGON3DJDhcHo2VC7B8JpKcnalB531U4STQDAiIE1G BGqK1AMLLVDL9ZwyoaGKYSx8dIZ5Ar3iGQMjAFYh1Vbr4iUBk0kC9Iu3kTKi89yoYjKv ctmbxpISESiklAqZKOCSQoEJN5EDzf9anuhdbV2sZksCnsgxPmWtdvNWeS99wooC2jg2 yblZg1FYu5X+deK6djieqKBS6vuBjYLe7BLtrdcfLnjhSrX9qXWaCQK5YaDlP/71rBlk Pc7Bbqf2zQ/t0V6ydrSVc/wenYx9Lejb58XreUVnBS2N1shdwbiMHqOSgb7JTQEDoIOp CJqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wSY1KNrsEzDWYatM0ZrxRoCpvrDbm9YIr/BDATB7Pqw=; b=HyGzFt/Pvs/JMVLHbM4/MITPIFbSAB1dIEIK2bc2SDZ9ETbm1AafNAZeqUCwETdWIj xU9H9SHzYEn+1wNVWP+7qCsIy6Dmz/b4hZTGt0S27HVoiP6KMghO9/mPYadNyT+iKb0T r4O57K0OSFQnihMA5Zpavgd8GyTepHUS9aYzxf/uEAf1ZXrRobpG8U+HkAIhBMYT2EAY WFKdL9ap0cCzSv5eYWuV+kR5RUkhly8gCYmXd5SwUqWBaa0HbmW7KKPu0txF+6OF5BUb vtHw41hglHDHIU7z9WLrZ9xCzhOD9ZJa2PPdwRhaWlCooXsDv6q3MfORaeeg30lirhgb iRFQ== X-Gm-Message-State: AOAM5307VJ3lgghFJy/AFmd8xAtIQ+UE5NJoNI0WDDeg9bNzK1APc05a TOfN08lICDqrWFVnk00gr1aUcov54fpx X-Received: by 2002:a63:f104:: with SMTP id f4mr8801166pgi.241.1617901542536; Thu, 08 Apr 2021 10:05:42 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:42 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 13/15] ARM: dts: qcom: sdx55: Add basic devicetree support for Thundercomm T55 Date: Thu, 8 Apr 2021 22:34:55 +0530 Message-Id: <20210408170457.91409-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Thundercomm T55 is the development platform based on the Qualcomm SDX55 chipset. This basic support includes support for debug serial, NAND flash, BAM DMA, USB and regulators support. https://www.thundercomm.com/app_en/product/1593506006365532 Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/qcom-sdx55-t55.dts | 281 +++++++++++++++++++++++++++ 2 files changed, 283 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom-sdx55-t55.dts -- 2.25.1 diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 874ab2b66187..1d314fdf6014 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -930,7 +930,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \ qcom-sdx55-mtp.dtb \ - qcom-sdx55-telit-fn980-tlb.dtb + qcom-sdx55-telit-fn980-tlb.dtb \ + qcom-sdx55-t55.dtb dtb-$(CONFIG_ARCH_RDA) += \ rda8810pl-orangepi-2g-iot.dtb \ rda8810pl-orangepi-i96.dtb diff --git a/arch/arm/boot/dts/qcom-sdx55-t55.dts b/arch/arm/boot/dts/qcom-sdx55-t55.dts new file mode 100644 index 000000000000..ddcd53aa533d --- /dev/null +++ b/arch/arm/boot/dts/qcom-sdx55-t55.dts @@ -0,0 +1,281 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Linaro Ltd. + */ + +/dts-v1/; + +#include +#include +#include "qcom-sdx55.dtsi" +#include "qcom-pmx55.dtsi" + +/ { + model = "Thundercomm T55 Development Kit"; + compatible = "qcom,sdx55-t55", "qcom,sdx55"; + qcom,board-id = <0xb010008 0x4>; + + aliases { + serial0 = &blsp1_uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mpss_debug_mem: memory@8ef00000 { + no-map; + reg = <0x8ef00000 0x800000>; + }; + + ipa_fw_mem: memory@8fced000 { + no-map; + reg = <0x8fced000 0x10000>; + }; + + mpss_adsp_mem: memory@90800000 { + no-map; + reg = <0x90800000 0xf800000>; + }; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + vreg_bob_3p3: pmx55-bob { + compatible = "regulator-fixed"; + regulator-name = "vreg_bob_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-always-on; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; + + vreg_s7e_mx_0p752: pmx55-s7e { + compatible = "regulator-fixed"; + regulator-name = "vreg_s7e_mx_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <752000>; + + vin-supply = <&vph_pwr>; + }; + + vreg_sd_vdd: sd-vdd { + compatible = "regulator-fixed"; + regulator-name = "vreg_sd_vdd"; + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <2950000>; + + vin-supply = <&vreg_vddpx_2>; + }; + + vreg_vddpx_2: vddpx-2 { + compatible = "regulator-gpio"; + regulator-name = "vreg_vddpx_2"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2850000>; + enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; + gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; + states = <1800000 0>, <2850000 1>; + startup-delay-us = <200000>; + enable-active-high; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; +}; + +&apps_rsc { + pmx55-rpmh-regulators { + compatible = "qcom,pmx55-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-l1-l2-supply = <&vreg_s2e_1p224>; + vdd-l3-l9-supply = <&vreg_s3e_0p824>; + vdd-l4-l12-supply = <&vreg_s4e_1p904>; + vdd-l5-l6-supply = <&vreg_s4e_1p904>; + vdd-l7-l8-supply = <&vreg_s3e_0p824>; + vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; + vdd-l14-supply = <&vreg_s7e_mx_0p752>; + vdd-l15-supply = <&vreg_s2e_1p224>; + vdd-l16-supply = <&vreg_s4e_1p904>; + + vreg_s2e_1p224: smps2 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <1400000>; + }; + + vreg_s3e_0p824: smps3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_s4e_1p904: smps4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1960000>; + }; + + vreg_l1e_bb_1p2: ldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo2 { + regulator-min-microvolt = <1128000>; + regulator-max-microvolt = <1128000>; + regulator-initial-mode = ; + }; + + ldo3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l4e_bb_0p875: ldo4 { + regulator-min-microvolt = <872000>; + regulator-max-microvolt = <872000>; + regulator-initial-mode = ; + }; + + vreg_l5e_bb_1p7: ldo5 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = ; + }; + + ldo6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + ldo7 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo8 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo9 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l10e_3p1: ldo10 { + regulator-min-microvolt = <3088000>; + regulator-max-microvolt = <3088000>; + regulator-initial-mode = ; + }; + + ldo11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo12 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo13 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo14 { + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + ldo15 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + }; +}; + +&blsp1_uart3 { + status = "ok"; +}; + +&qpic_bam { + status = "ok"; +}; + +&qpic_nand { + status = "ok"; + + nand@0 { + reg = <0>; + + nand-ecc-strength = <8>; + nand-ecc-step-size = <512>; + nand-bus-width = <8>; + /* efs2 partition is secured */ + secure-regions = <0x500000 0xb00000>; + }; +}; + +&remoteproc_mpss { + status = "okay"; + memory-region = <&mpss_adsp_mem>; +}; + +&usb_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l4e_bb_0p875>; + vdda33-supply = <&vreg_l10e_3p1>; + vdda18-supply = <&vreg_l5e_bb_1p7>; +}; + +&usb_qmpphy { + status = "okay"; + vdda-phy-supply = <&vreg_l4e_bb_0p875>; + vdda-pll-supply = <&vreg_l1e_bb_1p2>; +}; + +&usb { + status = "okay"; +}; + +&usb_dwc3 { + dr_mode = "peripheral"; +}; From patchwork Thu Apr 8 17:04:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417464 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp794933jai; Thu, 8 Apr 2021 10:06:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzLcTxio9VpdkA63AtFXluLP1Ok1d0pjCrVN669zCTGGi0sMOoYtNX8fKyY6iKC++rx3sb X-Received: by 2002:a62:2c46:0:b029:245:6391:b631 with SMTP id s67-20020a622c460000b02902456391b631mr2291316pfs.67.1617901571310; Thu, 08 Apr 2021 10:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901571; cv=none; d=google.com; s=arc-20160816; b=C0kuDE0jyblHysuBkoquJ0a1AFfyvIUaKAoW/GvBlqIHGd/1GIis567IJmwhNRdaH+ zo3MPITQgn8D2rKdOf8Tcsgp5hW4PnltOdFCUeKu8xVVm3JtGOOOh9zcoWgGOh3UvN0e iRpV/8r3hRrD7xApQQIco29infUbPiUm18gUOJPLw4NasEjugq1RKDso32sYad/besGu FaoBnwwLM7yS9u2WfYwc2ycQQgw4dvSEwh0QGnA1G0hVWeIsuS2rw9FlNjCshM3G3ZC1 JT/6j/LZzEhzPJ6svUgqzuNKHOe0SF/Vn816E7Te7hoVc2qE57TkOyKc/YL4oxqncaYm 10Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LzLBZRgN0IZwJ8UaEh0p4IsQJQazWZVEGqH9AmkhtxE=; b=jLldrNli0ciETddvW2HTj8iuE7brtMiBEhtku1aUCW4AWKDtcuoPh9EwAqHulp3yWq NDVGnqsA9PgGI/29rwY3rOMXVwpMunjJjVaTVf+jXu7kFLkNCkazWcc9cqE7d7agAp42 oq8Bxl7E/gLIGG4YNr0R02awlL8CpbR1i5iAxHGQsetBbgjEenAggvLBM2gvITTKtgWA EVWfTbtj0qbbX/YdkCs2JAkCQnljn5GnGG/CjR8qsfQl9F0rhOCQSqZCv04HaFTLvCvZ OzNHpj/qXvuvrxomxQ8nIBzuYMZNbAcuCaPhEOWvvvLBjMMGK+uLajRLmu5munrSZRjk sxBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vv2n6wOY; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si9887862pji.149.2021.04.08.10.06.11; Thu, 08 Apr 2021 10:06:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vv2n6wOY; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232623AbhDHRGU (ORCPT + 16 others); Thu, 8 Apr 2021 13:06:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232661AbhDHRGA (ORCPT ); Thu, 8 Apr 2021 13:06:00 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3F07C0613D8 for ; Thu, 8 Apr 2021 10:05:45 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id h20so1381216plr.4 for ; Thu, 08 Apr 2021 10:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LzLBZRgN0IZwJ8UaEh0p4IsQJQazWZVEGqH9AmkhtxE=; b=vv2n6wOYHTJNH5UU+vCyyGnCqglN8T5TdqA3DRUyFcLlhErTWf+Sqgno1/KFQ3wwr1 9Td+67x6yzrHf5C18Z3L5xEKsfxMcgg/z6KguJqQyaPB14cIgCpPHLjI3ACw823TIHZq 8vNluvSZjOSt6u4NEjSEUi/6qcg9JRMNPJH9TRtQMTQAtsOFawSTlN1Wl9DxAGf1evtv dfZYCD5gQf7hav0PivVvVtkS1BdwOgPVHIi0R52tuH7uFxtQ/aKvszMfxorYv3EdN6va Sk2oH9ksygCVgwdU6gIkGyFb4uKpsFI9h0rn/OPwWqAf2IJcevxS60+hoGGBphfEdNiS oFIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LzLBZRgN0IZwJ8UaEh0p4IsQJQazWZVEGqH9AmkhtxE=; b=RE4EkBZTi+MpCLmvJl3oixabFd0uoABEtGpR3Sf8XCEwUwf7XkdkK98+YMkrqoVU7+ CVLOHtOfxPCHgTOSWyp7WGvv1YJucSUJDsfqbjhKqxIu4lz+NFgaoO6S13AZErLuoeUx MWBsbhrxqh4M9dnqmIS9x+DYdZ0s6sQie9LSGcwXu27giKDQzBUm1JfywHwyZ3QjKBBN 8bplQRVnJK//CjxSL4rz63gNQ3vJeriGgyizq6cffYsd7vcVNbhn96kK2ovSKEXhNaKN zKFoZBMzZI+sEMZ3YSBvzuljeba/ikxPVtFlIukxWL6FId5M4+JdDSgHr5bIqyTN+pX1 b0WQ== X-Gm-Message-State: AOAM533ED3VhL+WFpCYHQeG5YUwb75qLmcJLFazp9MFW/aYclNnW/dmX dnH8gQOWTulGM9tD05igUxNJ X-Received: by 2002:a17:902:7896:b029:e8:fa73:ad22 with SMTP id q22-20020a1709027896b02900e8fa73ad22mr8629497pll.66.1617901545494; Thu, 08 Apr 2021 10:05:45 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:45 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 14/15] dt-bindings: remoteproc: qcom: pas: Add binding for SDX55 Date: Thu, 8 Apr 2021 22:34:56 +0530 Message-Id: <20210408170457.91409-15-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for SDX55 remoteproc. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt index 1c330a8941f9..229f908fd831 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.txt @@ -18,6 +18,7 @@ on the Qualcomm ADSP Hexagon core. "qcom,sc7180-mpss-pas" "qcom,sdm845-adsp-pas" "qcom,sdm845-cdsp-pas" + "qcom,sdx55-mpss-pas" "qcom,sm8150-adsp-pas" "qcom,sm8150-cdsp-pas" "qcom,sm8150-mpss-pas" @@ -61,6 +62,7 @@ on the Qualcomm ADSP Hexagon core. must be "wdog", "fatal", "ready", "handover", "stop-ack" qcom,qcs404-wcss-pas: qcom,sc7180-mpss-pas: + qcom,sdx55-mpss-pas: qcom,sm8150-mpss-pas: qcom,sm8350-mpss-pas: must be "wdog", "fatal", "ready", "handover", "stop-ack", @@ -128,6 +130,8 @@ on the Qualcomm ADSP Hexagon core. qcom,sm8150-mpss-pas: qcom,sm8350-mpss-pas: must be "cx", "load_state", "mss" + qcom,sdx55-mpss-pas: + must be "cx", "mss" qcom,sm8250-adsp-pas: qcom,sm8350-adsp-pas: qcom,sm8150-slpi-pas: From patchwork Thu Apr 8 17:04:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 417465 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp795012jai; Thu, 8 Apr 2021 10:06:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwuzb7qDTk9+9JCMAwOl+KK0mzlS2IhPUbF3LCUQWvd1Vb9PQdHWaqBYq+OaUd5fPvo+Ou X-Received: by 2002:a17:902:b494:b029:e9:6c43:8beb with SMTP id y20-20020a170902b494b02900e96c438bebmr7685243plr.70.1617901575082; Thu, 08 Apr 2021 10:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617901575; cv=none; d=google.com; s=arc-20160816; b=SuPKP430pCK7YBHeajgSDG8wYk1qCnaHm5jQs9QhoAoJmU8DeNlKfdUONAESdQLNy4 uJRps3Y70sPtLvnUzFVu3cYaWn/iSm29C2g9HUK05yMpcxDz9FaUXcVnhitFKyuiOg61 n9NlcB14Ip7mZF4iUlNZzzZTRzfBKXG7/g+2CfK/FifVOdwYGUKygcz80GlSdxErbuhv 0zW8EtjhkORfSoIdPw5p4Z3KK4iH4Gcecd9HMJopPRRklBEOZEQhFs1D1B3YduaVqKIN dDFZ0fVFwsX3lKV/tAsy4DlIpauD9brgIin/9tX8FUTaH7qxaTHSedBIiNkjWGApuHEJ iClQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=eLGCyzjx7T7amdey19Wd5Bz9VAK087+tw9eJtcLrgVSYCO2bN9exg9g1LiOGWwmkjg JtP/1vIL49k9Beulv8mHNjCpyoL7Ldo5Loh0uB4uBp97bxCoxYfK/8dYAPwbXhnrebl5 QvI63XiCZ345sOr+z0x8nV68uCBG8hVUvvOMqRPZdX3f6o3EY8LSv2D2l41MjTEgs9Ru LC1wlUwpX3v7XfhRUFBrTwE+2DbqdBwteJWtdUhW62U5Xc2EPZ9oHTUtuTnmOoHNdmoT udNR4X07hSD+b1FWt8/tpjpXJuu4ubuk+qAEoG4fWomuAgB9aAnniYEc4QpxFc0rUrxq DXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NRAy4n+M; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si9887862pji.149.2021.04.08.10.06.13; Thu, 08 Apr 2021 10:06:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NRAy4n+M; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232665AbhDHRGX (ORCPT + 16 others); Thu, 8 Apr 2021 13:06:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232566AbhDHRGA (ORCPT ); Thu, 8 Apr 2021 13:06:00 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B0A2C0613E0 for ; Thu, 8 Apr 2021 10:05:48 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id ep1-20020a17090ae641b029014d48811e37so1734695pjb.4 for ; Thu, 08 Apr 2021 10:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=NRAy4n+M8JIo/MIPJ7wWmm2Nghtrk0v0IMH60Z9LkBM0OhvUOLCE2X+4n7kq8hwPMb Bj+/b314XEZAolws4BAfpOxjekvhUPwYwWK1fn6kzVkuYzSY/19802VFalFHExfnXfpE pDU8KnMPR81IQqHQLnh8mFb0dA8MW/169NPaNGf+9qhTRThFiPNX05ZbYQlZD+MOYad3 KU3YgJOUTJXnX6DXaC9MlmS93lJVc07LfhnNXMpa3/PzRKvqzCD21fhqLMgPid3njDCG 7Syam/5V3PUREw9OSiFxOjXUjK7Cwk04TmCZiCmTuiBa16BNNpYGqGFi32wO61cDE50Z VQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3x6NN0RMF6oM3dbqENncJ4pFgq9ZKIyr1RsN2Tb2XX8=; b=i1zEd9k41idTHf1/0Nwd20CFEhwdYDI5pJhicyZG5kYA23txlP4JAn30qx8y9A2F// Mu3WvtGa7swp649gAO5iooHfdYtbWNzlAW/FVWa0YihlFk6IEacUm43Aj/5iHuT9fyve 3dNGnWts4fpmZv/z5u3PK8CVU7/+7ZCTsku6yauD4tpyrSR9RA9zZEOsawkos0MwnBPj 9ax9W0WAa5vXvCACpWQ+q2eXbIjV7Q9upTytr4GWK55Le7mDw9Ivxpxh1W5BRQjgrXrL 5KYIRZxlnM+4dH73YXf/hPvc0qKm1Iac6P0RuKBAWG6yG5rZfWekANAI3qECrSxW9zzE g4EQ== X-Gm-Message-State: AOAM530OlytrBaTqMZVF2lYMrKMSr5PjWLdirGgm3E358vVAMU5oGw0E 6Gmj/E8JWrSQGKAQpY+ZkT8I X-Received: by 2002:a17:902:8bcb:b029:e6:a4a1:9d7e with SMTP id r11-20020a1709028bcbb02900e6a4a19d7emr8602380plo.25.1617901547954; Thu, 08 Apr 2021 10:05:47 -0700 (PDT) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id y194sm65183pfb.21.2021.04.08.10.05.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 10:05:47 -0700 (PDT) From: Manivannan Sadhasivam To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 15/15] ARM: dts: qcom: sdx55: Add Modem remoteproc node Date: Thu, 8 Apr 2021 22:34:57 +0530 Message-Id: <20210408170457.91409-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> References: <20210408170457.91409-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add modem support to SDX55 using the PAS remoteproc driver. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 5 +++ arch/arm/boot/dts/qcom-sdx55.dtsi | 33 +++++++++++++++++++ 2 files changed, 38 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts index 6da366ec15b3..3065f84634b8 100644 --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -255,6 +255,11 @@ nand@0 { }; }; +&remoteproc_mpss { + status = "okay"; + memory-region = <&mpss_adsp_mem>; +}; + &usb_hsphy { status = "okay"; vdda-pll-supply = <&vreg_l4e_bb_0p875>; diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index aa3edecf5810..bed83d1ddc29 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -328,6 +328,39 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + remoteproc_mpss: remoteproc@4080000 { + compatible = "qcom,sdx55-mpss-pas"; + reg = <0x04080000 0x4040>; + + interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, + <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", "handover", + "stop-ack", "shutdown-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + power-domains = <&rpmhpd SDX55_CX>, + <&rpmhpd SDX55_MSS>; + power-domain-names = "cx", "mss"; + + qcom,smem-states = <&modem_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts = ; + label = "mpss"; + qcom,remote-pid = <1>; + mboxes = <&apcs 15>; + }; + }; + usb: usb@a6f8800 { compatible = "qcom,sdx55-dwc3", "qcom,dwc3"; reg = <0x0a6f8800 0x400>;