From patchwork Tue Jan 5 12:26:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356847 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15763431jai; Tue, 5 Jan 2021 04:28:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzO9yZKHsc0tCdZggc9rfeb+Z13oQtdbfVlkZVnLNGkD28gl0jaGFwgt4qV9GqOgD9PLsxL X-Received: by 2002:a05:6402:845:: with SMTP id b5mr76502832edz.38.1609849692694; Tue, 05 Jan 2021 04:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849692; cv=none; d=google.com; s=arc-20160816; b=aKDq+vDC5hymBEyZr3nyufTRd4BHd4PZ4XFUJX4/D/ObwW8NfzU1q1SUdzviFCWbpC aWlcy6jxB1fSZxGANi+d0SHshRW1GkSvYWs93Np4ht33i2fe2OkxzEBfFg/8nZqC9rPr ZSdcWwU1O5SIvINEVMcvPQnEStvz/IBSanHtJIokDLiAfzBJoHba5IZCf5tghYVqabJ2 zKm9cZH5HP+Y0pE3MMQ9XQuln5dbLv+Id0f8YoRvB5aA3AC80cvcWbmdJkFvQLx/PAqe 49bhwz6ICdMN7gjmXiKinMy5jYKYDptu71p9RQBF23EMCx3Vv9hgITOv09OALHFSnGx0 qVUA== 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=zcwFBuHlaBy4fRauVbGrFbDww/9Hr1O2P2Qsr8+Ee8+o+itaR14FoYNp71KW5XGeRz g2ezSojHA+T92XZABO9h7YNZl3GHPAjpYWBB4Uc7WYIXaNEUWFaJfepr4aAG+FiDAX6a Tn/TjVvzEX/HuZVw/SVVhlAXaeI8L0cuEwjLMgQqtRo70zIHtVd+mMOSYLN9Db3s0qe/ chIoM1j/fvW9tz9GZmgQsDdGan7aRLacjPNGC+/1nVLzuTRQpu5tW3z3h77uhTBr9g8e qkZEebwWG4EALBlyuZEmAAHAU+bJ942qqibiYOtz81kp7yFDa62pqxuhaNrr5HHlmCWb VV3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YkEiw1xN; 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 lz20si19083576ejb.451.2021.01.05.04.28.12; Tue, 05 Jan 2021 04:28:12 -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=YkEiw1xN; 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 S1730133AbhAEM1l (ORCPT + 15 others); Tue, 5 Jan 2021 07:27:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730114AbhAEM1k (ORCPT ); Tue, 5 Jan 2021 07:27:40 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 523BCC061794 for ; Tue, 5 Jan 2021 04:27:00 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id v3so16261655plz.13 for ; Tue, 05 Jan 2021 04:27: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=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=YkEiw1xNxnan6Av8Gy6XOzI4ceb0QksuFADkgTccA4gs7I7FrQJTluFqNYsQpbt4+r ALqREvrgIrBzkr6etyVJ/rA9XIPeDQ8dJecQ8YPtJShsjssEYGRpj3b/pcLEnXZo3fQv V/8S56MTBeyAft3vgzIyVB5c8lVidWpg5GJdVIXZRZVDYJ96+pMgLieNeHhfbgFUuEnj fKGRXFLHfqgevtKlW+XLDkdp9WGb8BLOBsh7+Z/wW510Lxzegyzk0fFfYpziSQg/hsLl Bn8ODvrhOVUTnaUmLhF+NAUSQrp+/3TgceR1VlM0Eok8RCG2Pjqy5Fra6ulw1xv+Wa0Q fMyw== 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=QbQ6WO/1350k1uVbmp9bKuNXx7gEhYGrjTHMYuyBIAoBnAvcFsyUianKg+8nF1GsfR 8ym8rgGcoUbRpElZH/U3SJff/FC+gvD5ZsQvGHXtBLG2TBPR0irBi94yaL0V/qVluUKj v0oNc/nqTULgtdEz6ZlhirFZFqUM3jpw7EwALSRImqfMxJX4010ddd1eEELXQP+w6TkO k4lcLsVSBel28XgKFMBRb/zLVhG7g9EyRASWQ1bgyJIuGkoZoeQz1hK8M17rdGlxt2qs UOiAP8ujzDKrmjpp0XkUCNfH1DiSttt6vnIy6qSmpYiFEA2Oy+VCPNIeSE3edeLVZ4AQ iWpw== X-Gm-Message-State: AOAM533LxuUjbZaPojDERokQO84tRE4V4BIDR9kw7fx+kt4MF4uXRajs HXgqmOlwGiA5n5Of0dMKK0v5 X-Received: by 2002:a17:90b:80d:: with SMTP id bk13mr3819963pjb.41.1609849619921; Tue, 05 Jan 2021 04:26:59 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:26: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, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v2 01/18] ARM: dts: qcom: sdx55: Add pincontrol node Date: Tue, 5 Jan 2021 17:56:32 +0530 Message-Id: <20210105122649.13581-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 Tue Jan 5 12:26:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356846 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15763425jai; Tue, 5 Jan 2021 04:28:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzf0UzaPKxh6USvEcXawjAJBbvCLNUEeK0pakVuuqCrUTaMlHEr7FlnsNmmHrm8ev8rNCI X-Received: by 2002:a17:906:ce3c:: with SMTP id sd28mr70044396ejb.485.1609849692291; Tue, 05 Jan 2021 04:28:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849692; cv=none; d=google.com; s=arc-20160816; b=e0FOhDxqP4OtmvSClovng9z4rqPqn4zRiePjcgzeNghi9zuVjSoyikbxolYed46V0s nrEnOnkPHG5lQxiTjaOuj1kjnL58gmf8z6KJtsQ7bEBQLJG++zOJdwvv5xArynM9RTzB kRoLZV2x/DRIp170zFhOm8jHNSyY2ezuFhgvKzgEeIHHXIPrfy1+tX3foYfg1lxfcu/q a1peR3LvCa+X8Ac4LKoMq1uU5ZRah/uzoc68nXYK5sMmrPO/SCimU0IYx4olFW4gFcbb YOLwIll9MKUvAY86OKys7JvJeX6wcEiCEsu9I7UnmmWvciCoaHmqCoxoGfuRmCY8kyfj muLA== 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=jYJjVEdJXcwBJxA+GXTjlWCuGOgAc5YnZyOc1A9H7aI=; b=jZSPi4dL1NhLgHymmJZINV/7FPFeOZ0BivYHt+HayzWSpPL4Kt5y9uqzWNUyjh93ji aGxzQOmRKky/LaI7sKlatU9XMVCcneihfcpha+UIv3X/rRdQyqvwhhY98Yr8gtiPG56/ hbU8kVOY6c3hLcHU6lRts+9FODmHLYp80d3DWgPA/MpCEaouHSLOSxHaVHvdQtRbG8Jb NCR+uKcfTRXf8JBnVadDigUP7bLE2l7w7UKvxv/mW6fnZy2WEZkCzpq29Hc34rKxfTD+ 98R8QQSz1r9ujgYEbyOa5SooMm/mdZ2HSBMDm1G4DYcMto720hJupvE0U/hEVQGdGvaA Rrjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q4lV5nIL; 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 lz20si19083576ejb.451.2021.01.05.04.28.12; Tue, 05 Jan 2021 04:28:12 -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=q4lV5nIL; 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 S1730130AbhAEM1p (ORCPT + 15 others); Tue, 5 Jan 2021 07:27:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728053AbhAEM1o (ORCPT ); Tue, 5 Jan 2021 07:27:44 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9ABFC061796 for ; Tue, 5 Jan 2021 04:27:03 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id f14so1577963pju.4 for ; Tue, 05 Jan 2021 04:27:03 -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=jYJjVEdJXcwBJxA+GXTjlWCuGOgAc5YnZyOc1A9H7aI=; b=q4lV5nILcW+ywKKPX6ThQbRc7UbBlOt0j/L8p8tgUgUNoKHzq0f0cD2BKWoGj04fGL vpmDusrNs8WEbRRbw6ZduDQFQCpffJUvMxUKpMQqLxucltX790Gj1gOvFTXTfemHz1Iz HoyDdONW9+UxlP2kXhbKZk+g7GVy9txg6IkLonnQkVvTdGnQJ+gX3KpFVdKKOGNZc2R9 gyoTCVlUVkPAW9NNk+v/s/FijaMsBT2UvAxmWPuj2bbbOxAHrQGhrJITn9gV0KKCApnH jDOefS0WZ9ZDcn9pAzp00YDvkty/C3mrUU0EknOctyi9zt7KBeN0NJh+Cb8yM1B3+V5s uVcA== 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=jYJjVEdJXcwBJxA+GXTjlWCuGOgAc5YnZyOc1A9H7aI=; b=YTQhF2GM/rHcJydb98dAVNxTrCRk/j6aFkDbUcGpRtSdiODiYq+F2nKSPaSlv+uNUk 64lJy+FHMEq9n8nut+WdSFMIqnqgfX3A8OsmFQKqlMfX59BMuGkths6OAkVn010cwYZA cEToU5haDQJliu+OfHBy2HN+grdUKRLVVDXcZPZXi35EMAdf3CY8MT1MoccfsRtlbJUh 4Y0isaaPMLxz+598jnIPlgcLpa07oy7Ck+0NT9dPGbl0l9Rkes8vdpYJebMooRqydJn2 SSEkXONOcnexyDQoqnnzzCaUBAOKbsktGgsZjlhsncApApQV4iikaoIkg8kudcWpX8oj IKPA== X-Gm-Message-State: AOAM532ZI0ClAdX/dk3KTufAbgb/GTVW0vkt2HQ6Y/zoexfTj5XqNuM9 6UvLIvlQFIVAtQGDc2o8Bev/ X-Received: by 2002:a17:90a:b114:: with SMTP id z20mr3803297pjq.14.1609849623337; Tue, 05 Jan 2021 04:27:03 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:02 -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 v2 02/18] ARM: dts: qcom: sdx55: Add reserved memory nodes Date: Tue, 5 Jan 2021 17:56:33 +0530 Message-Id: <20210105122649.13581-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 v8 of the memory map Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 67 +++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) -- 2.25.1 diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 08b4a40338fa..eeb6bf392f93 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -60,6 +60,73 @@ psci { method = "smc"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mpss_debug_mem: memory@8ef00000 { + no-map; + reg = <0x8ef00000 0x800000>; + }; + + 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>; + }; + + ipa_fw_mem: memory@8fced000 { + no-map; + reg = <0x8fced000 0x10000>; + }; + + 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>; + }; + + mpss_adsp_mem: memory@90800000 { + no-map; + reg = <0x90800000 0xf800000>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; From patchwork Tue Jan 5 12:26:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356946 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, 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 12535C433E0 for ; Tue, 5 Jan 2021 12:30:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DB68C22AAA for ; Tue, 5 Jan 2021 12:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730164AbhAEM2T (ORCPT ); Tue, 5 Jan 2021 07:28:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730160AbhAEM2S (ORCPT ); Tue, 5 Jan 2021 07:28:18 -0500 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2347C06179E for ; Tue, 5 Jan 2021 04:27:07 -0800 (PST) Received: by mail-pf1-x431.google.com with SMTP id c79so18294397pfc.2 for ; Tue, 05 Jan 2021 04:27:07 -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=X6ZtUI4Q1Kv9KoNZEzoxKYY3jMlU4aqhIrm/Qzwt2c4=; b=dKduIlTCdTKFktJ6HofjNmdTpknfFFyT90L+XjenCIy9ZZYrPa58pgF00E959x3T8p 6eQ5vyp6ceHB55CzY42nmWPRIyjY92b3vyU7Cj+qXO/5fQei/K14pZ4mMvrLhkNHa7/G 628UYcoWhzB9iZJstrdi0q1ESkC7Rk6U9LdszX0LDSI5TfEy8NUrCjf+g5WebqAXAUVR 4hzWNU4bh6rejwOZBAeILLbvpoTBoJs6XqQ8zvsyaS/FgO2NzIfXrIpnULUpE89ixnmo jrGHmPPqI3Vwj5fhd1TNddRPJOzMSYjuicFMtYNdgmfSsHNjK/kz3uneo4Eg761+BTxo YSkQ== 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=X6ZtUI4Q1Kv9KoNZEzoxKYY3jMlU4aqhIrm/Qzwt2c4=; b=ZWW3pu96hYHQKnfkkyHJOCakmHS04a41d8WVJS1OqyXiqWFE9mMOqzd6INhtzSej9Y 5TErbAw1e8uycGzAvodrNBoM5bAiRxflRBKIfrOAohf7CSbkxKUR3djfn4Xcv9y0RoLI tsFN78P1+2VQH8GQeLzewyy/4gSAJ4MP5sNlHGb4YPqq0HrfrtdsMGku+UaF+NksTLYd Kf8Q+EC2T/EV+rNHXQX8X04EAf08Ef4RNgPgefyqyAyDikS+sEjqlAdAvvZjLphI1SHc i/TkmnkKKYhk3/qloSSM7OF8LHTReOh4TVyNPudwZPgw8zFfz22ASXfwK4mg7hBRCs6/ xUqQ== X-Gm-Message-State: AOAM53152T2eGLysgSnbYX29GBFps/H4cMP74YDHR0fi+k6WRIZLD8PM vFKBXp1iU76GpbwDiKHNWoQN X-Google-Smtp-Source: ABdhPJy5Vot5UvDS/HhIZ/5oEs29EL8lEixpW1ONKPJX+34/Tvylj26riRvc1rLLbOJBmwOPJEAkuA== X-Received: by 2002:aa7:85d8:0:b029:19e:610e:1974 with SMTP id z24-20020aa785d80000b029019e610e1974mr50545499pfn.21.1609849627238; Tue, 05 Jan 2021 04:27:07 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:06 -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 Subject: [PATCH v2 03/18] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Date: Tue, 5 Jan 2021 17:56:34 +0530 Message-Id: <20210105122649.13581-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt index 3b602fd6180b..31f4a5628595 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -21,6 +21,7 @@ Required properties: "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5" "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5" "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; + "qcom,sdx55-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 Tue Jan 5 12:26:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356862 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15765513jai; Tue, 5 Jan 2021 04:31:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5cw5TJiGpiio+6nSSLVp8fgXu+4BYreWefprK9WqTzOtfAm/VrBwF4dDm3mH/7isrQ5yv X-Received: by 2002:a50:a692:: with SMTP id e18mr74400077edc.233.1609849876507; Tue, 05 Jan 2021 04:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849876; cv=none; d=google.com; s=arc-20160816; b=lyUpxCkqTPsJ0RfmVsYLyelh2DpB/wi7jw2S1qYySyuDzOX9h1hRVeZSZcD7Xe4bZC b+CMAiwi3r7MBaQ7sVholPRTfSIVM/nHKIeOtGWuYZfdWTVI9mLe6q4Ke/yKczF6ouzX eBMgK1lnnzf7SWM9z+Ben4EFgxaxQqIKT4PGQE5bJI4Cxl4G2aml/ohdWrOiQWtPmS2W Di5VDqrFhscrIKwJeU50tM1zriNwCUnrTvL5nvHOQ1bp8kpVxW9z33WAaLvvNlXTW1gx 8DH3Udvzp2GYIithAaHKNRzuE1eVmDnQlU02/ikju3JfLqeO77rjh2GqhnvPGFZP5uJV KPBg== 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=C3M1yGDo9sOujbh6Y3dKya3WVnGla1Jyt0Z8LN2HYb8=; b=Tn/9SHDbV+WYv+6ctMxk84kg7RQfI/Z7sWZEFERm/JA2vJJ2Em1dGgjBn+JXfN8Cs2 X0WPwNYSp6JDtuC1R90CA28AwZulS/XVwXpmnxnFDmEnNv19P5sBd1CwQrpZOmeGiepB pnwEL3ZvqljnzXiYEEeGAKizPBKx0TQx+iDXQphm5n4FjTdY7jaet4sAf+UjNheaf+/C gSLhRZt5NzyHwN0QhSuaqkpsJUueUE4BAK1mhJU6dlDCpbcloMRrtIsDqnGZjrnF0mvG fpuvzG5kqK35AAekDABkAgYQz3GhYt1boX4nr2ixFhmvT9gJyTGd5whEnJhLuMG4RQPv thJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lWgXQbye; 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 i8si20352221edu.515.2021.01.05.04.31.16; Tue, 05 Jan 2021 04:31:16 -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=lWgXQbye; 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 S1730204AbhAEM2e (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730173AbhAEM2V (ORCPT ); Tue, 5 Jan 2021 07:28:21 -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 E1091C0617A0 for ; Tue, 5 Jan 2021 04:27:10 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id x18so16291884pln.6 for ; Tue, 05 Jan 2021 04:27:10 -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=C3M1yGDo9sOujbh6Y3dKya3WVnGla1Jyt0Z8LN2HYb8=; b=lWgXQbyeAH+r0IxZoUcMpGxTqfmKINUBLurrnT5lDJuzGrqn+HUQw4bR0oIYnu3ARW bU++L4PLGLVP1/DEyx8M1mUFNnX9Qq1uvEZY3DFOtWf1n9zgzZEJiQ1NBJo7GcT5SN3t dIHMPT6qaZ9PmbGZoRzcTsY6LB2APLLkHj+C3tDqjU3hKzjlTH3+6tHc8aeZPyxR+vlN wQPlw2jBQrR5qfOJ/Ex1esZHxanlm0RNDKdgV6wNML2e5ajwG9gT4WaFl/isZ2aWOXVR j6y3piF7vIZgf/JgTt9e/2SMs675tBOWtcUip9HUQ/Ta+oqY2/ELKm0dbpvWITHzbLNO Oo6w== 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=C3M1yGDo9sOujbh6Y3dKya3WVnGla1Jyt0Z8LN2HYb8=; b=D/KhzVTojxB51X/MQA9hZz4bIo+DGAySycztkvtEKnc+THby+oMIxWteYPr3n5FYRC JXe3tNhjulEmPHPe7OP7nqhMP4u/8i5TPmrSd328XpwtDhmekEwqNu3IJA69keI9wlin mg/npKMksm00g3yNP5kQO77qLvc/adwqTdEGWOsHn4PiPMqEJVqsxER2Nu5aoVnPU1jJ KEG81Ldx6ffyjqRuXYrvlGGx/MYbNZPt7vB+4DavtOvSHi8vqI2XAiMPm54FiLfAu7Ke s63uFzIbWeIblxdv6OSDtsuk70jtdvtMyInpQapNH7/pf8kBtq4Trjj/n7sheBg3WNPu BmHg== X-Gm-Message-State: AOAM530RijTZFdcZt6NmIwae/GLhSEbMskI0CgW6TKCcpkcdpBDYUg2S FNCjoDM0Umx/36WcWprTnI7M X-Received: by 2002:a17:903:22cb:b029:dc:8ac6:98ab with SMTP id y11-20020a17090322cbb02900dc8ac698abmr16157763plg.67.1609849630430; Tue, 05 Jan 2021 04:27:10 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:09 -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 v2 04/18] ARM: dts: qcom: sdx55: Add support for SDHCI controller Date: Tue, 5 Jan 2021 17:56:35 +0530 Message-Id: <20210105122649.13581-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 SoC. The SDHCI controller used in this SoC 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 eeb6bf392f93..3f8e98bfc020 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -154,6 +154,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 Tue Jan 5 12:26:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 357635 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, 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 B1A53C4332B for ; Tue, 5 Jan 2021 12:28:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7979A229F0 for ; Tue, 5 Jan 2021 12:28:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730163AbhAEM2b (ORCPT ); Tue, 5 Jan 2021 07:28:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730193AbhAEM2Z (ORCPT ); Tue, 5 Jan 2021 07:28:25 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DA49C0617A5 for ; Tue, 5 Jan 2021 04:27:14 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id m5so1598237pjv.5 for ; Tue, 05 Jan 2021 04:27:14 -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=BVgPs4UTz0m97kkGkS/Y+gkUiFLrmZrneiZz02HakNw=; b=OQaxZLZrGACL8Q54aGsrKM3UtdQOc3d9oBz5rGsFK5MYTq3dzA2t1r6lgPaRte30RK 7Zho0nQ0IwZWdj97ucxShx8X4W/CO36KVqPKs15ohWVWBugVWtZE0W83Zs5nQkBF6Z2b odoEi2OR3OBDiv2o6fmfwBcxjSOoYdyQhx35nfLv879JlufiBWEsePYyjP93elxNNhGQ eG2gVQm+fLEEoM5YMdXo/2s7wfbTIxuXnkRH+wvQOlWdiEXUjh13nlhhL5iwIG6h8drx WT5kq3QTGe/gJ1EDTCPbnDfwHSWmTLKagPbS6JIWN6XW87SjYzES9URdK2CQ3f/W6X1e uyCg== 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=BVgPs4UTz0m97kkGkS/Y+gkUiFLrmZrneiZz02HakNw=; b=qDXOZLCpuGoQkmoRfpb/F+1C6ILG/7e8D6tXGoNi8UGh7p6MmdIwcItjiX1hZxIWOe ky2WuzvJn8Cu8XAEtE0AC57ev4kExg/nMN58e7PlrDMyzDKbJS4iL6zUffQzisXnvGWX i6xKj40V923YQWnrvxyzLgaCGfVzxLYlipKillT5udxpBNV4q2JCHiZDth53VA3M06K9 AXcwTj3TUBk0d2WLJRZChFfdxjZBGrspb3ggDzv1DVjswiAjlEcAuhMgLIOzgPXCrHQU N062DySXxIhmGzHToXQS/pXGWdcUG2wt2w/TAY6hQvxf8gOuwgNXnoFjlq82AD0aDT74 8kaQ== X-Gm-Message-State: AOAM5332SJDi9ZaQ+T9bUOlvF8uly7eUcvv5hI26zK5Udisn5YXvj36X vEmCccl6jOFkWfnxC+IILQAW X-Google-Smtp-Source: ABdhPJyxoMT1SpuSm2yhcMnDEwBBVoOFnTvmNvyODOP877OQwAFbVMVdWDJaKdU8QGhDSPTNjhArMg== X-Received: by 2002:a17:90b:228b:: with SMTP id kx11mr3968531pjb.122.1609849633859; Tue, 05 Jan 2021 04:27:13 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:13 -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 Subject: [PATCH v2 05/18] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Date: Tue, 5 Jan 2021 17:56:36 +0530 Message-Id: <20210105122649.13581-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 --- 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..cc48d90de5fe 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -37,6 +37,7 @@ properties: - qcom,sdm845-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 + - qcom,sdx55-smmu-500 - const: arm,mmu-500 - description: Qcom Adreno GPUs implementing "arm,smmu-v2" items: From patchwork Tue Jan 5 12:26:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356850 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764470jai; Tue, 5 Jan 2021 04:29:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwn9jABrLNYNg/uaT4tAff/qwsPULeCDS/LdF3lYP1ia09rfFdpNubK0hfwVB7LPeukOmh5 X-Received: by 2002:a17:906:c310:: with SMTP id s16mr70542199ejz.186.1609849785886; Tue, 05 Jan 2021 04:29:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849785; cv=none; d=google.com; s=arc-20160816; b=F7I3hPxIUXJv/dFBTnJqiBsfR7qcvv4zKHY0fC2J9oY4LJkQPJKO4GlyapjXVq9Gpz 8wejzeDE7y9ZT7S15xNqvSv3BTiiZeoO16nzPexNLsgJHJBJdZXiFXKi3rKVnED4S5bt YYXqJ34q+wyzbxDNl06t/BBJ9/ePxzS+Tq5c/Zw31BMIZa/q5AJQAK/cPPByBxi2UgEK 6Ha1a5EapwvpFG8QYmTYEPu12K6VkevpNURMSa5L50jFScN7YFXr5yFdFW7sBofhMtKw Jww59KJeMkCX93fe+ghbdyFjojRLnp++Ik1S6vLNeKGVi5x3o0n4LSE8Zs7TP0BfprHA 8mJQ== 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=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=ghtkRh6iLD9M13lWhZEVtrym0MVfBfkqFlwhap/Ybx9qOv9ZXwPrvz/+RRWueeq3Eb FOvzOe6v8ojk38iuEqbHJIUwKVFxw1jYBnQ2jUaGuPypeVv9goHtvwG6P9tD+80/yOlp mDkcAFEUTGpUKBvqFEWocVfH089bVEkFyR6cmlwLCoFlc9bLMCiwYdw58lcxVEJOHCna moqZPXmYDDdMXoEH6cIUO/OY6RjmKFcYgO0mh+rfWXivDxlOrhchd0wLMJO372dqZ05b N53M+Bb4Ece6Se5951hgU6sfTEuJTdRBPV6X62qoU2+hhY7MecudTkc2361i7h/TncnS r7gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pGFZctsB; 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 n3si32606247edv.105.2021.01.05.04.29.45; Tue, 05 Jan 2021 04:29:45 -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=pGFZctsB; 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 S1728335AbhAEM2a (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730192AbhAEM2Z (ORCPT ); Tue, 5 Jan 2021 07:28:25 -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 627DBC0617A6 for ; Tue, 5 Jan 2021 04:27:17 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 30so16486112pgr.6 for ; Tue, 05 Jan 2021 04:27: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=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=pGFZctsBG3/uj9kXM4G7y2KW9MJp+bo2qj8Of67FLlZhfsyRe6t8xLGyb9RuCRERc5 kvwU9/e096z/bgfCWk7KQhwsLrusufxiyH52hXT0GTzbgKyDECP730/3c3Ngcj7fSMDP lzk1K1Do+lQeczuHqHYPDS4AF71ttLqBn1ReHcWhWFepoRzlVopXPxicxMVIE0RH7wvm KpfY27Dw9/3ou6GK7ECtD2Ly+Y4GSqUL+NJ540JHQNEFsp5U5YlMpsow6zPrZPMrWTl1 TsllrxWPEqCIKDEVnd8Nb5zwLpFzl0IcU/0ZLFGfOgGTvBvan2ss72yP+OPKWcjb8rkj NSYA== 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=CmxpNL0ax3CbXgwGX4yKsIjyic6JD68tauKRRiHGHbo=; b=m5+fOg2+NzSz7o4u9IFX0xjri2eNW3AyVHhjnS/A3PtdDK81vHRpEkOhB4xBJAG8Br QhTbXRte+u60STaafGJucm3Sl/Z8zQTrgyL9Sm/TKDkcwjvkJa7G29qNJdA/1OIRhrNj ib6OJ+ua2Nu8VxoJNza5yEgZjpmNr7M3Z1T3C33xDor5Cf6ebSXECrpj6qUEEl5Q+LBN sxZ1ARoS3yCArjgQYDx3hnXBRfJ4tDEKOGALviaLuI3umw39WLy1Yr5tCoT0u4PrtNcg Mz4mmdAwc9X189Wyx9+OpB9ih6Q6phH3pFiM2W1b1EzqxbIlBdhrjyB9YNZ2jyrG4gSp gy+Q== X-Gm-Message-State: AOAM533PRo1gYhHg+h9ns+EaIspFRzrD+RsOhVGD/gOKZVB42DIUT64T 03ElGRKKgmPFz9UCfUm1DIhc X-Received: by 2002:a65:6484:: with SMTP id e4mr32579788pgv.401.1609849636937; Tue, 05 Jan 2021 04:27:16 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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 Subject: [PATCH v2 06/18] ARM: dts: qcom: sdx55: Enable ARM SMMU Date: Tue, 5 Jan 2021 17:56:37 +0530 Message-Id: <20210105122649.13581-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 3f8e98bfc020..927f43a7414c 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -185,6 +185,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 Tue Jan 5 12:26:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356863 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15765523jai; Tue, 5 Jan 2021 04:31:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3PoZnSQwPeGc5M2sTgBXDISZvCp2+gONYAfWmZ8DO1q1NQ3gaxMhbFq0X0COAsQ8x2i69 X-Received: by 2002:a17:906:40d3:: with SMTP id a19mr68637624ejk.98.1609849876894; Tue, 05 Jan 2021 04:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849876; cv=none; d=google.com; s=arc-20160816; b=Jb6k3d3HFHNMWFxtR6pZI8FdFSXVjR/Oug8qsxiDqKnE2hHSWrrfINjwS0QMDwaHww tQpAF5cwSqYIPVfpD50wYhoeKpAodAHzk20Manp6TuefpMdSHmfha43NWSANmO+Zx8MM WNPDLGZOXj3AsjahDi9VGdjxL67dfSNv8bB1tl5iY7GsSZ8ERQ2mnDUuy2isPyQKKaOA kHpLtRZZCFRbTqaQfQqdIi57WmQdCTn6dleb1jmtGhJLNs+YqHzyzGUrPzDjxwbIBzGa Bl7ZwaZ07NAtSW50UIZA/uuQdfnV/MaQUSMJIz/cad42tqnjdwg2cMdcR/yLNmlQsT0J AQ6Q== 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=cts2vGZ7rrrSCXfEGOMmkzEVqPBhvajN3PzO1Zo1Cp8=; b=zDRMALpSZhIxSxohpgsP3Rd1oDhIRmomWnt2dQw12R9qxqhHulpmBSw+t7FRuE3eCt /SPaTo2JXhTTax5c7LDFt7LiKso+A/TZAvuZthYI6Y6Vdgff6WDYxIZZOgCApBFV+V2T 3OpSraWO44eEsEi40vp32C5ZLngetcuZGasobAF6dHAXCMvX1Slxgd8UZg9zPjasiyas 4Eg4jsQ914ILsAORYciJsR2W52d4cQqHnHZJDcQF+8bcjGBC/Nic44FyTw7E/CBvk1Br JU0HfYLctoAVfqISmku7+IHZJfU4Nkl4rSALfZheOn5xE7U3+aWjmoaq8Kd8NjHRgBvW FyGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="A/xhvNWQ"; 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 i8si20352221edu.515.2021.01.05.04.31.16; Tue, 05 Jan 2021 04:31:16 -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="A/xhvNWQ"; 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 S1730226AbhAEMaS (ORCPT + 15 others); Tue, 5 Jan 2021 07:30:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730175AbhAEM2e (ORCPT ); Tue, 5 Jan 2021 07:28:34 -0500 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD83C0617A9 for ; Tue, 5 Jan 2021 04:27:20 -0800 (PST) Received: by mail-pg1-x536.google.com with SMTP id c22so21142921pgg.13 for ; Tue, 05 Jan 2021 04:27: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=cts2vGZ7rrrSCXfEGOMmkzEVqPBhvajN3PzO1Zo1Cp8=; b=A/xhvNWQghdZ1v4PRVIws+W+VCAoVlmPb91g7nE856rTTVBk+DFsEbuo4DcRau8oM4 a7oLHdOCsNCObQ2lipGXaeLP/skC1PSPxXifXTgWRcmDoQeICGve9jHgasfqpJugDrbY tyfoPNfDC0yzW5vONsqHlz3x762+pVhCAhPzErkFHWIjrzMn1q3kHyHCg2HpPdt1gNtB C33NzAEAI9QBA+pg1ZATo9/bPk6mAxhMZOO+DsQnmS7IEH8FfCXwqoeDPn3tJWE8rGO8 8p9A6zFR/J+YTur4LobVmzlyRw/D35GleVHABr38EmdyRWhMRgX05g9ZjJerE3r8usO8 JzgA== 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=cts2vGZ7rrrSCXfEGOMmkzEVqPBhvajN3PzO1Zo1Cp8=; b=Ny0JkqZffCdoMLfFHO6Vku00oSHlIu70x7gn4LCZp8GOdx7Pgu7KRvVRSgJNTDOuls Lr79X+NgVDtuSB/1QR7KMVLjo4brH38rQqB7zJjxkhz/MgccmMG6vX7oOvbf4rHeUMmo HG4q9zIY3la493F2U/vYzc0VQmwWyIHgteIyq0cl124pUWT+CMZrH9SqSIjsMO3axUlq ubj79eRnnbofiTSviIhWr02aWSufA9E3EgIUuTNmkOy+wra/Wwod/V7f6QCMoHrXW5Xn LKySYKHgVGYN8GxOWHyAJ5PC0N7IoKOnYi1Stcrw2nwlAod2o9shg70HE+bD1nP2S71r 3HvQ== X-Gm-Message-State: AOAM530/fqsqotGgcOKRwz0Ez9B1GPfebZtzKfGmv7qD1Vdz/98Nc+U8 X3yiNHFSTb9WcAyIWoMKJ8mYHlmzp6KY X-Received: by 2002:a63:1707:: with SMTP id x7mr42296314pgl.266.1609849640231; Tue, 05 Jan 2021 04:27:20 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:19 -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 v2 07/18] ARM: dts: qcom: sdx55: Add support for TCSR Mutex Date: Tue, 5 Jan 2021 17:56:38 +0530 Message-Id: <20210105122649.13581-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.25.1 Reviewed-by: Vinod Koul diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 927f43a7414c..e48ec7a1971b 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -166,6 +166,17 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + tcsr_mutex_block: syscon@1f40000 { + compatible = "syscon"; + reg = <0x1f40000 0x20000>; + }; + + tcsr_mutex: hwlock { + compatible = "qcom,tcsr-mutex"; + syscon = <&tcsr_mutex_block 0 0x1000>; + #hwlock-cells = <1>; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Tue Jan 5 12:26:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356861 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15765506jai; Tue, 5 Jan 2021 04:31:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOmN9a5kNUrx/2xS/jQddmgS8HwyvOSdDf4GekwXQ+p/Rm1hQUoXS9qUXyTywoGONN98o0 X-Received: by 2002:a05:6402:3554:: with SMTP id f20mr18981428edd.267.1609849876120; Tue, 05 Jan 2021 04:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849876; cv=none; d=google.com; s=arc-20160816; b=qNPCe2Y3wzavy4teqNw/7V+aqfLPFqeG4x3mRAds4fLY2+Mbs8WbMI6IxrnCpoTfCR 3ezoPKzA85hT4ZZMlInOYeDQlfYWdg7iIu3G72M5taZpzTueaVUv4iTMKvXlongOAt3j esYxHnCgvF6HORCDSkpNX31QI93SdCnInr+IWOFUAe6yrEADEyTEiTnOR8Fm0y3lE0c+ p1aFlEAmtptj1LplwXeJkf2HraJMxwQz1tcOW5Wm+eJ8h5T+cqZxCVYc75OKWXbh+Twq S2t4hQJfP2av70PJikx9BdByKc5dGbiZbHjH0XNnJ8JGb/7xLy9W6UESJGrIFTb2a2Af ysPQ== 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=RyijtvfzOEwv7y75RleS9x+X/d9lA9ueEmTbZLEwMZ8=; b=Nio61HEYqiM48ekX80IT4bOVCz59BLS7F0a8OWbx3ekM0EpJcA7dB304amQYd7oTbt /ZZcljs4ZVzBKhZNWt6HwJBWatkU93QJFbtTg+j8CiEB/dNJ+1SdXc64Oc7Mw00n72+2 K4UGiZdqSHLpfrtkgu45bMTZBHdVOWve8wA51ykanKj6uaGOmCvMPTGgh7DjFpmVG/Dv S2wIb3DzZkmmdzu3g9CFeK/4/4MOUwaYSTG1b1rHz1ieHLfkrUApbsZ4/WKdhPZb5oVe ezNJQ+fhmvUfDhinDCmH6jMM/oqPF02G/IXsDNpFJ7N6Ry2JLFF3X8LrAAty8jIewJK4 5UXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zNYhZQy5; 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 i8si20352221edu.515.2021.01.05.04.31.15; Tue, 05 Jan 2021 04:31:16 -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=zNYhZQy5; 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 S1728809AbhAEMaR (ORCPT + 15 others); Tue, 5 Jan 2021 07:30:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730193AbhAEM2e (ORCPT ); Tue, 5 Jan 2021 07:28:34 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10859C0617B0 for ; Tue, 5 Jan 2021 04:27:24 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id j13so1603942pjz.3 for ; Tue, 05 Jan 2021 04:27:24 -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=RyijtvfzOEwv7y75RleS9x+X/d9lA9ueEmTbZLEwMZ8=; b=zNYhZQy5bbQBnjuJlFostO4T2P9s56aLDKRbMbZNaovVwfdc9ITyrZC5/g3undrD9A Dimlh2J8B/C/Y2quAtc9kV9W1iu4iHJpGEMlAhSs92pLrazeUe0F6socr2Fun4v27+OG Z2FLt040yMh/xMOO2kvLpeuh2/0bKiJODqXDA/ef5xsqKzn/DtDO4C+txfRfoJAneAyY QKvUBZ2f12TevOyhK2zEwUhQmI+szr5F6pFw00iZnQi0R7IDgSZp8LTTZJv9BLLyRxEq lxmYvVl+78Hsss3ldv9xX9UwnUZGKGOydTSGdjsnNTd7Y8NYMz6Z59o++LXOqtUlH6Tp unqA== 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=RyijtvfzOEwv7y75RleS9x+X/d9lA9ueEmTbZLEwMZ8=; b=dlwsqFPlqWlMTV2pqRgSzvF26hanGcCUlk5eTBEoB1y3PZK72ZyBRXRkIPX5Pb2gDO BAxgRVyZ7/jHyHCt/kfN144lIZKc9ZJaJzzHKXDE377goUa3t51yrZ9y7lFXun4PFIKe njkL9mcLMJRSwo8VGQqdTk9JetY05I609JcXK59ugf8jBuJSE+5tsbKE5f9ColFQ/VCm xhv6r4knGDQGGols1LXH/VB9R18qesJxyEpRBwsUzCzYzAs9aeXrNynlp7CRZ+k0806I Emr0WgH34ToYM0dWquybKFMHqGKRaDAnaWhlli0QR2FHi5HhmdUh6KbCh5a387c+e1g3 Totw== X-Gm-Message-State: AOAM532TTi8YZdIq8b+PI7X7tcms4ahtG1X2yD7MnGFBQUxgOKCeW241 s40Z9xQgR5gTKOC/gfZbkO1F X-Received: by 2002:a17:902:6a83:b029:dc:2a2c:6b91 with SMTP id n3-20020a1709026a83b02900dc2a2c6b91mr53667252plk.8.1609849643510; Tue, 05 Jan 2021 04:27:23 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:22 -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 v2 08/18] ARM: dts: qcom: sdx55: Add Shared memory manager support Date: Tue, 5 Jan 2021 17:56:39 +0530 Message-Id: <20210105122649.13581-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 --- arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.25.1 Reviewed-by: Vinod Koul diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index e48ec7a1971b..622a63b0058f 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -177,6 +177,12 @@ tcsr_mutex: hwlock { #hwlock-cells = <1>; }; + 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 Tue Jan 5 12:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356851 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764492jai; Tue, 5 Jan 2021 04:29:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3jvCBmFAWbwPqEIpMFPyBGCGQvIfS3nS3vf6cPZdThzs5x5sluEYGAEkmxxvIol+A+GKY X-Received: by 2002:a05:6402:1592:: with SMTP id c18mr21925002edv.181.1609849787280; Tue, 05 Jan 2021 04:29:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849787; cv=none; d=google.com; s=arc-20160816; b=SeVV/q9eEVWQzRB+pbJ0hYqKweA5Zybury8GSi7YaX1u2NGusXMqlIZJKXwH1ajtPZ hOkPsAi/k3Qct2+eUNdc6A1K9v1Wbzh9BX5Fkt1YrFbJGpwhn/83AIYqt6Sjod+pip4l qszkxEtrhT7050qqw6JG/4UD1Af8hHRbCBC1l+ygTVJOUfyzm4AdLaYl+0Cn30fnVadD eluuk5Xt5PuApXb+FDmYLetML6VcnZYj6ntXBN7wbsZzGl35sphVxG0weCrKAAsEdaeG vdUyOf23xCL9ps3G/m3DMAv7uD8KMNdjz4iOFDymgLZRnJulCMJcoqXO9NZ2rRUlAemZ 2R4w== 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=TuH2EEAxcppvUqPq2YEsaD2UoBQy97IRscYtDXxjJcU=; b=L5HP457UoHOhLlTir5YXz8Y+dN0oSUzdrXzZ+MXzn4Z2Ong8XlmpNHmiXzbpgpxtuZ Cs+dxyr1XsVcOqVJHxYZcvLZCwP7+7TGKm0NWFNuKABNCeOwz/6sPFoHy0q5WG+LPjDK iSzs5QOz4ZTFaY0+xNhhTCeQyUy0B9Pm+VcZv4Ovj3hkgbwIKK2KKpWb7MHbhmMDCBLx zuL/yVWPMvXZEmDrMh/Y33E0c8EugQ4t4j02OjcFbqc7dONIz7YYyOOv9+HqBJ183y9+ JN/wgBcFhvqebPDeA+U/bj7WifJrPJ4geQVrve+5OtEuV7yoTeMiqqkb7l0FXoGbzhG8 9euw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TNyQLCK8; 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 n3si32606247edv.105.2021.01.05.04.29.46; Tue, 05 Jan 2021 04:29: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=TNyQLCK8; 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 S1730215AbhAEM2g (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730211AbhAEM2f (ORCPT ); Tue, 5 Jan 2021 07:28:35 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E7DCC0617BB for ; Tue, 5 Jan 2021 04:27:27 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id x12so16274206plr.10 for ; Tue, 05 Jan 2021 04:27:27 -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=TuH2EEAxcppvUqPq2YEsaD2UoBQy97IRscYtDXxjJcU=; b=TNyQLCK8Elp35PEuLuD1Z8apl/ubhOnEu8uHWNDzxEbCaMtOGKXgy57mHnUqMcbDdR u0JcO4WAjJQvFLlsPYa1p8eTM7fQfpmgnewb/M4V6VLY688yPn3kK6A3Y+wlwKPW7u/e 7o66ULfD5OHOKypEkAIQHihSgtDzJj+zi6cGbAq4Xq6xYOlPxOKCw+LNXFHvpiL3WbZK w3CUX8zG4CxxdaNsE3iGVYA6cuNveeoCkeQR1CnZ2fFYIfdiMiRKtIuC6NuKJfh9HfAA 73bDd7cOuvNao2Zz0RtfzsxY61HwmuQxryW1B/NsMkeAE/e90pKgvjXw5O5FRpoEAoJ+ QTcA== 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=TuH2EEAxcppvUqPq2YEsaD2UoBQy97IRscYtDXxjJcU=; b=iUt1JxjwZznCDnEwudqLBcExZ5RFY7u9K1T5RHgTJXe/wTDIhfMOmPLtdNN4Lj4WIw YUL8uDO5ZxtfNwF1VF5pdFgzODxJgP6eHY56EBPPpgSw/aD8Zozxz7iYaeMttJshyd74 ElYPJE4mole45ebGTngwa6ZtQ96pP+pC35pgKykzpToiXtCKcdaAgwtjhXi7GpR1IURp NMnFs3y8BynEbWOqzY6yyw5Hd6FpoZCzkVfjJNwSkKEyO83JGiaZc93fo7D9rpcZHleY Ff17JnjTgQJulOUNp5I6oVUhSPcgbrTNekIUNsdVYuFk4fUpnhJq/OWs4mJeqKYbsB54 C75Q== X-Gm-Message-State: AOAM530lLPK4qa4FrVHFSo+jdMtTf1n6Q4q0/riPj+ik0xJnS7vnJsKg Oln1zZU+fESosjhxTe/u6tT1 X-Received: by 2002:a17:902:7292:b029:dc:ac9:25b5 with SMTP id d18-20020a1709027292b02900dc0ac925b5mr77669939pll.2.1609849646792; Tue, 05 Jan 2021 04:27:26 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:26 -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 v2 09/18] ARM: dts: qcom: sdx55: Add QPIC BAM support Date: Tue, 5 Jan 2021 17:56:40 +0530 Message-Id: <20210105122649.13581-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 --- arch/arm/boot/dts/qcom-sdx55.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.25.1 Reviewed-by: Vinod Koul diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 622a63b0058f..1b9b990ad0a2 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -166,6 +166,18 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + qpic_bam: dma@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_block: syscon@1f40000 { compatible = "syscon"; reg = <0x1f40000 0x20000>; From patchwork Tue Jan 5 12:26:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356853 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764544jai; Tue, 5 Jan 2021 04:29:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyepSxCTLXimKIB59RWyx1d9n/UrqEoQmk3yagFbhrO8qhfmX1HVZFKFLK29B7NR7cvFu/i X-Received: by 2002:a17:906:1db2:: with SMTP id u18mr30608794ejh.440.1609849791934; Tue, 05 Jan 2021 04:29:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849791; cv=none; d=google.com; s=arc-20160816; b=oekVIpEu2POSJc+y91MEmsjV5QK8ervq7OpqOsmt3/OPNiKQ5C2XdqQEmaQub8I7RT qKlQoZDdLuDJyJV4nKd9JB4/WJAoNha2VYraYMvFVsZbTPfcNULSJaKlTByXZniUGPHY UdCXH9RRGkCdQYP7Dpjz6Kl2YcCQK7lmE207VzA33Mus7UiPGnR1vtcPbEAqymbIuvI/ fc+LOcoD57bMA1/nptH1DdgH3sSMSpB2zQcJbw9yfv/iP6gPjQbnVBJTkjDUROJ/MA3p qf1W+TDIjKcMZfm6bOKPip1xwF2ccldIWH9pndWU98vjlnIdHI8kR/DcmeNuug6Uw7q0 0RZg== 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=eKU2p5aR/XepehIlp9fHVnluEudBDhLBR2ItYfLDnIA=; b=hkhrhV6qCYR4mm3eGe7bl9YxgNxB9MjDMB8rINpsuRuRtz8v5zSAhxsjzQd3gBkLq+ 0Iiuln9gRvjzWufIKPFJlfLlYjEfsg7Wxr1IeLE2Hkznf1dNNcurJ8pjs0Zy9pvxu/Rz 2TkmqSndIMG2s9LV6dK7wFaxyVzq3/DAymi3pQlSmjK/gH/6JsgOVJQaYpkzXtVTZ+Vp 1qe8hF5gpzJoc+x6marfugkAqx2orgLG3YxUSVtoOCbZ8SWVTGC/J3ri6DrH2tLVTQyk RwZNwMskMb5YifYtHlZxyrLjLZmNepsmGyVA9d0XPpKYfpNYnzat/olemzm2EFanumHr DaBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QyjNAFDT; 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 n3si32606247edv.105.2021.01.05.04.29.51; Tue, 05 Jan 2021 04:29: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=QyjNAFDT; 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 S1728804AbhAEM3M (ORCPT + 15 others); Tue, 5 Jan 2021 07:29:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730312AbhAEM3I (ORCPT ); Tue, 5 Jan 2021 07:29:08 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1080CC0617BE for ; Tue, 5 Jan 2021 04:27:30 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id b5so1614731pjl.0 for ; Tue, 05 Jan 2021 04:27:30 -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=eKU2p5aR/XepehIlp9fHVnluEudBDhLBR2ItYfLDnIA=; b=QyjNAFDT17rOjldZ5jNIIxBQkpsJ/aIFtmaGrTx6N8u+utONVWy3WjoBqy4e7GzqKq i5iiRIC/0l4L+r+tfG+3kWOotfuj8BnUPFsFOQkJSV/RYhjI6IrRrqRtMVufEyyWlChl gkY4SfVZ16khTniyyFcBMP/VYsPWhX9ozhODkhvddfds+eHnZ9EgA2eFYHjRLEu7tRwz B3na4kwm2DcqBQgL5VsSUQvDMMmwHtw0IXjthfD3X05mXrl9xYNQkgfLDAE0CkcU3ch+ CnA+jt/uU0Z3VdyHiOJDZsp4jU7UYkQewSqf7WUHkq/CyqDZqOu6n92dPl4/k+si0DJP W80w== 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=eKU2p5aR/XepehIlp9fHVnluEudBDhLBR2ItYfLDnIA=; b=DttWuK7kKY6Ey+9K7TTHyssH+0+pw0j3uUiFwkETMjO4N16CQKXFPMyotvHy58L6Z5 HBBMdgxZou3dyAP8nSU3wYI6DMS31P2/Kj2kiEoUFMixC4vruKD7Qmp2UQPpqqtmInFw LAWjcJXEFnoHoJnr6RUcjayccfNZZaPTWixi6XplmoAUXR9NnvF1ZXiQqrURiwxDscY3 AMpGwnalT73fz3e1Qc+DBGMvaEDTPYriMEPbeSdiTxdirtHgvZXlC3pY2BtBAieecz87 vu3qflRppTOQT1NnRcuhmUcgQF9kCrV6r1wgxT9nA1TZJn2suBmTEuXh8+lw7co375fG YFqQ== X-Gm-Message-State: AOAM530HRGwMYR7+DD9vitxfwIQ1PHlxConAtY7ZfMLdnzYAD2Wy2gKz +4ltxQKJaAxUs0f1Jy/D+BQ4 X-Received: by 2002:a17:902:7d84:b029:db:feae:425e with SMTP id a4-20020a1709027d84b02900dbfeae425emr76429983plm.43.1609849649592; Tue, 05 Jan 2021 04:27:29 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:29 -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 v2 10/18] ARM: dts: qcom: sdx55: Add QPIC NAND support Date: Tue, 5 Jan 2021 17:56:41 +0530 Message-Id: <20210105122649.13581-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 1b9b990ad0a2..1a6947753972 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 { @@ -178,6 +184,22 @@ qpic_bam: dma@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_block: syscon@1f40000 { compatible = "syscon"; reg = <0x1f40000 0x20000>; From patchwork Tue Jan 5 12:26:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356860 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15765490jai; Tue, 5 Jan 2021 04:31:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtIsgIYj8T1NZNAi90H4JieP1I0fsJKeD0PncJfezu8TKiVrcTaluaim8NN/6C85kmCF/H X-Received: by 2002:a05:6402:352:: with SMTP id r18mr74262505edw.373.1609849874172; Tue, 05 Jan 2021 04:31:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849874; cv=none; d=google.com; s=arc-20160816; b=jzA5bbDWPuGx4ISmmA6MywJntTB6SDckp5Tz0NPEKSLYQ/AxfDaevxaqubzyYv6GYV IExR+uiHXBzXg9fna4it5iIqPMhZfhrl4KLMi1ugxYUDXl3puW7ae6RtuBY+BOnrNprH W1TDeGAN2hcTvQMRwLB8DPt7oY0hMH6hVMUgKhWt1+sa0Aeek7J39N3GXJfv2+rljYOT XA0orvneid1i16x9PAeG66w2rOGriWMvJaKUapcYxnu5d/PI1xL/edsaHHoV+5UerTUO B0OLAnlbggBkWe2r0cQQ5Ffd9mf9Pph7mtw8krry6hNG3BVDiwYilP7Layu0JyXXVSMj Wr4Q== 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=HxQ9bQtIikQWDcNYhJoOP9WcMBp1b/WtsV26IjiPkCU=; b=l3KnoXSR7tR2ACikZSB3UEk047KxOejxqmQa6FcfDsXTxspFtkfgzJK81Ejzo70dz/ /S9PyqN3gkNMxSCQKp8ATiusYJu8WCsEpYfTv08zHq8/Coe9RwmHCzPzCZNNNxPApOCJ PMO7Uu2C3fblRf4SyydCfTnTAb7B18a7SzD/63SXycVPu+MJLFXmkaxeG06hxRyHMbSq Q1uv3zWw1q8XmxaJGh19nV6nFyHly0Drl05uO4hm1bDIbWPBuJ6GoPfQNuo237yn7JHt LFpDdfqqbHhSzAPyU2vVLM0jL5Wy1Lk3x0w3rk2y5QuDrscg8ejAxNVVosaF+eO5HLuP YcKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UhugPWEI; 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 i8si20352221edu.515.2021.01.05.04.31.13; Tue, 05 Jan 2021 04:31:14 -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=UhugPWEI; 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 S1730221AbhAEM2i (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730218AbhAEM2h (ORCPT ); Tue, 5 Jan 2021 07:28:37 -0500 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A0A9C061384 for ; Tue, 5 Jan 2021 04:27:33 -0800 (PST) Received: by mail-pf1-x42f.google.com with SMTP id h10so17341808pfo.9 for ; Tue, 05 Jan 2021 04:27:33 -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=HxQ9bQtIikQWDcNYhJoOP9WcMBp1b/WtsV26IjiPkCU=; b=UhugPWEIBZUPPw2cCeZde9yuLdlhdeiopaaoFSSVHqObHCAv59LydmJN/FBAHc6Cqc b2H5+wIi0zzJ4jf0R9DO4x3oO3go+DZCsFZ4f3Im2IZ/iMlVBVa9lRLM/p0DZOvv3I17 UFcAHXkHO1mqvZRzAcZSk2D2cHaL8JR1cW2m/8AH6i0Fgr/oztfTdQa6Im0ujslaunid E/s9Xnb4prNaw73XgqM6SXIxkt6600t+j9V/eFos01DKqxH6zBvLe+xoOHjn3pgjMLpQ PpLGpGDsfCXoeiJpIH3GQDeirlwCpo/R/gG8cjKx/JDd6VDF+i19LXmXbEi0YfdPiQ5f tCkQ== 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=HxQ9bQtIikQWDcNYhJoOP9WcMBp1b/WtsV26IjiPkCU=; b=Mz3KmBUbr1QwUtEM8tx8R4gtOWZeGqgzNCHVFIJfYp46rraoV8JleZp8PtaIGY6HKw 5ibdVOpUu/IjlqPVOBvRxO1XnGVN8+A3u5GcIj9LRvx7bnxefqgK8K8PzZtr2ZssFHNf 9tXe8EAolqRYExna73R6jGp6GwNpWlI7s1qvvi6mFTTgQwvPFPktWpd4UXf1Vq9rf3sz 4M54aOxz55KfZdtq2mm3efpCGiaXgb3jRPMRfV1YmYGfyxuevMZsxQGXntSoiTjUiJ+Q 0JopXt8nCKm/xE0MSlHCv2zSkOwPT62cuDYTurngDVKeJOiwGEh1GFz3Jv8yomQwe6wW Nd5w== X-Gm-Message-State: AOAM530KKsHvQJweSALSK37JGM0mr2h2ZCYK8bMCYW6ljmQ5ooSxXI0y uSWElrrSNbJq0rRq9B7JSR5y X-Received: by 2002:a63:f608:: with SMTP id m8mr11036249pgh.11.1609849652601; Tue, 05 Jan 2021 04:27:32 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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, Manivannan Sadhasivam Subject: [PATCH v2 11/18] ARM: dts: qcom: sdx55-mtp: Enable BAM DMA Date: Tue, 5 Jan 2021 17:56:42 +0530 Message-Id: <20210105122649.13581-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 Reviewed-by: Vinod Koul diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 262660e6dd11..74ea6f425c77 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -25,3 +25,7 @@ chosen { &blsp1_uart3 { status = "ok"; }; + +&qpic_bam { + status = "ok"; +}; From patchwork Tue Jan 5 12:26:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356854 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764548jai; Tue, 5 Jan 2021 04:29:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZGjqScTDELEn8yre/XQIgllGKvhinXLcJTJNW/6XjVCw50M6+SfONRk2ypQ6rpgPpRaeX X-Received: by 2002:aa7:d915:: with SMTP id a21mr23715955edr.251.1609849792330; Tue, 05 Jan 2021 04:29:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849792; cv=none; d=google.com; s=arc-20160816; b=gHA6ejgOuSMR1SqsAN0e0jv4cYoc1UBfoc5P7PF/zJT07Xn4QEZ0b0dqhcBcZfHC2Z QdLZ6Op2GZRroJVWfR/L3nMamkvhU7jfvPTh57TSPhnhf6g5nu0xG4WuVr8heRcjeYXi /lTxGkyvQ0RjyJNu/kC5Gz8yHDBT1h+Oah6XRCwfdgIQjr5BI79+Ne1Leu5G5HfLg9on AJojW7aBs1A5oJUrqUjNqoktRXPh+9V6n7h7wRNK0w9SRRB8KKHsdwVIy/ACG3SFxUq2 b8FueZSZ5eNZOeoZ2JDABjbYzrxLpbLwcui2V5b51dlBHel8ZIIRD7ulLHJquYjqsVeN aQ+w== 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=dQ4Xyw+lomP5U3AJy8SgFcN3M+pTYg7eIxIz6Xs0pzE=; b=LjTWJbnqyWqzL7fgXvll4dQ1FfbA9rL170lQ5b9vRve3N4ll7CTcLinN4of6LVVNkV tWIy5I9RRbsligsxzAQU6CLvHAgVZgOjqiNkXWG6LLkVUBmp6XekqfKc3jekdPz6ndcC 8Ilo+Az76IbTlTxrklARR0cpjKTDWRgD8+ryph5Zh6UYBfq5Sb0EVdIWrp/U/OsAVGC7 JATlg/K3OTarOSmwn7b8vdZHxIQ43QQe+YxDYVrxh0qa6e/mi2nzdy6PFThEfBlhZHl5 WCX5AhdobKsVqEnpHLlQzK2JMpU7tG20Yoef5ndj+oBT4fRNeXLRUy491lglIuA6yYZT aGZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WFHYQQIt; 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 n3si32606247edv.105.2021.01.05.04.29.52; Tue, 05 Jan 2021 04:29:52 -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=WFHYQQIt; 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 S1730300AbhAEM3T (ORCPT + 15 others); Tue, 5 Jan 2021 07:29:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730315AbhAEM3I (ORCPT ); Tue, 5 Jan 2021 07:29:08 -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 310DFC061386 for ; Tue, 5 Jan 2021 04:27:36 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id c22so21143303pgg.13 for ; Tue, 05 Jan 2021 04:27: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=dQ4Xyw+lomP5U3AJy8SgFcN3M+pTYg7eIxIz6Xs0pzE=; b=WFHYQQItdpm7MoI00KU+wczGRD8zZMrET2a085XOPoebkPBarWQjwa9b8h39b7wGAx ds2UXCzlfij2QnB8aSLP6iWEcq6Z0l2xl50UeKjRTKzNi+5R+IoVR2AVmCUnbDeaGJQp anB2xo790mHU5uDPAMPjDDEo/eGNZkAOsNs/nZVkS9MFC0Q46ZpOx1+0YK0VKkRcyjED yYaeDJYdglEpWvAh+h3V2zC0UT3BG14V3jucJIF5P0Ab2mfzWhkD67abmXn/liGKaePa ylk2O1Mud9l92PIqZTqbdJzRrbQ1o7a/k1w9kvjZQo71l2w3pWoRnl2+AAKfBYzXuQ37 pGcw== 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=dQ4Xyw+lomP5U3AJy8SgFcN3M+pTYg7eIxIz6Xs0pzE=; b=G4jsFWXIQpYH6/+mMEyHH3ozLRTcqJcV5MuWPFYbRxVhMmIE/KyY84sOW4Uhh8SRTY 4+JQJ0ycHXBAZ4cVwSvPSps58zeCRVc/figOh/adV/vRKRV6iGI8P78wBTqLB4VBx8C/ LpQ+/zu9lmQqzWG9C3oj4pqxeFApW+x1t5jVj+0cvEYw+k7VHyHm4zfA9A5soMxWnsOV 1AuLfguld7REWAEPGqgYPWHtMrwFvTgWCeqQN24hdkeo6vCQfsAJQSePMXVh4H3uI923 G35eG6296CIRHbfQEBljMGHN34ZCzvhDCtJxy7Yka1TLjuU2PWCFLhjylQgpMJYa6Wbd wCBA== X-Gm-Message-State: AOAM532X4tDqcvR1Sl00iDpb2zoWoGcneWf9sSRt/7SOrVtGV9FrQTj2 2qVUDGFoGSth2M3tfzstUtRK X-Received: by 2002:a63:1602:: with SMTP id w2mr36955617pgl.128.1609849655746; Tue, 05 Jan 2021 04:27:35 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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, Manivannan Sadhasivam Subject: [PATCH v2 12/18] ARM: dts: qcom: sdx55-mtp: Enable QPIC NAND Date: Tue, 5 Jan 2021 17:56:43 +0530 Message-Id: <20210105122649.13581-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.25.1 Reviewed-by: Vinod Koul diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 74ea6f425c77..b8d432a4324c 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -29,3 +29,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 Tue Jan 5 12:26:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356855 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764559jai; Tue, 5 Jan 2021 04:29:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZrrUZllkoE08urmYo9FRPnM5kbJJMOaR4ZOPraay8nFotmTG3IaNnDsQm+7R361Iwebfl X-Received: by 2002:a17:907:c05:: with SMTP id ga5mr68858224ejc.32.1609849793158; Tue, 05 Jan 2021 04:29:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849793; cv=none; d=google.com; s=arc-20160816; b=owZuYhSfhCDdtQ7PAZ1WfuPkQsS/XfIM8+AQUXG6RazcUut2uxSQiD/0Hpd49qh6lN Szzn3QS88atgnp+9aREUK4uGKKBSk9ohgCHshO/QkGELLiVLhoEZw8DgHoSZxIf8tVfd 44Fa9Ho+oQyKhH7Axl9gW7pjE9Liz9L4W7NF6j9RqGlPgPNmclmXGNIcPU7EDKdj3V+V D4YcuUkL6nqks6Phd6c7JqQder01sL/lTZ/B4GvUTObN8R52sDClkrfsY4oaI6R10efG KW7A9Ul6GV8cE2/KYHLBuk+/cXuDHPUiav5q282y+cyXdnXQSIX1lERStScP/Yq+rRL2 pFQQ== 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=ShXu7/U7Beq0uWc9RaEN3HI3oScB32KORyGyOVEnVV0=; b=kLxBJ9PxZo0Xq//UoUCPqKxHslANkYjpP0z3uEjpgGKDIVcJYTpxNSMqmAJSlhFmP4 X6jeXUMYbc8wdb0NpiGHX16JyvSwgnnvS9JAssYHYmP1vp+BkrgXsseVCL6nYEG6WRdT X+jtFyc+baQAkLLRsL4v6a2tgb+eiI8yoyQNjB+ZzBIiswvYaMM6KwiJcK50GJRFqKcl TlvbI0tBlF7j9EfWAkerWn+I0QEzy7f/Ri2XLkFWY/OLd91LDM2w8OwPnMQhLl4qWIRT uDioACh8q6M68k5I65vshhzm0ZcGqVgl9MQwJ1vPk4fB092uNZx2URARPlj2Q3Fk50Gs FUxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RHu4kMxc; 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 n3si32606247edv.105.2021.01.05.04.29.52; Tue, 05 Jan 2021 04:29:53 -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=RHu4kMxc; 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 S1730311AbhAEM3G (ORCPT + 15 others); Tue, 5 Jan 2021 07:29:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730307AbhAEM3F (ORCPT ); Tue, 5 Jan 2021 07:29:05 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A663CC061793 for ; Tue, 5 Jan 2021 04:27:39 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id l23so1609108pjg.1 for ; Tue, 05 Jan 2021 04:27:39 -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=ShXu7/U7Beq0uWc9RaEN3HI3oScB32KORyGyOVEnVV0=; b=RHu4kMxc6AzHLy/zzx6vh7UJIyQtFXBt+A/Fxyq0b9PxSCboILqTeuUu0Xe4MZznd4 drYlYhMgyPx9TKMEw1GUVh918DvWAc+dc6eLesDwoTH/kr87QUk7XPVqmdVUO6WecZnN vHvozS08ewOEliZ4Q+XMSYHqCeuNLlN+wBpq8hMq30yJKguNFEPevlJhMWOZGSeIVMpl p47BwbUFLItbfZ7WS4fh5QeQ+FXySoR0wdLSn8xmINB5Jo6SkubX7T7NVk0H+EitaSxt vxfKMfV2P2//uSVRn7/CTzZtP6JYAyTGQOXwCoPxr/bXEnKIsZb3Xu2ZCuzcG43gLwOE PH4Q== 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=ShXu7/U7Beq0uWc9RaEN3HI3oScB32KORyGyOVEnVV0=; b=ItloNMrGHvbKzHK+ROuWYSm4Ec2J9JSmSnUFAyOL8ywvDXG981LIE46Z/hKUAQVM/A Pi+rxmG7pgM05VDKt4OtVkUGc3J8SWxIgWBQoUle7zbD0ZEB5Pbnd3ihLbuLSdWOgTDn NmKWy+tiMjlEE+aA1K/BF0J5ZX+byvtpOHpfXAMnQeIuUWTvt5J+A9MGSZ0Nk3Jo6aqw pkrtpg0EJRwKhpMmMlhFMgSJ2ycZDs6nGFgqDbc3LdgV0ZXWRp0DoZL5kieH+WGD2v2V z55G3HADnz+GuLenoDvTLZg6+xpwBIvluXLEJoiUqvcf/bLsvQ0A3irmyJcZ1qKNXZih 43Tg== X-Gm-Message-State: AOAM5326Sx/r9t447OscfGgAjBPyKvtzCZ/QSw+5uklRQ8nC6WMqj5ec nqkJa2TS0mV1nlW+Tw7DUB8h X-Received: by 2002:a17:902:b203:b029:dc:973:3ad0 with SMTP id t3-20020a170902b203b02900dc09733ad0mr76213782plr.44.1609849659228; Tue, 05 Jan 2021 04:27:39 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:38 -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 v2 13/18] ARM: dts: qcom: sdx55: Add spmi node Date: Tue, 5 Jan 2021 17:56:44 +0530 Message-Id: <20210105122649.13581-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 1a6947753972..f3864471ba4c 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -226,6 +226,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 Tue Jan 5 12:26:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356852 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764509jai; Tue, 5 Jan 2021 04:29:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9NlnroEoMN9kwDHVrhCLQrR1Zb6LIcA/83XPNCWMPlgrb3lh+AnJ7L7YWJaKrQvBziyIT X-Received: by 2002:a50:ccdb:: with SMTP id b27mr77633136edj.20.1609849788649; Tue, 05 Jan 2021 04:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849788; cv=none; d=google.com; s=arc-20160816; b=02beGxCGbdEUGXVs3J5vMAkOoE47lx38FVup2v/aXnbI7qIvXyQ3ivmnpGeexwkmb5 If9POmYymvkPZNz+mJhPwxelUbeWYF8yusoQ+WmaT5JQ69xC7EK8aXzbEbPCHzXs+vLV PaaMsV8JQShMd26qZ+WDsF0kU6Nc7HVceYaOwQ1K7rFFmX/0j2HjNp3+5meVo09G4vQK FyF1kT4O+ZdbnOXu7vZApt0mxMiqRb0XebdP95YQlkDmRAvo4ocUX0hbqzlboxtNf5dI LppCO37pnkHv5DxLN6QW6WPXK2Ri/ClrQAPTGAuoNOZ7WI6DudIvnGWU4kCH7yKNRhkn ad7g== 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=ruQYP7YBV6AdaomBjYYG5DyZKP86kJmaQHorAaM/MSs=; b=amR1Od7Tu1bYucDHxvQPJ6NixIj9clBueBGcrnke2+/Yj4/Awp9N3azN/Gr8CsufFD /bzg24P1ASSlVrfXAJg7HykxsELFhxUynMaeyycMWz7MC9VY4OjDbOh6JbtaGZy8ilGT AsBRj5y71zKh/WexDD6IPMLfuFeH8k7Q/oZklYTgi4hJgepy7GfFWhpaEV0BDDrecFN1 x72Dr3V/f9hkJTX8k7W8zIqr+VMRJN9E8EMjannmG+UO2mw/x+z3mie3H/OziBuBpO99 Ssk9Zs8k2+bris9o7UYRtltwH/cvL4rp6rkURchVJKpywW9Prrltf1WbCvNXsXCSUv9j Ipbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLJ8OEAk; 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 n3si32606247edv.105.2021.01.05.04.29.48; Tue, 05 Jan 2021 04:29: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=MLJ8OEAk; 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 S1728710AbhAEM2v (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728272AbhAEM2t (ORCPT ); Tue, 5 Jan 2021 07:28:49 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C0C5C061795 for ; Tue, 5 Jan 2021 04:27:43 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id b5so1615015pjl.0 for ; Tue, 05 Jan 2021 04:27:43 -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=ruQYP7YBV6AdaomBjYYG5DyZKP86kJmaQHorAaM/MSs=; b=MLJ8OEAkspkaSVUgg/g4zGTwcRjNuNM2kTiVGcFROr138ICWaLC/Kvdp5aqQJElFt+ HPaoHy86uZ10iZjRwkOhMFsC45H3e1WuPWBtyazA5Qkr2kEyLxp1YsX5255MMQBlLmLy NIefhr97xlMDTXQH6hLI7k+Rr6gi5dWJ9wKLudHX1JlTJJPVs27eQP39MjqwugqdHsNc /JG2wXOTBnlLfjrkfzxlEfewYHEYwrQoQeiI6MpzAsQA1j2X5orPOXxEUGVA4CFlisna N7XPCdEhoqIfOMq41Ibe1Pec5jJ+Dp8gB05hWDKObO75G7qQ515+YCjDsqAuEauMNIog Ewyg== 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=ruQYP7YBV6AdaomBjYYG5DyZKP86kJmaQHorAaM/MSs=; b=ZwvMt/swU1r95PSknE0NvRsCxCJ403N3agk0UPXoei7stvwgG7QLRe0ZDLA7Co3dFY rkCQSjSsEiBnU26PfdGIDXxGOLR5n4jaUWm0HHbykLOtLmz29wok5lLflgGVBwL/w+gj j/FX9Q8FDfHey2+KqvlxBo6kbMzMwjlKa5KG3n2Tr8/NBO2fQ+OKLAGXm912rh0QQ3Pg x81imA8qO6RS+k/qa8d+1LCUUOxTMt0Ik3Fkb4M4u5DLh4VEExIUzPABLt5cy6iQh5qi +DG6d+7cRjUkvBE6OQD8r/+UzOZkM1ltu2qmA1sV1c4KYzO06EnH2ZckrgU3EgRNWIo+ n5Vw== X-Gm-Message-State: AOAM531ufpTrLoV6zgUR+kjrJ1EVzLXlMki6mOmkXVRJF00BVjQyaKr5 j4f24WNm6ma3PECVY7Fhb7In X-Received: by 2002:a17:90a:74cd:: with SMTP id p13mr3716609pjl.25.1609849662742; Tue, 05 Jan 2021 04:27:42 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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 v2 14/18] ARM: dts: qcom: sdx55-mtp: Add pm8150b pmic Date: Tue, 5 Jan 2021 17:56:45 +0530 Message-Id: <20210105122649.13581-15-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 b8d432a4324c..09aeeb14be37 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 Tue Jan 5 12:26:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356859 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764609jai; Tue, 5 Jan 2021 04:29:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiZ21dkl//vu42kaGFinq4QM0lPgv2vv1E5ecVtX3pKdGIfpE8DsNE5vfFmirr76vNIkLz X-Received: by 2002:a05:6402:139a:: with SMTP id b26mr76014038edv.47.1609849796982; Tue, 05 Jan 2021 04:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849796; cv=none; d=google.com; s=arc-20160816; b=FRYfJR1fqk01NnS1LguOtE2UWEg595Lv1CM3jRxtGJnmLUXyNadhOg7/D9W3+bLbFP Hm6VRVSJdDVFCyAUSniww6a2zX+FELBXxOVSK6CJ98Vj7046uXnah8ckoV80Ipm6kfBs mdtxnwKEFL1BtWTFpP6r2Gg0W+HFKoFiLdrbqgchMaHPS6+POwa15+5ymnoE2E6R2R7d z3Iq/5Aljo56p2B/ANDJC+CBUEFh6YO4+W9546qXpJeAmlj0gs0BwGOI6YDqmIjf9yvZ S/y7aSBVlxqe4dg3A0YA5KXP7Q/I5u+8SFX4yvRq+DH7F11y7WuDR/59d8KAGIH3ZvfR Mcxw== 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=99rzKTlTSe9qUr5y9f4oV2o3y4JbKLKmKgTDd+AN/bw=; b=lR4AUJgY2WtPpMJoNg/dfxzz8TKgdw6uRrnsC9eRIaa9Pksew5anIkr8scfk8OE6Z5 g7UocB4Zs5/uf5ZZv5cNFFwrr2X4bf2Q/vYMGuAWXHnPBpg4Rp2yvbGmMuvfgPq+0u+4 0jFQwzxm6JIY2UcBWwnr+8wQOntEu9TZ2O89qXJYJ5UElN0F0yDPqQ1Z2lv66BL9tYhI RYWpcEZvnn9nKtTqQK5kNeL0dqxglN9v/TVmR/iX93Ql32VUtj8b5nb/0rWDud5PSHjg mAoX6kteeBJ8KQCYiBw9lKT4d6vACOjza9waN6M/joe+PXS7AXQvUyRBv5vblOPIIpIa Ptsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WVmf9JSz; 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 n3si32606247edv.105.2021.01.05.04.29.56; Tue, 05 Jan 2021 04:29:56 -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=WVmf9JSz; 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 S1730219AbhAEM2v (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730229AbhAEM2u (ORCPT ); Tue, 5 Jan 2021 07:28:50 -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 244D0C061388 for ; Tue, 5 Jan 2021 04:27:46 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id j13so1604408pjz.3 for ; Tue, 05 Jan 2021 04:27:46 -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=99rzKTlTSe9qUr5y9f4oV2o3y4JbKLKmKgTDd+AN/bw=; b=WVmf9JSz7yJ198Fn3wKNX7a19UhtUQCONzxBdN7hqzYlbcde2FWwPVL3RspvD5voCj 6WNr0DV1vN61sTcyTUkgL+nxi/m4W5/074YWySI/PCLbNgs/KcL1HZFs0qBILiwT4vS3 sTd/XgKTGAHkQIHb8Tn0HnEMJATuYaZMsT/szqs/GW0UAMpFD5BO8dh6zmeZ6qtHZ2ia JTQaa0hx8Qo2FabiK56lSQZZYwtj3g9r62HcqbIxUjERIwK6T/btWlNCo8tleI3EFark WTDxRJvln+hQ6DrodF2L3GY/uV98qZWhk0y7/q3I2Rd7KnRg7xHii79YL+X4EjMxzol3 hdjQ== 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=99rzKTlTSe9qUr5y9f4oV2o3y4JbKLKmKgTDd+AN/bw=; b=Sc3BcsPHyobuBAkq04WcCICjEtYo5H0M1PoTyZnWL54yG1ZS5bRW46g5pPSCZ1c3G2 vgDeiXoeUzMxVn1+2dDcdtYxJVCaH4+NNUgjaDnfRW4829eo/9dLuPGv+DfXwjFOZdG0 YNqu+7KP6pmJmcHwCN4wnFD+zffcAKS99DCCXI5hqYSBsrebdzkggvrF/L59JkGC83er 4LRFJVpXqTFv391IP6KHzh+oQowHk0mDxc7OE5K98fNZWj3/bjXarjvzViBoHiOdvuAB kJj//ngIZF3BQp56dPSu83Iu+Q2qLEsp8mGq8X06MXSFF24eLJKem3HNz075hqrIYEEP Jc4A== X-Gm-Message-State: AOAM5325pLiRqb7geMrT3aPlSc+RHeJWoCcJjAIYrsR8HeBQfsBxxvol WaqXC6f2ocQrODh15UcPkev6 X-Received: by 2002:a17:90a:ff03:: with SMTP id ce3mr3826646pjb.44.1609849665677; Tue, 05 Jan 2021 04:27:45 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27:45 -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 v2 15/18] ARM: dts: qcom: sdx55-mtp: Add pmx55 pmic Date: Tue, 5 Jan 2021 17:56:46 +0530 Message-Id: <20210105122649.13581-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 09aeeb14be37..825cc7d0ba18 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 Tue Jan 5 12:26:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356858 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764602jai; Tue, 5 Jan 2021 04:29:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOGmh5oWNAem/pQ/7VoBhGcTFxQc3UTjMttpyK87jbJh07rqcj/aG3SZQ0YzNU/z7eDuHs X-Received: by 2002:a05:6402:d08:: with SMTP id eb8mr76838518edb.271.1609849796131; Tue, 05 Jan 2021 04:29:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849796; cv=none; d=google.com; s=arc-20160816; b=AXs5M5QoWySoRKmKVdCYmWAdE/nY0SkVsiBn9xjpONdOLUhxlW0dlllSD2MvV0TDgq xFpDjiGdtmSZF5SZPU7RPii4euSXuqcfi6LN4WBe24Zp3aB950GleMmDRCk91nK1XOaT 9YSbobxz3rqz+tB9tzH1CsBkE8JfAWrrBz8NxxOxPOzyOGIIr5zFWUpQ3/cxWg1PbrNY cnbmO5UT0hXfmnwlA3F/OCiAFHkXu3fOt/7D0H1Gbr0wpPkg2SXe3XAaavr1H0hnHv4p 8zowGzSTmVrv1fuxIpd1orClNfBBn2wfeLstKYHt6Q1TMKs0Va0XRXUm/7tBAXj3ihr8 O/wQ== 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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=r8Zf6Upc/KALr5ODwfM9vSpwDZTolofOybzobj/gcMD114G8hBg93ekWlb88FgcWFS /tRul1nZNR2Lfztx4o68FnfEILz7cb8+PoTlQy6upJpFIrC9+NUUyR6VbJ0y1Pevx3bn w9QbwCob+QJnVF+mhF4IN38PbyxTl1ffoDQhjXhD1g+l+L4JXRhtGZywtQAzeKMAbtEX h+LbXmjRYhHhkNp/He6QJlgDju/bJesULCkhTWg+y6WWjvi+NNy80KUj2GLLQ6GbBANP /6tFMMkdw0dgOjKKOE9eXLJ1TUJEgNs8x/8cbM7Qx1mt/FMYrVy8zcdCupze6hSWAZks 1gqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQ5HZs5W; 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 n3si32606247edv.105.2021.01.05.04.29.55; Tue, 05 Jan 2021 04:29:56 -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=sQ5HZs5W; 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 S1730229AbhAEM2v (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730240AbhAEM2u (ORCPT ); Tue, 5 Jan 2021 07:28:50 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F166C061389 for ; Tue, 5 Jan 2021 04:27:49 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id p18so21161672pgm.11 for ; Tue, 05 Jan 2021 04:27: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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=sQ5HZs5WJzEblH00IWUr2IsN1ixg6IZWdd7Z214fVXKyocGF7sCGIISNcyOVSkpR82 lYiUdyb1ghZKyIY1g3ny+n1+Dsj3B0sRMezDYGIWCR0FnoWS9SOrGMaCioQb2SS+MOhy fPrdZbed8RtwIdSfiVz2aUDtDUIr8DKIRC6TP8KAu+7yF9mzZ62ndeM3PTT2YBPaj6NL M6lEX+J1NVUSsZiVDSTwX6saOMBMfUVrvTp9fcotR/u0CQ44Vy9lc7PkhkNhRq+ZgmMV EgTnSA9oIIWNizTUIXNcxVtFvPAWekDG1krm/5aK1q+uEbbvHczA0g/IozsZwhSF543A eG1Q== 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=19OfSQMbRh29ftmIa/VWNRiukHisCdmG2Buwzd97YAE=; b=KITmbzlZmug0bel4DbH6B8RpGK3OWgZXsdDr0b54r+M9XblALccinJKDCN0Ijao14K /bBWret+j96+e3G8Anv6QVNoiCUIM/8+nNLikkMaNpPq+WYjWJtoEaK505jdyvIPeMo1 bDgUs0d88cNU/u0qai/o01/cztNwLU5wpnVBLUECXhnpCOJgSMoCVyx1OPDwAQKG5Kz0 yJP3pHPZNURHTix6zVkboGKo9zsXtMb0bmwtpCHhVlkBQcfJ+wOxr9Pd0rZf6dB9opqb U4c1R7FQBCi9MON+dxhAFTJb31iUL0YS3x7vmeF+eBPcGVuee578jXqoD1y/EDzMvMOl 4dlQ== X-Gm-Message-State: AOAM533iDonzwC3VvjGQz2Sg/46ahhorx6cKSTLFUmIfPWfQ+wFyd9PK 3KKvBDdhi1uV9tLWomE8+tvt X-Received: by 2002:a05:6a00:134d:b029:1ad:b17:dbc4 with SMTP id k13-20020a056a00134db02901ad0b17dbc4mr62591909pfu.53.1609849668975; Tue, 05 Jan 2021 04:27:48 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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 v2 16/18] ARM: dts: qcom: sdx55: Add rpmpd node Date: Tue, 5 Jan 2021 17:56:47 +0530 Message-Id: <20210105122649.13581-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 f3864471ba4c..6f53acc882dc 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 / { @@ -371,6 +372,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 Tue Jan 5 12:26:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356857 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764597jai; Tue, 5 Jan 2021 04:29:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJw56CCTk1sZmeDivDl5az01sTmk403zdpTm3KuU08+uxEbQ0LdNEbcXArPiOGLlR5+56sXH X-Received: by 2002:aa7:cccf:: with SMTP id y15mr75762132edt.112.1609849795747; Tue, 05 Jan 2021 04:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849795; cv=none; d=google.com; s=arc-20160816; b=ZzTzeVThGVuBcfQq1mE/6KeTw9NSVAkKitqHHa1wAOM1rnwHh7z0y/aO9kT9KtQ3ot 4z/WRh9Szyr5qqjQHRzGpQF9aLKWllDqPZwAQy2vKqN8+Y3KZoVxSS2HBF//00A2vfH7 0EJW8VXsvoMTM1W9jTmc2HVHnbe4eBqSdz4xbfO4UYKUAr5ieaFi3kNK+PXtui5/Uo6x YNMkI1SXHiCWOE1Ttb0ZWSe9J/ltcJQ3BPgmDm9jIcoGynDsSA82lrFHzUcWAaWHIksP cn3MzAkTyphMjK8tBjZIUMyeAT31YKkAhZYgcGzR1N52SDGupUpwNl2SmhoM1NcPRP7c xq6g== 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=9yrapoIFWFXnJoruSV2ugYcl0aEsm2fIqrky/FpMYSA=; b=KfU56FG3GRIXOMeaEbAqD3361/i3DCRtd7G/veiODDUnrcgyqCOFULQ3WmqvkMuJkh E7eA05mfqPI7S0rAnXl/wX1QyaPMenfm1ikOXAVmUss3cYp5HJZiN5N6J8QOucVuieSZ Ga09nhyN2l93l/IdyR7aZvvNh5yT+Xz16uC8SIi3YVKEYW3iMMDyNcQycGnWlENs/JPj VbTyW5aB3uZDFGk7KEOcE3X+6FwgfzCpLJZguFrMJzl1NOPbY1t2pprxZu4lIgxfbw5W kNtzwCM8oDribfm2WagQc+9gMhwBUD1oQIJnhYoAQp0M8JIGRpzrMfNi+urdXt6NrlOM lNaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cNLBKbGG; 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 n3si32606247edv.105.2021.01.05.04.29.55; Tue, 05 Jan 2021 04:29:55 -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=cNLBKbGG; 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 S1730265AbhAEM2x (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730263AbhAEM2x (ORCPT ); Tue, 5 Jan 2021 07:28:53 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 030DBC06138C for ; Tue, 5 Jan 2021 04:27:53 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id y8so16270781plp.8 for ; Tue, 05 Jan 2021 04:27:52 -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=9yrapoIFWFXnJoruSV2ugYcl0aEsm2fIqrky/FpMYSA=; b=cNLBKbGGZrfZJA0wAwjWx5kTwwMxj6uzcsuXUmFZgljfktHiIICCNKP+Q2ebrEvGpy M35LGcLRsY1uQgBgsI3Ee41HKY+R6i7iuW6+3kg1cuymZKXWDYZw4+IXrXLBp3K1Bbj7 Vcl10vshW4Dp6eOdCkQFrGXv5UFRBbuIkV4AozZ5MjZi4gqPGlXCBWJ0AUCmEYB2I7aX WpkAZutKor4Zxg87xszOa5epgJNDtM9n4Y2P1QBlvjfpU8bQ+mbiGLfORAXDOJrCyAzM DkInldxad76mVrpzkUyxXoOuBLhm73FSVe5ufIK8VHHShfnOIWlcQTKUngiYJobn5QpJ 94QA== 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=9yrapoIFWFXnJoruSV2ugYcl0aEsm2fIqrky/FpMYSA=; b=FnQQ6dDy/wWtyOnUNzhOUFFsJqGJIWLh5goJze/262Z+0ZhBV4INEvuHN0kjOJvZuc OKvVZKWGlomCRdUrqCck+TkTrEBJZ5moUIZq3FjrYyzGXNH3zwYJjdlfrM4haKS4zP4p 0Gl3IaGZC0wrr6OoHdxLFbx13EDuLbrmGXAxbgsf119ciaDc6E93aCNZBMx2Y1Va/+fq CDILzh2oz3yoldpCim0QrLYxvRzc/WeLUjayKmevyTlRlEz8VAxIWDNCY+Ye+e2CaQxh K4BaCS153EyFjTuUX+DHzh5rUuqfMJFvGQFpBt5g2Cftr/QH37pKpF8U7ES+1UK9ulOQ r6Rw== X-Gm-Message-State: AOAM530SUlH50uuze+Y0SQQNBnHqiGIb9Z6FprFSEne5a3j9xPNodciQ MlGTAC1qKPOcbxyTzDQHNg5y X-Received: by 2002:a17:90b:4a0d:: with SMTP id kk13mr3787877pjb.23.1609849672490; Tue, 05 Jan 2021 04:27:52 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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 v2 17/18] ARM: dts: qcom: Add PMIC pmx55 dts Date: Tue, 5 Jan 2021 17:56:48 +0530 Message-Id: <20210105122649.13581-18-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 | 91 +++++++++++++++++++++++++++++++ 1 file changed, 91 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..05f033334716 --- /dev/null +++ b/arch/arm/boot/dts/qcom-pmx55.dtsi @@ -0,0 +1,91 @@ +// 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>; + interrupts = <0x8 0xc0 0x0 IRQ_TYPE_NONE>, + <0x8 0xc1 0x0 IRQ_TYPE_NONE>, + <0x8 0xc3 0x0 IRQ_TYPE_NONE>, + <0x8 0xc4 0x0 IRQ_TYPE_NONE>, + <0x8 0xc5 0x0 IRQ_TYPE_NONE>, + <0x8 0xc7 0x0 IRQ_TYPE_NONE>, + <0x8 0xc8 0x0 IRQ_TYPE_NONE>; + }; + }; + + pmic@9 { + compatible = "qcom,pmx55", "qcom,spmi-pmic"; + reg = <0x9 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Tue Jan 5 12:26:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 356856 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp15764591jai; Tue, 5 Jan 2021 04:29:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBcOqW/oDsCN9k9XADGGU9X56McFUv+kuo19UgbFzHpC8cs+Z2fYAIw9cjgaualOUs6R9/ X-Received: by 2002:a05:6402:139a:: with SMTP id b26mr76013940edv.47.1609849795352; Tue, 05 Jan 2021 04:29:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609849795; cv=none; d=google.com; s=arc-20160816; b=baBItmoOCCe+2+Tcu15l0xkKr73Wv1MWlf+qNut1sMsPfQPO4U4YxDVJ2yLiiyaKv1 EjW2yIP340O2cbE3LfiFFC4glxUHzUY/DBbOK6omusRaXtjH5aQWw7i9I5pMPCS9bMX4 a2iYOMXtv/4q0Ta+GMbXLBOKwV/u4Dzl5gT00+rPRzUHf9MtzjnWbPPjK2QFL03ai0aS kQ1gmOKP7U3ONKnAYXx4hKxd3/hvS2y5cNoonadQXUK22vcDVDGj7kI2xW4v9rRUEiqy Kkf+K+/GOKSndenZb10cDLBF6T59ede+DuYEnlLt4LSEMKf9Cmf1roZeTKcJ0Upf71qU aGLw== 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=HMhTJmm/aJAOoL9aJNkUA9BuiVKtKAPPcxXpVi5YN0I=; b=d60f+ohhWLqXappNQB/p9NjWy9OGpAmwH6nSKgVrEMUd0+fRVB3w37AJZNiRfj3HsD aJaFFLxodiql7gDuc0jOpBORnWZzSeqVVXMDjPeJsWEMjxuYYHMe1v40uUgaL6woXNr2 Vw0V8obazTZvrp0aWFtG1uLc6VAdDKoWyxiZpV9e+TyxJWjgGOQe1Agcfy9Z1mmVddNf HNXhUQ62yICz6qFqVQ1mUavXPb48Ab7g/TiDfLuR5pbpQD55VMrrP0C2rWN4Y1yzTU+/ uiAbP5jioz3P+sY5aqKF2N+2tFUzKNgziyJOorhi4PP5d3pSj5mP70z4ka+GmIWAt9y+ rCLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IQCnViu6; 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 n3si32606247edv.105.2021.01.05.04.29.55; Tue, 05 Jan 2021 04:29:55 -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=IQCnViu6; 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 S1730274AbhAEM25 (ORCPT + 15 others); Tue, 5 Jan 2021 07:28:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730259AbhAEM24 (ORCPT ); Tue, 5 Jan 2021 07:28:56 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FFEBC06138D for ; Tue, 5 Jan 2021 04:27:56 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id s15so16277332plr.9 for ; Tue, 05 Jan 2021 04:27: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=HMhTJmm/aJAOoL9aJNkUA9BuiVKtKAPPcxXpVi5YN0I=; b=IQCnViu6Gscw70F3M40CJz7CWKD+hMrlxpGVlQ4Y/o/Z5LQPcPVPvQUfoyrE+5M5sB 5qsyfMFezh/8aYezZD/+eIqWVjLC9d7PWJjjcRfQhEOkkbekZv9HXdrRk1qvJCcEbRal 5S1A2KMpknVZ2g+zyrFFgEkcAZ/bqL5F0a13nkR7sBm1w1VUAUsVbAHat/lzQY1YfN6P 6se9CnfOY+vlmp9AJDgzRM12GBpMSY8y4YHVX3agSgrePdgifzrPFDzgvkud4m/1+Ut3 HdmS0a23US4esyzFsQnY7EOkEUZnOi4rZ2AtJrFpyQGUTJjGNYXf4s7xOiZ/fV/bcg2J ACrQ== 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=HMhTJmm/aJAOoL9aJNkUA9BuiVKtKAPPcxXpVi5YN0I=; b=JMjnrzDyFeCsJLk4ZOsoJpg9RaK/hvjBL6heM9TCYUyfhhngmjwCRONi5QWLZyztGz TOgDSqoEeEbDY2aZxy4zCRw6BG6wWjdOONKgseBPRQrNxaMj19CksD2G/qV2uoauJiZB CAZSwj71JackVV3g39iS7Vk2PSwtOg1GNhFUXdxBsNw3ItZttIgFFf0DCd7HZuLPH0BV tJIaspOsxamOj5GwF5dRig6dh1Af9mgwY31rO9tL4Z5lfSW9hGAVOaL0i7Tl5v3K8bSO OEWyHbUMyQ50g5Na//PrZLNMQ0FLb64LgX7/Oj0sotBI/rL6I6hzLZiSpofhmSgAjzDD rchQ== X-Gm-Message-State: AOAM532uVTuhi4l2M3El9M3AN3J26mFoQvKrUBzRjjjWWnXTTk+PQUtA opOok7NyhYVsoqR1Nvdmgv4J X-Received: by 2002:a17:90a:a012:: with SMTP id q18mr3745238pjp.223.1609849675759; Tue, 05 Jan 2021 04:27:55 -0800 (PST) Received: from localhost.localdomain ([103.77.37.191]) by smtp.gmail.com with ESMTPSA id t22sm64745402pgm.18.2021.01.05.04.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jan 2021 04:27: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, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v2 18/18] ARM: dts: qcom: sdx55-mtp: Add regulator nodes Date: Tue, 5 Jan 2021 17:56:49 +0530 Message-Id: <20210105122649.13581-19-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210105122649.13581-1-manivannan.sadhasivam@linaro.org> References: <20210105122649.13581-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 | 179 +++++++++++++++++++++++++++ 1 file changed, 179 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 825cc7d0ba18..61e7d5d4bd48 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -6,6 +6,7 @@ /dts-v1/; +#include #include "qcom-sdx55.dtsi" #include #include "qcom-pmx55.dtsi" @@ -22,6 +23,184 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + vreg_bob_3p3: pmx55-bob { + compatible = "regulator-fixed"; + regulator-name = "vreg_bob_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-always-on; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; + + vreg_s7e_mx_0p752: pmx55-s7e { + compatible = "regulator-fixed"; + regulator-name = "vreg_s7e_mx_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <752000>; + + vin-supply = <&vph_pwr>; + }; + + vreg_vddpx_2: vddpx-2 { + compatible = "regulator-gpio"; + regulator-name = "vreg_vddpx_2"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2850000>; + enable-gpios = <&tlmm 98 GPIO_ACTIVE_HIGH>; + gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; + states = <1800000 0>, <2850000 1>; + startup-delay-us = <200000>; + enable-active-high; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; +}; + +&apps_rsc { + pmx55-rpmh-regulators { + compatible = "qcom,pmx55-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-l1-l2-supply = <&vreg_s2e_1p224>; + vdd-l3-l9-supply = <&vreg_s3e_0p824>; + vdd-l4-l12-supply = <&vreg_s4e_1p904>; + vdd-l5-l6-supply = <&vreg_s4e_1p904>; + vdd-l7-l8-supply = <&vreg_s3e_0p824>; + vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; + vdd-l14-supply = <&vreg_s7e_mx_0p752>; + vdd-l15-supply = <&vreg_s2e_1p224>; + vdd-l16-supply = <&vreg_s4e_1p904>; + + vreg_s2e_1p224: smps2 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <1400000>; + }; + + vreg_s3e_0p824: smps3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_s4e_1p904: smps4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1960000>; + }; + + 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 {