From patchwork Mon Aug 5 17:08:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 13753880 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0C3D4C3DA4A for ; Mon, 5 Aug 2024 17:08:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 61EF110E1E9; Mon, 5 Aug 2024 17:08:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="OMgQyPZY"; dkim-atps=neutral Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by gabe.freedesktop.org (Postfix) with ESMTPS id DE8B810E1E9 for ; Mon, 5 Aug 2024 17:08:15 +0000 (UTC) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3685b3dbcdcso6347106f8f.3 for ; Mon, 05 Aug 2024 10:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1722877694; x=1723482494; darn=lists.freedesktop.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=8uly+IqTLPSkpnVFapb7KGj1e49xFSvwdnr30WxfQZw=; b=OMgQyPZYas7osGHI86JJ62OQn820VGfzh3UN04u+voM7Uccr/b8C2dyJ9Vbg+08ga6 o0g4eXUMs94nccybIxI6qVM9X1H327a2H3C323ceZ0KsSvvd5nQcx7wH9zVsnZJizUkS 1tsGaodpJjHY5Y5n8aYvoa/l4CtNdqhHsRccm/UX/9f61CXyDxuqAxeEwFbGnA0ZDEDf 4s6i2Hx3vqjX0Xikbj26yRHDtBxkbd9Om3qR8+RVMwK3sZucc/4WwAa4REvjMgviRRuB HMwmUAaJZvSRKrkbouG+DVAfPe+FHs/xxrH+80iVtfGTkT0pldw+XL/te17Lkvk5HBaG YuyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722877694; x=1723482494; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8uly+IqTLPSkpnVFapb7KGj1e49xFSvwdnr30WxfQZw=; b=Ia8xvjOsnWW3fSffPlSQRHFJKRL7YRLQ1VIkIuFJ4seiZDvk2kFj1frZVp6ezBzgEK qT0DQ2ZpPPl4JBgp6JgX4qC2v/7gdGl7KGjNjCeNQdKXfwP5m3fFxF0wX/8OBaBhqifM AaPz2GzOMGJYf3cL+wM+eBRpuOcw198AOaks8lysRzjqjqymi/kCE16C3Oi96mkIFVbS /nYTEfBd4VBd8hgWhgDTtchayvZreCTC3zLCM9MF0PY3P36t8hEtNlU6UvHKHCbG6uhz aTeq7hioBMs3ALt2qaMuXFEcq45J+tZVqrxU3WCj7e+Mbiqdn6pYUb0NY71bqke1RUzL 0AjQ== X-Forwarded-Encrypted: i=1; AJvYcCVuZanNxnqr3Jvqm/qaUxhMAJDE6buHeWWVgx3x6SS0FqAmVye0ubpOcNHShu2igHChvhMVIH3YrGo7H/Ou8PEBbNW7TZoAh6zIWD3vEWK4 X-Gm-Message-State: AOJu0YzRJVp3PMtp5f5Jny5P8k5gY5i0rqSGyOF20CS5cp+qYdkqPkz7 xP6b+CwX9BvtxsdPP1yH8zQtxniRkAe1BfnOiLpmWnNeqjZR7H3GThlb80FZ4A4= X-Google-Smtp-Source: AGHT+IHEc6beAbc1AeLoAZgmhc7HhqdccyyJ0DR1HPklH3ZImt5wiuFN+vr2UrLKSKnMf5uXIPGwUg== X-Received: by 2002:a05:6000:d8c:b0:367:9988:84a0 with SMTP id ffacd0b85a97d-36bbc1c2b01mr9001547f8f.58.1722877693862; Mon, 05 Aug 2024 10:08:13 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:dc:7e00:1068:b792:523c:3f73]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-36bbcf1e97esm10356486f8f.37.2024.08.05.10.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Aug 2024 10:08:13 -0700 (PDT) From: Bartosz Golaszewski Subject: [PATCH v4 0/6] arm64: qcom: sa8775p: enable remoteprocs - ADSP, CDSP and GPDSP Date: Mon, 05 Aug 2024 19:08:01 +0200 Message-Id: <20240805-topic-sa8775p-iot-remoteproc-v4-0-86affdc72c04@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPEGsWYC/33PwWrDMAyA4VcJPtfDke0o3WnvMXpwErkVtHGwg 1kpefc6JdBthR5/HT5JN5EoMiXxWd1EpMyJw1jC7CrRn9x4JMlDaQEKjLIK5Rwm7mVyLaKdJId ZRrqEmaYYetk0BjuroK0JRCGmSJ5/Hvz3ofSJ0xzi9bEt1+t0gwE2+EwXN6b/bq6lks7vveuwA /Tq68yji+EjxKNY4Qy/MXyPQcHaAQxpo/aD8y+YfmKNsu9fzno9zWjU1nZtj3+1ZVnuoMFjPGM BAAA= To: Srinivas Kandagatla , Amol Maheshwari , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Jassi Brar , Bjorn Andersson , Mathieu Poirier , Arnd Bergmann , Greg Kroah-Hartman , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Bartosz Golaszewski , Tengfei Fan , Ling Xu , Krzysztof Kozlowski , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2458; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=lpu7I8H/UUtSbokfZ1Up75euXV7jZ0ArNZ3blAePYaI=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmsQb4qQdXTZhl+2CZDmjKyu4WRjwZLpL4JqM96 bf91eb/XZuJAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZrEG+AAKCRARpy6gFHHX crhsD/0ZVz6vuYUiDEGFSBSne2/BgfoatTte5ILfVJftsFWUgl/g5oqAgS2DJ3M7zyar/o6D+Y2 XjEaGbAnd1wCbHk5JD8i0vyGih39k7vRfPmEGc0enskL/PjjqruCHGVQSr89JfLbTNPvuSw4DRz qLPIXUriVmT4tGE46QwHumOF+8s5RBPKXKlUpQ9wwdx4QMs5PojApEtmW7XOXL7ZjO6tc/n0Hkg St3LERpnKJe/wXXNgF5J1YJj4H++arD/G516rD+FqO6/lMMHnmhYjEjdFGG4jybJ1+PLC2uf+mb lgGS16AfxrHN/EgNT9ElW57jE4RhnG3I7UZe2pwfgvEY6zhqgEq4kmWVF7U5X6fTI8y0nLlMpHV dY+W9AHE8iplWxTttlfv2yTALAUM/PWWEv8K2zh1sy4sb1QWKnUcqwD1VC+crWEfKlAEesV/WaC sFVWXAAb5auPbLI4lkyCUuS+1lE2dyNx6IWJ9jz2biHrSSl2/vc6YY7QS6b/HCbmt17QwgDMtBK xGb7i8XPwElbt9j8Faa7xx413mG3I0kgTSzQwFxO2p5RDGChjySq+JaEcbsore0KlMPabYAeO10 psFEsmLoDfEHm4CRvpzMd55PHmePL/hR9+U94Cq4p94bZ4X0IZ8jMJnottWyrYYl+cK1SAwTGYi vYfixyPHER4nbjA== X-Developer-Key: i=bartosz.golaszewski@linaro.org; a=openpgp; fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add DT bindings, relevant DT defines, DTS nodes and driver changes required to enable the remoteprocs on sa8775p. To: Bjorn Andersson To: Mathieu Poirier To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Manivannan Sadhasivam To: Jassi Brar To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org Cc: linux-remoteproc@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Bartosz Golaszewski Changes in v4: - add the fastrpc nodes and relevant driver and DT bindings changes - Link to v3: https://lore.kernel.org/r/20240605-topic-sa8775p-iot-remoteproc-v3-0-a437355b8c7f@linaro.org Changes in v3: - Unify the nsp power domain names across both CDSPs - Sort out SoB tags - Fix firmware names in the PAS driver - Fix cdsp0 name in bindings - Link to v2: https://lore.kernel.org/r/20240527-topic-lemans-iot-remoteproc-v2-0-8d24e3409daf@linaro.org Changes in v2: - Move the DT bindings for sa8775p-pas into a separate file - Link to v1: https://lore.kernel.org/r/20240522-topic-lemans-iot-remoteproc-v1-0-af9fab7b27f0@linaro.org --- Bartosz Golaszewski (2): dt-bindings: misc: qcom,fastrpc: increase the max number of iommus arm64: dts: qcom: sa8775p-ride: enable remoteprocs Ling Xu (1): misc: fastrpc: Add support for cdsp1 remoteproc Tengfei Fan (3): dt-bindings: mailbox: qcom-ipcc: Add GPDSP0 and GPDSP1 clients remoteproc: qcom_q6v5_pas: Add support for SA8775p ADSP, CDSP and GPDSP arm64: dts: qcom: sa8775p: add ADSP, CDSP and GPDSP nodes .../devicetree/bindings/misc/qcom,fastrpc.yaml | 2 +- arch/arm64/boot/dts/qcom/sa8775p-ride.dtsi | 25 + arch/arm64/boot/dts/qcom/sa8775p.dtsi | 548 +++++++++++++++++++++ drivers/misc/fastrpc.c | 10 +- drivers/remoteproc/qcom_q6v5_pas.c | 92 ++++ include/dt-bindings/mailbox/qcom-ipcc.h | 2 + 6 files changed, 674 insertions(+), 5 deletions(-) --- base-commit: d6dbc9f56c3a70e915625b6f1887882c23dc5c91 change-id: 20240507-topic-sa8775p-iot-remoteproc-6647b50281e2 Best regards,