Message ID | 20221016173625.53769-1-krzysztof.kozlowski@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1103535wrs; Sun, 16 Oct 2022 10:52:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4/B4TjZgNsoZNTz1KOPyU9/WZ9ytxPdy7WmgIcX8ULVDj0BLwJWh348tLJ0wzWYeqXrLO9 X-Received: by 2002:a05:6a00:1309:b0:535:d421:1347 with SMTP id j9-20020a056a00130900b00535d4211347mr8561136pfu.5.1665942779293; Sun, 16 Oct 2022 10:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665942779; cv=none; d=google.com; s=arc-20160816; b=hTAh0Z5ICq7VnMzm5BJcwbtg3+QlNr0Q1MMuWX0nq+IqolRR98083zRRwMT+VQCwXD 2OJYcmm1ttuBd5X/w7hK1tQpW6A1IER7ebUkv8Eqz5Dye22puHAmn1leaQjlhU0UvKun xIDD5x0P4HMmzBiIqGcZKjlVjU6JujdOLv9XzDpsCZu9dlyA2a7hJOaSYsHUt+fDnZT+ R4BTvgCQa4+W1je0asXJJNKgfjXoWl03z29nTKq0n1Gj5fuTfGkEwduXOwwfxaiW5iud 77rZYa4wdgt5DfSt3FsR9f4frC/RrnnD/Jy8xN9mWwaeHs5XdJUbNDV6dfwfDYZiAtgq shuQ== 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=33yORBvP8CyROZDGO3XsviIiyoyghI9p2jQ7nrsYpb0=; b=uUsDCqOZbL/SLRZP9tV2Je6VP2eUEK1703EoWoW7KB3MuZK5AG1VewRD1GlMq0r3BS LMH4Slbtwl+jwJcX396fwnmxWkCEAlt9kprhdtbNslSiM9AQ7vEy3lZVxcCsnDHDRjpG mphqmjV+AhefyEzhgx3Mk0vAG2GdbFa/Q4YFfyibu6H9uz6MWaVXqq/ceDQbMpEpjccw /roZ8FWinn0a5Tg42aT1bFKxizOjsTK2VM/5REwpAZUH+EIlAKIVGbb4g/2K5uQYVSXW UQVrD+4kKeLm+mq3zIt9j2R2HBj9MStI3F70cgbk4FS+U75DOQKmm6cPxwA6Fa1xvA4v SfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vX4xk5pz; 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 h2-20020a170902748200b0017f7de72903si8850470pll.71.2022.10.16.10.52.46; Sun, 16 Oct 2022 10:52:59 -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=vX4xk5pz; 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 S230051AbiJPRgb (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Sun, 16 Oct 2022 13:36:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229914AbiJPRga (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 16 Oct 2022 13:36:30 -0400 Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC05B4152B for <linux-kernel@vger.kernel.org>; Sun, 16 Oct 2022 10:36:28 -0700 (PDT) Received: by mail-qv1-xf2e.google.com with SMTP id de14so6284378qvb.5 for <linux-kernel@vger.kernel.org>; Sun, 16 Oct 2022 10:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=33yORBvP8CyROZDGO3XsviIiyoyghI9p2jQ7nrsYpb0=; b=vX4xk5pz42QKRJCls5ByhGA2iaXQPvuj1jjpnKX6lGa/PPSKPmuGuI5rkG2RcezTuz UxoJ86ntFosaMdxRFnec3Zv9TQV1GcnHhUqNQ/uTCA67JjMDlLdoCOmgWfb38VRhDMAo 3njgwLbq1hQqBMH1ECqqm2mskKyJKp9hkxFh9eqdD5ZNa6K+dNjlwEt4lh7uXxeAo0sf Bw26fHoP9jgEkIfCmRNDFF04f06zwxZKnFZH7FGuXVLMtu+vZByu/rg9Sy3TPFRka08M PKtDKfH6Z2SY1TiVJojJj/8eDJjk21fG/zNWnVncDxUwL1y7bg38u3Doyii1cVpmQm0N /LZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=33yORBvP8CyROZDGO3XsviIiyoyghI9p2jQ7nrsYpb0=; b=tyu2s1HLxR16OmNCHiBwkZNw+rR7+LW3f1Ms8s1Yv92cmcIp+4uw0+Opk2Xuy2f/ex fxI28fD6S1F1Jz0ve1YcoR3Okjt2J6jEKe9aGd/wLmDBCS7GI1bbwayvNpn57QTA8Ya+ pDmiW7v8uy0+g3aCwApprDhzbaiRe4TvSzRxwroUcWGkGKpJKW+d5pRL0K4L1px8R4D0 yTtrIIgdGtYSFhTCIiodgeDvnvpKZQaeW4wljjK4zo1VLs6QxQUwmRBmkgPPxb7hDyA/ Rn834aTJZy7FXGVBIKW6kXxTiBDSWrXfqp5gHYXw3CuRoxNL50mDZDid6vS7JbOekkJE at3w== X-Gm-Message-State: ACrzQf1jRyTR3mqlNwMtTLETBUXRlWxTsD9lU3efNB8kuxegPovc+xB4 3RK7PmPpZz4WVExP780d0fGfNQ== X-Received: by 2002:a05:6214:501e:b0:4b3:d08f:b58c with SMTP id jo30-20020a056214501e00b004b3d08fb58cmr5901540qvb.90.1665941788178; Sun, 16 Oct 2022 10:36:28 -0700 (PDT) Received: from krzk-bin.hsd1.pa.comcast.net ([2601:42:0:3450:9b13:d679:7b5b:6921]) by smtp.gmail.com with ESMTPSA id u14-20020a05620a0c4e00b006cfc4744589sm7640259qki.128.2022.10.16.10.36.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Oct 2022 10:36:27 -0700 (PDT) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Linus Walleij <linus.walleij@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Iskren Chernev <iskren.chernev@gmail.com>, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Subject: [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems Date: Sun, 16 Oct 2022 13:36:25 -0400 Message-Id: <20221016173625.53769-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 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?1746867615482852366?= X-GMAIL-MSGID: =?utf-8?q?1746867615482852366?= |
Series |
dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
|
|
Commit Message
Krzysztof Kozlowski
Oct. 16, 2022, 5:36 p.m. UTC
If minItems are missing, they are implicitly equal to maxItems.
Dropping redundant minItems simplifies a bit the binding.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 1 -
Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml | 1 -
2 files changed, 2 deletions(-)
Comments
On Sun, Oct 16, 2022 at 8:36 PM Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > > If minItems are missing, they are implicitly equal to maxItems. > Dropping redundant minItems simplifies a bit the binding. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Iskren Chernev <iskren.chernev@gmail.com> > --- > .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 1 - > Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > index 8270debd4f25..f7ec8a4f664f 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml > @@ -23,7 +23,6 @@ properties: > type: boolean > > reg: > - minItems: 2 > maxItems: 2 > > gpio-controller: true > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml > index 51bae1d3f150..164f24db8b2b 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml > @@ -18,7 +18,6 @@ properties: > const: qcom,sm6115-tlmm > > reg: > - minItems: 3 > maxItems: 3 > > reg-names: > -- > 2.34.1 >
On Sun, 16 Oct 2022 13:36:25 -0400, Krzysztof Kozlowski wrote: > If minItems are missing, they are implicitly equal to maxItems. > Dropping redundant minItems simplifies a bit the binding. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 1 - > Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml | 1 - > 2 files changed, 2 deletions(-) > Acked-by: Rob Herring <robh@kernel.org>
On Sun, 16 Oct 2022 13:36:25 -0400, Krzysztof Kozlowski wrote: > If minItems are missing, they are implicitly equal to maxItems. > Dropping redundant minItems simplifies a bit the binding. > > Applied, thanks! [1/1] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems https://git.kernel.org/krzk/linux-dt/c/c3da325b8fbe809af1ceb14d531f55b5b518a685 Best regards,
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml index 8270debd4f25..f7ec8a4f664f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml @@ -23,7 +23,6 @@ properties: type: boolean reg: - minItems: 2 maxItems: 2 gpio-controller: true diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml index 51bae1d3f150..164f24db8b2b 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml @@ -18,7 +18,6 @@ properties: const: qcom,sm6115-tlmm reg: - minItems: 3 maxItems: 3 reg-names: