From patchwork Tue Feb 4 05:35:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11364001 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 78AC3139A for ; Tue, 4 Feb 2020 05:35:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4D2A72086A for ; Tue, 4 Feb 2020 05:35:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hmIilxgh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725976AbgBDFfd (ORCPT ); Tue, 4 Feb 2020 00:35:33 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:39147 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbgBDFfc (ORCPT ); Tue, 4 Feb 2020 00:35:32 -0500 Received: by mail-pj1-f68.google.com with SMTP id e9so845526pjr.4 for ; Mon, 03 Feb 2020 21:35:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=mp+1c2B50o28Qqa1ZmH0uiauGkeLJPFOlJ1vQldCPSU=; b=hmIilxghDj4/z3bkBL2jJGMmBKOd1M6J74hCRXsdkFjUO9BMoUZC7n8HjjjGvU3yIy Kvr3Z0gG+Sfl+mikRakWmS7LlJDUTE5uDKMjgLFu+r0nWEWHx02CKNGU/lIv+wbTr3ah IiMKdOLIuciuvLNqstSA8iP4obMmcAJvfnjvuAovqg3AWNNeYZEWjNzgwBJeCQhf3w9o BXX4+UZwJ8ht4gTuYd90tMi+lIoJaDh3Gn7i8xANogKv7eD6+Uf/sYgcZkox5V+jS9dB WEd3cCzwkyGf5fTSD1pnAhcFgqndN+KKNOMXEIDOf+zOxIlM10UDLM9YZwl/ren2FOYf Yq7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=mp+1c2B50o28Qqa1ZmH0uiauGkeLJPFOlJ1vQldCPSU=; b=rd89G9w+qoGSp3/uihS41wcfHynp4z4yYYmm7U8fvkBe9dWZLufYTSaBq1JsjGwyOW wI/e7pj66GLp+NYIj5jtYLZte6+8XmqaBrttIwzY+X7criD6Y3uNW5WOHd7DKUwBNg1i P3Q7VtZE8+yWs9tJ77mVZwWdqaFU3K3B10ciZMmyTbS1ITcoM23FXcDvYZDpbYk5sRjc +Rk3ZPckFnLJGir8CZecpmIKmFN+uidNph5UiUyNwbnxaM+8g2HkKRcECy19uDpU7ALq LgwvPdhpbgNtst3nvA60gyEjZMB5n0vOZqlptI9tLJCtF4Wb+dhSMSMJLZ1FA0Ik8WSM FDUQ== X-Gm-Message-State: APjAAAWjAVrh6JzzQrvw+Mq0Q8KsFvBGd2742Mdvir86ZBpqspQtk0QC eY6NOmTKj93N3+c3zqmQpO8NbFTV7cE= X-Google-Smtp-Source: APXvYqycYSCBCmPC4Am2aK/6EFeIF9OyXPCBP5T0+mibKyaGrTqm3G/Fowfkw930WEP8iGBdZjdHVw== X-Received: by 2002:a17:902:bf41:: with SMTP id u1mr27165783pls.207.1580794530698; Mon, 03 Feb 2020 21:35:30 -0800 (PST) Received: from yoga (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g21sm23210266pfb.126.2020.02.03.21.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Feb 2020 21:35:30 -0800 (PST) Date: Mon, 3 Feb 2020 21:35:27 -0800 From: Bjorn Andersson To: Linus Torvalds Cc: Ohad Ben-Cohen , linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar , Erin Lo , Brandon Maier , "Gustavo A. R. Silva" , Ma Feng , Pi-Hsun Shih Subject: [GIT PULL] remoteproc updates for v5.6 Message-ID: <20200204053527.GB130281@yoga> MIME-Version: 1.0 Content-Disposition: inline Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The following changes since commit e42617b825f8073569da76dc4510bfa019b1c35a: Linux 5.5-rc1 (2019-12-08 14:57:55 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/rproc-v5.6 for you to fetch changes up to 600c39b34369e2a1bf78eb67afb99ce550f271cc: remoteproc: qcom: q6v5-mss: Improve readability of reset_assert (2020-01-24 09:34:07 -0800) ---------------------------------------------------------------- remoteproc updates for v5.6 This adds support for the Mediatek MT8183 SCP, modem remoteproc on Qualcomm SC7180 platform, audio and sensor remoteprocs on Qualcomm MSM8998 and audio, compute, modem and sensor remoteprocs on Qualcomm SM8150. It adds votes for necessary power-domains for all Qualcomm TrustZone based remoteproc instances are held, fixes a bug related to remoteproc drivers registering before the core has been initialized and does clean up the Qualcomm modem remoteproc driver. ---------------------------------------------------------------- Brandon Maier (1): remoteproc: Initialize rproc_class before use Erin Lo (2): dt-bindings: Add a binding for Mediatek SCP remoteproc/mediatek: add SCP support for mt8183 Gustavo A. R. Silva (1): remoteproc: use struct_size() helper Ma Feng (1): remoteproc: qcom: Remove unneeded semicolon Pi-Hsun Shih (1): rpmsg: add rpmsg support for mt8183 SCP. Sibi Sankar (15): remoteproc: qcom: pas: Disable interrupt on clock enable failure dt-bindings: remoteproc: qcom: Add power-domain bindings for Q6V5 PAS remoteproc: qcom: pas: Vote for active/proxy power domains dt-bindings: remoteproc: qcom: SM8150 Add ADSP, CDSP, MPSS and SLPI support remoteproc: qcom: pas: Add SM8150 ADSP, CDSP, Modem and SLPI support remoteproc: qcom: pas: Add auto_boot flag remoteproc: q6v5-mss: Remove mem clk from the active pool dt-bindings: remoteproc: qcom: Add ADSP and SLPI support for MSM8998 SoC remoteproc: qcom: pas: Add MSM8998 ADSP and SLPI support dt-bindings: remoteproc: qcom: Add Q6V5 Modem PIL binding for SC7180 remoteproc: mss: q6v5-mss: Add modem support on SC7180 remoteproc: qcom: q6v5-mss: Improve readability across clk handling remoteproc: qcom: q6v5-mss: Rename boot status timeout remoteproc: qcom: q6v5-mss: Use regmap_read_poll_timeout remoteproc: qcom: q6v5-mss: Improve readability of reset_assert .../devicetree/bindings/remoteproc/mtk,scp.txt | 36 ++ .../devicetree/bindings/remoteproc/qcom,adsp.txt | 44 ++ .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 23 +- drivers/remoteproc/Kconfig | 10 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/mtk_common.h | 94 +++ drivers/remoteproc/mtk_scp.c | 663 +++++++++++++++++++++ drivers/remoteproc/mtk_scp_ipi.c | 219 +++++++ drivers/remoteproc/qcom_q6v5_mss.c | 236 +++++++- drivers/remoteproc/qcom_q6v5_pas.c | 260 +++++++- drivers/remoteproc/qcom_sysmon.c | 2 +- drivers/remoteproc/remoteproc_core.c | 6 +- drivers/rpmsg/Kconfig | 9 + drivers/rpmsg/Makefile | 1 + drivers/rpmsg/mtk_rpmsg.c | 414 +++++++++++++ include/linux/remoteproc/mtk_scp.h | 66 ++ include/linux/rpmsg/mtk_rpmsg.h | 38 ++ 17 files changed, 2092 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/mtk,scp.txt create mode 100644 drivers/remoteproc/mtk_common.h create mode 100644 drivers/remoteproc/mtk_scp.c create mode 100644 drivers/remoteproc/mtk_scp_ipi.c create mode 100644 drivers/rpmsg/mtk_rpmsg.c create mode 100644 include/linux/remoteproc/mtk_scp.h create mode 100644 include/linux/rpmsg/mtk_rpmsg.h