Message ID | 20230531-rpm-rproc-v1-6-e0a3b6de1f14@gerhold.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2502036vqr; Mon, 5 Jun 2023 00:14:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6zrRvfW/aFnBpLXewUu9gpYAwIMqhZLNRq4mbL/9+vSSAhF5kXpt369hfTpdd4R9QFxQ64 X-Received: by 2002:a05:6a20:7290:b0:106:c9b7:c932 with SMTP id o16-20020a056a20729000b00106c9b7c932mr1939353pzk.1.1685949244166; Mon, 05 Jun 2023 00:14:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685949244; cv=pass; d=google.com; s=arc-20160816; b=wkmTghNian1SibvN4rFTwRYdH1M3QzqDhU4sF5csRtYY0Z1PONejSKWsiFDV5bTpHO iBtfRL6pDNzsdqSmgwrOzWaMYz6h9uOCOxAASCQkidkTaqrG+FLS70mLxJScw8JarDPp 8zW34esxLqXd+QP/9iaYAyxZOC4F66xvzxDAqwoOSqymxvtNhbiz8vdPN+yXoFb+Z8O8 T3cTBJkbRuCmptaTzHpggS1wS9n1JzfoaZaRw6iHR9CCbtWqKiB/lFSGUYJNQHHZWEZk 7GAuDjKY9v/hU00Zk+HQ5KO4m64rJ0jIAE4N+8Zpry3mG+i+es4ZqRyn7omlVaRr0POH ZI5A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature:dkim-signature; bh=ebVTPJ/mwv+lw/N9dq4GWFiIbE1SohbZeEg+ZHHHEHQ=; b=qq/4NiMctNxk4PJa+ZF+PM0Cdbb5KBqFIgUox7zQokkOi5Q63V4oGVAR69n3Ki4Eih hDwTzOFVzJKqDdz63JhsI4PBAfW7PuynT8HF2mpmRI22HB2JLB+Q0Cihne/7cpgztb0g R3ZwpYuZFE1ZlkE73IxA7CZjNwUC08vt3spABI1+EtGrkJnDsEtp/6BY2DuZ6wkYJTKb W1TK4yICr6UTyFdhb0A6+D3OetHUI+octxv3Jt2CPubMD3DIdZWXstElDGYTcssTcMDu SQZeOxKOLUoDf4uYR36nreoOCMiHTM3LWvp5sIBV9PS/j+nt2SGzZ68EHIKqdkV/MHmt neTA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gerhold.net header.s=strato-dkim-0002 header.b=c3CYZ3pc; dkim=neutral (no key) header.i=@gerhold.net header.s=strato-dkim-0003 header.b=ri2vM6yk; arc=pass (i=1); 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b85-20020a621b58000000b00625559a78a2si4964329pfb.107.2023.06.05.00.13.51; Mon, 05 Jun 2023 00:14:04 -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=@gerhold.net header.s=strato-dkim-0002 header.b=c3CYZ3pc; dkim=neutral (no key) header.i=@gerhold.net header.s=strato-dkim-0003 header.b=ri2vM6yk; arc=pass (i=1); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbjFEHLI (ORCPT <rfc822;pfffrao@gmail.com> + 99 others); Mon, 5 Jun 2023 03:11:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231751AbjFEHKU (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Jun 2023 03:10:20 -0400 Received: from mo4-p03-ob.smtp.rzone.de (mo4-p03-ob.smtp.rzone.de [85.215.255.104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34646E48; Mon, 5 Jun 2023 00:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685948954; cv=none; d=strato.com; s=strato-dkim-0002; b=MvAQmouYZaV32RP/zLih0sGesVxLzOCtmxv3oZtavq13O3nNFknFsjD+lSFo37wGk6 laE+2FPx27T074mpOAgMkVJG4hlqI7Upi1uF4c3p7GhHTY6AGQeSLgnpAF2XaNEOEWMV ND/xI6OYP6MuqLKEr+cSnhdv976SqbvHugp/KWsUP02SRDqzLOA0fbJZ+oza75YugO1m 9KZ/Qj7yK5bYqK4H3Z3Dpq1kkx31Wa2wxbEOIJQjFhqRfusS6PcJEgNH3mZhEOeHcmjh BLiskzyMsLW7YMByVCxlJyc1Q3CwEJczlH36h860REuS2N4sAZY+jsFnKBZzuxKCl71u GIrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685948954; s=strato-dkim-0002; d=strato.com; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=ebVTPJ/mwv+lw/N9dq4GWFiIbE1SohbZeEg+ZHHHEHQ=; b=byL6gkq6EM5ft7DT3EDtMTwYPta+gkMZ8qHVvqoeDjglvaZOx9ZNZlbBFQSPWFt4GK S3+HHeahMU95vuw/23ddkYIFPl5osc4mlVl7nEbaPlDbl6Zee/+vypuqBiGjdGOqIMCt a2HEYgYiwXXYSTclsrY2xWKO1aWHCBsE/aw7YE3YR5ctMENCagVWWcNwH+HtXiYdqc/0 oeRdhjKXYtkKde3XTLMwfO26/aR4/qadfCyRGuDH/QKrKwiLBpwY2MfRW0kyqCvQlvJm eBcGkhYtnkJDwHz+LtT5sM4BBRo5Hpzjw6JVSX6GPMp23AA7w5hC4DfsNipUOziHgwDu xF5A== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo03 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685948954; s=strato-dkim-0002; d=gerhold.net; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=ebVTPJ/mwv+lw/N9dq4GWFiIbE1SohbZeEg+ZHHHEHQ=; b=c3CYZ3pcif6LbFqaVa7umqU7JznrnC8M1TxTTJHlztS68FbhxAGZEbYW4/+8ie3Zyt /Ox0AAZ9g/HKj3zPNDLwqUOXefwTDa2uTBYQzrcDISPBI026EYl1VrcF0C/q0J9eSIbb 0K42oGfrf6U2Rup+utp+ylSCD6sRajdpjMlCyyJDQ2IF4rz4QgmLQ3mnN/pmCf2d1LrP BYjLwnKXTj3VekXxSjdi4w2UAAjNE3hTPZ7lMp8xtypScFa+JWHCiQsYg1Me4ChYDVCs YkHQjOAYZDpjLS3gNakACuBm4IO6aJviU5zeRlbF1eAP77Rgw94bcBLr7fdKh0Oq7yNQ NMRw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685948954; s=strato-dkim-0003; d=gerhold.net; h=Cc:To:In-Reply-To:References:Message-Id:Subject:Date:From:Cc:Date: From:Subject:Sender; bh=ebVTPJ/mwv+lw/N9dq4GWFiIbE1SohbZeEg+ZHHHEHQ=; b=ri2vM6ykg6PYM1zp1w93zKgqhWdLezZL9LQ3D3BkuiRZnKIqKAMtIVmjMI65FlyVtj lppL/thsnh9ZxuRkmnDQ== X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVOQjVd4CteZ/7jYgS+mLFY+H0JAn9VOL5nz0=" Received: from [192.168.244.3] by smtp.strato.de (RZmta 49.5.3 DYNA|AUTH) with ESMTPSA id Z82ec2z5579E8a5 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 5 Jun 2023 09:09:14 +0200 (CEST) From: Stephan Gerhold <stephan@gerhold.net> Date: Mon, 05 Jun 2023 09:08:22 +0200 Subject: [PATCH 06/14] dt-bindings: soc: qcom: smd-rpm: Use qcom,rpm-proc in example MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-rpm-rproc-v1-6-e0a3b6de1f14@gerhold.net> References: <20230531-rpm-rproc-v1-0-e0a3b6de1f14@gerhold.net> In-Reply-To: <20230531-rpm-rproc-v1-0-e0a3b6de1f14@gerhold.net> To: Bjorn Andersson <andersson@kernel.org> Cc: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Stephan Gerhold <stephan@gerhold.net> X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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?1767845914446179964?= X-GMAIL-MSGID: =?utf-8?q?1767845914446179964?= |
Series |
Add dedicated device tree node for RPM processor/subsystem
|
|
Commit Message
Stephan Gerhold
June 5, 2023, 7:08 a.m. UTC
Use the new top-level rpm-proc node instead of having a dummy top-level
/smd node that only contains the RPM but not other remote processors.
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Mon, 05 Jun 2023 09:08:22 +0200, Stephan Gerhold wrote: > Use the new top-level rpm-proc node instead of having a dummy top-level > /smd node that only contains the RPM but not other remote processors. > > Signed-off-by: Stephan Gerhold <stephan@gerhold.net> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.example.dtb: /example-0/remoteproc-rpm: failed to match any schema with compatible: ['qcom,msm8916-rpm-proc', 'qcom,rpm-proc'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230531-rpm-rproc-v1-6-e0a3b6de1f14@gerhold.net The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
On Mon, Jun 05, 2023 at 02:33:58AM -0600, Rob Herring wrote: > On Mon, 05 Jun 2023 09:08:22 +0200, Stephan Gerhold wrote: > > Use the new top-level rpm-proc node instead of having a dummy top-level > > /smd node that only contains the RPM but not other remote processors. > > > > Signed-off-by: Stephan Gerhold <stephan@gerhold.net> > > --- > > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > yamllint warnings/errors: > > dtschema/dtc warnings/errors: > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.example.dtb: /example-0/remoteproc-rpm: failed to match any schema with compatible: ['qcom,msm8916-rpm-proc', 'qcom,rpm-proc'] > Huh? The schema that matches this compatible is in the previous patch. :) Perhaps this error is related to the dt_binding_check problem on the patch before (which is caused by applying the patches to the wrong base branch). Before sending this series I verified that there are no dt_binding_check and dtbs_check warnings or errors when applied to the correct branch. Thanks, Stephan
On 05/06/2023 09:08, Stephan Gerhold wrote: > Use the new top-level rpm-proc node instead of having a dummy top-level > /smd node that only contains the RPM but not other remote processors. > > Signed-off-by: Stephan Gerhold <stephan@gerhold.net> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > index c6930706bfa9..06e574239bd4 100644 > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > @@ -120,10 +120,10 @@ examples: > #include <dt-bindings/interrupt-controller/arm-gic.h> > #include <dt-bindings/interrupt-controller/irq.h> > > - smd { > - compatible = "qcom,smd"; > + remoteproc-rpm { remoteproc > + compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc"; > > - rpm { > + smd-edge { What about binding updates? Anyway, this should be squashed with previous one. > interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; > qcom,ipc = <&apcs 8 0>; > qcom,smd-edge = <15>; > Best regards, Krzysztof
On Tue, Jun 06, 2023 at 08:37:04AM +0200, Krzysztof Kozlowski wrote: > On 05/06/2023 09:08, Stephan Gerhold wrote: > > Use the new top-level rpm-proc node instead of having a dummy top-level > > /smd node that only contains the RPM but not other remote processors. > > > > Signed-off-by: Stephan Gerhold <stephan@gerhold.net> > > --- > > Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > > index c6930706bfa9..06e574239bd4 100644 > > --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > > +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml > > @@ -120,10 +120,10 @@ examples: > > [...] > > + compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc"; > > > > - rpm { > > + smd-edge { > > What about binding updates? > The binding for this is in PATCH 05/14. The old binding replaced here is deprecated in PATCH 07/14. > Anyway, this should be squashed with previous one. > Sure, I can squash in v2. Thanks, Stephan
On 06/06/2023 11:06, Stephan Gerhold wrote: > On Tue, Jun 06, 2023 at 08:37:04AM +0200, Krzysztof Kozlowski wrote: >> On 05/06/2023 09:08, Stephan Gerhold wrote: >>> Use the new top-level rpm-proc node instead of having a dummy top-level >>> /smd node that only contains the RPM but not other remote processors. >>> >>> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> >>> --- >>> Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml | 6 +++--- >>> 1 file changed, 3 insertions(+), 3 deletions(-) >>> >>> diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml >>> index c6930706bfa9..06e574239bd4 100644 >>> --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml >>> +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml >>> @@ -120,10 +120,10 @@ examples: >>> [...] >>> + compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc"; >>> >>> - rpm { >>> + smd-edge { >> >> What about binding updates? >> > > The binding for this is in PATCH 05/14. The old binding replaced here is > deprecated in PATCH 07/14. So changing example without changing binding is not an atomic change. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml index c6930706bfa9..06e574239bd4 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml @@ -120,10 +120,10 @@ examples: #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/irq.h> - smd { - compatible = "qcom,smd"; + remoteproc-rpm { + compatible = "qcom,msm8916-rpm-proc", "qcom,rpm-proc"; - rpm { + smd-edge { interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; qcom,ipc = <&apcs 8 0>; qcom,smd-edge = <15>;