From patchwork Wed Jan 6 12:53:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001473 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 C3C1AC43381 for ; Wed, 6 Jan 2021 12:54:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A69E322CB9 for ; Wed, 6 Jan 2021 12:54:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726437AbhAFMyZ (ORCPT ); Wed, 6 Jan 2021 07:54:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726432AbhAFMyY (ORCPT ); Wed, 6 Jan 2021 07:54:24 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97CB7C061358 for ; Wed, 6 Jan 2021 04:53:44 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id n10so2147381pgl.10 for ; Wed, 06 Jan 2021 04:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=ILkpyGb9ndDGS/VxgIBYFV+JKMiqVIUJkG0k41KFgfRFSgEz10sd9spVbft0zaSx+3 HgDpL2LVPpx79sf3uMXoS1xrJSsG8+yWoZDBpOfN3KT9FtlW9C7gESQ3JB+leI5b9QVs Yk7GQnjdkGYBn2N90/EX/54JZFli6GRWTCMU6bS4mwB+4PWH3OODb/a7J1N9dO6oJ8eL ftmXubWk/WXPpYosKP8t99slfiHzzQ2cejYk5Zk8clWESJTCPR1ntHgcFpEa4dJ2OiVX ttBLZYE1FHPKI337LLoJiLtbJJFpEkJdHzrslx6zK48rCgmxk/O2jLAzWOcZ8liVQreZ 9J+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DxgWqwKwqFym7GE4OKnS1/iwRMLr+x+z7Qj6uMJA0Lc=; b=BWPCOVO/LIzqKmCa+op3elGKYn9jOYsOL9jznEjwldSv+apuUXQTcISMVUy8fDljl2 etLM+9X3xd7IlpDfwh2jfUF+iV8gO5mWz83rVZ2H8NJOufuCHA4WT6pxnGB27EtgZ3vV mAVIEBfaR5CijzgWYonvx6+CNhKivkeQMx+1E70fI/HWNZTfOb8EeJAGyZnH56SuidpC KS28AAQpn4BsNjYjew42lRkgJsTSgSZcydP9/tJg+QEoMMzGbUHnreLfy7mAFFuspgpF 3cI+wF4Lm9VHEK5qNg2fDuFtvTb8HywUI8UNBVtxqNfNJ5Geb6TqsfYeenlYIkj+/ebB rZtA== X-Gm-Message-State: AOAM5312GodVu8muOO3GztCXT83NqvnFRD+zSgmPgvCJygkUwvEUxEAg NJhmL8PyJj8W2ftcbXbfWktG X-Google-Smtp-Source: ABdhPJwIiSX1nJKSXMYhZWUeNbdUl+4Z9bp/U0R33TfL3oylGuIpCzC7vmqPGjIjCFpWNmdS7KUyWA== X-Received: by 2002:a63:fd01:: with SMTP id d1mr4257682pgh.319.1609937623229; Wed, 06 Jan 2021 04:53:43 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:42 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 01/18] ARM: dts: qcom: sdx55: Add pincontrol node Date: Wed, 6 Jan 2021 18:23:05 +0530 Message-Id: <20210106125322.61840-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds pincontrol node to SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index ca7d4e4f5d11..08b4a40338fa 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -96,6 +96,16 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + tlmm: pinctrl@f100000 { + compatible = "qcom,sdx55-pinctrl"; + reg = <0xf100000 0x300000>; + interrupts = ; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller; From patchwork Wed Jan 6 12:53:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001475 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4A7FC433E0 for ; Wed, 6 Jan 2021 12:55:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9436122CB9 for ; Wed, 6 Jan 2021 12:55:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbhAFMzC (ORCPT ); Wed, 6 Jan 2021 07:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbhAFMzB (ORCPT ); Wed, 6 Jan 2021 07:55:01 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55373C06135A for ; Wed, 6 Jan 2021 04:53:47 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id b8so1521895plx.0 for ; Wed, 06 Jan 2021 04:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zkuwXT0BNz/CHQLQCAyTEe+HOvwjU8Q2EN+C4ZwD2SY=; b=YZOkkSwceR3x7wzFWyDAzaO6eikKTqdd8NSOX1QNR4SVgiuhiNBSKLJmi27m85dj1g YmvoW/v8u1p8yIz56x4Jo02RZgBsdi6gHUoLAOJcC39GH67sBgqJLrDOaftpckOmk0as o12XA2rF3/QZ7T0kDmVw65g3vMmLkkBtporGk8fHrWbpQ208ZA9tMv0+g863McjX+xk1 HxLrYD4JnKiGzVQp1eKv8917mc2JLAXrURbMK/wtu/dORRf+P5Xk9YSei7g8o4hhvfG2 tUhOzyFTd3ZCwr7r1uglsy0rvk7OcV8Br9zhdvpTvK37JVh4jZkFG5cV8v59Pci1C58H 5wQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zkuwXT0BNz/CHQLQCAyTEe+HOvwjU8Q2EN+C4ZwD2SY=; b=RCyjlq0UYQVmIc52/cNxc0lMOeQLu7bO3NGRV84kQKB+8xTp3EExxepgrPhAJWjwRo 2i8J+nLRoExQl3Td73tdwsQvrR4Nfig+lWIU2ezU/OQFVvVi1HQpPDpLHG2RiKoTk0pk u8RKH7yyp/es/PGbp3+hDTaWwjHYHgDIaoudSWW1iUXowhzewKgclwVlPbH4Gk1DX9ik 3TO5XXirXRJZH9F/q5qHZZKGPgsE35V0gp5aunWBj8CbjV0dLhCA+dW8txEvCWiGbJck CfpqFl+h1Z6KKvMXg2HhADtUInCYGFH5PENNR7qabnRXFaKoCi8ugas7sptkCMJlwJr9 RMRQ== X-Gm-Message-State: AOAM530kXmmosYE13aE4SHmvop3PipBO01dA7GOFZCBG89gHKxPBsI+S OIxQlBwuUDf3JxLHtwWsNMQU X-Google-Smtp-Source: ABdhPJxbThKRFHpNIoqGbUaWhezQh9icASU3TnapzOTgJJAs9gUF926EVlgi5YOH4GIYbn9IWAibGw== X-Received: by 2002:a17:90a:3d0b:: with SMTP id h11mr4102891pjc.188.1609937626867; Wed, 06 Jan 2021 04:53:46 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:46 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 02/18] ARM: dts: qcom: sdx55: Add reserved memory nodes Date: Wed, 6 Jan 2021 18:23:06 +0530 Message-Id: <20210106125322.61840-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds reserved memory nodes to the SDX55 dtsi as defined by v6 of the memory map Signed-off-by: Vinod Koul [mani: moved modem regions to board dts] Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 21 +++++++++++ arch/arm/boot/dts/qcom-sdx55.dtsi | 52 ++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 262660e6dd11..a5d2e4a3a796 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -20,6 +20,27 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mpss_debug_mem: memory@8ef00000 { + no-map; + reg = <0x8ef00000 0x800000>; + }; + + ipa_fw_mem: memory@8fced000 { + no-map; + reg = <0x8fced000 0x10000>; + }; + + mpss_adsp_mem: memory@90c00000 { + no-map; + reg = <0x90c00000 0xd400000>; + }; + }; }; &blsp1_uart3 { diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 08b4a40338fa..194936064884 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -60,6 +60,58 @@ psci { method = "smc"; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + hyp_mem: memory@8fc00000 { + no-map; + reg = <0x8fc00000 0x80000>; + }; + + ac_db_mem: memory@8fc80000 { + no-map; + reg = <0x8fc80000 0x40000>; + }; + + secdata_mem: memory@8fcfd000 { + no-map; + reg = <0x8fcfd000 0x1000>; + }; + + sbl_mem: memory@8fd00000 { + no-map; + reg = <0x8fd00000 0x100000>; + }; + + aop_image: memory@8fe00000 { + no-map; + reg = <0x8fe00000 0x20000>; + }; + + aop_cmd_db: memory@8fe20000 { + compatible = "qcom,cmd-db"; + reg = <0x8fe20000 0x20000>; + no-map; + }; + + smem_mem: memory@8fe40000 { + no-map; + reg = <0x8fe40000 0xc0000>; + }; + + tz_mem: memory@8ff00000 { + no-map; + reg = <0x8ff00000 0x100000>; + }; + + tz_apps_mem: memory@0x90000000 { + no-map; + reg = <0x90000000 0x500000>; + }; + }; + soc: soc { #address-cells = <1>; #size-cells = <1>; From patchwork Wed Jan 6 12:53:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001479 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BD8BC43331 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EA8D23132 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726508AbhAFMzC (ORCPT ); Wed, 6 Jan 2021 07:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726503AbhAFMzB (ORCPT ); Wed, 6 Jan 2021 07:55:01 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEAD3C06135C for ; Wed, 6 Jan 2021 04:53:51 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id 30so2170386pgr.6 for ; Wed, 06 Jan 2021 04:53:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M1QQZy4nTcMZS1H/pSqUElj03pASMBM/FVGxS1OW0tM=; b=VUT/BPY5z5FqK3BG7CFZ4T9G+vHVjC18NtWumnYMps5nmN73Am9+QSe5fxVGBpk0Ne uBykCEjmbtiqLQ9Cowme6LK0QkGbFAbROVU/yRgRgY39zv+Ayh5M6qI7rdhpxdBhdQrF 2b3lSXZh8iGvpSPpG7pGqkzeD31qNj/T6mqcwZX+eLF0VZSNVx+jZVXt+d4nm3atuiw1 UefhmcjG32RTfPnCcSYxJm/IiJ7ciHxzYT/bUzCUSOzeYdOWCaidslwP6xDaIAN5i9/2 IJ3D1dSB0xaBs54nTjd7wESoWdGnT2vhoAx2CRQbBymgMsn5EipFK0/LN6zh6sW0JA6o RCzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=M1QQZy4nTcMZS1H/pSqUElj03pASMBM/FVGxS1OW0tM=; b=qy3wuSn87ylxeTCWo+jBFub0BFzSdjmosE6Gk2tHxmPWS3Ic7U7VE3HsUTVaswDTej LbN1TVoXDp1XsVGtMs0k/s9Iyj7wMjdSbWO0tJO1jcvZk2OakU7iYYmi+W7jD5+WzzSn CugFgkhJBOF4B4kyS+e/jEdk9TroXwany66K6S3XqeiqkKvcmPLrfRM6u5trJPWz3mnM 1ZCncGM8C3qu1UTRp4LCVCH4dnupuhT5zV71O42+/QSuwK7IdMf/e5DUHZr5A2rjYSL0 HzgUqZgKpuL7N+Hsgw1ErHz8oB9IpTGuU6gMGr9/5H8ipJKlaNcJeM0LIwSTfPsebvI2 7OYQ== X-Gm-Message-State: AOAM531+Kw0vtEaUrHZ0xpe6KpOc3F3GXjoa/DvUCkt6eTm1PIppbreT rAv21MtqJqSZi0VkhTWx3lxU X-Google-Smtp-Source: ABdhPJzVadhU9fuvWw/FXRD8koVE9iZfw42dms6L9j95M2lI8vyqCU8PECwigSbABL6F1VjoXc8e7w== X-Received: by 2002:a62:820d:0:b029:1ad:d810:6805 with SMTP id w13-20020a62820d0000b02901add8106805mr4008232pfd.63.1609937631165; Wed, 06 Jan 2021 04:53:51 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:50 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org, Vinod Koul Subject: [PATCH v3 03/18] dt-bindings: mmc: sdhci-msm: Document the SDX55 compatible Date: Wed, 6 Jan 2021 18:23:07 +0530 Message-Id: <20210106125322.61840-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The SDHCI controller on SDX55 is based on MSM SDHCI v5 IP. Hence, document the compatible with "qcom,sdhci-msm-v5" as the fallback. While at it, let's also sort the compatibles in ascending order. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt index 3b602fd6180b..9fa8a24fbc97 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.txt @@ -17,10 +17,11 @@ Required properties: "qcom,msm8916-sdhci", "qcom,sdhci-msm-v4" "qcom,msm8992-sdhci", "qcom,sdhci-msm-v4" "qcom,msm8996-sdhci", "qcom,sdhci-msm-v4" - "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5" - "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5" "qcom,qcs404-sdhci", "qcom,sdhci-msm-v5" "qcom,sc7180-sdhci", "qcom,sdhci-msm-v5"; + "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5" + "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; + "qcom,sm8250-sdhci", "qcom,sdhci-msm-v5" NOTE that some old device tree files may be floating around that only have the string "qcom,sdhci-msm-v4" without the SoC compatible string but doing that should be considered a deprecated practice. From patchwork Wed Jan 6 12:53:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001481 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 448FBC4332E for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2889322DD3 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbhAFMzF (ORCPT ); Wed, 6 Jan 2021 07:55:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbhAFMzE (ORCPT ); Wed, 6 Jan 2021 07:55:04 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F1F3C06135F for ; Wed, 6 Jan 2021 04:53:56 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id v1so1501329pjr.2 for ; Wed, 06 Jan 2021 04:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4f6Doc0dS1yZ2IXHgqMpKz/2VTxor/Phil/0B11oX0Y=; b=IPnRw5+xkAOsx/g01cDapsdINozu5g4jMhVdyzsKZct4elXMJIYLpIX4cjIJ4xws4v ho4dhjtKaFsbmjjmPShlAfPBIOcF3/5kC7BkuME62WXLd72wjl0B5cg2/UoFmw/vtGdz CLdRjiMoAuEUyWzNkejG1XO6uLUFLEPFxVP96zXaBrvmQrW01gAX8T6puoj+ItYDCPgv ddNRjCe5wjr92/I52OA2E9Km2NFqH35ua3RM40KZKIbqVIs/krpd1/NHrQXrC26pPzzM UQQSAqMZDrf+KOVZRtYnppJhTWBKS8e0uGiR7HotghvPb14Jo2CjFHzLbqZeu2qSzY6e UkUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4f6Doc0dS1yZ2IXHgqMpKz/2VTxor/Phil/0B11oX0Y=; b=WDwL6AuXlqwbewckqaReL0FIZo4idCwt1RW/KvI89qrcF74TQ86V/62xNw2KZRMy+H P2+nwgaTRqh62OVgowVKAY/aCFLe262veBPTJoaLQNOk8sc01pcsqgYNP3Gb2PhbYp3f UnIU9UPkVVc7DKJiYLWvttwtyZrtA78HfAZdumRPsBBDFphhATQ4PuWbISJm0opfzFk+ x9ZKxGxrGLZUoZ8lGw/ozsfhVVVStlGmk6yqHDicUP5xlGECPqZ2lUDKTPFty6bSuHA+ yDhk1Pn8dNJtbjIwo9+hWYpmetr9puZtjKZ/i9N97NaQ+te62O0cABmUJZ5Bg9TU8irH VO/w== X-Gm-Message-State: AOAM531aPTK7x/1JrCqhMmpokSQO1S82aB/MEjIHOT3Un/JqGfEOGFoP ajD4jr4C1C813mdqjU9onBYIiaTAEa/X X-Google-Smtp-Source: ABdhPJyA4ZkYo24CYbsSb6qaA4OoCqoFwuBn5LIFRriPQvm2Tlg780GJPG2TcOPUZVhtQy1EAoKXvA== X-Received: by 2002:a17:90a:8c87:: with SMTP id b7mr4289488pjo.158.1609937635598; Wed, 06 Jan 2021 04:53:55 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:55 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 04/18] ARM: dts: qcom: sdx55: Add support for SDHCI controller Date: Wed, 6 Jan 2021 18:23:08 +0530 Message-Id: <20210106125322.61840-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree support for SDHCI controller found in Qualcomm SDX55 platform. The SDHCI controller is based on the MSM SDHCI v5 IP. Hence, the support is added by reusing the existing sdhci driver with "qcom,sdhci-msm-v5" as the fallback. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 194936064884..8b71f476e5b1 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,18 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + sdhc_1: sdhci@8804000 { + compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x08804000 0x1000>; + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>; + clock-names = "iface", "core"; + status = "disabled"; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Wed Jan 6 12:53:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D6F5C43332 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 521CD22DD3 for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726699AbhAFMzP (ORCPT ); Wed, 6 Jan 2021 07:55:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbhAFMzF (ORCPT ); Wed, 6 Jan 2021 07:55:05 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8795EC061361 for ; Wed, 6 Jan 2021 04:54:00 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id t6so1517560plq.1 for ; Wed, 06 Jan 2021 04:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UMuTgmfW7boX1iQQTydlfmLnxOmK9dbluKSLAHWL4GA=; b=W30c9RmPScXo3q0goOcwJhd6NjCM6Q+lW11AkU8W8tUCT7CFl9KTIsrgJr6ChYnt1D ZtnUx8boLsW0bTpy0ftealN8CgS0g6M4cVEfbkPDav1Tomu6fwS1OD3YcjgwhtZ4NXH6 3jgS5Cq9NRET7DPlBZVRRgnJ20STsF2EvnR0xgvkje6Ra8xc6P1L0xoHN8xJGfVpCLRh spazQzx0UGbAqOaxpyn3Dnl3V0sbstzi00q7Y45YTPSLmuXIboVlDUsMBGryrgmm4qXl tv6tbSRofYqtLtb6KFP2Q6kr/M0WsqE0WxPlluw7zB3iP8O+SscIbVL0bRE3ZMyjDNZ8 a5Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UMuTgmfW7boX1iQQTydlfmLnxOmK9dbluKSLAHWL4GA=; b=TiiB2BffPilpzdje8dPF8gZMCZKinW5JZ4EAkpKSCO6XcTHiSAfQPnabDcPRRl7lhE lA3nBF8Stc4Uwp7qhuVFYWJfzd3mctdI98COoGraO1aH5FSJ2fSmvAxIm5l/N8rKTAZz SO/RXeGpYrwicOPDBw9J5z6GxLJ8jm8h2ZliEqEZIDIv6NJ70WqSSw4/nsm8SuyF74lH 87DQhoUtUzPrlSed9IhtI27PzHXK6G3V4po7q4hE+WDHS/oq8V746nY7E0sOk8/thCVr vS075BvmkEo+buNhWwtOe+wDM9+N+iWxatHaPJnA4p1j8ITJ3cs4NcP9u9oYkmteH/2q c1MQ== X-Gm-Message-State: AOAM533B3iodasJI45Gt8lfEJga/Bu0wiSicGfnlIA2UDMHK9Ab9+Jim COnNkvG2+vVm5VjoYggtPpka X-Google-Smtp-Source: ABdhPJxA2CzevUlx4wNHH1PbrquYizwRNpaG8kaHQlPr2k23vk1HJB8rObcUHJgzAo+I6UsKmDVPMw== X-Received: by 2002:a17:90a:cb8b:: with SMTP id a11mr4149333pju.3.1609937640016; Wed, 06 Jan 2021 04:54:00 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.53.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:53:59 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Rob Herring , devicetree@vger.kernel.org, Vinod Koul Subject: [PATCH v3 05/18] dt-bindings: arm-smmu: Add binding for Qcom SDX55 SMMU Date: Wed, 6 Jan 2021 18:23:09 +0530 Message-Id: <20210106125322.61840-6-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add devicetree binding for Qualcomm SDX55 SMMU. Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 3b63f2ae24db..3a1cefce8bc4 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -35,6 +35,7 @@ properties: - enum: - qcom,sc7180-smmu-500 - qcom,sdm845-smmu-500 + - qcom,sdx55-smmu-500 - qcom,sm8150-smmu-500 - qcom,sm8250-smmu-500 - const: arm,mmu-500 From patchwork Wed Jan 6 12:53:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 15089C4332D for ; Wed, 6 Jan 2021 12:55:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA70B2312D for ; Wed, 6 Jan 2021 12:55:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbhAFMzJ (ORCPT ); Wed, 6 Jan 2021 07:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbhAFMzI (ORCPT ); Wed, 6 Jan 2021 07:55:08 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44851C061363 for ; Wed, 6 Jan 2021 04:54:05 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id z21so2175675pgj.4 for ; Wed, 06 Jan 2021 04:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dcjq6ySHauExsv9V4q5630OQKP0ygTy3/BVfo42I6Bs=; b=ovfmRKYouCXn0IzBiLyVatNfL2wv89xZURd3oCdiX1D2wCa53ktoo9XsUvh2QHKjxH QYAOEXjt8B6YMnKg41frSkA3GjkO+Q88XK2fDTQbcZ812wmq+mdjhqmDUr2yC7Rbm1go RS/PtW/MOV79HjNEnm4rhNPGrL0Owg26kVXnCe/wYnLJJ+fvtsyi99KZq9hH+WWzl8xq en82RtJZcAyf8fQm+mUIH2SOmyX7WOQVZc47YlNudpH0UU7NzmT9JritaR20Sw2lUt0n OjEeRQHv/Ah8U6PVNBNBU/nnEoyT+e0HLbdi81M1e/PVNjsSq2LXnn0KKUbEaw+JPPTw M1Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dcjq6ySHauExsv9V4q5630OQKP0ygTy3/BVfo42I6Bs=; b=dphDIUP4bgLCcaUCQuZxh/y9y9Xvbd/h6JTne2TKPncFDGn45FnfVLO2fUfTWJn5mm KyXPhF5OBdCZwOrAb3Of/Cy2XI5J9410eUn9AU8BawcM/F9mZLHZ2jxxdOX8Ag/7jWmu S6H6FpQclY8SnwYpyYqxpgJD+BF1zmWwfdaKscCrhxLpjgBU3eXIrMP/tCE1MmnVwgzC De5HBKJ0zIuscX/jTR17x3vqydhg9bzxGKm4Qv4jc5iNJxWJjmg90y/PwgwLimoRMq9J VNrdl3TkmOH9EmVdc1daQe0xQTXHHdjyIqwxee58U31RoqY4qppkNZLeYqOiMAxHWVlg pBdQ== X-Gm-Message-State: AOAM530pctGKZmTFPy4bkfnzVHSr7Bxr1+5YaP6HdSXmdzgZtza2+kjO PaloheQdXYDVrYJPS3dduMASbuYxRyZe X-Google-Smtp-Source: ABdhPJx5ZWCJw0kYB5dk0UaP4J4XL4qJvsMVaEFDqCtYCo8TyrlDc6Z1ylI8SGHbWHU46bexhK80hA== X-Received: by 2002:a63:77c1:: with SMTP id s184mr4309628pgc.376.1609937644789; Wed, 06 Jan 2021 04:54:04 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:04 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 06/18] ARM: dts: qcom: sdx55: Enable ARM SMMU Date: Wed, 6 Jan 2021 18:23:10 +0530 Message-Id: <20210106125322.61840-7-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bjorn Andersson Add a node for the ARM SMMU found in the SDX55. Signed-off-by: Bjorn Andersson Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 8b71f476e5b1..d78e1123b422 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -170,6 +170,30 @@ tlmm: pinctrl@f100000 { #interrupt-cells = <2>; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,sdx55-smmu-500", "arm,mmu-500"; + reg = <0x15000000 0x20000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17800000 { compatible = "qcom,msm-qgic2"; interrupt-controller; From patchwork Wed Jan 6 12:53:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 266E7C433DB for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06BA222CB9 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726712AbhAFMzR (ORCPT ); Wed, 6 Jan 2021 07:55:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726600AbhAFMzQ (ORCPT ); Wed, 6 Jan 2021 07:55:16 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A3A7C061366 for ; Wed, 6 Jan 2021 04:54:09 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id q7so263443pgm.5 for ; Wed, 06 Jan 2021 04:54:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=knoP4Y7GeyRz5anuMPnotwfe10J/VqLnOfm6LoV3mIA=; b=XwqpYsLL4hAvWYZEpPuRRv6F9kUuVA6OfqqZpAzyzon5/2WGTOazrJU+mScptdbNTn PsxgJus9+iJT3+uLOwcI/BZvIonId7vRb2ZDLU1KVdFRelVLZeJa607SBH85TKcdfhqC U8qEe4mPiqK99NOq2cb6FnqUu99sDv596/ENKAcItc7s081/JgQWvshOuEqr4qPI5B2M 0YnuLO74PckbJJU+SGttv+Y3bygmBTOKWNNQYucVogan3buWZaAOTNE7XgI26Rmxhwdt VJdr5UNChe08l/3dKm3aVr+Cx0f4XQvtFBrX1zHhYjhbq756hoWgE0GOQVc+AlV2LqY4 cucw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=knoP4Y7GeyRz5anuMPnotwfe10J/VqLnOfm6LoV3mIA=; b=RfpnYJMnfGtiau9PZJtYp3VblF4Tx5ykifnJq2WPPDo2HOGgPvCZx2jM6jW9acBRK3 hU8YXj5LCx9MEuJ0VKC713+paHDrSRY8bfWiL5913HQalY1XAmYNdglJAc5TW5venkRd 5uJsbP2uinEXmsEJUm+MnGwz/AYPrKw6y8g6GYLseYQK14AcJPUAKwd00cnRBTIygHP0 XpPY9NoYLYI9XvMktZf1os72fFa2mZNSuqjlTDtqDzfLXhXcqsssLvqH0FjKi25pUqZK a4V0St1j4Q5iMOpfsnMCc+vsaz3OpjZEe8d0bfk8eS4PlNu51Lu0ES8fFmPHtawzr5SS FuyQ== X-Gm-Message-State: AOAM531OZFwfsG7XO3r9bbtV36S+qjBuyaZ0Drv4NQwbfpK3MZRT7Eyh TkGBunBiWo+ZMxrxWdg02Hxt X-Google-Smtp-Source: ABdhPJyQ7HzSBtPXPB0/nk92ZSvw5eepA7MjSHF4RXuNuBnrsN2JR4bHELlvnH59NpvYCN1sS/hfMA== X-Received: by 2002:a62:37c7:0:b029:1aa:22ea:537d with SMTP id e190-20020a6237c70000b02901aa22ea537dmr3702694pfa.56.1609937648898; Wed, 06 Jan 2021 04:54:08 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:08 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 07/18] ARM: dts: qcom: sdx55: Add support for TCSR Mutex Date: Wed, 6 Jan 2021 18:23:11 +0530 Message-Id: <20210106125322.61840-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add TCSR Mutex node to support Qualcomm Hardware Mutex block on SDX55 platform. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index d78e1123b422..b752b150a5e7 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,12 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + tcsr_mutex: hwlock@1f40000 { + compatible = "qcom,tcsr-mutex"; + reg = <0x01f40000 0x40000>; + #hwlock-cells = <1>; + }; + sdhc_1: sdhci@8804000 { compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; reg = <0x08804000 0x1000>; From patchwork Wed Jan 6 12:53:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 47EB2C433E0 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 21B8722D01 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726732AbhAFMzV (ORCPT ); Wed, 6 Jan 2021 07:55:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726705AbhAFMzR (ORCPT ); Wed, 6 Jan 2021 07:55:17 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F7D8C061368 for ; Wed, 6 Jan 2021 04:54:13 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id s21so1637846pfu.13 for ; Wed, 06 Jan 2021 04:54:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+1brOZ/QkKBkYoCUBItg4EDZ/jZVAfzXyKHdM8JfODc=; b=rEkvBpqkBqjG/BjYtvLcvuieckDMqtYZGNrSWTBTitknOeVkFyw0GkvB7wazdWnpta yTOgnDBMci0OibkE3eLYWEG59HBDCFScG17169gQuCUBVn6q+E2F/3s5lTkoyt8OcC/7 WAj/AB3HFIpU7aLI4kVyjcGvfUtZqGqQAroFzd0gddF3f/Yhg4NTD+k94UMJFY1G8Qb6 mUPy5JIvi4kEZUMevANo3LvOJ0hBLMJ+2XJTqf4AzbR6hGKYR2nxCg1RwJH75k1mPN5J jUfoAYQ6nbuOc778RXFzKIuYp0USE1wtcQF+krEiwvHuRTQ1L+QF4iPSh4hJ/H2c36G7 iQfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+1brOZ/QkKBkYoCUBItg4EDZ/jZVAfzXyKHdM8JfODc=; b=QgWUMjbKv3NRvxBHCPcqWGG/B7kheLy7I1d8wzRuvTYo42LBR+QXaIGWhC/cvdogbf JNwUyYBtqq3lsDMCmHBzvmhpXE3NX1algCmC5Q/pEofrvnLgqS1O8hwCmJseoqoKZz8N BTPCLyCmlSjQ+fhEe7k/xa2ytd6MuZUdXlrWnccvkfwwbuGL6vN5Bgh+PLqykWkarTd1 N0o3ETavYihXQVMjk05LgSqEjBhpsMCfS/nPIPTInWHNr0CMaYWA8IFrZhr16uoDXzME Kfo9NHAskNbuziPux3QebcOo9EYNmDt6w5f8PviOQalaSdpuYEmKzIYwxJM0XgUr1T2r EkwA== X-Gm-Message-State: AOAM530qRMjWq/7DZIwD6HarrwOcGRIQv23pm2uQwXslJlnsHWmRJHmw b58N5nX74hV+2fGolorl1dG5 X-Google-Smtp-Source: ABdhPJzhQfLC+T8VacszQjULvoQ8NJh1lU2HEZ8BV4rB9trr0SVQhxEBGu/l/7Rz/NJudZeMj4IFMw== X-Received: by 2002:a63:8f4c:: with SMTP id r12mr4337589pgn.311.1609937652549; Wed, 06 Jan 2021 04:54:12 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:11 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 08/18] ARM: dts: qcom: sdx55: Add Shared memory manager support Date: Wed, 6 Jan 2021 18:23:12 +0530 Message-Id: <20210106125322.61840-9-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add smem node to support shared memory manager on SDX55 platform. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index b752b150a5e7..5c091787c458 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -157,6 +157,12 @@ sdhc_1: sdhci@8804000 { status = "disabled"; }; + smem { + compatible = "qcom,smem"; + memory-region = <&smem_mem>; + hwlocks = <&tcsr_mutex 3>; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx55-pdc", "qcom,pdc"; reg = <0x0b210000 0x30000>; From patchwork Wed Jan 6 12:53:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 80CB9C433E6 for ; Wed, 6 Jan 2021 12:56:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68E0B22CB9 for ; Wed, 6 Jan 2021 12:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725803AbhAFM4F (ORCPT ); Wed, 6 Jan 2021 07:56:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbhAFMzm (ORCPT ); Wed, 6 Jan 2021 07:55:42 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F0EDC06136B for ; Wed, 6 Jan 2021 04:54:17 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id c79so1670131pfc.2 for ; Wed, 06 Jan 2021 04:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UgCTOZP+iS7Zpfo/UYMAHF9VQ2ZJFjb723cKr3RX7Qg=; b=IK70e9NPRwV1gMZ/EU7occBXqZpRyUhyDuGkW9/mVy9xRT97IL8mcm5Mp//snREkHF +3GNX51QIwzU9hxWEBp2dMqsOyllsDYBeVfc5ik56T92OB+bcJ48Zz7T05lr9w+XBeHz 8QvxqIzH+u6V0BjDIktM8124iJR1J0+rMMlH8r+6eEpSyQ9OGBd1Jl7ZisQ1SXcJSJ1f 85ZCm5UbQ5jKs5B0oHTDfZsqyGSsZ950NEks/wRqWhlJvlx/N1QWtFOy17lVDYkenHPB k2V7wacuIaYX4XuDJgScPuMwi4DFvMJLR2aaTWsvxFJWk5kaLjA6H3DytD9mZCFGbA6t lySg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UgCTOZP+iS7Zpfo/UYMAHF9VQ2ZJFjb723cKr3RX7Qg=; b=SIBXa79nnFb/3/7byYI6BrXG9ROXom3cxjPlkqjmeFaPX88aM/Uh9vskT1MPprRRjl ATkP0JcGaIOzZYdg6M1zP6v3+0bQr2ZmY4KhX9d5aMD+maCadIvBNQssoccDe9HMCN9b t+fXxJzQWlvrCIPsMpG124LGztQc/oHhuwPRtYFEd47JRP5v2agaWDXi9G9aJ6xngat1 5UZXe/kAhx4rLvmvvn0v40gDv95yJlJb5voIJGskJoC0hDcxTIdQROgl/NIhMJseFxAj QJFn8BmSlEwE3tmIXb0ND6sLFUOZDSqdteBG0eFZtbKs7gOLkLfois6bJsYTQKfc0fm2 Pl1g== X-Gm-Message-State: AOAM5331fzoyS0RD6L3LKM9PIwC6SgcHRiJ59T75SUQV0/RQANKmP+IL MsqsgBgIm40owHbo+NCXEkj8 X-Google-Smtp-Source: ABdhPJzoOIOZrSRTRNRWtwHlbXCPcZou+nUjpIvVzVg0TjhQi5r+9UQDEp5sBG3GlX2AL6FdhJ+xbw== X-Received: by 2002:a63:1865:: with SMTP id 37mr4435531pgy.206.1609937656963; Wed, 06 Jan 2021 04:54:16 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:16 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 09/18] ARM: dts: qcom: sdx55: Add QPIC BAM support Date: Wed, 6 Jan 2021 18:23:13 +0530 Message-Id: <20210106125322.61840-10-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add qpic_bam node to support QPIC BAM DMA controller on SDX55 platform. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 5c091787c458..fde3a9da68e7 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -139,6 +139,18 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + qpic_bam: dma-controller@1b04000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x01b04000 0x1c000>; + interrupts = ; + clocks = <&rpmhcc RPMH_QPIC_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; From patchwork Wed Jan 6 12:53:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001491 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 8D7B0C43381 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69B2322CB9 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726725AbhAFMz0 (ORCPT ); Wed, 6 Jan 2021 07:55:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726724AbhAFMzU (ORCPT ); Wed, 6 Jan 2021 07:55:20 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0890C06136C for ; Wed, 6 Jan 2021 04:54:20 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id iq13so1503126pjb.3 for ; Wed, 06 Jan 2021 04:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=82XTBN0WJT5Ms5npJDtW/1oxbbnnwYJ+KY+KF1anN/Q=; b=gh0WboCNGEIVTNphlkjYhDOkfdHpmGI4r7OcV46WrbRzUHupq3Z+libFifMKtmUB1U vRMWrUzNIl6VVh4kkjHenBHjrXVP4d9klLpAJc+JYbo/0ih/u9Az1CJC/1Ldn8xNpSAe /fDZEgXIxjSM6cg4yORC8Fc+kQK9dvzWFfEe9rUSlPnYNdkDkB0OsEsJKmC3nbBgqzzu XBBijhEuTXl81hAEC/UYsrBfZRQfNON6WVhUmE1pi1XnPRMkNajvzefpeEVuB4JHoLey BlNqWaIPfKUD8rhGWT5dWCScaKHWLhedoBKuaYG3heCyHga+Di+X5wNalmlV2a0CnehH MNsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=82XTBN0WJT5Ms5npJDtW/1oxbbnnwYJ+KY+KF1anN/Q=; b=qy3fjvytm9hwIX+7Xw+hN+OKrMIWYRqdqZWvaSNd06hKwO+liELwHuqEB3sWgj+7Ea J3mVd6Dr0V4wPX7w562j9DX+Bt59jQ6z+YfFd0KtKHx88Cp4lW524Xm5YHyALUfZt3Gl WEcYiyk2gVXERW+1el2ivuy53jWk4kwFtt4nVSHg1UXhtY+2aQ5F9iLJwvSN5YopVY5j RZGI9XII7lpLkzC5iqgCoJlu6Hm8c/nGPYGTmjk5DnrXfMKOyKVGhM0NsuOxzIvTBAUA VQ00D/gpfomwe0nn+9SNKmIh77YUa5+4wtiOFpUVDLlRr5YFdoCQ8l/5H5BSDdeIwtaq z8Gg== X-Gm-Message-State: AOAM531ceOy5y5D/o+eipUgrlx+tMNnTB7bsyRy3aGks6l5Gc8yXZk8a aTMfFvK//QSGfhCt1fwpZTWl X-Google-Smtp-Source: ABdhPJyQwzPK0jBzcy37EqJxA7HsdInDazR46boyXsulnxWyxtnlfiR43jOE5WshNHlmMWxY/VQ9tA== X-Received: by 2002:a17:90a:300c:: with SMTP id g12mr4244899pjb.4.1609937660489; Wed, 06 Jan 2021 04:54:20 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:20 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 10/18] ARM: dts: qcom: sdx55: Add QPIC NAND support Date: Wed, 6 Jan 2021 18:23:14 +0530 Message-Id: <20210106125322.61840-11-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add qpic_nand node to support QPIC NAND controller on SDX55 platform. Since there is no "aon" clock in SDX55, a dummy clock is provided. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index fde3a9da68e7..ebcde361c3f3 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -41,6 +41,12 @@ pll_test_clk: pll-test-clk { #clock-cells = <0>; clock-frequency = <400000000>; }; + + nand_clk_dummy: nand-clk-dummy { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32000>; + }; }; cpus { @@ -151,6 +157,22 @@ qpic_bam: dma-controller@1b04000 { status = "disabled"; }; + qpic_nand: nand@1b30000 { + compatible = "qcom,sdx55-nand"; + reg = <0x01b30000 0x10000>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&rpmhcc RPMH_QPIC_CLK>, + <&nand_clk_dummy>; + clock-names = "core", "aon"; + + dmas = <&qpic_bam 0>, + <&qpic_bam 1>, + <&qpic_bam 2>; + dma-names = "tx", "rx", "cmd"; + status = "disabled"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x01f40000 0x40000>; From patchwork Wed Jan 6 12:53:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 771AAC433E9 for ; Wed, 6 Jan 2021 12:56:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5111122D01 for ; Wed, 6 Jan 2021 12:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727050AbhAFMzy (ORCPT ); Wed, 6 Jan 2021 07:55:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726983AbhAFMzp (ORCPT ); Wed, 6 Jan 2021 07:55:45 -0500 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6303FC06134D for ; Wed, 6 Jan 2021 04:54:25 -0800 (PST) Received: by mail-pg1-x52b.google.com with SMTP id 30so2171285pgr.6 for ; Wed, 06 Jan 2021 04:54:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=uWoafl4HdJvgeAc17msN+I0L90Xer2yDqSKIV45NtHg=; b=Z17fO8prgjapWFSaKIRxajso0hVyJgcuT6Y/B/6yh5xOT2APGAnZR6SAu1F5JmTi06 MVAMPsu80dfPOCDXuZLkaG/K0fLMepzm6pzdsKTRVsg6n7PVWCjgCeeVlFlOemK/gy9W G4QwNzdzXO29Lz9PJgJlHeTMeBBfx7KEQCD56WXv7ZlW1H1p7rL+ZkXHsHTMW6rEaLPa f6daaNFmsEH4ILxfA9OPEJl62p/99bVvP5oh7JJGhOQ9kLhzsfHBYwvuQEEDYbn3zra8 ql8xQ7mwlbPvZVtOw8Q/RfxrX+3xmKU4BCMcywAIV2k15jdDrAWoO/6Hdt13S1zqobtW AqCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uWoafl4HdJvgeAc17msN+I0L90Xer2yDqSKIV45NtHg=; b=EcW62fj2eeLxr0Bspm0Z/HBR8GA5JSwGnTbDudwCPtGwByrM3VdS/X98RmA0+SlU61 oYSpzus1XCCzFbikAAp+uAKpmOr9zNHgjo49PcvK2aIjbFg87EsQqpn//asFCQwz8Imy 6tEAIw2iD8ARPf9L22Yp6xzrAGoq2DVJTaebCRS7bmLHwalQhaKz2qteLBDum5WvgO1i ZBc7gd6ezv1Hj5XmC4fWoTwqJLrlpoLBwVfbfzB00/E2JObRTy+Z9vNX25p8eXFUci6K 4xxgDR8FmOpPLbEeGp/wDH3Zqa/+ch3l8IVmk/5CxQsetz17TD8D8fesQzNxJrw/596u 9F1Q== X-Gm-Message-State: AOAM5313VVBYoRyytYrdOARVliee/ccf+yHTsA9pR4Uj3H8lO6+mjGEA /8tvOQGUUvIiqGBFnYf4T4Z+ X-Google-Smtp-Source: ABdhPJwAaARfZOuKG9d7VfU4DR9Cybsi/JlC76awaRMrnnXTkNlOBzjntXls2rH3EMRAUil1cv1YiQ== X-Received: by 2002:aa7:8eda:0:b029:19e:c8c3:ed74 with SMTP id b26-20020aa78eda0000b029019ec8c3ed74mr3681445pfr.66.1609937664936; Wed, 06 Jan 2021 04:54:24 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:24 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 11/18] ARM: dts: qcom: sdx55-mtp: Enable BAM DMA Date: Wed, 6 Jan 2021 18:23:15 +0530 Message-Id: <20210106125322.61840-12-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable BAM DMA on SDX55-MTP board. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index a5d2e4a3a796..177886e168aa 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -46,3 +46,7 @@ mpss_adsp_mem: memory@90c00000 { &blsp1_uart3 { status = "ok"; }; + +&qpic_bam { + status = "ok"; +}; From patchwork Wed Jan 6 12:53:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001503 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1096BC43381 for ; Wed, 6 Jan 2021 12:56:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFCE422CE3 for ; Wed, 6 Jan 2021 12:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbhAFMzZ (ORCPT ); Wed, 6 Jan 2021 07:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbhAFMzU (ORCPT ); Wed, 6 Jan 2021 07:55:20 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FCE3C061357 for ; Wed, 6 Jan 2021 04:54:29 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id g15so2164893pgu.9 for ; Wed, 06 Jan 2021 04:54:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z2go+ls/qPoPwnzq44cqWZBr5hhnTFbprnBw3lgRSl8=; b=vF3OlZRzA4kGsPen1lQL9psMPxJg/oKs6EmpqMmye8NvtlALKGIZGitD3+ZCouhPfA 3AXoznmcevlGmCxtm0NZWMRG6SO+GQmG4cr6kSTye6Pn4AgA1oue8cysmsE56zSEkz00 +1Xf4hkfPL/EDMEQeDpNOefGxRPdc6vVEXQOqq9uVwyX+PgcXfhJwzDQJ7Ud9plqGIre k461m3NDoS0cIUfjUxxl06iL1up/ThyZ0pqKukMbKdGgIDVW4BhAPr5hmV7RYnfQy7/T gWfa58l6bqlGjIXr5fpzdWE0nz0Z2z/j3d1J7Y24tfrese5RBf0K0cQGh/cVZ6LZieQn IpAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Z2go+ls/qPoPwnzq44cqWZBr5hhnTFbprnBw3lgRSl8=; b=RSb/mps+1nVYs49aBVeuRDkAaFbWGT1zJDMx6DFoTprpAJScNVGNLP7xl7bZ0ZhPLa Uz8LqFBjVh8xnpBkThHyny0hDbhzD8apc0Xh0XXmcgf2WQxBzJ+fMvyFL860PHGwdYKF lBS9qRkcm5Oso3Stg7yfn/n+MX3ana7cJIZkZVgm85GicjJrYYHmjmkWqFokftGy1QrY e1c8/4sEFmarQ3uL79/YewCOmUo30FOcP3JRfUTaiA9NohAtpQv6ZcGVXO+VROWtpa8y nasvQByAb8d0NUivGysxagqcXfLJLYRLOWq+/TPD2X22NKVhxfmXai2x5E4ay2dYxVvW Idmw== X-Gm-Message-State: AOAM532xvCTToBVOkwGw3t8zt7L/upJDCZsyGkLgOlsxVpEXHYkuQwyM WQ8TaugPiKCL927gFNZiTQzI X-Google-Smtp-Source: ABdhPJyN+mEYRq82CnFpAJfddmgar5O3RVZmVmyjlUK00DMdBe1BBF8MMRcTMvS7tVh/WatS/ksdpg== X-Received: by 2002:a63:1b1e:: with SMTP id b30mr4403419pgb.421.1609937668761; Wed, 06 Jan 2021 04:54:28 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:28 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam , Vinod Koul Subject: [PATCH v3 12/18] ARM: dts: qcom: sdx55-mtp: Enable QPIC NAND Date: Wed, 6 Jan 2021 18:23:16 +0530 Message-Id: <20210106125322.61840-13-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable QPIC NAND on SDX55-MTP board. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Vinod Koul --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 177886e168aa..83b9d784423e 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -50,3 +50,15 @@ &blsp1_uart3 { &qpic_bam { status = "ok"; }; + +&qpic_nand { + status = "ok"; + + nand@0 { + reg = <0>; + + nand-ecc-strength = <8>; + nand-ecc-step-size = <512>; + nand-bus-width = <8>; + }; +}; From patchwork Wed Jan 6 12:53:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001489 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 7D032C433E9 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 52D7522D01 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726770AbhAFMzZ (ORCPT ); Wed, 6 Jan 2021 07:55:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726730AbhAFMzV (ORCPT ); Wed, 6 Jan 2021 07:55:21 -0500 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE1CBC061359 for ; Wed, 6 Jan 2021 04:54:32 -0800 (PST) Received: by mail-pg1-x534.google.com with SMTP id z21so2176489pgj.4 for ; Wed, 06 Jan 2021 04:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iAiTykEwTqgC2GDGerrDJpot3g4zCIaX5OcjpwX6Dk0=; b=QLv3NpazDn24d3cKfv+3UBm4MtaJUc5xu3r6G0IxetDZ7n1KtPKfl9ZQpvSwv5pNWi p04EpTxqf0ZABi7tgOgYKbLICNNvZ189g0KS6kZJInZQu42J5jaZDzxfWG+IzinRotDa 0FN+xulq9ZIWQ4uJ7sGPYtZv+kp56hdyd7f7nPRGb84JIFM+5PVA5iGRucGXDZNVXaFF jd3CfvYN+u5sado0aBj6ZlJgfuy6SEy/F8OvJ8SixR9KuCaGe/rI8B6h97LlWVJx7hDd c80CYFQwLKbkQrnA/awV+C00QHDGRYcNJE5tsOxCR6VsWsqjoq1kvcntH440s87UCdx/ DE/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iAiTykEwTqgC2GDGerrDJpot3g4zCIaX5OcjpwX6Dk0=; b=b6XbmyYgbSA76c0Bf/7KruexcceGuPciW1a24phB9/q2tUeD5zT5JiEQQceb0MvfJr IzMR1xBH81ku8vF3FEMyTOBGqBIS90oPiKastOFWWpNFNG2TJGepzX3R/bCsi+rZyo/m O0JHL+UBx777AhxIHNdJVql4VnTupsDieMj9Xas+blrRcIAlv1h5a/zRUlFlkcS2bO8E fuUV8y/bHoJMXBbDilWI54brcYB2NPrwQ8ytfmIPAEDR5qctb7dMm/J3d3SH0QNZ3SRn lg1HJxZD7MMb0E73xTW8B4MO/E45N6mUVnMvW7sbLQ+OQD1KUAOxJZ1i31QIe+7FnIm4 UIBg== X-Gm-Message-State: AOAM533gvtM4L26/a9dEZ0ZVf08FQGORinjgvY0PCG/AwTi4GAH/CcPO e6QWdfyaMQ9D8UBR5j0ECwkg X-Google-Smtp-Source: ABdhPJzz8H3GS2lze7AqlikX9G8WvQQkNEksTy97tZpYUjnGQDRhic6pUOV6XIsP0LaeSjwzZHSuyw== X-Received: by 2002:a62:ca:0:b029:19e:67a9:f0f2 with SMTP id 193-20020a6200ca0000b029019e67a9f0f2mr3733198pfa.60.1609937672439; Wed, 06 Jan 2021 04:54:32 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:31 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 13/18] ARM: dts: qcom: sdx55: Add spmi node Date: Wed, 6 Jan 2021 18:23:17 +0530 Message-Id: <20210106125322.61840-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds SPMI node to SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index ebcde361c3f3..9911e672b4d2 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -206,6 +206,25 @@ pdc: interrupt-controller@b210000 { interrupt-controller; }; + spmi_bus: qcom,spmi@c440000 { + compatible = "qcom,spmi-pmic-arb"; + reg = <0x0c440000 0x0000d00>, + <0x0c600000 0x2000000>, + <0x0e600000 0x0100000>, + <0x0e700000 0x00a0000>, + <0x0c40a000 0x0000700>; + reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; + interrupt-names = "periph_irq"; + interrupts = ; + qcom,ee = <0>; + qcom,channel = <0>; + #address-cells = <2>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <4>; + cell-index = <0>; + }; + tlmm: pinctrl@f100000 { compatible = "qcom,sdx55-pinctrl"; reg = <0xf100000 0x300000>; From patchwork Wed Jan 6 12:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001507 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 189D0C4332B for ; Wed, 6 Jan 2021 12:56:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 00A2B22CB9 for ; Wed, 6 Jan 2021 12:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727157AbhAFM4h (ORCPT ); Wed, 6 Jan 2021 07:56:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbhAFMzX (ORCPT ); Wed, 6 Jan 2021 07:55:23 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEE43C06136F for ; Wed, 6 Jan 2021 04:54:36 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id n10so2148825pgl.10 for ; Wed, 06 Jan 2021 04:54:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=72PT8I5FQuukLAeJvrHHub31x7cqLErd0FAtFysugUs=; b=chBrUx+BZS+xmQVt8U/+A3N12/Rc8KDXilyAdn6PmAvV0ExFAo8AeOsMkhniMAvQ+R BQJc83tf2iXulGONGJcNRoegpuM2JUyVpjJsAtffYoS5zKFextiZAAw9kPmpStQCpD0o 8IIDaEO2Fmi1FGPe33B/3u4CWuF3gp3DjGAQiTUmwBu8U/+bv4uSP6IiPVC6Da6qA91X VjsFMlCtZYtZ0eorNGpySpcz9ZMn23P3hqEH4N44GbzB3P1Tj+PB/pDbKa7g99pmgGLZ P5uTI1AkAXs8KcvhxEIXx7eO6/qrk8CIerW+oDqLiyge35BAFILg3a7GREWDCpIwGGDq Jo/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=72PT8I5FQuukLAeJvrHHub31x7cqLErd0FAtFysugUs=; b=R/qZr0AM5OgFrrValyUzCbQ9i2jCYe8AzY7MIYirKLOCnEWBIxuTUdvruaKzvrDzV1 sYOWZ1iCvBGHpE2E8gJTAWiz0U4DpwnNsSgMR0kEgElA6Pl0LDRM0OBRk8V/QTItNNQh mlLCqIf33Dv5p7by76qZHFtL+0u+K1Rv08PNZmfcId/Iis5OHo3AtxC4R3K634L/XbQR OSsM++t8ixDlHPUOmApwj8e7ZYOKwQJcmuNW1BbZ6HJGwK8FBESHZPhOtIbNeChiwhwb wW9GfZrjrkamaB1XnOrv5BdGEOQsXWSet2n8zb7dSDxIXeUChzN3uuB/wLBdT9WRr84T 7iug== X-Gm-Message-State: AOAM532Xcm28t1jJxyeV6phA/vYZJDvc52tSbd3i00upFIOyIQIn1HvG KjqY+J+NkdzSKKmXMrSfpXt5 X-Google-Smtp-Source: ABdhPJzXDpcmBudK8H334ON4SfzKRHKHM/knBfwVRpUd/g6WZ9DYIk/7xQ1KZwDB80K7/adTF71i6Q== X-Received: by 2002:a63:6344:: with SMTP id x65mr4376355pgb.172.1609937676394; Wed, 06 Jan 2021 04:54:36 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:35 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 14/18] ARM: dts: qcom: sdx55-mtp: Add pm8150b pmic Date: Wed, 6 Jan 2021 18:23:18 +0530 Message-Id: <20210106125322.61840-15-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul SDX55-mtp features PM8150B pmic, so include the dts as well Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 83b9d784423e..6ec0c3f1f275 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "qcom-sdx55.dtsi" +#include / { model = "Qualcomm Technologies, Inc. SDX55 MTP"; From patchwork Wed Jan 6 12:53:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001495 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA544C43603 for ; Wed, 6 Jan 2021 12:55:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 756D723120 for ; Wed, 6 Jan 2021 12:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbhAFMzw (ORCPT ); Wed, 6 Jan 2021 07:55:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727028AbhAFMzt (ORCPT ); Wed, 6 Jan 2021 07:55:49 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43441C061372 for ; Wed, 6 Jan 2021 04:54:41 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id g3so1516228plp.2 for ; Wed, 06 Jan 2021 04:54:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ss2w8RtuPlA2YyEul7yH/oRV2xkdzOLZR02ZknSfhJE=; b=ThcBf1ptqd2E+91w+xNrcZvckTLtcC2af676Ai+7YFSMB+wXqtoFZfJgWZPpBYa5cS F8wXfmq0d1uFBX1mH3ub/bJGCrDJuVi5gLono24yKxVbIN0X5PjUaLKpwGU4mbxI0BPJ RzE7gRm1bjQxVLDbMw8/j7rDJYo8o+e/Xmyy1w8QwAg733KL2QOruVT5FaUzgJKGoWQ0 ZXPO2jkP/NBBDajfZnBVsF/pJIBEHR4HF+K/AAc+WwVwUIYi82Qfk+47MPvc9IxyCBkZ bBWHTHMbyZBA3QkMkXESrZbc533tqwMh5l/6rq0RbAruMcfb1p6TJ5SweGa0ZW9/MWz9 yV6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ss2w8RtuPlA2YyEul7yH/oRV2xkdzOLZR02ZknSfhJE=; b=b5Iqsp+N5Gz+r5F7zhg9YRFNxHWmJCNlZDv4feniAsUZRMZdfOBoSp45PqEVwXE0cZ dtJgWwLtKUDLb5OjiYDWVCuk5Y876wv+kBop9oLkkMsWBafUEzn2gu0ABAsd6mSKComf ivkE7GH8VsK2AyAUSu6/l0IEhVjexGFYHDv68wJ1gE3ot+2Cf0oFWT2BpzKJ0fjvHB8C IrzPdrntZYf/+6iX8zPv09N8S/BvYlYei+l+zpl3js3exuiwjCgWnbRLk2oGsAF1SiL4 pFUz6aR853hujuO4dG/R2N1hjPoFuGs+UxfjDnHK5d/rpxsX4cs2cDLht2W7Iy9NN5oo r0mw== X-Gm-Message-State: AOAM530VW+zwNHi9RacYjonHy75wO0DCDvqn7W5S6ed3iCgIzyy8AggL /t+mYdHQzTa6Ozl6rs8FpVuI X-Google-Smtp-Source: ABdhPJx8v+gqCzFMMohdeHquuux5D6tjzRJGg6xBHw20rz0T7LwaXQ/Mqh8QQyq8AoCYiAPY6R30SQ== X-Received: by 2002:a17:902:ac90:b029:da:fd0c:53ba with SMTP id h16-20020a170902ac90b02900dafd0c53bamr4349501plr.23.1609937680795; Wed, 06 Jan 2021 04:54:40 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:40 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 15/18] ARM: dts: qcom: sdx55-mtp: Add pmx55 pmic Date: Wed, 6 Jan 2021 18:23:19 +0530 Message-Id: <20210106125322.61840-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul SDX55-mtp features PMX55 pmic, so include the dts as well Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 6ec0c3f1f275..5b247f628d18 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -8,6 +8,7 @@ #include "qcom-sdx55.dtsi" #include +#include "qcom-pmx55.dtsi" / { model = "Qualcomm Technologies, Inc. SDX55 MTP"; From patchwork Wed Jan 6 12:53:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAC57C433E6 for ; Wed, 6 Jan 2021 12:56:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A59AE22D01 for ; Wed, 6 Jan 2021 12:56:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726811AbhAFMzd (ORCPT ); Wed, 6 Jan 2021 07:55:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726801AbhAFMzc (ORCPT ); Wed, 6 Jan 2021 07:55:32 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E43FC061374 for ; Wed, 6 Jan 2021 04:54:45 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id n25so2190091pgb.0 for ; Wed, 06 Jan 2021 04:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=FxwUgmT2jVBayjun7NTSZIUgDVLWZB87G8ajAbYBzB6pU/Mmu1tiTgd2YoY0FmDPzQ wzqjWlnTz51Vk6LGcMJjKMRBxtHJeBIQUQrt0i9THgyQom56CNt6oDFSYzXVh1MU5kMh sZBdW0TJ0ThYD958yhGUJ+wy9wKiVXqfeQtuwzWPcPBaE8ApeqYabDrPJ5Xng/JgZbGm JE+69ElvHwKs4Xi2wL6+nLLVnsP9PP31r5PpPcg3DQ9ex+k7D/sK4ICoWCt/Cx8cf42P CShZV4r1PhhLGjGbvBytXTG/kljP0+U5aU3i8we9t+HdeOZfJcQnjGs7wPDfC2obaiGu m47g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v/y9bF5GzcDDQpJx8ZDFZlvAK9IBnJLaK6UoovPsBu8=; b=tb4xigReVKfVJykswGEe4Jnbwt306MVXXJxfEN7o4NS1ujDqtwvDW0u+OAozFDI7fQ HBU+x+J5idGaP1fcj4cRdQ/8JCrudnLY1fS6eqCUeW4fqFFHEdcEUm9UwqXl2HTcH3d3 KUaOiZBnFAy1KXWIeL4mD1dgoPy8kSX2t6K8GxTjBUaYhRlyiC3/KlflOi2FiwBwBg0Z SgAvXssRd2Mk1/k81XprlxLHpxnj6NHZZmiB0kCAwO92cfJROPjdWUbtgwAMTtnjLOEs whkzddb2/Ms+z6Lty4PHjj1Dey8R64LP1WxsEsaXdYlqrS7xznEa7NJaNzElwRunEq0p Hl5A== X-Gm-Message-State: AOAM5303rQ0FtymMtAbvnbqz1rmfff6r/O45bsD1JrkKYGQ+UetPOwYM sdIKFiVb/ZUAJ8PaaZ/wVC8Q X-Google-Smtp-Source: ABdhPJxNFgNJyFphnArhqm83EmzK7ydarRPAGF8G5ciPngf3lDjRDKjQ+xGK8LUPQGWKH0nt4nh/+Q== X-Received: by 2002:a65:458e:: with SMTP id o14mr4381657pgq.444.1609937685042; Wed, 06 Jan 2021 04:54:45 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:44 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 16/18] ARM: dts: qcom: sdx55: Add rpmpd node Date: Wed, 6 Jan 2021 18:23:20 +0530 Message-Id: <20210106125322.61840-17-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds rpmpd node and opps for this node to the SDX55 dts. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55.dtsi | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 9911e672b4d2..6ec7cf1a2367 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include / { @@ -351,6 +352,56 @@ rpmhcc: clock-controller { clock-names = "xo"; clocks = <&xo_board>; }; + + rpmhpd: power-controller { + compatible = "qcom,sdx55-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp2 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp3 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp4 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp7 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp8 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp10 { + opp-level = ; + }; + }; + }; }; }; From patchwork Wed Jan 6 12:53:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001493 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 14DC0C43331 for ; Wed, 6 Jan 2021 12:55:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F163022CE3 for ; Wed, 6 Jan 2021 12:55:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726894AbhAFMzi (ORCPT ); Wed, 6 Jan 2021 07:55:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726799AbhAFMzg (ORCPT ); Wed, 6 Jan 2021 07:55:36 -0500 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6A93C061376 for ; Wed, 6 Jan 2021 04:54:49 -0800 (PST) Received: by mail-pg1-x52f.google.com with SMTP id p18so2149230pgm.11 for ; Wed, 06 Jan 2021 04:54:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=b0jqBat3BonuQvaOdiiTz0KA0EHm42GNNSe+AuL4HxE=; b=u5MrPQNT9IIqcQbzJQZx7ResLriMMT3qfuRwH2ffzSxl/SZJ6WLfg3RWW9U0sKgVpo 8EO2rBwoYDBKEpzE0z356GDn42McauraHfr2FeB7B3js5ZDYskxysU3i+wybqvsBhsTj dFlgqtAC3ny0v/J0nqzHRLAd6eaMRao8EM4Ah6r+Pi7ylLZFQ1PYgPoJCKsLxHD+gBGx qV1qUxbQevYJjiLFqv+CKReO7FBucut4GdL28mH2o7OgtjGTMDeuW//d86XSnJMMVmCc Mz+fx2n7j+KzoL1kK2zD+NCveem+ZdIAGpkXrpAISUw9+3hUV5hQ3zNvZl7DBAIUsJ9N Z92w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=b0jqBat3BonuQvaOdiiTz0KA0EHm42GNNSe+AuL4HxE=; b=Y/q8gEv1isxIO7VoUaaURyiMzTRRSwExe+eHDZLhvV2JIwDwN1b4ODkqQzMFlZg5F9 PbPa0Rt+QcVNodVkTg6xkoD/rcHoz5ew/DqIKDzGbXVOwDfY9oU/Bi/K04I8gNubNvPo 9f2zFouJ9LckJiMdrMvhgg5LCS7XjQD5kXr4DBHltZxAQ4kg45x2GCkVwE4H9fy3Mi60 UfSBtQum06bmHuEQy2YbRMqIuyg0CRBhsAD7ZwzcHZGWrofIw72rp6yA6gxajBQMZjPG sc+XFXBKZY1emKkgQYez4l80ZfqcedytYmz/7FiiAuO6BPYlNJfO7PjlQYydnLWmgEsU etzQ== X-Gm-Message-State: AOAM531r7z2Ob3U+sHjUhdlylVetGntXQCNhwYUvnqjgl3ttMexWgoSb GfO0US7ziJhI2quA1t/KO2sv X-Google-Smtp-Source: ABdhPJzL4UpIcoQQft4bDSprEfpkaFa9oFVGGhbvc5lJRrfc9tjJO0ei4rgIaN5sIYPHXlRH7A3hFw== X-Received: by 2002:a62:97:0:b029:1ab:93bf:43a1 with SMTP id 145-20020a6200970000b02901ab93bf43a1mr3679852pfa.75.1609937689402; Wed, 06 Jan 2021 04:54:49 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:48 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 17/18] ARM: dts: qcom: Add PMIC pmx55 dts Date: Wed, 6 Jan 2021 18:23:21 +0530 Message-Id: <20210106125322.61840-18-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds DTS for PMIC PMX55 found in Qualcomm platforms. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-pmx55.dtsi | 84 +++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-pmx55.dtsi diff --git a/arch/arm/boot/dts/qcom-pmx55.dtsi b/arch/arm/boot/dts/qcom-pmx55.dtsi new file mode 100644 index 000000000000..6571b88d018a --- /dev/null +++ b/arch/arm/boot/dts/qcom-pmx55.dtsi @@ -0,0 +1,84 @@ +// SPDX-License-Identifier: BSD-3-Clause + +/* + * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2020, Linaro Limited + */ + +#include +#include +#include + +&spmi_bus { + pmic@8 { + compatible = "qcom,pmx55", "qcom,spmi-pmic"; + reg = <0x8 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + power-on@800 { + compatible = "qcom,pm8916-pon"; + reg = <0x0800>; + + status = "disabled"; + }; + + pmx55_temp: temp-alarm@2400 { + compatible = "qcom,spmi-temp-alarm"; + reg = <0x2400>; + interrupts = <0x8 0x24 0x0 IRQ_TYPE_EDGE_BOTH>; + io-channels = <&pmx55_adc ADC5_DIE_TEMP>; + io-channel-names = "thermal"; + #thermal-sensor-cells = <0>; + }; + + pmx55_adc: adc@3100 { + compatible = "qcom,spmi-adc5"; + reg = <0x3100>; + #address-cells = <1>; + #size-cells = <0>; + #io-channel-cells = <1>; + interrupts = <0x8 0x31 0x0 IRQ_TYPE_EDGE_RISING>; + + ref-gnd@0 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "ref_gnd"; + }; + + vref-1p25@1 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "vref_1p25"; + }; + + die-temp@6 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "die_temp"; + }; + + chg-temp@9 { + reg = ; + qcom,pre-scaling = <1 1>; + label = "chg_temp"; + }; + }; + + pmx55_gpios: gpio@c000 { + compatible = "qcom,pmx55-gpio", "qcom,spmi-gpio"; + reg = <0xc000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + + pmic@9 { + compatible = "qcom,pmx55", "qcom,spmi-pmic"; + reg = <0x9 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; +}; From patchwork Wed Jan 6 12:53:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12001497 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5339EC43217 for ; Wed, 6 Jan 2021 12:55:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 32F5422CB9 for ; Wed, 6 Jan 2021 12:55:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726959AbhAFMzn (ORCPT ); Wed, 6 Jan 2021 07:55:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726884AbhAFMzh (ORCPT ); Wed, 6 Jan 2021 07:55:37 -0500 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBDABC061379 for ; Wed, 6 Jan 2021 04:54:53 -0800 (PST) Received: by mail-pf1-x42c.google.com with SMTP id s21so1638740pfu.13 for ; Wed, 06 Jan 2021 04:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ATR9yRNBQQTnbKCfntyTDHLVwzrGaXdBCPAvcP9FhJU=; b=Scevy0bILl2yBVR8ByQXwgtx90/CV1F8Fn2s8NsQAtDYvdj/BQ5VQSLZWrkGieBajo D9WnNOptSQxak+2W6M3NoKyD0E7kZwuCIOgk9kGHfoXoFZxbGZjyeHE2lWfRek4FzpAU NOQKQhuYtOkF50NxuhcvLDCMI7mhCURQGvfqxbOZ84RV3UQz/r6OzRMFDU1sxYBM4F1p 6C2+S7/zAOA0Kcx86Yo/xHAW64gR4iU8x72mpQ4MusU4iHJTWJ+i/imFe6sksvn/VU2i VGSZA4nLTpVYWvSHAPvj9K0QIJkIpGwcgmUC8PXEIYyr32y7I/1Rpu900r0Rdbp1uhEz ++xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ATR9yRNBQQTnbKCfntyTDHLVwzrGaXdBCPAvcP9FhJU=; b=NVfqVHs0rFX9vLrQBjHBBkFbijFkRKiadq1UDn9PHf5d6S9qVus79cCnWcdvj8WVGK gUsDw+Ms1RcCM8fXjd54LWaqB5GeLi5FIpPZBKhg9u9VPyEaxMhbXD6nt+BXTEVmx3bu A62O3s7GxX2gnEG2dM3UtK8obHyb/KtYwTtq8n+2CfJFcXNlOyqr5ZEUeNVJFwiPU/vg dcJpC65mBZZDgpHx7Wo1RBsg5DS+iqHQeFlAOqj4duVYfCQO04n/ACm0W+p2A3Sex2Xk OOBcc+US6VdTHbUSKxor3bBbVmLM+L5aCtRYBoDG064lrJVvPtOvOfFl8UzF+PGgpD0v 6ZLg== X-Gm-Message-State: AOAM533xOHghe485oPk0UJ33mpYQKVR6qDdNj+lO39zmjqoI5LPuuZM6 0MAV+cGU7Q7NuW3h8XUh9btz X-Google-Smtp-Source: ABdhPJyG7ZXnSUw9wylD8jNDsy7YobQYtV4evLzXy+EAvXl2kqTrSneZQ+vR9kBuVnFQJGOcCv2gYA== X-Received: by 2002:aa7:868e:0:b029:19e:3ac9:f622 with SMTP id d14-20020aa7868e0000b029019e3ac9f622mr3960247pfo.37.1609937693223; Wed, 06 Jan 2021 04:54:53 -0800 (PST) Received: from localhost.localdomain ([2409:4072:6102:e7a2:51f0:bf72:bf80:ec88]) by smtp.gmail.com with ESMTPSA id n128sm2918182pga.55.2021.01.06.04.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 04:54:52 -0800 (PST) From: Manivannan Sadhasivam To: agross@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Manivannan Sadhasivam Subject: [PATCH v3 18/18] ARM: dts: qcom: sdx55-mtp: Add regulator nodes Date: Wed, 6 Jan 2021 18:23:22 +0530 Message-Id: <20210106125322.61840-19-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> References: <20210106125322.61840-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Vinod Koul This adds the regulators found on SDX55 MTP. Signed-off-by: Vinod Koul Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-mtp.dts | 164 +++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts index 5b247f628d18..96b6a295f813 100644 --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts @@ -7,6 +7,7 @@ /dts-v1/; #include "qcom-sdx55.dtsi" +#include #include #include "qcom-pmx55.dtsi" @@ -43,6 +44,169 @@ mpss_adsp_mem: memory@90c00000 { reg = <0x90c00000 0xd400000>; }; }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + }; + + vreg_bob_3p3: pmx55-bob { + compatible = "regulator-fixed"; + regulator-name = "vreg_bob_3p3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + regulator-always-on; + regulator-boot-on; + + vin-supply = <&vph_pwr>; + }; + + vreg_s7e_mx_0p752: pmx55-s7e { + compatible = "regulator-fixed"; + regulator-name = "vreg_s7e_mx_0p752"; + regulator-min-microvolt = <752000>; + regulator-max-microvolt = <752000>; + + vin-supply = <&vph_pwr>; + }; +}; + +&apps_rsc { + pmx55-rpmh-regulators { + compatible = "qcom,pmx55-rpmh-regulators"; + qcom,pmic-id = "e"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-l1-l2-supply = <&vreg_s2e_1p224>; + vdd-l3-l9-supply = <&vreg_s3e_0p824>; + vdd-l4-l12-supply = <&vreg_s4e_1p904>; + vdd-l5-l6-supply = <&vreg_s4e_1p904>; + vdd-l7-l8-supply = <&vreg_s3e_0p824>; + vdd-l10-l11-l13-supply = <&vreg_bob_3p3>; + vdd-l14-supply = <&vreg_s7e_mx_0p752>; + vdd-l15-supply = <&vreg_s2e_1p224>; + vdd-l16-supply = <&vreg_s4e_1p904>; + + vreg_s2e_1p224: smps2 { + regulator-min-microvolt = <1280000>; + regulator-max-microvolt = <1400000>; + }; + + vreg_s3e_0p824: smps3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1000000>; + }; + + vreg_s4e_1p904: smps4 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1960000>; + }; + + ldo1 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo2 { + regulator-min-microvolt = <1128000>; + regulator-max-microvolt = <1128000>; + regulator-initial-mode = ; + }; + + ldo3 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + ldo4 { + regulator-min-microvolt = <872000>; + regulator-max-microvolt = <872000>; + regulator-initial-mode = ; + }; + + ldo5 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = ; + }; + + ldo6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + ldo7 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo8 { + regulator-min-microvolt = <480000>; + regulator-max-microvolt = <900000>; + regulator-initial-mode = ; + }; + + ldo9 { + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + ldo10 { + regulator-min-microvolt = <3088000>; + regulator-max-microvolt = <3088000>; + regulator-initial-mode = ; + }; + + ldo11 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo12 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo13 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <2928000>; + regulator-initial-mode = ; + }; + + ldo14 { + regulator-min-microvolt = <600000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + ldo15 { + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + ldo16 { + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1904000>; + regulator-initial-mode = ; + }; + }; }; &blsp1_uart3 {