Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4414247pxv; Tue, 20 Jul 2021 03:17:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOvSR1/oQgfq4W5WIFlt+PsCh6pIfxIzs0XclNuJl7xJeoNbooQfXAJ4/2KasP3mZl0H9R X-Received: by 2002:a17:906:3fc2:: with SMTP id k2mr15777651ejj.440.1626776222755; Tue, 20 Jul 2021 03:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626776222; cv=none; d=google.com; s=arc-20160816; b=oRJggR368HEOHM2Ljn50CVnP6HMwGWgMG8UORDGOqEzWj2gIheB1b3eRPiwoKqMs/Z 3u+5iL9J6eHz2hXnbgAG07L0sVFGU8TNK0EjmflDLchQxrdlh7uCPFlr8Sol03ydFt0S iRVepSeNrpz/ZHKacLS/hstqtOadljgwFCR2Ebq7TclQ+e+veggmhjjhNoZccxYsrI2i VAVtzkMg94ZxIjsbTbOOLcHyIKXrWbF8tW8tDThrW5LhwalgTjA5bv4g/lpuGEeuZ5Vn XNqhg2vt1RaBNYd1f4ZKvy5NkIkmwW5uY/uf9AL5d7X9+MWlSF9JxDpYy5aEJvC3pgVw +QzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=AABY/orDGTTWdL6LYhMiGUY1MqMbtk4qga0RFxIt0yI=; b=LhmrccYz1zvm4jXXuPIYAxE21tTZrIPaiT5WqxCKzEQgBCHMZfZd9fxLL9ycOwcKCn 9j/xBf22/pxcH58IwRGNQMrsjbwHolv7xDYpcg1Bf1ri8O8uZ8h414HE/0hnaIc9fNDL WLiu+IuKsUdlgaqNelXYG/wajgopLvg+fgJpZiWsN4ut+QSRejxxWuO3MWVfiIfNDCNb LCxLXMBkR2EUJRxYrH/Wzl6piQBm9BVvgahDSae+DQi30qLmAwIRrn/E9zcoKkuU0Pd8 y9Jr+lsjPS6pKnxyxe7eyTR3A7ycsnPbaMIK3U+MZWb3wOD1ckw3pz2FpK8phlCm3GbL R3dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=hlKO+JyG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si1132013ede.152.2021.07.20.03.16.38; Tue, 20 Jul 2021 03:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=hlKO+JyG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236262AbhGTJdN (ORCPT + 99 others); Tue, 20 Jul 2021 05:33:13 -0400 Received: from so254-9.mailgun.net ([198.61.254.9]:63878 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233143AbhGTJdE (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: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd 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 60f6a1c4fcf9fe7b78a241c6 (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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 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-kernel@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(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project