Message ID | 20230609140706.64623-1-krzysztof.kozlowski@linaro.org |
---|---|
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 k13csp975377vqr; Fri, 9 Jun 2023 07:09:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5TNFriz4kgAem0lnKO4J78IubUVCHizn6p51EBYG/pchy67k07rL4iR/MzJyzjlGPrOTL1 X-Received: by 2002:a17:902:c950:b0:1b0:6480:1788 with SMTP id i16-20020a170902c95000b001b064801788mr1119037pla.61.1686319772946; Fri, 09 Jun 2023 07:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686319772; cv=none; d=google.com; s=arc-20160816; b=dtfuoTlWfyUb/RhIXUCBnsz9DdRyHPj9kM4nqKvM+a1a1E9PtaVelBAaF1DZMeA5dL 5dBzEFatmw8W+DVwI5K7ehJ/gdNp3aWFLWFULmMDwl3jUcljkHJr6Bs411GwNcRylDpJ mrKKXavozG3JwsVt3TI8AG+Atm1aj35QpP2+8Sbe7nTNMuLsjTwR1KYqr1WJfeiqjeEv pl2B+QhI1zZPD3sRNMTcVS/VfZ1+vzb7bWLRgD2b+dUSHoeqsyN5YSXElsvR/CAaFBuv aVRMHFzlVWUMt7fXJWmqY05vRBn6Oc9xgygiQS0/Ytusn9gIk9k8HzpobXwHe5COE+vg IlEg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ooPHVjG0smBJcw3UZ0KiwpKSUQFuZSPhg2UdcvnKsUM=; b=tMFpJpJY2dAKkfuvgXkRzA0FDAPlubFkfzURKbfo8Nk6yXj/vmonK8O3bxst3RMHXj Lov83+x4phVbVyBpJk7IK7F9XOO8ncFaydFfvvOJn2Cq7ifOvTQPP2Q5zALUTle03EvW HDOdH+BLGbdO+mWsTOOQD+rfx/Lgit2h1SfydQ28U+47s6b46v08hQaM1eO3d2L7HcCh SpF/bce7/Nf+IiG/+DPBfpp9gn+rAU1pSMIKr1v2IA6diH/VEC0+GK66yuKM+uJ4ty4s N9jOwhMpQf2VaDiM3Y9TkhpDGO4boNwP14jRvG3R8Eg+S3PRCSBPGdQ548oxc6WZg1wU wNqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yaW7mP9M; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a170902f20200b001b06fa86b00si191269plc.410.2023.06.09.07.09.15; Fri, 09 Jun 2023 07:09:32 -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=@linaro.org header.s=google header.b=yaW7mP9M; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240760AbjFIOHY (ORCPT <rfc822;liningstudo@gmail.com> + 99 others); Fri, 9 Jun 2023 10:07:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240306AbjFIOHM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 9 Jun 2023 10:07:12 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD32730FA for <linux-kernel@vger.kernel.org>; Fri, 9 Jun 2023 07:07:10 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5147f7d045bso2749649a12.2 for <linux-kernel@vger.kernel.org>; Fri, 09 Jun 2023 07:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686319629; x=1688911629; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ooPHVjG0smBJcw3UZ0KiwpKSUQFuZSPhg2UdcvnKsUM=; b=yaW7mP9M6MFBEQrrcQ8LchzKkkHtq4Gg21y/eYGBsY9PDRtToucGH6n16zU9pTKB2q 4jRxao4fuN1JAsNRirGAB27RWhZmxrKBpgE8H7dYvnic7dqPHDcGWFEI/P6/V4dhDn3l /Grh1+iqooa2wnedgxI3IL+kieRQDHusBkXUQI1jv5Y3/op7+R/VpJfRXIrygv00I7q/ aklNBncQ1NR1jcxKeLY3gZavuKLKzw6nenoDwusds+ku3VkLZ9PGAAHt7bmo6ssghatn J1kFL3GyDWbTEdA58TuYMEaJ4MAdMd1HFV1cP15Q1KLjCwTCBSxyP8kkktpx5adN7qGz gLGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686319629; x=1688911629; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ooPHVjG0smBJcw3UZ0KiwpKSUQFuZSPhg2UdcvnKsUM=; b=aavBFzxe+OxrSfQh7m9Xgn8xdb8oJRA2BnNNppEKVNDgpZAifLUra4rtQECmmTvmhc XGZrQrfdcVM2ts7azXHbpHdQ1+m7yKqzyZ78qQJShtQgrnHGF6gaxkqOIqQD00ojAFtX 2c2xkiXmiHPIRIaBG7HAFzkd0aD7GPaiCItUDhi3tGQC0c39OiXOrcbuj5wvjhYXFk3N yAuFMe6nqwMj8Q1Ukjry6+lfpSC0qXQA73Bktyc5xBw8B18bJQlC9b9H9dcFQwAsmlMh g05wqaidOHGwC0AipmRvUGLHvdbDmyg+mRv443cUyp7puwhuNaDOmr3tgQkrqSbYQTgg roAw== X-Gm-Message-State: AC+VfDxoUoJ5PdMTy9J/+nWQ00jxl6fSjHfZiFmCT+sfcAdutYxBULWA lfwrAeOSvIRfZ/nlxyPXson7tQ== X-Received: by 2002:aa7:ce12:0:b0:514:8e4a:2d71 with SMTP id d18-20020aa7ce12000000b005148e4a2d71mr1134762edv.26.1686319628915; Fri, 09 Jun 2023 07:07:08 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id a13-20020a50e70d000000b005149c3fa632sm1806120edn.13.2023.06.09.07.07.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jun 2023 07:07:08 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Conor Dooley <conor@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH] dt-bindings: riscv: cpus: drop unneeded quotes Date: Fri, 9 Jun 2023 16:07:06 +0200 Message-Id: <20230609140706.64623-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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?1768234442083145088?= X-GMAIL-MSGID: =?utf-8?q?1768234442083145088?= |
Series |
dt-bindings: riscv: cpus: drop unneeded quotes
|
|
Commit Message
Krzysztof Kozlowski
June 9, 2023, 2:07 p.m. UTC
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On Fri, Jun 09, 2023 at 04:07:06PM +0200, Krzysztof Kozlowski wrote: > Cleanup bindings dropping unneeded quotes. Once all these are fixed, > checking for this can be enabled in yamllint. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor.
On Fri, Jun 9, 2023 at 8:07 AM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > Cleanup bindings dropping unneeded quotes. Once all these are fixed, > checking for this can be enabled in yamllint. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Note that I already have the whole tree done. Just not all split up. Acked-by: Rob Herring <robh@kernel.org> > > diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml > index db5253a2a74a..8a56473cdd5a 100644 > --- a/Documentation/devicetree/bindings/riscv/cpus.yaml > +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml > @@ -61,7 +61,7 @@ properties: > hart. These values originate from the RISC-V Privileged > Specification document, available from > https://riscv.org/specifications/ > - $ref: "/schemas/types.yaml#/definitions/string" > + $ref: /schemas/types.yaml#/definitions/string > enum: > - riscv,sv32 > - riscv,sv39 > @@ -95,7 +95,7 @@ properties: > While the isa strings in ISA specification are case > insensitive, letters in the riscv,isa string must be all > lowercase. > - $ref: "/schemas/types.yaml#/definitions/string" > + $ref: /schemas/types.yaml#/definitions/string > pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[a-z])+)?(?:_[hsxz](?:[a-z])+)*$ > > # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here > @@ -120,7 +120,7 @@ properties: > - interrupt-controller > > cpu-idle-states: > - $ref: '/schemas/types.yaml#/definitions/phandle-array' > + $ref: /schemas/types.yaml#/definitions/phandle-array > items: > maxItems: 1 > description: | > -- > 2.34.1 >
On 09/06/2023 16:34, Rob Herring wrote: > On Fri, Jun 9, 2023 at 8:07 AM Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> wrote: >> >> Cleanup bindings dropping unneeded quotes. Once all these are fixed, >> checking for this can be enabled in yamllint. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> >> --- >> Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) > > Note that I already have the whole tree done. Just not all split up. > > Acked-by: Rob Herring <robh@kernel.org> This was on latest next, so I assumed all your patches are already there and few of them are missing. Best regards, Krzysztof
On Fri, 09 Jun 2023 07:21:17 PDT (-0700), Conor Dooley wrote: > On Fri, Jun 09, 2023 at 04:07:06PM +0200, Krzysztof Kozlowski wrote: >> Cleanup bindings dropping unneeded quotes. Once all these are fixed, >> checking for this can be enabled in yamllint. >> >> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Did you want me to pick this up in the RISC-V tree, or is it aimed somewhere else? > > Thanks, > Conor.
On Wed, Jun 14, 2023 at 07:46:12AM -0700, Palmer Dabbelt wrote: > On Fri, 09 Jun 2023 07:21:17 PDT (-0700), Conor Dooley wrote: > > On Fri, Jun 09, 2023 at 04:07:06PM +0200, Krzysztof Kozlowski wrote: > > > Cleanup bindings dropping unneeded quotes. Once all these are fixed, > > > checking for this can be enabled in yamllint. > > > > > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > > Acked-by: Palmer Dabbelt <palmer@rivosinc.com> > > Did you want me to pick this up in the RISC-V tree, or is it aimed somewhere > else? Usually subsystem, or in this case arch, maintainers should take the bindings patches. So that'd be you ;)
On Fri, 09 Jun 2023 16:07:06 +0200, Krzysztof Kozlowski wrote: > Cleanup bindings dropping unneeded quotes. Once all these are fixed, > checking for this can be enabled in yamllint. > > Applied, thanks! [1/1] dt-bindings: riscv: cpus: drop unneeded quotes https://git.kernel.org/palmer/c/f20233852ae2 Best regards,
Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <palmer@rivosinc.com>: On Fri, 9 Jun 2023 16:07:06 +0200 you wrote: > Cleanup bindings dropping unneeded quotes. Once all these are fixed, > checking for this can be enabled in yamllint. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > Documentation/devicetree/bindings/riscv/cpus.yaml | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Here is the summary with links: - dt-bindings: riscv: cpus: drop unneeded quotes https://git.kernel.org/riscv/c/f20233852ae2 You are awesome, thank you!
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml index db5253a2a74a..8a56473cdd5a 100644 --- a/Documentation/devicetree/bindings/riscv/cpus.yaml +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml @@ -61,7 +61,7 @@ properties: hart. These values originate from the RISC-V Privileged Specification document, available from https://riscv.org/specifications/ - $ref: "/schemas/types.yaml#/definitions/string" + $ref: /schemas/types.yaml#/definitions/string enum: - riscv,sv32 - riscv,sv39 @@ -95,7 +95,7 @@ properties: While the isa strings in ISA specification are case insensitive, letters in the riscv,isa string must be all lowercase. - $ref: "/schemas/types.yaml#/definitions/string" + $ref: /schemas/types.yaml#/definitions/string pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[a-z])+)?(?:_[hsxz](?:[a-z])+)*$ # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here @@ -120,7 +120,7 @@ properties: - interrupt-controller cpu-idle-states: - $ref: '/schemas/types.yaml#/definitions/phandle-array' + $ref: /schemas/types.yaml#/definitions/phandle-array items: maxItems: 1 description: |