Message ID | 20230330164633.117335-4-me@dylanvanassche.be |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp5798vqo; Thu, 30 Mar 2023 10:05:18 -0700 (PDT) X-Google-Smtp-Source: AKy350bbaS0UgRTKmZJiIoRspZYIqIBnlB/fMSNRkXuoeU843DmpIEg+SxdfLqdqJDy/u/hajJTc X-Received: by 2002:aa7:d0d4:0:b0:501:da04:b09b with SMTP id u20-20020aa7d0d4000000b00501da04b09bmr23656814edo.10.1680195918513; Thu, 30 Mar 2023 10:05:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680195918; cv=none; d=google.com; s=arc-20160816; b=n2NZ1uHBHbfvjeKHDVnlDPR6kD5qxG78FG+pfHzlkvI2vs9x84q+lpNqEbdR9MZw3Z 3gO8xcsY2NswVflpH7ycYS8ycWEJYHKxFJxlTY/IOP84r1HTNf9oQw63oiQUhg+TPuSk CwZCmncx686rRKQZO1HDozSzxMWfarlbfteW4+xtKrYptfftGBqvGm84e4zhOq4Syzm7 1fEc1lqiyU8ycKdPcmpu+1gij4o3ZvdF+LsdZm5Xg9rvqfJ5N4ayqH9urqTpAgMQoLtB xzY7XLmIraY6gqFZPrK5nSmbZD3EcW5nMRuAfP0DeGxv6p9tqrlmckpsvgtZWNGBgE/b GY9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TSURVbtcY0YmmwnLZbqD+nMKuO2MCW9bx3mQ70Yn0Pc=; b=CeGi40GnnbTOyHuujhVCdb7OHyi6NBE6EiZfumVpD2CtNpOYm0ZdQ4mJ1VhBsuk0CY ZNyCGJVw3ssMHOUfzNFcSP2uTiKKn+CXy1zycXe2JISPWkSeO1sjjw6flJFQeLBGtFPE UJdcEc6X5cN9yZZHY88LVxVkK4oZ3mTJL/E02/klzYCoKuQWOCjIog5APtFyCgG22Pgx ho4M5B2cXOTY1O9yFQ+6Oh0toly7f/cC3r3ZlA9G1rrfjPjyvStnWO9Z6HOFjGZnQQQp lIH814xUwSlYd/L74PLniG4HO31tVl87umBgxifOy1CWhZHSdsP++JcnJD4a0i4RGiYD GXMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=zl8sYjmH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kw20-20020a170907771400b009476cc92ff0si48556ejc.906.2023.03.30.10.04.27; Thu, 30 Mar 2023 10:05:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=zl8sYjmH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232588AbjC3Qrb (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Thu, 30 Mar 2023 12:47:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232157AbjC3QrA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 30 Mar 2023 12:47:00 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ACDCCDF5; Thu, 30 Mar 2023 09:46:59 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4PnTpk73zcz9scb; Thu, 30 Mar 2023 18:46:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680194815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TSURVbtcY0YmmwnLZbqD+nMKuO2MCW9bx3mQ70Yn0Pc=; b=zl8sYjmHSL5yzHvw74tGSX7QbV7omG8tIGm+HQNfI+XgoIAYmQGppBeF/vwX99cHzd7SN3 RKL/3ZUjnkHpOHm5y48dDZzxX9szfgNoPD8q0yecoSho/z0UOvHg7T63sjqluihKaxRSuv swdnPPDdxUEQ1ZX0GIiiaq9nmnA3WAZ895/yAZMdbtwLzhiGE9/0+TVW6vSv5x3K6kyzSZ vhCg0M4tbiXAYeBkX0gLUtep5F2IL2JE4RpjY99RZgitQF8T0yNeB6VOHIjHsfecBIExls 8Mm3hisR9euZ78w7EnMGW1NqSFV2FeuG4xJKkdx724r/VIW3AtpsglDwHKu3Zw== From: Dylan Van Assche <me@dylanvanassche.be> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Konrad Dybcio <konrad.dybcio@linaro.org>, Manivannan Sadhasivam <mani@kernel.org>, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Dylan Van Assche <me@dylanvanassche.be> Subject: [PATCH v3 3/3] remoteproc: qcom: pas: add SDM845 SLPI compatible Date: Thu, 30 Mar 2023 18:46:33 +0200 Message-Id: <20230330164633.117335-4-me@dylanvanassche.be> In-Reply-To: <20230330164633.117335-1-me@dylanvanassche.be> References: <20230330164633.117335-1-me@dylanvanassche.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761813115396210675?= X-GMAIL-MSGID: =?utf-8?q?1761813115396210675?= |
Series |
remoteproc: qcom: pas: Support SDM845 SLPI
|
|
Commit Message
Dylan Van Assche
March 30, 2023, 4:46 p.m. UTC
Add a compatible for the SDM845 SLPI to the Qualcomm remoteproc q6v5_pas
driver. The SLPI is the same as in SM8150, SM8250, SM8350, and SM8450,
so use the same resource in the driver.
Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
---
drivers/remoteproc/qcom_q6v5_pas.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 30.03.2023 18:46, Dylan Van Assche wrote: > Add a compatible for the SDM845 SLPI to the Qualcomm remoteproc q6v5_pas > driver. The SLPI is the same as in SM8150, SM8250, SM8350, and SM8450, > so use the same resource in the driver. > > Signed-off-by: Dylan Van Assche <me@dylanvanassche.be> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > drivers/remoteproc/qcom_q6v5_pas.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c > index b96020c93e58..f3a7ae503bd1 100644 > --- a/drivers/remoteproc/qcom_q6v5_pas.c > +++ b/drivers/remoteproc/qcom_q6v5_pas.c > @@ -1169,6 +1169,7 @@ static const struct of_device_id adsp_of_match[] = { > { .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init}, > { .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init}, > { .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init}, > + { .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init}, > { .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource}, > { .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init}, > { .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init},
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index b96020c93e58..f3a7ae503bd1 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -1169,6 +1169,7 @@ static const struct of_device_id adsp_of_match[] = { { .compatible = "qcom,sdm660-adsp-pas", .data = &adsp_resource_init}, { .compatible = "qcom,sdm845-adsp-pas", .data = &sdm845_adsp_resource_init}, { .compatible = "qcom,sdm845-cdsp-pas", .data = &sdm845_cdsp_resource_init}, + { .compatible = "qcom,sdm845-slpi-pas", .data = &sdm845_slpi_resource_init}, { .compatible = "qcom,sdx55-mpss-pas", .data = &sdx55_mpss_resource}, { .compatible = "qcom,sm6115-adsp-pas", .data = &adsp_resource_init}, { .compatible = "qcom,sm6115-cdsp-pas", .data = &cdsp_resource_init},