From patchwork Wed Jan 6 12:53:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357555 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843403jai; Wed, 6 Jan 2021 04:55:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJwkhJUi+5qiSufJVrvvjRNUFPcAyQeFH9P2NbcdOjHG06DBLhxQ0szvHWEG9ZIEvWZeHp X-Received: by 2002:a50:f089:: with SMTP id v9mr3983455edl.353.1609937740738; Wed, 06 Jan 2021 04:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937740; cv=none; d=google.com; s=arc-20160816; b=ZJk9CORKHMu5rElmhalOCE7JqYI7j8n/8pS7JjOVCWfPIBc5XNjSFC9iOqMAeaBW+J e8ktRdvgvR/fvXvphc6EgNsRlo3fgfW0CvO4+ysmV/jyn2EUmhvBATY148DXnGZkhWlh nAQklk0FhYaqNVawbredH8N0Z73814zacP1DM2lPsNl4v8IEzhAA1/EQ64m3mP6yZWtW etAAgE0Niuftzk1XLSACUS8MXQSJA47eAPhSRlNP42UVy2K4wWso8n2yh2GHSJp6+t6z 4kp3ff+OF1yzr73uOflHCIKw9aWJP/IYBCNZyv0X7Zra5ALbDkiooGQVnIuY/vyjeKmn OvvQ== 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=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=uhi5Rd9Xro4YXZ8pX35HYde+ssTe/bpz2wX4H0Lq8npdN3QEdwgxfHGCD2nsGiFbNV DnlxSgNYVpKdeoEYRxfvzpa600mSSK4zD5oxmaVnARDWD/n4bilLfY9Tbr+nJGSbOLg3 xogt8GuLMSQx5WVA/OBKmknCMKtID9sPQt8miYTqPVjPCObau0akdtVGmfssQEVyzTLs XBtvTr/qMz3s0imcjl4miNOs3OiUcVa2YJ5EN6rapUxG5D27A7FPR/ax7glBnbaqgCGk RoiCqmenqSXYyX7uH96Ys1gnwys0t5GiSCglOB67qxdGZsFihrqf6BgAJZfuKa0yUorV Epvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILkpyGb9; 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 u9si930006edv.418.2021.01.06.04.55.39; Wed, 06 Jan 2021 04:55:40 -0800 (PST) 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=ILkpyGb9; 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 S1726437AbhAFMyZ (ORCPT + 15 others); Wed, 6 Jan 2021 07:54:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726432AbhAFMyY (ORCPT ); Wed, 6 Jan 2021 07:54:24 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97CB7C061358 for ; Wed, 6 Jan 2021 04:53:44 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id n10so2147381pgl.10 for ; Wed, 06 Jan 2021 04:53:44 -0800 (PST) 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=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=ILkpyGb9ndDGS/VxgIBYFV+JKMiqVIUJkG0k41KFgfRFSgEz10sd9spVbft0zaSx+3 HgDpL2LVPpx79sf3uMXoS1xrJSsG8+yWoZDBpOfN3KT9FtlW9C7gESQ3JB+leI5b9QVs Yk7GQnjdkGYBn2N90/EX/54JZFli6GRWTCMU6bS4mwB+4PWH3OODb/a7J1N9dO6oJ8eL ftmXubWk/WXPpYosKP8t99slfiHzzQ2cejYk5Zk8clWESJTCPR1ntHgcFpEa4dJ2OiVX ttBLZYE1FHPKI337LLoJiLtbJJFpEkJdHzrslx6zK48rCgmxk/O2jLAzWOcZ8liVQreZ 9J+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=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=BWPCOVO/LIzqKmCa+op3elGKYn9jOYsOL9jznEjwldSv+apuUXQTcISMVUy8fDljl2 etLM+9X3xd7IlpDfwh2jfUF+iV8gO5mWz83rVZ2H8NJOufuCHA4WT6pxnGB27EtgZ3vV mAVIEBfaR5CijzgWYonvx6+CNhKivkeQMx+1E70fI/HWNZTfOb8EeJAGyZnH56SuidpC KS28AAQpn4BsNjYjew42lRkgJsTSgSZcydP9/tJg+QEoMMzGbUHnreLfy7mAFFuspgpF 3cI+wF4Lm9VHEK5qNg2fDuFtvTb8HywUI8UNBVtxqNfNJ5Geb6TqsfYeenlYIkj+/ebB rZtA== X-Gm-Message-State: AOAM5312GodVu8muOO3GztCXT83NqvnFRD+zSgmPgvCJygkUwvEUxEAg NJhmL8PyJj8W2ftcbXbfWktG X-Received: by 2002:a63:fd01:: with SMTP id d1mr4257682pgh.319.1609937623229; Wed, 06 Jan 2021 04:53:43 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:42 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 01/18] ARM: dts: qcom: sdx55: Add pincontrol node Date: Wed, 6 Jan 2021 18:23:05 +0530 Message-Id: <20210106125322.61840-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds pincontrol node to SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index ca7d4e4f5d11..08b4a40338fa 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -96,6 +96,16 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + tlmm: pinctrl@f100000 { + compatible = "qcom,sdx55-pinctrl"; + reg = <0xf100000 0x300000>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller; From patchwork Wed Jan 6 12:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357557 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843417jai; Wed, 6 Jan 2021 04:55:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2OQaPAmlMw5XRF2fFfisjaTBx2wsMpd00oBJVwfAPtnrXgghBq2HIDsBRtgYgnwZM09qH X-Received: by 2002:a17:906:b79a:: with SMTP id dt26mr2624444ejb.337.1609937741951; Wed, 06 Jan 2021 04:55:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937741; cv=none; d=google.com; s=arc-20160816; b=qVGld5/tX0m6qbC5NKwe7gP/dplSkYjOPOsWpNrcgix8TUZElMGoXWjBxAqGpoge35 0fbbE6/AzqqDBiacIY4r/eyYphU46oQzcXJIHI9eF/lbb8jTrSEsQJ01DoFmbBo6iY3+ xOzn5lSyVzPwtGklUzhlmJNFi9fVwzmvW9aYjYBSeSkm9PZauRXX5oBhvsphSXbqN3C9 cjsrXF5sC5fF9n7Dc4nLdPbuAJThLOekg7PyoUJBIsFjr6R8+hQUEPvYqkpxWIy6deeg QE6G+v6RxW/A+mpzikLqJaClalAM4Yead3t3ym+vN3n/DR5HNfiV6XMMsDkaJk1Xs/Yr ZC7g== 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=zkuwXT0BNz/CHQLQCAyTEe+HOvwjU8Q2EN+C4ZwD2SY=; b=JTrVk/vrMzWLiUPTJfIhTDN/8lg9vEmj41mwmKFDk4i8TVOoaJbF+9iZR0vjKZCPr1 N3Q27eiW5OJ6In6LBbRMUoAUOcM+w7paCrzIfafti/DPnxVMMb54De9W1Zz+PClrlhiE InPU82sRbBIwBB4AQ8TOzgDM1UP96TZGf/RndAdVAor/Shot9cGGwwj06cuQ1wlQoO2Z V+s1+qO3+vmOZMyXtYH8dRTb6lVfOAX2lBH6vKc5+l+VIsuOddtJ8mumYvry0iW8ZH4+ Hig9oGIZ5BIf7o98DCxIlOZ5BM4Bm48R1TNkK9uqpbRYFP+OKX5+RDc3D01OvJ5qgVID Cstw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YZOkkSwc; 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 u9si930006edv.418.2021.01.06.04.55.41; Wed, 06 Jan 2021 04:55:41 -0800 (PST) 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=YZOkkSwc; 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 S1726062AbhAFMzC (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbhAFMzB (ORCPT ); Wed, 6 Jan 2021 07:55:01 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55373C06135A for ; Wed, 6 Jan 2021 04:53:47 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id b8so1521895plx.0 for ; Wed, 06 Jan 2021 04:53:47 -0800 (PST) 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=zkuwXT0BNz/CHQLQCAyTEe+HOvwjU8Q2EN+C4ZwD2SY=; b=YZOkkSwceR3x7wzFWyDAzaO6eikKTqdd8NSOX1QNR4SVgiuhiNBSKLJmi27m85dj1g YmvoW/v8u1p8yIz56x4Jo02RZgBsdi6gHUoLAOJcC39GH67sBgqJLrDOaftpckOmk0as o12XA2rF3/QZ7T0kDmVw65g3vMmLkkBtporGk8fHrWbpQ208ZA9tMv0+g863McjX+xk1 HxLrYD4JnKiGzVQp1eKv8917mc2JLAXrURbMK/wtu/dORRf+P5Xk9YSei7g8o4hhvfG2 tUhOzyFTd3ZCwr7r1uglsy0rvk7OcV8Br9zhdvpTvK37JVh4jZkFG5cV8v59Pci1C58H 5wQQ== 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=zkuwXT0BNz/CHQLQCAyTEe+HOvwjU8Q2EN+C4ZwD2SY=; b=RCyjlq0UYQVmIc52/cNxc0lMOeQLu7bO3NGRV84kQKB+8xTp3EExxepgrPhAJWjwRo 2i8J+nLRoExQl3Td73tdwsQvrR4Nfig+lWIU2ezU/OQFVvVi1HQpPDpLHG2RiKoTk0pk u8RKH7yyp/es/PGbp3+hDTaWwjHYHgDIaoudSWW1iUXowhzewKgclwVlPbH4Gk1DX9ik 3TO5XXirXRJZH9F/q5qHZZKGPgsE35V0gp5aunWBj8CbjV0dLhCA+dW8txEvCWiGbJck CfpqFl+h1Z6KKvMXg2HhADtUInCYGFH5PENNR7qabnRXFaKoCi8ugas7sptkCMJlwJr9 RMRQ== X-Gm-Message-State: AOAM530kXmmosYE13aE4SHmvop3PipBO01dA7GOFZCBG89gHKxPBsI+S OIxQlBwuUDf3JxLHtwWsNMQU X-Received: by 2002:a17:90a:3d0b:: with SMTP id h11mr4102891pjc.188.1609937626867; Wed, 06 Jan 2021 04:53:46 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:46 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 02/18] ARM: dts: qcom: sdx55: Add reserved memory nodes Date: Wed, 6 Jan 2021 18:23:06 +0530 Message-Id: <20210106125322.61840-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds reserved memory nodes to the SDX55 dtsi as defined by v6 of the memory map Signed-off-by: Vinod Koul [mani: moved modem regions to board dts] Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 21 +++++++++++ arch/arm/boot/dts/qcom-sdx55.dtsi | 52 ++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 262660e6dd11..a5d2e4a3a796 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -20,6 +20,27 @@ aliases { 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@90c00000 { + no-map; + reg = <0x90c00000 0xd400000>; + }; + }; }; &blsp1_uart3 { diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 08b4a40338fa..194936064884 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -60,6 +60,58 @@ psci { method = "smc"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + hyp_mem: memory@8fc00000 { + no-map; + reg = <0x8fc00000 0x80000>; + }; + + ac_db_mem: memory@8fc80000 { + no-map; + reg = <0x8fc80000 0x40000>; + }; + + secdata_mem: memory@8fcfd000 { + no-map; + reg = <0x8fcfd000 0x1000>; + }; + + sbl_mem: memory@8fd00000 { + no-map; + reg = <0x8fd00000 0x100000>; + }; + + aop_image: memory@8fe00000 { + no-map; + reg = <0x8fe00000 0x20000>; + }; + + aop_cmd_db: memory@8fe20000 { + compatible = "qcom,cmd-db"; + reg = <0x8fe20000 0x20000>; + no-map; + }; + + smem_mem: memory@8fe40000 { + no-map; + reg = <0x8fe40000 0xc0000>; + }; + + tz_mem: memory@8ff00000 { + no-map; + reg = <0x8ff00000 0x100000>; + }; + + tz_apps_mem: memory@0x90000000 { + no-map; + reg = <0x90000000 0x500000>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; From patchwork Wed Jan 6 12:53:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357613 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.8 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 5BD8BC43331 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EA8D23132 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbhAFMzC (ORCPT ); Wed, 6 Jan 2021 07:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbhAFMzB (ORCPT ); Wed, 6 Jan 2021 07:55:01 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEAD3C06135C for ; Wed, 6 Jan 2021 04:53:51 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id 30so2170386pgr.6 for ; Wed, 06 Jan 2021 04:53:51 -0800 (PST) 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=M1QQZy4nTcMZS1H/pSqUElj03pASMBM/FVGxS1OW0tM=; b=VUT/BPY5z5FqK3BG7CFZ4T9G+vHVjC18NtWumnYMps5nmN73Am9+QSe5fxVGBpk0Ne uBykCEjmbtiqLQ9Cowme6LK0QkGbFAbROVU/yRgRgY39zv+Ayh5M6qI7rdhpxdBhdQrF 2b3lSXZh8iGvpSPpG7pGqkzeD31qNj/T6mqcwZX+eLF0VZSNVx+jZVXt+d4nm3atuiw1 UefhmcjG32RTfPnCcSYxJm/IiJ7ciHxzYT/bUzCUSOzeYdOWCaidslwP6xDaIAN5i9/2 IJ3D1dSB0xaBs54nTjd7wESoWdGnT2vhoAx2CRQbBymgMsn5EipFK0/LN6zh6sW0JA6o RCzA== 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=M1QQZy4nTcMZS1H/pSqUElj03pASMBM/FVGxS1OW0tM=; b=qy3wuSn87ylxeTCWo+jBFub0BFzSdjmosE6Gk2tHxmPWS3Ic7U7VE3HsUTVaswDTej LbN1TVoXDp1XsVGtMs0k/s9Iyj7wMjdSbWO0tJO1jcvZk2OakU7iYYmi+W7jD5+WzzSn CugFgkhJBOF4B4kyS+e/jEdk9TroXwany66K6S3XqeiqkKvcmPLrfRM6u5trJPWz3mnM 1ZCncGM8C3qu1UTRp4LCVCH4dnupuhT5zV71O42+/QSuwK7IdMf/e5DUHZr5A2rjYSL0 HzgUqZgKpuL7N+Hsgw1ErHz8oB9IpTGuU6gMGr9/5H8ipJKlaNcJeM0LIwSTfPsebvI2 7OYQ== X-Gm-Message-State: AOAM531+Kw0vtEaUrHZ0xpe6KpOc3F3GXjoa/DvUCkt6eTm1PIppbreT rAv21MtqJqSZi0VkhTWx3lxU X-Google-Smtp-Source: ABdhPJzVadhU9fuvWw/FXRD8koVE9iZfw42dms6L9j95M2lI8vyqCU8PECwigSbABL6F1VjoXc8e7w== X-Received: by 2002:a62:820d:0:b029:1ad:d810:6805 with SMTP id w13-20020a62820d0000b02901add8106805mr4008232pfd.63.1609937631165; Wed, 06 Jan 2021 04:53:51 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:50 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org, Vinod Koul Subject: [PATCH v3 03/18] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Date: Wed, 6 Jan 2021 18:23:07 +0530 Message-Id: <20210106125322.61840-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SDHCI controller on SDX55 is based on MSM SDHCI v5 IP. Hence, document the compatible with "qcom,sdhci-msm-v5" as the fallback. While at it, let's also sort the compatibles in ascending order. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt index 3b602fd6180b..9fa8a24fbc97 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -17,10 +17,11 @@ Required properties: "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4" "qcom,msm8992-sdhci", "qcom,sdhci-msm-v4" "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4" - "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5" - "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5" "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5" "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; + "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5" + "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; + "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5" NOTE that some old device tree files may be floating around that only have the string "qcom,sdhci-msm-v4" without the SoC compatible string but doing that should be considered a deprecated practice. From patchwork Wed Jan 6 12:53:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357560 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843447jai; Wed, 6 Jan 2021 04:55:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxl5MGumAwZ+RYxGVGNitzwh0guVHXygeTK3k13U655MGXJ1TB1JlLS5MKpIFTJFEOBQS0s X-Received: by 2002:a17:906:3ac8:: with SMTP id z8mr2729624ejd.273.1609937744696; Wed, 06 Jan 2021 04:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937744; cv=none; d=google.com; s=arc-20160816; b=DPfOqLLG0Yqv/OsAkBp011YPpscDnRsHlvfUmteTArPl31ISncN87Ve9jXU3andDtx MjB2BIhI6+snd20WHDVs5gUkzafqdcmAreGHmoEqcqWv+xlAWw9T1W+gJgWsVo2KJthO COKmYjz1MPj24/6EI4xncy+ZBdHFdO4witbbILkqKryAz2zqcp+6rRmVLKamSCcdB53d +XyykTeV7dRn7RwuSwWGD9doiod3bTUmeFYaaubc02ySAxe1h2xY3m+FVG3m4G3Ls7U9 +KuSRO2Pag3gidOUNJtVkZIvZyGigZe4qPN3/tebRiY+gVXitHD3GXnjV60sBil8I3ki rFcQ== 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=4f6Doc0dS1yZ2IXHgqMpKz/2VTxor/Phil/0B11oX0Y=; b=oVz2KzEHQGSlhNmlu4v4blfdm0rn7q7oB/8UJiaH4rODUWriSl8n/cFdtPzybW1jiH UIM0NH2JG21S7JocqwR1Jp0C2pWgWYncLZpqp6WlzV+ubMbEqr0EuJ2v8RNWdMSJW4A2 pc1fdyBKtVFVN/DM0/sqW79/Kerjum2AerDDRxCrL6gAXEjs7Nqz16yHiLmoPkGmQxqj l6MA5CzvTDbuRL3O5YYJnyS8kLlteqddftlOnaomEEak1unh/DQ9jsLDxkUbjz20bDKa l4vIkNfrocKR40BtR/nMrYk3GgoDfqxi2wDoO4WCW2JGFA+J/PlkS+caLCVMprx3LzWg p02Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IPnRw5+x; 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 u9si930006edv.418.2021.01.06.04.55.44; Wed, 06 Jan 2021 04:55:44 -0800 (PST) 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=IPnRw5+x; 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 S1726603AbhAFMzF (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbhAFMzE (ORCPT ); Wed, 6 Jan 2021 07:55:04 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F1F3C06135F for ; Wed, 6 Jan 2021 04:53:56 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id v1so1501329pjr.2 for ; Wed, 06 Jan 2021 04:53:56 -0800 (PST) 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=4f6Doc0dS1yZ2IXHgqMpKz/2VTxor/Phil/0B11oX0Y=; b=IPnRw5+xkAOsx/g01cDapsdINozu5g4jMhVdyzsKZct4elXMJIYLpIX4cjIJ4xws4v ho4dhjtKaFsbmjjmPShlAfPBIOcF3/5kC7BkuME62WXLd72wjl0B5cg2/UoFmw/vtGdz CLdRjiMoAuEUyWzNkejG1XO6uLUFLEPFxVP96zXaBrvmQrW01gAX8T6puoj+ItYDCPgv ddNRjCe5wjr92/I52OA2E9Km2NFqH35ua3RM40KZKIbqVIs/krpd1/NHrQXrC26pPzzM UQQSAqMZDrf+KOVZRtYnppJhTWBKS8e0uGiR7HotghvPb14Jo2CjFHzLbqZeu2qSzY6e UkUQ== 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=4f6Doc0dS1yZ2IXHgqMpKz/2VTxor/Phil/0B11oX0Y=; b=WDwL6AuXlqwbewckqaReL0FIZo4idCwt1RW/KvI89qrcF74TQ86V/62xNw2KZRMy+H P2+nwgaTRqh62OVgowVKAY/aCFLe262veBPTJoaLQNOk8sc01pcsqgYNP3Gb2PhbYp3f UnIU9UPkVVc7DKJiYLWvttwtyZrtA78HfAZdumRPsBBDFphhATQ4PuWbISJm0opfzFk+ x9ZKxGxrGLZUoZ8lGw/ozsfhVVVStlGmk6yqHDicUP5xlGECPqZ2lUDKTPFty6bSuHA+ yDhk1Pn8dNJtbjIwo9+hWYpmetr9puZtjKZ/i9N97NaQ+te62O0cABmUJZ5Bg9TU8irH VO/w== X-Gm-Message-State: AOAM531aPTK7x/1JrCqhMmpokSQO1S82aB/MEjIHOT3Un/JqGfEOGFoP ajD4jr4C1C813mdqjU9onBYIiaTAEa/X X-Received: by 2002:a17:90a:8c87:: with SMTP id b7mr4289488pjo.158.1609937635598; Wed, 06 Jan 2021 04:53:55 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:55 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 04/18] ARM: dts: qcom: sdx55: Add support for SDHCI controller Date: Wed, 6 Jan 2021 18:23:08 +0530 Message-Id: <20210106125322.61840-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree support for SDHCI controller found in Qualcomm SDX55 platform. The SDHCI controller is based on the MSM SDHCI v5 IP. Hence, the support is added by reusing the existing sdhci driver with "qcom,sdhci-msm-v5" as the fallback. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 194936064884..8b71f476e5b1 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,18 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + sdhc_1: sdhci@8804000 { + compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x08804000 0x1000>; + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>; + clock-names = "iface", "core"; + status = "disabled"; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Wed Jan 6 12:53:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357612 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.8 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 6D6F5C43332 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 521CD22DD3 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726699AbhAFMzP (ORCPT ); Wed, 6 Jan 2021 07:55:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbhAFMzF (ORCPT ); Wed, 6 Jan 2021 07:55:05 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8795EC061361 for ; Wed, 6 Jan 2021 04:54:00 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id t6so1517560plq.1 for ; Wed, 06 Jan 2021 04:54:00 -0800 (PST) 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=UMuTgmfW7boX1iQQTydlfmLnxOmK9dbluKSLAHWL4GA=; b=W30c9RmPScXo3q0goOcwJhd6NjCM6Q+lW11AkU8W8tUCT7CFl9KTIsrgJr6ChYnt1D ZtnUx8boLsW0bTpy0ftealN8CgS0g6M4cVEfbkPDav1Tomu6fwS1OD3YcjgwhtZ4NXH6 3jgS5Cq9NRET7DPlBZVRRgnJ20STsF2EvnR0xgvkje6Ra8xc6P1L0xoHN8xJGfVpCLRh spazQzx0UGbAqOaxpyn3Dnl3V0sbstzi00q7Y45YTPSLmuXIboVlDUsMBGryrgmm4qXl tv6tbSRofYqtLtb6KFP2Q6kr/M0WsqE0WxPlluw7zB3iP8O+SscIbVL0bRE3ZMyjDNZ8 a5Gw== 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=UMuTgmfW7boX1iQQTydlfmLnxOmK9dbluKSLAHWL4GA=; b=TiiB2BffPilpzdje8dPF8gZMCZKinW5JZ4EAkpKSCO6XcTHiSAfQPnabDcPRRl7lhE lA3nBF8Stc4Uwp7qhuVFYWJfzd3mctdI98COoGraO1aH5FSJ2fSmvAxIm5l/N8rKTAZz SO/RXeGpYrwicOPDBw9J5z6GxLJ8jm8h2ZliEqEZIDIv6NJ70WqSSw4/nsm8SuyF74lH 87DQhoUtUzPrlSed9IhtI27PzHXK6G3V4po7q4hE+WDHS/oq8V746nY7E0sOk8/thCVr vS075BvmkEo+buNhWwtOe+wDM9+N+iWxatHaPJnA4p1j8ITJ3cs4NcP9u9oYkmteH/2q c1MQ== X-Gm-Message-State: AOAM533B3iodasJI45Gt8lfEJga/Bu0wiSicGfnlIA2UDMHK9Ab9+Jim COnNkvG2+vVm5VjoYggtPpka X-Google-Smtp-Source: ABdhPJxA2CzevUlx4wNHH1PbrquYizwRNpaG8kaHQlPr2k23vk1HJB8rObcUHJgzAo+I6UsKmDVPMw== X-Received: by 2002:a17:90a:cb8b:: with SMTP id a11mr4149333pju.3.1609937640016; Wed, 06 Jan 2021 04:54:00 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:59 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org, Vinod Koul Subject: [PATCH v3 05/18] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Date: Wed, 6 Jan 2021 18:23:09 +0530 Message-Id: <20210106125322.61840-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-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 Qualcomm SDX55 SMMU. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 3b63f2ae24db..3a1cefce8bc4 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -35,6 +35,7 @@ properties: - enum: - qcom,sc7180-smmu-500 - qcom,sdm845-smmu-500 + - qcom,sdx55-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 - const: arm,mmu-500 From patchwork Wed Jan 6 12:53:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357558 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843435jai; Wed, 6 Jan 2021 04:55:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxAinmfU/1NYDiAgMZSPxpRA6sU9olKStPLVn0c4llrIiyAMEW05Ue1k0dqJtaqQUR1fgR X-Received: by 2002:a50:f089:: with SMTP id v9mr3983568edl.353.1609937743788; Wed, 06 Jan 2021 04:55:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937743; cv=none; d=google.com; s=arc-20160816; b=GjDSfd8V+UV4wuUB8gjf8yJ7aKrxavNk6/Me9XFmO6dWfD0sp50JsUWFEXySE3PIRm BSvdbtHXxLcDDqsBo8X5ho+5gsztiMd9mGCuBQhoYE+UWdtkEqUdYaALgI22ygxpkYL6 RXY500RBYf82grK9Or6ob0WSPlDbeRDD4eT5PWLlhZJ3UGTAgWZcGNuuvRwsIu2IROQC vizPAS8WWJh6UY3cYcDjuP8AxggqbNlcx4yaoprhTx0h5CagfNUrJfVZmOG5ldojBjTN doiM16LTMRpoOZ9mYW+Qv3SQNWE4+t08sSdS1xps7j432GhInVsJPpqcUZtcvUygCFs0 Sxxw== 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=dcjq6ySHauExsv9V4q5630OQKP0ygTy3/BVfo42I6Bs=; b=kShavaYQbpjFkzCgODHBoGkdJovG10WL3CcYGfhCg1lKDil5yvw9Nci0zdv7T6xVR/ nQTS8YKR4xEwh+C4B+R/1gjNjegdBVgFphZ8jINIEH2uIJeYzY+Tsiy6YLt9C40UQ/mh +2ffx2pTXriBpAla0DHAH+gzclXz2vgxz7re98Ozrgc8ehqEpZjCdOHeZmvM+iv5LMmD 5JvlSr2Qc9scnvUZSk+bnXcpAxVZfwEolFq4+ULhu7CDm/8FstK74qmay0dH4KFUoKyY rWTEPrGzAkdySWyv5/9eH/viWrsNeK+MjWGStyupPquhNMuB3t/UlmKzHyCFtOG6TBVO RXKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ovfmRKYo; 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 u9si930006edv.418.2021.01.06.04.55.43; Wed, 06 Jan 2021 04:55:43 -0800 (PST) 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=ovfmRKYo; 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 S1726700AbhAFMzJ (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbhAFMzI (ORCPT ); Wed, 6 Jan 2021 07:55:08 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44851C061363 for ; Wed, 6 Jan 2021 04:54:05 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id z21so2175675pgj.4 for ; Wed, 06 Jan 2021 04:54:05 -0800 (PST) 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=dcjq6ySHauExsv9V4q5630OQKP0ygTy3/BVfo42I6Bs=; b=ovfmRKYouCXn0IzBiLyVatNfL2wv89xZURd3oCdiX1D2wCa53ktoo9XsUvh2QHKjxH QYAOEXjt8B6YMnKg41frSkA3GjkO+Q88XK2fDTQbcZ812wmq+mdjhqmDUr2yC7Rbm1go RS/PtW/MOV79HjNEnm4rhNPGrL0Owg26kVXnCe/wYnLJJ+fvtsyi99KZq9hH+WWzl8xq en82RtJZcAyf8fQm+mUIH2SOmyX7WOQVZc47YlNudpH0UU7NzmT9JritaR20Sw2lUt0n OjEeRQHv/Ah8U6PVNBNBU/nnEoyT+e0HLbdi81M1e/PVNjsSq2LXnn0KKUbEaw+JPPTw M1Kw== 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=dcjq6ySHauExsv9V4q5630OQKP0ygTy3/BVfo42I6Bs=; b=dphDIUP4bgLCcaUCQuZxh/y9y9Xvbd/h6JTne2TKPncFDGn45FnfVLO2fUfTWJn5mm KyXPhF5OBdCZwOrAb3Of/Cy2XI5J9410eUn9AU8BawcM/F9mZLHZ2jxxdOX8Ag/7jWmu S6H6FpQclY8SnwYpyYqxpgJD+BF1zmWwfdaKscCrhxLpjgBU3eXIrMP/tCE1MmnVwgzC De5HBKJ0zIuscX/jTR17x3vqydhg9bzxGKm4Qv4jc5iNJxWJjmg90y/PwgwLimoRMq9J VNrdl3TkmOH9EmVdc1daQe0xQTXHHdjyIqwxee58U31RoqY4qppkNZLeYqOiMAxHWVlg pBdQ== X-Gm-Message-State: AOAM530pctGKZmTFPy4bkfnzVHSr7Bxr1+5YaP6HdSXmdzgZtza2+kjO PaloheQdXYDVrYJPS3dduMASbuYxRyZe X-Received: by 2002:a63:77c1:: with SMTP id s184mr4309628pgc.376.1609937644789; Wed, 06 Jan 2021 04:54:04 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:04 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 06/18] ARM: dts: qcom: sdx55: Enable ARM SMMU Date: Wed, 6 Jan 2021 18:23:10 +0530 Message-Id: <20210106125322.61840-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bjorn Andersson Add a node for the ARM SMMU found in the SDX55. Signed-off-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 8b71f476e5b1..d78e1123b422 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -170,6 +170,30 @@ tlmm: pinctrl@f100000 { #interrupt-cells = <2>; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sdx55-smmu-500", "arm,mmu-500"; + reg = <0x15000000 0x20000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller; From patchwork Wed Jan 6 12:53:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357561 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843473jai; Wed, 6 Jan 2021 04:55:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxf/mTh1RT9EJiZeUSQUhIKh+oHN4YpSxP5R52RdvjElgwbRoII7MpycEwp3Y5vFTD65GEN X-Received: by 2002:a17:906:1955:: with SMTP id b21mr2809003eje.236.1609937746112; Wed, 06 Jan 2021 04:55:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937746; cv=none; d=google.com; s=arc-20160816; b=vf72K5EHrDhC9ukyanO1yemhozj5XEA37eoqPzbnGGq3pubNFKJXhdX37RO2TxCAPa +atnBrxPZ6/jIpzIT7nPDbOpcp76w2URyT3SeETxb96nUL0UXd3ZRizNucP3wQUQa4Y4 76bZ8pyoyCRoJdUii3JfdgmV85ZBaTyl/xiTtY4NtLAktVtcohMzoqRPFcjsTL3NEBuw 0gCRpef2ljsgmgAFl1AiBmbfAvRhg5Bfm3aOED9Gk8LCYoq9+uvJzlrW4mxjUZR7Aeu4 hSln1gYFb7jD7LHTO1SvoXfI+efNZlzdR21Ux28ZRv+w6tqN/zQM0yppx1NXFe0U7RNP wqJw== 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=knoP4Y7GeyRz5anuMPnotwfe10J/VqLnOfm6LoV3mIA=; b=waU30wYOoywOoz9elMMgi1mmsA/y4S5GY1ApGoSq2hD5agmZH3i+T7zSU1i7fEtZy+ YZx8ZAPby7vSI5eCaQOaxyxUuCCkpJiSmKUT6Td2pIQ2Z/hb6ZE+CpQlrJoJAmlU72k/ ErDGuoSVrCqj+UUFLwRgOnef1hRF5drrGm8SBDfaGLsYHDLoejZIBGx5RMVOK6hFWp4i AWGXtUZ7XmbwNsJ019uu6rBpEjcdFryBCDsYqePge5Ve148PmcFBh/gelywMg0PzY1lD RoIs0+KSQhN1Wssuxv+9H2MG6cNTYXNJaE3FoSxANKSQQlu7QeL+iLahpO9YaNFphiz5 mOOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XwqpYsLL; 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 u9si930006edv.418.2021.01.06.04.55.45; Wed, 06 Jan 2021 04:55:46 -0800 (PST) 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=XwqpYsLL; 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 S1726712AbhAFMzR (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbhAFMzQ (ORCPT ); Wed, 6 Jan 2021 07:55:16 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A3A7C061366 for ; Wed, 6 Jan 2021 04:54:09 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id q7so263443pgm.5 for ; Wed, 06 Jan 2021 04:54:09 -0800 (PST) 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=knoP4Y7GeyRz5anuMPnotwfe10J/VqLnOfm6LoV3mIA=; b=XwqpYsLL4hAvWYZEpPuRRv6F9kUuVA6OfqqZpAzyzon5/2WGTOazrJU+mScptdbNTn PsxgJus9+iJT3+uLOwcI/BZvIonId7vRb2ZDLU1KVdFRelVLZeJa607SBH85TKcdfhqC U8qEe4mPiqK99NOq2cb6FnqUu99sDv596/ENKAcItc7s081/JgQWvshOuEqr4qPI5B2M 0YnuLO74PckbJJU+SGttv+Y3bygmBTOKWNNQYucVogan3buWZaAOTNE7XgI26Rmxhwdt VJdr5UNChe08l/3dKm3aVr+Cx0f4XQvtFBrX1zHhYjhbq756hoWgE0GOQVc+AlV2LqY4 cucw== 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=knoP4Y7GeyRz5anuMPnotwfe10J/VqLnOfm6LoV3mIA=; b=RfpnYJMnfGtiau9PZJtYp3VblF4Tx5ykifnJq2WPPDo2HOGgPvCZx2jM6jW9acBRK3 hU8YXj5LCx9MEuJ0VKC713+paHDrSRY8bfWiL5913HQalY1XAmYNdglJAc5TW5venkRd 5uJsbP2uinEXmsEJUm+MnGwz/AYPrKw6y8g6GYLseYQK14AcJPUAKwd00cnRBTIygHP0 XpPY9NoYLYI9XvMktZf1os72fFa2mZNSuqjlTDtqDzfLXhXcqsssLvqH0FjKi25pUqZK a4V0St1j4Q5iMOpfsnMCc+vsaz3OpjZEe8d0bfk8eS4PlNu51Lu0ES8fFmPHtawzr5SS FuyQ== X-Gm-Message-State: AOAM531OZFwfsG7XO3r9bbtV36S+qjBuyaZ0Drv4NQwbfpK3MZRT7Eyh TkGBunBiWo+ZMxrxWdg02Hxt X-Received: by 2002:a62:37c7:0:b029:1aa:22ea:537d with SMTP id e190-20020a6237c70000b02901aa22ea537dmr3702694pfa.56.1609937648898; Wed, 06 Jan 2021 04:54:08 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:08 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 07/18] ARM: dts: qcom: sdx55: Add support for TCSR Mutex Date: Wed, 6 Jan 2021 18:23:11 +0530 Message-Id: <20210106125322.61840-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add TCSR Mutex node to support Qualcomm Hardware Mutex block 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 d78e1123b422..b752b150a5e7 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,12 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + tcsr_mutex: hwlock@1f40000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01f40000 0x40000>; + #hwlock-cells = <1>; + }; + sdhc_1: sdhci@8804000 { compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; reg = <0x08804000 0x1000>; From patchwork Wed Jan 6 12:53:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357562 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843485jai; Wed, 6 Jan 2021 04:55:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZ3bDyXGlaLUhrSWpIwKwZn8GbWAdA7ChQp0e00/QhphcurZ14ChIOL/r4a0UxkkQjvmm9 X-Received: by 2002:a05:6402:1d24:: with SMTP id dh4mr3786528edb.161.1609937747144; Wed, 06 Jan 2021 04:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937747; cv=none; d=google.com; s=arc-20160816; b=ijmrpCt21jOhIqmWIqO+bFGLgV35apuJ2FMn50QJCZgMwSWfDWSYMGOYFj4xaEhUVc FNn8mUcXcPQjHiCfUyyHzMH/KwAr4yOD2lJwk/nVe5WpLrz9SlUGwBSva1UNTEhawSyL EEEWBN1RVAxz3PNAB8BABnNplIJe8Xm7+CSBazeT/s+rKArDLy+k5M1nXFJdWnwihkEy NlZJ0as1AL2QpY7dOKtefoHsmND7fgMOpvvvTTcsKuf0Gs98pnLwUQwDRW8OfvU3rXqA FNRpZJ+fnWOaq6NiRn+0Yf7RSROjDdj3U1jCIoYKEv1Rd1m8Mr9qBxbC2S8cJ2h3mtmq v1kw== 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=+1brOZ/QkKBkYoCUBItg4EDZ/jZVAfzXyKHdM8JfODc=; b=OFc1JZIRKCRIwFc5sSwMe0eRYMXohG9I/WhrYZKCGMYNQL7mW0ZVPygPTjkfTdSFf4 VLK8BNxta/+oS8/1Z3KFIZACt1yFCAz7krxpaMvpH3y2WsBsiDVhEhMmbBxcSebctSll vX0TWP2FUhOpJp7bueg/vsSEdItj5Bh30LNhqeAB5KJreFoVLiF1Mmj9RYyIKpWiWANO J76EiPhR5rvQmRALVJleVJT8ICbAfijGWdU5BkSMKIK2lwWC8tGO7DopVPrsagC5TG4R y86GCC+7XVdi/kIxIqeD6UggLx6pp8Z7ZJu2mdaeja8LUhSq1x9VCAb1KFyo5EEbbyZJ 5zZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rEkvBpqk; 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 u9si930006edv.418.2021.01.06.04.55.46; Wed, 06 Jan 2021 04:55:47 -0800 (PST) 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=rEkvBpqk; 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 S1726732AbhAFMzV (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbhAFMzR (ORCPT ); Wed, 6 Jan 2021 07:55:17 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F7D8C061368 for ; Wed, 6 Jan 2021 04:54:13 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id s21so1637846pfu.13 for ; Wed, 06 Jan 2021 04:54:13 -0800 (PST) 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=+1brOZ/QkKBkYoCUBItg4EDZ/jZVAfzXyKHdM8JfODc=; b=rEkvBpqkBqjG/BjYtvLcvuieckDMqtYZGNrSWTBTitknOeVkFyw0GkvB7wazdWnpta yTOgnDBMci0OibkE3eLYWEG59HBDCFScG17169gQuCUBVn6q+E2F/3s5lTkoyt8OcC/7 WAj/AB3HFIpU7aLI4kVyjcGvfUtZqGqQAroFzd0gddF3f/Yhg4NTD+k94UMJFY1G8Qb6 mUPy5JIvi4kEZUMevANo3LvOJ0hBLMJ+2XJTqf4AzbR6hGKYR2nxCg1RwJH75k1mPN5J jUfoAYQ6nbuOc778RXFzKIuYp0USE1wtcQF+krEiwvHuRTQ1L+QF4iPSh4hJ/H2c36G7 iQfA== 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=+1brOZ/QkKBkYoCUBItg4EDZ/jZVAfzXyKHdM8JfODc=; b=QgWUMjbKv3NRvxBHCPcqWGG/B7kheLy7I1d8wzRuvTYo42LBR+QXaIGWhC/cvdogbf JNwUyYBtqq3lsDMCmHBzvmhpXE3NX1algCmC5Q/pEofrvnLgqS1O8hwCmJseoqoKZz8N BTPCLyCmlSjQ+fhEe7k/xa2ytd6MuZUdXlrWnccvkfwwbuGL6vN5Bgh+PLqykWkarTd1 N0o3ETavYihXQVMjk05LgSqEjBhpsMCfS/nPIPTInWHNr0CMaYWA8IFrZhr16uoDXzME Kfo9NHAskNbuziPux3QebcOo9EYNmDt6w5f8PviOQalaSdpuYEmKzIYwxJM0XgUr1T2r EkwA== X-Gm-Message-State: AOAM530qRMjWq/7DZIwD6HarrwOcGRIQv23pm2uQwXslJlnsHWmRJHmw b58N5nX74hV+2fGolorl1dG5 X-Received: by 2002:a63:8f4c:: with SMTP id r12mr4337589pgn.311.1609937652549; Wed, 06 Jan 2021 04:54:12 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:11 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 08/18] ARM: dts: qcom: sdx55: Add Shared memory manager support Date: Wed, 6 Jan 2021 18:23:12 +0530 Message-Id: <20210106125322.61840-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add smem node to support shared memory manager on SDX55 platform. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- 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 b752b150a5e7..5c091787c458 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -157,6 +157,12 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + hwlocks = <&tcsr_mutex 3>; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Wed Jan 6 12:53:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357569 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844446jai; Wed, 6 Jan 2021 04:57:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxA/U6EVeX+FnGudPbjLduqoSdmfpIP2eltN+lLUMlobZ/ePgzoWoFPlD0V/RA0ZqjHD85Z X-Received: by 2002:a50:c209:: with SMTP id n9mr3861126edf.123.1609937842834; Wed, 06 Jan 2021 04:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937842; cv=none; d=google.com; s=arc-20160816; b=h/u+OxX5iK6ilmPTI9dYAaIGkR2rIVCxW4dtoylnCjd+tXKatPiN3N8HhxBgQJwQP4 kZzFLXDX8xmMral+as8Zag65YRr+InhkWcjHHwLCEogikBqrWkS2FsXReXLd44TPmUli AJwcIkr9ELgGzREz34JZ3HT+BhGE8s43JimYIHsKMCfbHFSyhCS43SRvf41CLt49Ky7F gQby4JzhBydq4cghyiePaXjR+l8rxcEOYwsolzG++N7qMJttQEGv+G43kSe1rUszza0o 4sgb91f3vkTsW/b9iDwyCU2i+kTbLMhQa6NBRIxz1cf5Vhm+fzn9c8UqtrR21yqTjayl dkJw== 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=UgCTOZP+iS7Zpfo/UYMAHF9VQ2ZJFjb723cKr3RX7Qg=; b=YOabL6+gSHbLdnfq9H65W1gHLnXoNJjfvsckMDF0uw/5YTKC3Rdeo1xgnqNbvW4fIO vnhnZF0NU/dbfn1YMrw0HL00vHWQ2n9v+JghczMa6OVvigIkBUEyh5O3sbi7ATtua1r6 E4968Ccn3o6PvhJZHyy7DNwE7dHVNIwpUNkTrmVnVqsrPCkGdF2iH30qWBu3d1nvLZqn UB7yCW/Yuj3qg37N07R2wysUot7exV8cUVsGF0Erm+0V5cab7URAkvNRM60FwxzBkJgj Uaj53c71JLTM6nDoyBd3mk2VddIQ4BMvkex9HQ4DBwDW4+vQM3bG6uTU5O5VX30dnCCV WBSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IK70e9NP; 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 g9si843394ejj.456.2021.01.06.04.57.22; Wed, 06 Jan 2021 04:57:22 -0800 (PST) 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=IK70e9NP; 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 S1725803AbhAFM4F (ORCPT + 15 others); Wed, 6 Jan 2021 07:56:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbhAFMzm (ORCPT ); Wed, 6 Jan 2021 07:55:42 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F0EDC06136B for ; Wed, 6 Jan 2021 04:54:17 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id c79so1670131pfc.2 for ; Wed, 06 Jan 2021 04:54:17 -0800 (PST) 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=UgCTOZP+iS7Zpfo/UYMAHF9VQ2ZJFjb723cKr3RX7Qg=; b=IK70e9NPRwV1gMZ/EU7occBXqZpRyUhyDuGkW9/mVy9xRT97IL8mcm5Mp//snREkHF +3GNX51QIwzU9hxWEBp2dMqsOyllsDYBeVfc5ik56T92OB+bcJ48Zz7T05lr9w+XBeHz 8QvxqIzH+u6V0BjDIktM8124iJR1J0+rMMlH8r+6eEpSyQ9OGBd1Jl7ZisQ1SXcJSJ1f 85ZCm5UbQ5jKs5B0oHTDfZsqyGSsZ950NEks/wRqWhlJvlx/N1QWtFOy17lVDYkenHPB k2V7wacuIaYX4XuDJgScPuMwi4DFvMJLR2aaTWsvxFJWk5kaLjA6H3DytD9mZCFGbA6t lySg== 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=UgCTOZP+iS7Zpfo/UYMAHF9VQ2ZJFjb723cKr3RX7Qg=; b=SIBXa79nnFb/3/7byYI6BrXG9ROXom3cxjPlkqjmeFaPX88aM/Uh9vskT1MPprRRjl ATkP0JcGaIOzZYdg6M1zP6v3+0bQr2ZmY4KhX9d5aMD+maCadIvBNQssoccDe9HMCN9b t+fXxJzQWlvrCIPsMpG124LGztQc/oHhuwPRtYFEd47JRP5v2agaWDXi9G9aJ6xngat1 5UZXe/kAhx4rLvmvvn0v40gDv95yJlJb5voIJGskJoC0hDcxTIdQROgl/NIhMJseFxAj QJFn8BmSlEwE3tmIXb0ND6sLFUOZDSqdteBG0eFZtbKs7gOLkLfois6bJsYTQKfc0fm2 Pl1g== X-Gm-Message-State: AOAM5331fzoyS0RD6L3LKM9PIwC6SgcHRiJ59T75SUQV0/RQANKmP+IL MsqsgBgIm40owHbo+NCXEkj8 X-Received: by 2002:a63:1865:: with SMTP id 37mr4435531pgy.206.1609937656963; Wed, 06 Jan 2021 04:54:16 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:16 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 09/18] ARM: dts: qcom: sdx55: Add QPIC BAM support Date: Wed, 6 Jan 2021 18:23:13 +0530 Message-Id: <20210106125322.61840-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add qpic_bam node to support QPIC BAM DMA controller on SDX55 platform. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 5c091787c458..fde3a9da68e7 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,18 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + qpic_bam: dma-controller@1b04000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x01b04000 0x1c000>; + interrupts = ; + clocks = <&rpmhcc RPMH_QPIC_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; From patchwork Wed Jan 6 12:53:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357564 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843498jai; Wed, 6 Jan 2021 04:55:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvM2SOU4TlgBQJmRZfHH7o6lbGp8C5AXnGkCaDfBGkt/Gamk3IpdgmHSgZiO2XOa5jhgdc X-Received: by 2002:aa7:c58a:: with SMTP id g10mr3795327edq.315.1609937748183; Wed, 06 Jan 2021 04:55:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937748; cv=none; d=google.com; s=arc-20160816; b=GEumKXpNHxHOasYodDEwK3ZDcvt/J6sqjC2UNFx520XWW6YBHVEu8dR1Gg4KtDy9WH OZ+JHMkofjYTgJLIR/r0LWIQSHr92L9j444ouDT+JqUx+0tMh3dkov5+0Fc37l27j+5h moPQvphnWxwpsozb6LsOk207EatV9w8GcnP+6jAjP0JQftTRxevjFIgYEHvnacHafSmq i/Ci0FDYa62urWIw3s+nOV86vqwF+zqeoDf50U4A7oAmZz+ObGNbkn1r2CODvGHj8YCM fpVTMYAhP30ZWvyg0/Bm80+rB2TxWIocVHaSRV86I8f5B+2XWX3ncKnZqXVK7K15YhRs X0aA== 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=82XTBN0WJT5Ms5npJDtW/1oxbbnnwYJ+KY+KF1anN/Q=; b=V2oLhghtQkeftTfpH0EmEYyNw9KH1wPD2PnBv3EYH189CxzmNl/ZhtcRC21/SKOI07 KkMKxjxoiLmIOjkbCKRgqEnOXlgPkx/FTfSBl3tW+9i/j82rL3cxwXJ2hjp2jLKxqLBZ s+NXEtTP1kRlBQ5svrQRxpNAWAiyM6MbwdRjudQN/AkoH5l5hl6kWbPlQNNAr9IeQeKp 6MeAoIo1YNzZVNcDLGpSxCu+2zMO1RPUIPeby/PPVBUSPp4wcrCFQAWKzNAcoaerqYhA i0HDV3K/EXDsJZNDK3/ypw20ko266Va0W4lPU5KmVLl9hczraNrsxFvg0EE3AB82wjAE n4Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gh0WboCN; 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 u9si930006edv.418.2021.01.06.04.55.48; Wed, 06 Jan 2021 04:55:48 -0800 (PST) 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=gh0WboCN; 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 S1726725AbhAFMz0 (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726724AbhAFMzU (ORCPT ); Wed, 6 Jan 2021 07:55:20 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0890C06136C for ; Wed, 6 Jan 2021 04:54:20 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id iq13so1503126pjb.3 for ; Wed, 06 Jan 2021 04:54:20 -0800 (PST) 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=82XTBN0WJT5Ms5npJDtW/1oxbbnnwYJ+KY+KF1anN/Q=; b=gh0WboCNGEIVTNphlkjYhDOkfdHpmGI4r7OcV46WrbRzUHupq3Z+libFifMKtmUB1U vRMWrUzNIl6VVh4kkjHenBHjrXVP4d9klLpAJc+JYbo/0ih/u9Az1CJC/1Ldn8xNpSAe /fDZEgXIxjSM6cg4yORC8Fc+kQK9dvzWFfEe9rUSlPnYNdkDkB0OsEsJKmC3nbBgqzzu XBBijhEuTXl81hAEC/UYsrBfZRQfNON6WVhUmE1pi1XnPRMkNajvzefpeEVuB4JHoLey BlNqWaIPfKUD8rhGWT5dWCScaKHWLhedoBKuaYG3heCyHga+Di+X5wNalmlV2a0CnehH MNsg== 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=82XTBN0WJT5Ms5npJDtW/1oxbbnnwYJ+KY+KF1anN/Q=; b=qy3fjvytm9hwIX+7Xw+hN+OKrMIWYRqdqZWvaSNd06hKwO+liELwHuqEB3sWgj+7Ea J3mVd6Dr0V4wPX7w562j9DX+Bt59jQ6z+YfFd0KtKHx88Cp4lW524Xm5YHyALUfZt3Gl WEcYiyk2gVXERW+1el2ivuy53jWk4kwFtt4nVSHg1UXhtY+2aQ5F9iLJwvSN5YopVY5j RZGI9XII7lpLkzC5iqgCoJlu6Hm8c/nGPYGTmjk5DnrXfMKOyKVGhM0NsuOxzIvTBAUA VQ00D/gpfomwe0nn+9SNKmIh77YUa5+4wtiOFpUVDLlRr5YFdoCQ8l/5H5BSDdeIwtaq z8Gg== X-Gm-Message-State: AOAM531ceOy5y5D/o+eipUgrlx+tMNnTB7bsyRy3aGks6l5Gc8yXZk8a aTMfFvK//QSGfhCt1fwpZTWl X-Received: by 2002:a17:90a:300c:: with SMTP id g12mr4244899pjb.4.1609937660489; Wed, 06 Jan 2021 04:54:20 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:20 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 10/18] ARM: dts: qcom: sdx55: Add QPIC NAND support Date: Wed, 6 Jan 2021 18:23:14 +0530 Message-Id: <20210106125322.61840-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add qpic_nand node to support QPIC NAND controller on SDX55 platform. Since there is no "aon" clock in SDX55, a dummy clock is provided. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index fde3a9da68e7..ebcde361c3f3 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -41,6 +41,12 @@ pll_test_clk: pll-test-clk { #clock-cells = <0>; clock-frequency = <400000000>; }; + + nand_clk_dummy: nand-clk-dummy { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32000>; + }; }; cpus { @@ -151,6 +157,22 @@ qpic_bam: dma-controller@1b04000 { status = "disabled"; }; + qpic_nand: nand@1b30000 { + compatible = "qcom,sdx55-nand"; + reg = <0x01b30000 0x10000>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&rpmhcc RPMH_QPIC_CLK>, + <&nand_clk_dummy>; + clock-names = "core", "aon"; + + dmas = <&qpic_bam 0>, + <&qpic_bam 1>, + <&qpic_bam 2>; + dma-names = "tx", "rx", "cmd"; + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; From patchwork Wed Jan 6 12:53:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357568 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844442jai; Wed, 6 Jan 2021 04:57:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfglV1338bk8nC8JAUJ4SJX4CKCb1gW46gJwG7RJL/Jgul6jhzLdJico6ECdtm/p4judQt X-Received: by 2002:a17:906:c10e:: with SMTP id do14mr1354565ejc.166.1609937842316; Wed, 06 Jan 2021 04:57:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937842; cv=none; d=google.com; s=arc-20160816; b=suUfa1EgX4WBWGjXdKAZj0vTr55GnAu6E/cvzIj9UIS4TKafl7B8xSOXqseLapQirz 05inUxjMmWr0L0VCzplnzMHi+8cR6tI/O5BjfO9wUelSFDlIK9y7wNaG6W/DPkC/rp+4 3iNDrf/rrKBoO1yOjr3C5wm58Im87huQSERVz4qqHN72cDgPQY6To6GgBBxfp823ACmv wj5zVHahr+A5vqcLzwj4SGeGbe95ujob3x3lRaKIS3WmWS+vpSeVvMMldC4swXIz43A1 gNCdTtmo5lDhcB1/zIgnf7KbmzDUQAGQLARmZP1hBaPxUIanLUXAI6w/H4ITBiKVAJ53 V6EA== 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=uWoafl4HdJvgeAc17msN+I0L90Xer2yDqSKIV45NtHg=; b=We3sygqZkd6Z20qtQaeYlsopzXbcSr+tWsEeEraV99HkHPtIUp0AqB2F0SniUfzMvo bcWvn2m9IVnEsCU7zm1ghzMNSU+Nau8m/iSEcNtDRcTOcj6I5BsFM5eYc9PWIQqyGjY7 kFzX9L9XPQpxcpbr6eRJdAqqgWkQs6Wy3rniYd8DvQAPQnjvsZWOId8vehiTmR6t3CUV WGwtnIADg901P2CQY5Z7GEtDjTni3Er+IKd2SP+Orl/sFnLXXftHoh+/gr8VWF00/mJx IjDNomAjhBdNJyX8+PuW12RlFLDx2RsB4iQaAaAg9FU1xZy3iYWU6mx0sPvpoT0gc8N/ U2bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z17fO8pr; 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 g9si843394ejj.456.2021.01.06.04.57.22; Wed, 06 Jan 2021 04:57:22 -0800 (PST) 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=Z17fO8pr; 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 S1727050AbhAFMzy (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726983AbhAFMzp (ORCPT ); Wed, 6 Jan 2021 07:55:45 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6303FC06134D for ; Wed, 6 Jan 2021 04:54:25 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id 30so2171285pgr.6 for ; Wed, 06 Jan 2021 04:54:25 -0800 (PST) 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=uWoafl4HdJvgeAc17msN+I0L90Xer2yDqSKIV45NtHg=; b=Z17fO8prgjapWFSaKIRxajso0hVyJgcuT6Y/B/6yh5xOT2APGAnZR6SAu1F5JmTi06 MVAMPsu80dfPOCDXuZLkaG/K0fLMepzm6pzdsKTRVsg6n7PVWCjgCeeVlFlOemK/gy9W G4QwNzdzXO29Lz9PJgJlHeTMeBBfx7KEQCD56WXv7ZlW1H1p7rL+ZkXHsHTMW6rEaLPa f6daaNFmsEH4ILxfA9OPEJl62p/99bVvP5oh7JJGhOQ9kLhzsfHBYwvuQEEDYbn3zra8 ql8xQ7mwlbPvZVtOw8Q/RfxrX+3xmKU4BCMcywAIV2k15jdDrAWoO/6Hdt13S1zqobtW AqCQ== 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=uWoafl4HdJvgeAc17msN+I0L90Xer2yDqSKIV45NtHg=; b=EcW62fj2eeLxr0Bspm0Z/HBR8GA5JSwGnTbDudwCPtGwByrM3VdS/X98RmA0+SlU61 oYSpzus1XCCzFbikAAp+uAKpmOr9zNHgjo49PcvK2aIjbFg87EsQqpn//asFCQwz8Imy 6tEAIw2iD8ARPf9L22Yp6xzrAGoq2DVJTaebCRS7bmLHwalQhaKz2qteLBDum5WvgO1i ZBc7gd6ezv1Hj5XmC4fWoTwqJLrlpoLBwVfbfzB00/E2JObRTy+Z9vNX25p8eXFUci6K 4xxgDR8FmOpPLbEeGp/wDH3Zqa/+ch3l8IVmk/5CxQsetz17TD8D8fesQzNxJrw/596u 9F1Q== X-Gm-Message-State: AOAM5313VVBYoRyytYrdOARVliee/ccf+yHTsA9pR4Uj3H8lO6+mjGEA /8tvOQGUUvIiqGBFnYf4T4Z+ X-Received: by 2002:aa7:8eda:0:b029:19e:c8c3:ed74 with SMTP id b26-20020aa78eda0000b029019ec8c3ed74mr3681445pfr.66.1609937664936; Wed, 06 Jan 2021 04:54:24 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:24 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 11/18] ARM: dts: qcom: sdx55-mtp: Enable BAM DMA Date: Wed, 6 Jan 2021 18:23:15 +0530 Message-Id: <20210106125322.61840-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable BAM DMA on SDX55-MTP board. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index a5d2e4a3a796..177886e168aa 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -46,3 +46,7 @@ mpss_adsp_mem: memory@90c00000 { &blsp1_uart3 { status = "ok"; }; + +&qpic_bam { + status = "ok"; +}; From patchwork Wed Jan 6 12:53:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357571 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844480jai; Wed, 6 Jan 2021 04:57:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJys/cOWqzPlDGrTL2QlJypTOXzvwoKG0Q+vl+YjsVc1DJMf0qrWS+bQ9wfYh4cqYXn0QCaK X-Received: by 2002:a17:906:cce9:: with SMTP id ot41mr2868155ejb.46.1609937846301; Wed, 06 Jan 2021 04:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937846; cv=none; d=google.com; s=arc-20160816; b=BPV1l3yvWAptREEsjbO20Ualb8cLc2cCK1xvHZwyoHuW8RLS9mFlWsvXCZOPxY07Fz mMuSEHxRpi5D2P2+N1b+K1JJSOeldvvExdJB36U92xjAHHN11hZaqhRz+6Ntmw7bvIpg TZUVE8jcEXEJlQHYUJInvTXi0VyDykKM9C7gAh0r+RtA8ObeslaU/t9Bs5voguxWplmC 9BxPd/6LWHhtcBAsyoFNOZ16qeS65U9QdyqVz/63aNYFBCAJK0KV6LyoQ3SZXh4cMLUs c1078H2r0tWtYQF6kHwrWi9Iktl78QJyREkt8zAEZw7w8AYODVMBCN+rrlVnktacJHPZ hCpg== 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=Z2go+ls/qPoPwnzq44cqWZBr5hhnTFbprnBw3lgRSl8=; b=0bRwDQ9OZyUpy5AT7vJ17ezvS0vnod5SuMUW4Kj+2jLZjphuzkdk5mMt0meqkJDJEm GPXFFQyKyT9TbB9FXFxhNbfXcvEcZq5YX8u8kXsFBvj4q7j+OlpfPYc/mwZIo8YCv1jV iSBbjwSc8pTCPBOC4SmGRdVhFxMmUezpCUXtpLuydNaGdDGml6nm+L1RtFE12s05wCb5 3RhPRQ8xuBrTMAY7OAHJRlPtXV9nY7xEh4dmqd7DR5c4laEqtUwqjZ7bj/aiA99xUmoN 8GANe5otHFQC9TgAq/AdrPmwSGGk6RR4nLTJQlqUUraG4ZKfsysTVwb2fxxEh0evbCce sTrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vF3OlZRz; 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 g9si843394ejj.456.2021.01.06.04.57.26; Wed, 06 Jan 2021 04:57:26 -0800 (PST) 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=vF3OlZRz; 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 S1726777AbhAFMzZ (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbhAFMzU (ORCPT ); Wed, 6 Jan 2021 07:55:20 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FCE3C061357 for ; Wed, 6 Jan 2021 04:54:29 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id g15so2164893pgu.9 for ; Wed, 06 Jan 2021 04:54:29 -0800 (PST) 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=Z2go+ls/qPoPwnzq44cqWZBr5hhnTFbprnBw3lgRSl8=; b=vF3OlZRzA4kGsPen1lQL9psMPxJg/oKs6EmpqMmye8NvtlALKGIZGitD3+ZCouhPfA 3AXoznmcevlGmCxtm0NZWMRG6SO+GQmG4cr6kSTye6Pn4AgA1oue8cysmsE56zSEkz00 +1Xf4hkfPL/EDMEQeDpNOefGxRPdc6vVEXQOqq9uVwyX+PgcXfhJwzDQJ7Ud9plqGIre k461m3NDoS0cIUfjUxxl06iL1up/ThyZ0pqKukMbKdGgIDVW4BhAPr5hmV7RYnfQy7/T gWfa58l6bqlGjIXr5fpzdWE0nz0Z2z/j3d1J7Y24tfrese5RBf0K0cQGh/cVZ6LZieQn IpAQ== 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=Z2go+ls/qPoPwnzq44cqWZBr5hhnTFbprnBw3lgRSl8=; b=RSb/mps+1nVYs49aBVeuRDkAaFbWGT1zJDMx6DFoTprpAJScNVGNLP7xl7bZ0ZhPLa Uz8LqFBjVh8xnpBkThHyny0hDbhzD8apc0Xh0XXmcgf2WQxBzJ+fMvyFL860PHGwdYKF lBS9qRkcm5Oso3Stg7yfn/n+MX3ana7cJIZkZVgm85GicjJrYYHmjmkWqFokftGy1QrY e1c8/4sEFmarQ3uL79/YewCOmUo30FOcP3JRfUTaiA9NohAtpQv6ZcGVXO+VROWtpa8y nasvQByAb8d0NUivGysxagqcXfLJLYRLOWq+/TPD2X22NKVhxfmXai2x5E4ay2dYxVvW Idmw== X-Gm-Message-State: AOAM532xvCTToBVOkwGw3t8zt7L/upJDCZsyGkLgOlsxVpEXHYkuQwyM WQ8TaugPiKCL927gFNZiTQzI X-Received: by 2002:a63:1b1e:: with SMTP id b30mr4403419pgb.421.1609937668761; Wed, 06 Jan 2021 04:54:28 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:28 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 12/18] ARM: dts: qcom: sdx55-mtp: Enable QPIC NAND Date: Wed, 6 Jan 2021 18:23:16 +0530 Message-Id: <20210106125322.61840-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable QPIC NAND on SDX55-MTP board. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 177886e168aa..83b9d784423e 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -50,3 +50,15 @@ &blsp1_uart3 { &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>; + }; +}; From patchwork Wed Jan 6 12:53:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357563 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843493jai; Wed, 6 Jan 2021 04:55:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxwFRCm1oqGCd/TLtIhyng/NQB4Ju4uQzj4i94mPHL3GILcrrPe/42OXOAUEJ6PFHoJg47w X-Received: by 2002:a17:906:5e0d:: with SMTP id n13mr2738289eju.500.1609937747554; Wed, 06 Jan 2021 04:55:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937747; cv=none; d=google.com; s=arc-20160816; b=o1pXXNy3D5lwbZreVZYHPF23fh9M3nNoIpRvi6E6LXe9VF3NCXaGYKx1osTEElD9yk BmIAB1nudiFSYXpaGEf4C7yid9/h6OKN6Ms8JZMic6ijrsvbid71U2CEbHodG1SzGfev HrklEEm3cGdCRVGo+9KEgoLSJ5MVUAhKRx/pTAlmFTRJDcgRZnfsSj7SOKeFn4S70FoO UjFZcH14bkDPrBDJ/9iokQ40G/j8i5CoL9IzJkTYyx/bIxlX/HjRYuxO+zIMLhJ9KRzq lPmFjEXeffOQLJag823y8rFVT70s8ZJP5Ii5G7esiSCdaKmVQ8lj/Lrq9mdXF8OTTiqY H9ZA== 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=iAiTykEwTqgC2GDGerrDJpot3g4zCIaX5OcjpwX6Dk0=; b=u6jZEgf3huDCqmNaxUnwSmmbbAYEs/d5iYg2Xsq8NxkYampnz39Dwef7IMxETbT24M YLXrmrxRfseuu/+PXnue369wTirP1RDWn+cba9gN/pvD0bdutFk4SUGGTKgDs/bENDJE l2/LZaZz16KueGfR4GZulE9a98EzrPcWbjC2yBK99dbSTT5dgXQHGOKR4MrS14Wx6bfE JSdjhikdIPQoPidzDH+YDWHRWGpExv9ZfAjKq0I6msjv02zdhgRuMbofst+DAN7BMuau soIoMtw1UKO+bp3BH3xXAnM7m7sk3te0598yXr6eLJRuIcQ8+gR8XtXz0fbElwPLGR1g YX+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QLv3Npaz; 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 u9si930006edv.418.2021.01.06.04.55.47; Wed, 06 Jan 2021 04:55:47 -0800 (PST) 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=QLv3Npaz; 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 S1726770AbhAFMzZ (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726730AbhAFMzV (ORCPT ); Wed, 6 Jan 2021 07:55:21 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE1CBC061359 for ; Wed, 6 Jan 2021 04:54:32 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id z21so2176489pgj.4 for ; Wed, 06 Jan 2021 04:54:32 -0800 (PST) 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=iAiTykEwTqgC2GDGerrDJpot3g4zCIaX5OcjpwX6Dk0=; b=QLv3NpazDn24d3cKfv+3UBm4MtaJUc5xu3r6G0IxetDZ7n1KtPKfl9ZQpvSwv5pNWi p04EpTxqf0ZABi7tgOgYKbLICNNvZ189g0KS6kZJInZQu42J5jaZDzxfWG+IzinRotDa 0FN+xulq9ZIWQ4uJ7sGPYtZv+kp56hdyd7f7nPRGb84JIFM+5PVA5iGRucGXDZNVXaFF jd3CfvYN+u5sado0aBj6ZlJgfuy6SEy/F8OvJ8SixR9KuCaGe/rI8B6h97LlWVJx7hDd c80CYFQwLKbkQrnA/awV+C00QHDGRYcNJE5tsOxCR6VsWsqjoq1kvcntH440s87UCdx/ DE/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=iAiTykEwTqgC2GDGerrDJpot3g4zCIaX5OcjpwX6Dk0=; b=b6XbmyYgbSA76c0Bf/7KruexcceGuPciW1a24phB9/q2tUeD5zT5JiEQQceb0MvfJr IzMR1xBH81ku8vF3FEMyTOBGqBIS90oPiKastOFWWpNFNG2TJGepzX3R/bCsi+rZyo/m O0JHL+UBx777AhxIHNdJVql4VnTupsDieMj9Xas+blrRcIAlv1h5a/zRUlFlkcS2bO8E fuUV8y/bHoJMXBbDilWI54brcYB2NPrwQ8ytfmIPAEDR5qctb7dMm/J3d3SH0QNZ3SRn lg1HJxZD7MMb0E73xTW8B4MO/E45N6mUVnMvW7sbLQ+OQD1KUAOxJZ1i31QIe+7FnIm4 UIBg== X-Gm-Message-State: AOAM533gvtM4L26/a9dEZ0ZVf08FQGORinjgvY0PCG/AwTi4GAH/CcPO e6QWdfyaMQ9D8UBR5j0ECwkg X-Received: by 2002:a62:ca:0:b029:19e:67a9:f0f2 with SMTP id 193-20020a6200ca0000b029019e67a9f0f2mr3733198pfa.60.1609937672439; Wed, 06 Jan 2021 04:54:32 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:31 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 13/18] ARM: dts: qcom: sdx55: Add spmi node Date: Wed, 6 Jan 2021 18:23:17 +0530 Message-Id: <20210106125322.61840-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds SPMI node to SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index ebcde361c3f3..9911e672b4d2 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -206,6 +206,25 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + spmi_bus: qcom,spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0c440000 0x0000d00>, + <0x0c600000 0x2000000>, + <0x0e600000 0x0100000>, + <0x0e700000 0x00a0000>, + <0x0c40a000 0x0000700>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + cell-index = <0>; + }; + tlmm: pinctrl@f100000 { compatible = "qcom,sdx55-pinctrl"; reg = <0xf100000 0x300000>; From patchwork Wed Jan 6 12:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357572 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844483jai; Wed, 6 Jan 2021 04:57:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzhkqdeBTPre7ZTJ/Hz+gm4SnBbexVccI2s/lajASkuvJcBkLIEnDyNV1Th9Ghs/TwRvWcP X-Received: by 2002:a05:6402:487:: with SMTP id k7mr3945571edv.130.1609937846813; Wed, 06 Jan 2021 04:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937846; cv=none; d=google.com; s=arc-20160816; b=oogkmCj3hZ+5Xy0rG812x+00LF16wcJkcyynB+tvJt/+SJNRZE6LYG7MFctqoCbjcf LQYkIbgOXw6F8Nhd/XE2ShI9cUq2AexqQtRDxeiqaNu+j5Qg+T9jJ5K2jQ5Z1Cyd9mp2 6B5r9n7+gxZY/xVMkXx4umYOvEG1WBHnS7l2PmhG+v149LJNgLEknsED1vXUBdH6EOIh 8LjZYOBn8FrSfIOB6UI/dLdwUnau2dSA8Exn+WWdYd9aEOPaLc8P4zZyHPtkxbJiUGVg wTGs518ypUh783sOD+MNylSPytvdsuRXgONbA7yJqgWkbrSSvNSqD8yJvMhlTN8NY0HV XWMQ== 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=72PT8I5FQuukLAeJvrHHub31x7cqLErd0FAtFysugUs=; b=UDFCbprX6yagkkyxAoA06uqRZdwLcWOHF+V0E8QHJh9ZfmX8+jnpf+l1bFZ/TJo/qa QCFFS+IgUDXva3jdOUm1ej2sOs04Zrq4O47Lsu9+89v7qIkVQB47gcOZf2/cfaTKcMZI 6PjgNBiK1uYjorIDmHoRfYp80/MDeFf96OHSTjp4wwQGstJHh6fuJ+kVEHD9HPYKe/3F 2j76tQn1xZOS5UF3br+ETHkCR1UE080IWaWU5LyDQ7FAJcPOEboM74LDr5Gy535hHP3h q61UxXZlCaV5loIyrMr5ZcFMk/oVWSbkhE/ElSDv9Iv40w4El9FWlJwqBs2N4wKJVv7m peWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=chBrUx+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 g9si843394ejj.456.2021.01.06.04.57.26; Wed, 06 Jan 2021 04:57:26 -0800 (PST) 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=chBrUx+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 S1727157AbhAFM4h (ORCPT + 15 others); Wed, 6 Jan 2021 07:56:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbhAFMzX (ORCPT ); Wed, 6 Jan 2021 07:55:23 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEE43C06136F for ; Wed, 6 Jan 2021 04:54:36 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id n10so2148825pgl.10 for ; Wed, 06 Jan 2021 04:54:36 -0800 (PST) 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=72PT8I5FQuukLAeJvrHHub31x7cqLErd0FAtFysugUs=; b=chBrUx+BZS+xmQVt8U/+A3N12/Rc8KDXilyAdn6PmAvV0ExFAo8AeOsMkhniMAvQ+R BQJc83tf2iXulGONGJcNRoegpuM2JUyVpjJsAtffYoS5zKFextiZAAw9kPmpStQCpD0o 8IIDaEO2Fmi1FGPe33B/3u4CWuF3gp3DjGAQiTUmwBu8U/+bv4uSP6IiPVC6Da6qA91X VjsFMlCtZYtZ0eorNGpySpcz9ZMn23P3hqEH4N44GbzB3P1Tj+PB/pDbKa7g99pmgGLZ P5uTI1AkAXs8KcvhxEIXx7eO6/qrk8CIerW+oDqLiyge35BAFILg3a7GREWDCpIwGGDq Jo/A== 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=72PT8I5FQuukLAeJvrHHub31x7cqLErd0FAtFysugUs=; b=R/qZr0AM5OgFrrValyUzCbQ9i2jCYe8AzY7MIYirKLOCnEWBIxuTUdvruaKzvrDzV1 sYOWZ1iCvBGHpE2E8gJTAWiz0U4DpwnNsSgMR0kEgElA6Pl0LDRM0OBRk8V/QTItNNQh mlLCqIf33Dv5p7by76qZHFtL+0u+K1Rv08PNZmfcId/Iis5OHo3AtxC4R3K634L/XbQR OSsM++t8ixDlHPUOmApwj8e7ZYOKwQJcmuNW1BbZ6HJGwK8FBESHZPhOtIbNeChiwhwb wW9GfZrjrkamaB1XnOrv5BdGEOQsXWSet2n8zb7dSDxIXeUChzN3uuB/wLBdT9WRr84T 7iug== X-Gm-Message-State: AOAM532Xcm28t1jJxyeV6phA/vYZJDvc52tSbd3i00upFIOyIQIn1HvG KjqY+J+NkdzSKKmXMrSfpXt5 X-Received: by 2002:a63:6344:: with SMTP id x65mr4376355pgb.172.1609937676394; Wed, 06 Jan 2021 04:54:36 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:35 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 14/18] ARM: dts: qcom: sdx55-mtp: Add pm8150b pmic Date: Wed, 6 Jan 2021 18:23:18 +0530 Message-Id: <20210106125322.61840-15-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul SDX55-mtp features PM8150B pmic, so include the dts as well Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 83b9d784423e..6ec0c3f1f275 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "qcom-sdx55.dtsi" +#include / { model = "Qualcomm Technologies, Inc. SDX55 MTP"; From patchwork Wed Jan 6 12:53:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357567 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844429jai; Wed, 6 Jan 2021 04:57:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwanob4dy0DSHvE/n0Lf1qfv/FpAZTH5ub6yc6nlFfeTHqeNxGn8lFzUqhGkIMWUfz2Esip X-Received: by 2002:a17:907:9d0:: with SMTP id bx16mr2925168ejc.426.1609937840670; Wed, 06 Jan 2021 04:57:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937840; cv=none; d=google.com; s=arc-20160816; b=vBJ7LvGHT4mPU8lJ3EwSWg2C06IsRvfZvu7KUiNS81o8fCuJV9ZACQHvwf1U+MLXUe 28IdWhiA5QcVOqTkh795WFpEQ9HBYDnRrQPlp1tRmqmKvQqqG8s0CM1+2eQFlI+YXeJn OKvXronuDaEDxn7Q1NsG/U7utQaJROAzMFjW/UlsdXVSYb5SygFPR7CXREfedsr4DIC0 1kPXY9pzsBWkCnbasTXlNMzOYOBcgmYGUIney9l3M//lr1RPoj1MTUD5nkcKDTgOmFjU 0Zp+j1CuzKiaTXzz37bjKbrEph9kCoEVRRYxqjawCwUhFveO7ceweq5lhQn9xsybBIUz nptA== 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=ss2w8RtuPlA2YyEul7yH/oRV2xkdzOLZR02ZknSfhJE=; b=Ial8RZvoaVOx/GN13mO6eb3wieNk3z64uQuIWTNCMbt1yh3sG1y3sTZAnP5wbBmr7h jjU8MB6VeAIsRKACEdc0oj7xmuwn8qeoBM73jn+pPxgSRauAhgi6qfryEjom9vntyfDx OnfC0SLywH0hh0CXZm3at73mFoAwKf/jJgDlPRTeDFA6UapB+a4KoVxxsZInGActpJIE rSEPGfFPPA87x9JMFk1MBGq/EixisYiVbHP2/Q3itOPrpb+uJaRFWmnKzGU2Za9LfYMt DI1iGFXF7GVL93zNtnrTr5yE1xaqkdEhB5ruwEl9vsD4mkYDlBX1xQSrLBg0WKlwpX3M osfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ThcBf1pt; 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 g9si843394ejj.456.2021.01.06.04.57.20; Wed, 06 Jan 2021 04:57:20 -0800 (PST) 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=ThcBf1pt; 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 S1726989AbhAFMzw (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbhAFMzt (ORCPT ); Wed, 6 Jan 2021 07:55:49 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43441C061372 for ; Wed, 6 Jan 2021 04:54:41 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id g3so1516228plp.2 for ; Wed, 06 Jan 2021 04:54:41 -0800 (PST) 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=ss2w8RtuPlA2YyEul7yH/oRV2xkdzOLZR02ZknSfhJE=; b=ThcBf1ptqd2E+91w+xNrcZvckTLtcC2af676Ai+7YFSMB+wXqtoFZfJgWZPpBYa5cS F8wXfmq0d1uFBX1mH3ub/bJGCrDJuVi5gLono24yKxVbIN0X5PjUaLKpwGU4mbxI0BPJ RzE7gRm1bjQxVLDbMw8/j7rDJYo8o+e/Xmyy1w8QwAg733KL2QOruVT5FaUzgJKGoWQ0 ZXPO2jkP/NBBDajfZnBVsF/pJIBEHR4HF+K/AAc+WwVwUIYi82Qfk+47MPvc9IxyCBkZ bBWHTHMbyZBA3QkMkXESrZbc533tqwMh5l/6rq0RbAruMcfb1p6TJ5SweGa0ZW9/MWz9 yV6w== 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=ss2w8RtuPlA2YyEul7yH/oRV2xkdzOLZR02ZknSfhJE=; b=b5Iqsp+N5Gz+r5F7zhg9YRFNxHWmJCNlZDv4feniAsUZRMZdfOBoSp45PqEVwXE0cZ dtJgWwLtKUDLb5OjiYDWVCuk5Y876wv+kBop9oLkkMsWBafUEzn2gu0ABAsd6mSKComf ivkE7GH8VsK2AyAUSu6/l0IEhVjexGFYHDv68wJ1gE3ot+2Cf0oFWT2BpzKJ0fjvHB8C IrzPdrntZYf/+6iX8zPv09N8S/BvYlYei+l+zpl3js3exuiwjCgWnbRLk2oGsAF1SiL4 pFUz6aR853hujuO4dG/R2N1hjPoFuGs+UxfjDnHK5d/rpxsX4cs2cDLht2W7Iy9NN5oo r0mw== X-Gm-Message-State: AOAM530VW+zwNHi9RacYjonHy75wO0DCDvqn7W5S6ed3iCgIzyy8AggL /t+mYdHQzTa6Ozl6rs8FpVuI X-Received: by 2002:a17:902:ac90:b029:da:fd0c:53ba with SMTP id h16-20020a170902ac90b02900dafd0c53bamr4349501plr.23.1609937680795; Wed, 06 Jan 2021 04:54:40 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:40 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 15/18] ARM: dts: qcom: sdx55-mtp: Add pmx55 pmic Date: Wed, 6 Jan 2021 18:23:19 +0530 Message-Id: <20210106125322.61840-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul SDX55-mtp features PMX55 pmic, so include the dts as well Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 1 + 1 file changed, 1 insertion(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 6ec0c3f1f275..5b247f628d18 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -8,6 +8,7 @@ #include "qcom-sdx55.dtsi" #include +#include "qcom-pmx55.dtsi" / { model = "Qualcomm Technologies, Inc. SDX55 MTP"; From patchwork Wed Jan 6 12:53:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357570 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp844468jai; Wed, 6 Jan 2021 04:57:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0LYEaxMIRpueUHpOlQGu4jbqepGG/t7bIGayfGlapUzQ1S16P0bp1g9V8bWaRCPP2IyVI X-Received: by 2002:a17:906:971a:: with SMTP id k26mr2808564ejx.279.1609937845129; Wed, 06 Jan 2021 04:57:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937845; cv=none; d=google.com; s=arc-20160816; b=0tUEQ5xDTQMSbY+1Gpet5/wQK175iSusvKiLLRssCjS+DKfGY5LZWGdbCTBW8Z3SXo qyIiEipK3DRgvpwbheoKx9cjz+enEg7jOL+ARmRRpNbnYwsi/zxFEz6SDyObOWOkZbdF 5M93foMVYnCWhozAkKdULh/H6jZmIY2GK335UhRyTkxPw1lWobK8pmCVbfaA7oUI8ebD A1XveTTiPa6IPshs1/4LUbDk3TGhlm2GXrZ1JMkGWAzkAlm7zMcx2RJeS9kOqZ/FdUCW 5Z3SV7vsJhTMKZ1t8weyNK9bzk6KcaIHL3Skt+HuocDaT6i9lcUiXUBQB5IV7T7b712k BufQ== 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=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=BSgDiKOW4nYgPzcsUZNWM38CguRmYNj+RbHQNHEJAPKj1Jk9THQ6ipNnOxyG6eHE0y 4FZ3ZkaaFPW6Z76Fl/weVi8hWC+QJqy6bVyiL+zD4Yd58HU+Kzv4ZVLgOctSssRwZd9S 7DIF/DnVQercAxiZ5Sive+95wXWTmgQfGvGQlHDA2g4kzmSyJ7BSJlNMvfBJ236+ko70 DwuV8vei4fKKIXkCXgzorGtIZS8iPR/c16InKJEI8fkt/KM2senVJT1UX5t8qkoF6XBX gwux9emHWObAKq/zdqH1byojteTFignWmtiVi4+CL0nOggJ2t44Cs7KKyWCRTTmvcFvS UyVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxwUgmT2; 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 g9si843394ejj.456.2021.01.06.04.57.24; Wed, 06 Jan 2021 04:57:25 -0800 (PST) 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=FxwUgmT2; 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 S1726811AbhAFMzd (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbhAFMzc (ORCPT ); Wed, 6 Jan 2021 07:55:32 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E43FC061374 for ; Wed, 6 Jan 2021 04:54:45 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id n25so2190091pgb.0 for ; Wed, 06 Jan 2021 04:54:45 -0800 (PST) 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=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=FxwUgmT2jVBayjun7NTSZIUgDVLWZB87G8ajAbYBzB6pU/Mmu1tiTgd2YoY0FmDPzQ wzqjWlnTz51Vk6LGcMJjKMRBxtHJeBIQUQrt0i9THgyQom56CNt6oDFSYzXVh1MU5kMh sZBdW0TJ0ThYD958yhGUJ+wy9wKiVXqfeQtuwzWPcPBaE8ApeqYabDrPJ5Xng/JgZbGm JE+69ElvHwKs4Xi2wL6+nLLVnsP9PP31r5PpPcg3DQ9ex+k7D/sK4ICoWCt/Cx8cf42P CShZV4r1PhhLGjGbvBytXTG/kljP0+U5aU3i8we9t+HdeOZfJcQnjGs7wPDfC2obaiGu m47g== 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=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=tb4xigReVKfVJykswGEe4Jnbwt306MVXXJxfEN7o4NS1ujDqtwvDW0u+OAozFDI7fQ HBU+x+J5idGaP1fcj4cRdQ/8JCrudnLY1fS6eqCUeW4fqFFHEdcEUm9UwqXl2HTcH3d3 KUaOiZBnFAy1KXWIeL4mD1dgoPy8kSX2t6K8GxTjBUaYhRlyiC3/KlflOi2FiwBwBg0Z SgAvXssRd2Mk1/k81XprlxLHpxnj6NHZZmiB0kCAwO92cfJROPjdWUbtgwAMTtnjLOEs whkzddb2/Ms+z6Lty4PHjj1Dey8R64LP1WxsEsaXdYlqrS7xznEa7NJaNzElwRunEq0p Hl5A== X-Gm-Message-State: AOAM5303rQ0FtymMtAbvnbqz1rmfff6r/O45bsD1JrkKYGQ+UetPOwYM sdIKFiVb/ZUAJ8PaaZ/wVC8Q X-Received: by 2002:a65:458e:: with SMTP id o14mr4381657pgq.444.1609937685042; Wed, 06 Jan 2021 04:54:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:44 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 16/18] ARM: dts: qcom: sdx55: Add rpmpd node Date: Wed, 6 Jan 2021 18:23:20 +0530 Message-Id: <20210106125322.61840-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds rpmpd node and opps for this node to the SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 9911e672b4d2..6ec7cf1a2367 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include / { @@ -351,6 +352,56 @@ rpmhcc: clock-controller { clock-names = "xo"; clocks = <&xo_board>; }; + + rpmhpd: power-controller { + compatible = "qcom,sdx55-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp2 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp3 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp4 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp7 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp8 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp10 { + opp-level = ; + }; + }; + }; }; }; From patchwork Wed Jan 6 12:53:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357565 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843525jai; Wed, 6 Jan 2021 04:55:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmpWBapP74cmXMk7LbqQhsafXenByvojv1x+rOgEAsiA+CpgneK4ucqz7VMPAR7EUz0LaJ X-Received: by 2002:a17:906:d782:: with SMTP id pj2mr2827303ejb.387.1609937750323; Wed, 06 Jan 2021 04:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937750; cv=none; d=google.com; s=arc-20160816; b=JV1zM4TE56JJ5T23dB6UOlcWcb6AG5FZOcdLdULIi3us+dAFX+xMPSPXfK+jfMomhs 4vK8khUJMV2x8f5JY5iYMikN6ED3npDGivfAOLyXbaIU8UohAwK67fNxU6cXPWm5cKCO hLh1IaSZdrlnOFCyF3fKCMUafNpsKA5LqkL+aiE5g3YYGf9rUdsBOZVagYI0Z0X+uut+ YqRY1IFkk40e1vEg1WAN6oAZn/TAf92I4Vt9m76RIHt5KfF6zoCN6Ryk6Fil6IXq0zca bFR9P48Ob2lt8tFJxh2dQpQeNH/nPzw+WBuU9Gjh5nVgLN7G0FYrjJMW2RHHW/sf6Rps aypQ== 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=b0jqBat3BonuQvaOdiiTz0KA0EHm42GNNSe+AuL4HxE=; b=iJK6qbeHK8M237VlE1n27EPFAz2pKYoO3W+wZ82i9i6NbSHHrj1kqm6MTOld+2xGdC jSfYVdzQsiU+LPm1R2/zDbNSL5D8t2TGKqFgBs5wUvR0WqB7i9PG1sWDPnFz78VljgUL vHEVWozhQpS5k9sMByQHYhKgCrKJW8qCPDxRHrdyxAa0YLCdWwpyg8T5wTzbDCyC0GpX rt1+sR2sUf/g3szBAbCZZ1ER0WqWysAFq2MyY6k+3Wjq6RRoSkZMmz+Zex1jAryCgPXG nua+ufpWTNF9/YUFS0GK/0p46qi/Aglluko7WILPS8x0OkWNZdEakkVChyz4KZDPDMTD 4s7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u5MrPQNT; 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 u9si930006edv.418.2021.01.06.04.55.49; Wed, 06 Jan 2021 04:55:50 -0800 (PST) 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=u5MrPQNT; 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 S1726894AbhAFMzi (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbhAFMzg (ORCPT ); Wed, 6 Jan 2021 07:55:36 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6A93C061376 for ; Wed, 6 Jan 2021 04:54:49 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id p18so2149230pgm.11 for ; Wed, 06 Jan 2021 04:54:49 -0800 (PST) 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=b0jqBat3BonuQvaOdiiTz0KA0EHm42GNNSe+AuL4HxE=; b=u5MrPQNT9IIqcQbzJQZx7ResLriMMT3qfuRwH2ffzSxl/SZJ6WLfg3RWW9U0sKgVpo 8EO2rBwoYDBKEpzE0z356GDn42McauraHfr2FeB7B3js5ZDYskxysU3i+wybqvsBhsTj dFlgqtAC3ny0v/J0nqzHRLAd6eaMRao8EM4Ah6r+Pi7ylLZFQ1PYgPoJCKsLxHD+gBGx qV1qUxbQevYJjiLFqv+CKReO7FBucut4GdL28mH2o7OgtjGTMDeuW//d86XSnJMMVmCc Mz+fx2n7j+KzoL1kK2zD+NCveem+ZdIAGpkXrpAISUw9+3hUV5hQ3zNvZl7DBAIUsJ9N Z92w== 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=b0jqBat3BonuQvaOdiiTz0KA0EHm42GNNSe+AuL4HxE=; b=Y/q8gEv1isxIO7VoUaaURyiMzTRRSwExe+eHDZLhvV2JIwDwN1b4ODkqQzMFlZg5F9 PbPa0Rt+QcVNodVkTg6xkoD/rcHoz5ew/DqIKDzGbXVOwDfY9oU/Bi/K04I8gNubNvPo 9f2zFouJ9LckJiMdrMvhgg5LCS7XjQD5kXr4DBHltZxAQ4kg45x2GCkVwE4H9fy3Mi60 UfSBtQum06bmHuEQy2YbRMqIuyg0CRBhsAD7ZwzcHZGWrofIw72rp6yA6gxajBQMZjPG sc+XFXBKZY1emKkgQYez4l80ZfqcedytYmz/7FiiAuO6BPYlNJfO7PjlQYydnLWmgEsU etzQ== X-Gm-Message-State: AOAM531r7z2Ob3U+sHjUhdlylVetGntXQCNhwYUvnqjgl3ttMexWgoSb GfO0US7ziJhI2quA1t/KO2sv X-Received: by 2002:a62:97:0:b029:1ab:93bf:43a1 with SMTP id 145-20020a6200970000b02901ab93bf43a1mr3679852pfa.75.1609937689402; Wed, 06 Jan 2021 04:54:49 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:48 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 17/18] ARM: dts: qcom: Add PMIC pmx55 dts Date: Wed, 6 Jan 2021 18:23:21 +0530 Message-Id: <20210106125322.61840-18-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds DTS for PMIC PMX55 found in Qualcomm platforms. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-pmx55.dtsi | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-pmx55.dtsi -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-pmx55.dtsi b/arch/arm/boot/dts/qcom-pmx55.dtsi new file mode 100644 index 000000000000..6571b88d018a --- /dev/null +++ b/arch/arm/boot/dts/qcom-pmx55.dtsi @@ -0,0 +1,84 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2020, Linaro Limited + */ + +#include +#include +#include + +&spmi_bus { + pmic@8 { + compatible = "qcom,pmx55", "qcom,spmi-pmic"; + reg = <0x8 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + power-on@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + + status = "disabled"; + }; + + pmx55_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x8 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + io-channels = <&pmx55_adc ADC5_DIE_TEMP>; + io-channel-names = "thermal"; + #thermal-sensor-cells = <0>; + }; + + pmx55_adc: adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + interrupts = <0x8 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + + ref-gnd@0 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + vref-1p25@1 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "vref_1p25"; + }; + + die-temp@6 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "die_temp"; + }; + + chg-temp@9 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "chg_temp"; + }; + }; + + pmx55_gpios: gpio@c000 { + compatible = "qcom,pmx55-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + pmic@9 { + compatible = "qcom,pmx55", "qcom,spmi-pmic"; + reg = <0x9 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Wed Jan 6 12:53:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357566 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp843538jai; Wed, 6 Jan 2021 04:55:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJwcqg9rSKHO3CGWIIlc0+0epNjlCCF9o28dL9FGu/YjBz0TGzlMuAIlG3PV6VbneCu0Ra2+ X-Received: by 2002:aa7:c58a:: with SMTP id g10mr3795426edq.315.1609937751229; Wed, 06 Jan 2021 04:55:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609937751; cv=none; d=google.com; s=arc-20160816; b=eWHeCsSjsa0O5teSPz6QC8ypeA5hcMO5YwnRa5RVZRpXwmxY7qwG9jCNDwZmObYXY1 OHsUI8OLrVl5aKuwUrXd5lkju06KMDSgutQKTl4xny9AHdO5DIXOMqlshWBzcXcm/MLu 3gZSv9k4EdNI+kVlp0JhlGjm4oRBYE+nDa/TN0vsM0jQL7XFhzAhVTOz9MYHL1/l6Co6 puwIJLsgquyx1Xv1ZrstJPuoRyFS0Vw/s7rOkfZoOfxVykcZVm3lqhLJRGiikx8Dmpa1 Nq1RSNPoSLuKLFNm3O0HGdm/4N7+yzJHFGZ1JOjwlkPqEo5eOEgrpabH9u9igL0+LGpH qUbA== 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=ATR9yRNBQQTnbKCfntyTDHLVwzrGaXdBCPAvcP9FhJU=; b=Sz63E+Ng+u3J0rIGSTTTnfpIhTblbb1X6cx9/35jmK0UK+IzLG9uy6klWvRWmyEsSm 1E35WzZwDGsZGLm6V5dyR23oEE2tdEcdQ5I3bBYC8tGx7MmFR4wi/R5d9lpYmbH/ZMCN iuhYMW997evhrVtrto/dV2KwvPC6GzYaarZIU1d0bh1vFtXdSkwCg0GHc7ExTXMUDs7A kWa7qyr2n5i7BQEN1NIYX9j8RJWoKcP5CXdM5EuDDzOR4dEArkGJ2Mu7woYn8JA7bcSM WDB07G7SZ6/5e+sgQvAhCDhK/XnR4gOxbOrDXP7Vw4RsgM26qSckl0zcP8LRq5BEWiMv KlLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Scevy0bI; 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 u9si930006edv.418.2021.01.06.04.55.51; Wed, 06 Jan 2021 04:55:51 -0800 (PST) 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=Scevy0bI; 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 S1726959AbhAFMzn (ORCPT + 15 others); Wed, 6 Jan 2021 07:55:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbhAFMzh (ORCPT ); Wed, 6 Jan 2021 07:55:37 -0500 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 BBDABC061379 for ; Wed, 6 Jan 2021 04:54:53 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id s21so1638740pfu.13 for ; Wed, 06 Jan 2021 04:54:53 -0800 (PST) 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=ATR9yRNBQQTnbKCfntyTDHLVwzrGaXdBCPAvcP9FhJU=; b=Scevy0bILl2yBVR8ByQXwgtx90/CV1F8Fn2s8NsQAtDYvdj/BQ5VQSLZWrkGieBajo D9WnNOptSQxak+2W6M3NoKyD0E7kZwuCIOgk9kGHfoXoFZxbGZjyeHE2lWfRek4FzpAU NOQKQhuYtOkF50NxuhcvLDCMI7mhCURQGvfqxbOZ84RV3UQz/r6OzRMFDU1sxYBM4F1p 6C2+S7/zAOA0Kcx86Yo/xHAW64gR4iU8x72mpQ4MusU4iHJTWJ+i/imFe6sksvn/VU2i VGSZA4nLTpVYWvSHAPvj9K0QIJkIpGwcgmUC8PXEIYyr32y7I/1Rpu900r0Rdbp1uhEz ++xA== 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=ATR9yRNBQQTnbKCfntyTDHLVwzrGaXdBCPAvcP9FhJU=; b=NVfqVHs0rFX9vLrQBjHBBkFbijFkRKiadq1UDn9PHf5d6S9qVus79cCnWcdvj8WVGK gUsDw+Ms1RcCM8fXjd54LWaqB5GeLi5FIpPZBKhg9u9VPyEaxMhbXD6nt+BXTEVmx3bu A62O3s7GxX2gnEG2dM3UtK8obHyb/KtYwTtq8n+2CfJFcXNlOyqr5ZEUeNVJFwiPU/vg dcJpC65mBZZDgpHx7Wo1RBsg5DS+iqHQeFlAOqj4duVYfCQO04n/ACm0W+p2A3Sex2Xk OOBcc+US6VdTHbUSKxor3bBbVmLM+L5aCtRYBoDG064lrJVvPtOvOfFl8UzF+PGgpD0v 6ZLg== X-Gm-Message-State: AOAM533xOHghe485oPk0UJ33mpYQKVR6qDdNj+lO39zmjqoI5LPuuZM6 0MAV+cGU7Q7NuW3h8XUh9btz X-Received: by 2002:aa7:868e:0:b029:19e:3ac9:f622 with SMTP id d14-20020aa7868e0000b029019e3ac9f622mr3960247pfo.37.1609937693223; Wed, 06 Jan 2021 04:54:53 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:52 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 18/18] ARM: dts: qcom: sdx55-mtp: Add regulator nodes Date: Wed, 6 Jan 2021 18:23:22 +0530 Message-Id: <20210106125322.61840-19-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds the regulators found on SDX55 MTP. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 164 +++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 5b247f628d18..96b6a295f813 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "qcom-sdx55.dtsi" +#include #include #include "qcom-pmx55.dtsi" @@ -43,6 +44,169 @@ mpss_adsp_mem: memory@90c00000 { reg = <0x90c00000 0xd400000>; }; }; + + 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>; + }; +}; + +&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>; + }; + + 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 = ; + }; + + ldo4 { + regulator-min-microvolt = <872000>; + regulator-max-microvolt = <872000>; + regulator-initial-mode = ; + }; + + 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 = ; + }; + + 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 {