Message ID | 20230327184811.499553-3-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 b10csp1722661vqo; Mon, 27 Mar 2023 11:56:39 -0700 (PDT) X-Google-Smtp-Source: AKy350ZsuaLhLxYlIU7lWAqWIt40qyLw7j5cP808c1DDv9i3TEe3NQ9uFZNqprA7KgYHHfTIrKUN X-Received: by 2002:aa7:96cf:0:b0:627:f639:5bf1 with SMTP id h15-20020aa796cf000000b00627f6395bf1mr12987588pfq.7.1679943399068; Mon, 27 Mar 2023 11:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679943399; cv=none; d=google.com; s=arc-20160816; b=zIu3XIQu14kpNTyGJa3zJ9wWpUA3h77zRuzrhayT5P0X2d1Ee5Ym170Qh7Ks/SqHZ1 qQB4GMnhc0pkGU6ooiNeyJ72/excKQXOsDTD72y4gWi0XA8VBSeiSSfCPEzNH0QZHXKL WRMenGUg8zNuUQ4kHRDpN55wwJ1k1WvYeu6r7Nk4g3DXBzmCYU3+egv11XD0qmWAMrp6 26TSbcKWl5nd+agIVIKBsRCaPqVIYjYQAf1Y2MsLt93UIpIOiV4Mrhht2J9TXd8pY1yQ Fj87cDQyrIv5ZSAgbPUfmnvzO7mrfAnktN3dx+CHwFnZ4I3Ythm+2n1rTOhGK+ejrk40 sjzw== 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=mtgaKa7tkPxqeT7Z9b4tRUceRb1UfrPjsq/gzZvZwCQ=; b=uj+t06oTxsmrAdZrgYYxtpK5eQXrc9p3gSyjGxYP0LbSTPiBH0NkQKiD5A/GyfU+jK hYQqJgDrLVKzfZRJoOBilNxNqNAzBJqu0MWcZ71sUwzcG4v1VhblftvQHcTNrEGCRIQc 3pA8MV1iYTI61HQadeyFNbxtLuGhcdf86fESKnunv82NWvChd1k7527vMR0IEJ15Kelw 4SIIDRK/8NiD38ugLr3DGs30iSmI4IsRr7eoSGl1rf1je8sbqYXsFi9IqQhLAuTJ4p5r OsTxE+KkQZ0KjOYbVmp2bcnYzYkDaI6oPEH04DPpu0iCsHYiF2M8c0cOKwsxuUD5JWfx 3jjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=M+p7+L5z; 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 n44-20020a056a000d6c00b006259cf8a646si26537198pfv.43.2023.03.27.11.56.25; Mon, 27 Mar 2023 11:56:39 -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=M+p7+L5z; 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 S231833AbjC0Ssg (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 27 Mar 2023 14:48:36 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <me@dylanvanassche.be> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Amol Maheshwari <amahesh@qti.qualcomm.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Konrad Dybcio <konrad.dybcio@linaro.org>, 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 <me@dylanvanassche.be> 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 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?1761548329734841383?= X-GMAIL-MSGID: =?utf-8?q?1761548329734841383?= |
Series |
dts: qcom: arm64: sdm845: SLPI DSP enablement
|
|
Commit Message
Dylan Van Assche
March 27, 2023, 6:48 p.m. UTC
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 <me@dylanvanassche.be>
---
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Comments
On 27/03/2023 20:48, Dylan Van Assche wrote: > FastRPC nodes may exist without a registry property and actual Why would they exist without unit address? > Compute Banks in some cases such as the SLPI on the Qualcomm SDM845 SoC. I do not see there anything disallowing unit address yet... > Relax the regex to allow such FastRPC nodes and remove 'reg' as a > required property. No, at least not without proper explanation why unit address is not allowed for these. Best regards, Krzysztof
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