From patchwork Mon Mar 27 18:48:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 667625 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD44EC761A6 for ; Mon, 27 Mar 2023 18:48:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjC0Ssf (ORCPT ); Mon, 27 Mar 2023 14:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbjC0Sse (ORCPT ); Mon, 27 Mar 2023 14:48:34 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397C310D3; Mon, 27 Mar 2023 11:48:31 -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 4PlhfN3MCLz9t4q; Mon, 27 Mar 2023 20:48:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679942908; 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=mtgaKa7tkPxqeT7Z9b4tRUceRb1UfrPjsq/gzZvZwCQ=; b=M+p7+L5z+T0keWbGp512aYTvpEm0hcE9Rp36lqAVGX4SKpH+fzAOFWmehZkNwfoWzuUhbh exn8B4PIvV+HpaUnpD9FrGqI7lrLSEfWOwGJUU+jGru39mYRjgfvMwudICXPFdRk2ACIvF t1DcKzUptVM5kT7Sl7i4WrYadEB6QBZKEJQ4H2qejBua9+dhXIpytnVNMJGTd6kWRX64r3 5exFBfMcRNlKJ0I5sGIcyKZogQcbWb+H5wkTWR4yFy/HwiM6FlpdjrGtcJ1ECVNDHFtfTI wh891gmJqtJDPylwtwFce8FLKVeyS76Jv1BhWVVnbmU44/Zw+EMvlNaBV+stdw== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Srinivas Kandagatla , Amol Maheshwari , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@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 Subject: [PATCH v2 2/5] dt-bindings: misc: qcom,fastrpc: allow FastRPC node without reg entry Date: Mon, 27 Mar 2023 20:48:08 +0200 Message-Id: <20230327184811.499553-3-me@dylanvanassche.be> In-Reply-To: <20230327184811.499553-1-me@dylanvanassche.be> References: <20230327184811.499553-1-me@dylanvanassche.be> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org FastRPC nodes may exist without a registry property and actual Compute Banks in some cases such as the SLPI on the Qualcomm SDM845 SoC. Relax the regex to allow such FastRPC nodes and remove 'reg' as a required property. Signed-off-by: Dylan Van Assche --- Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml index 1ab9588cdd89..0ccd3296d4f2 100644 --- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml +++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml @@ -64,7 +64,7 @@ properties: const: 0 patternProperties: - "(compute-)?cb@[0-9]*$": + "(compute-)?cb(@[0-9]*)?$": type: object description: > @@ -89,7 +89,6 @@ patternProperties: required: - compatible - - reg additionalProperties: false From patchwork Mon Mar 27 18:48:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dylan Van Assche X-Patchwork-Id: 667624 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C343C761A6 for ; Mon, 27 Mar 2023 18:48:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232140AbjC0Ss5 (ORCPT ); Mon, 27 Mar 2023 14:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232142AbjC0Ssn (ORCPT ); Mon, 27 Mar 2023 14:48:43 -0400 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050:0:465::202]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE0751709; Mon, 27 Mar 2023 11:48:37 -0700 (PDT) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::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-202.mailbox.org (Postfix) with ESMTPS id 4PlhfV0gPdz9sWt; Mon, 27 Mar 2023 20:48:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1679942914; 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=ii3vQ4PmnknxwthxZgNTHiVuAEdqpO2ETRYpvK0GqeI=; b=qgcLO3rXxr6WGYorpbydnhnNKgMXxhN8Wba0T5qlN+YUHZsXr9R9/M7bbNxyM9T7LafN8m KHUcFJrygNfJu6kErxDD6SUnRh2bd84nC8MTlie4IcFNuWJzVeRf9VY0NqIWXX7reA7kIY rL7Co7rsYr/rXfvUWijnyg33kTAfcJVRjhEH3i5JL/VxCdQCpaId1IoH2Awl+pzrj0ph60 p7UyyB1M728SvY2JzCqU+5UMvMmvXDShInuzjTYhapuPGYZ0M1cARjlTLG+gMXRlBR23ax poD41vGBXJzq5oy9xD3HyiwunddzOkrM7cmkXkQcRrdhKLml+UZtQuqAYtecaw== From: Dylan Van Assche To: Andy Gross , Bjorn Andersson , Srinivas Kandagatla , Amol Maheshwari , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@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 Subject: [PATCH v2 4/5] dts: arm64: qcom: sdm845-oneplus: enable SLPI Date: Mon, 27 Mar 2023 20:48:10 +0200 Message-Id: <20230327184811.499553-5-me@dylanvanassche.be> In-Reply-To: <20230327184811.499553-1-me@dylanvanassche.be> References: <20230327184811.499553-1-me@dylanvanassche.be> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4PlhfV0gPdz9sWt Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable the SLPI DSP on the Oneplus 6 phone with a Qualcomm SDM845 SoC. Signed-off-by: Dylan Van Assche --- arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index b01542d79ae2..3bd15984990c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -552,6 +552,11 @@ &qup_uart9_tx { bias-disable; }; +&slpi_pas { + firmware-name = "qcom/sdm845/oneplus6/slpi.mbn"; + status = "okay"; +}; + &sound { compatible = "qcom,sdm845-sndcard"; pinctrl-0 = <&quat_mi2s_active &quat_mi2s_sd0_active &quat_mi2s_sd1_active>;