From patchwork Tue Jul 20 10:12:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 12387933 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E96C2C07E9B for ; Tue, 20 Jul 2021 10:13:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CB9BA6113B for ; Tue, 20 Jul 2021 10:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236206AbhGTJdH (ORCPT ); Tue, 20 Jul 2021 05:33:07 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:35123 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235706AbhGTJdE (ORCPT ); Tue, 20 Jul 2021 05:33:04 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1626776023; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=AABY/orDGTTWdL6LYhMiGUY1MqMbtk4qga0RFxIt0yI=; b=hlKO+JyGP3JE0yw2k+YAvzZOdc7QwUk4aiCwaDuSfWFiXWd7rckcoC+LDNSqdrB2mrl4KCcQ +Z7U/PcZTwOSktukzfo/oQSZBhJnBBxnXYnk4LgCXNidmR7uNYkWrfidlPzFSbZLUn+gFURF I5C7b/632w99YZh1TIEPErZMr3I= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyI1MzIzYiIsICJsaW51eC1hcm0tbXNtQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 60f6a1c4fcf9fe7b78a241c5 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 20 Jul 2021 10:13:24 GMT Sender: sibis=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 2EDDFC4338A; Tue, 20 Jul 2021 10:13:24 +0000 (UTC) Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id C65EDC433D3; Tue, 20 Jul 2021 10:13:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C65EDC433D3 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, will@kernel.org, saiprakash.ranjan@codeaurora.org, mka@chromium.org Cc: ohad@wizery.com, agross@kernel.org, mathieu.poirier@linaro.org, robin.murphy@arm.com, joro@8bytes.org, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, evgreen@chromium.org, dianders@chromium.org, swboyd@chromium.org, Sibi Sankar Subject: [PATCH v2 00/10] Add Modem support on SC7280 SoCs Date: Tue, 20 Jul 2021 15:42:50 +0530 Message-Id: <1626775980-28637-1-git-send-email-sibis@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch series adds support for booting the Modem Q6 DSP found on Qualcomm's SC7280 SoCs. Depends on: aoss yaml: https://patchwork.kernel.org/project/linux-arm-msm/cover/20210709174142.1274554-1-bjorn.andersson@linaro.org/ qmp_send: https://patchwork.kernel.org/project/linux-arm-msm/cover/1623237532-20829-1-git-send-email-sibis@codeaurora.org/ rproc qmp: https://patchwork.kernel.org/project/linux-arm-msm/cover/1626755807-11865-1-git-send-email-sibis@codeaurora.org/ V2: * Misc. typos {patch 3}. [Matthias] * Document the q-channel takedown procedure {patch 5}. [Matthias] * Split reserved memory updates between SoC and platform {patch 6}. [Matthias] Sibi Sankar (10): dt-bindings: remoteproc: qcom: pas: Add SC7280 MPSS support remoteproc: qcom: pas: Add SC7280 Modem support dt-bindings: remoteproc: qcom: Update Q6V5 Modem PIL binding iommu/arm-smmu-qcom: Request direct mapping for modem device remoteproc: mss: q6v5-mss: Add modem support on SC7280 arm64: dts: qcom: sc7280: Update reserved memory map arm64: dts: qcom: sc7280: Add/Delete/Update reserved memory nodes arm64: dts: qcom: sc7280: Add nodes to boot modem arm64: dts: qcom: sc7280: Add Q6V5 MSS node arm64: dts: qcom: sc7280: Update Q6V5 MSS node .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 6 + .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 32 ++- arch/arm64/boot/dts/qcom/sc7280-idp.dts | 59 +++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 107 +++++++++ drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + drivers/remoteproc/qcom_q6v5_mss.c | 252 ++++++++++++++++++++- drivers/remoteproc/qcom_q6v5_pas.c | 1 + 7 files changed, 452 insertions(+), 6 deletions(-)