From mboxrd@z Thu Jan 1 00:00:00 1970 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 B7770ECAAA3 for ; Thu, 25 Aug 2022 22:31:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242426AbiHYWbY (ORCPT ); Thu, 25 Aug 2022 18:31:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbiHYWbW (ORCPT ); Thu, 25 Aug 2022 18:31:22 -0400 Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31DECB81E7 for ; Thu, 25 Aug 2022 15:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1661466682; x=1693002682; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU0sqhXVlw=; b=cCdojidRdgdzO60Lj3+V0KTSlQ8K5k1b7KKnpo4gRs2ugraMb+huhybs zgcL0wFC+zeQxlX3Dd4NEnSRhpOSDJg4D5XoPSmnyQOieMA4LJFhSVxQh WEZKT8OH6KliSMmX7vHrTkcDc9IbVmgzZbozDptfi0P4EaxG0wiFi0T/z jQPrEbtBcBtYAVTp4BuzRnhQiUgNDtQrqXpCnOhzXDh63yklHWZw+FW42 EGAjsbbCp3EeLY6wezi8M4jP9jxhaBuZcIT4i+A2KOESETbGaDBJDy8YP eZgDeAGaBk81AVtLSBpE6C5BG6jvttwc5ogMJm3Tdnz5qa0D/g41HscRW A==; X-IronPort-AV: E=Sophos;i="5.93,264,1654531200"; d="scan'208";a="208130135" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 26 Aug 2022 06:31:21 +0800 IronPort-SDR: XAKsElm1ghYKPHA65sIzJjxVMPg40UIlFWxhH5BuWn/pXEFWtjs/tER/YjhlSEFddUwO9qP5Os NWOKGfM8ZbwuOACRBkekF93UxCVE71y3/ePNCszLXoY11kcty6T/xjXm8hskGKsPKedftVa+5m L6d+goz862wXvYZI1rTElPO3C4OynXAPECRgBVHuOnXZl9gVmj2DieeSXAMZnfr++3AKH4/w31 WGtu09QBl8rBJ4PzdMZM/RTvIsLdv/1G7qN5EhEAdaHWT92ZrmaaMVO+fb/gt92Za8PL/zztLK BGWvvs9JDlKM7Mp59tDab9pR Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 Aug 2022 14:46:35 -0700 IronPort-SDR: W+/18NCx14aw6S+PreUppbPlrwrSX1oEfUuhzfsHuoJxGAUQR/XWZzVyPEjRoqgJKG709nEkA8 FEtfuN6lrbnn6Oj1ebKaP3bZGvL268/trFIicCg10UCT+y2UgaGGUWjdOUcEmwTh7ZNAvjRpjE vjTJranwQUDQgSmgNGM2WdtuOnMKe0rYMDJH9/cF6R8TNCUBtFvY0gTZqP1iwJ3oiidpxrBFP/ QxF766sM/SjeS0mXHYpOpaMZljypoOpTeGyrKIwEdy57JSxXJgQYZq32WoV9SxoJSdidGRD5ZH /vA= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 Aug 2022 15:31:21 -0700 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4MDHkK19Pjz1Rw4L for ; Thu, 25 Aug 2022 15:31:20 -0700 (PDT) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1661466680; x=1664058681; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU 0sqhXVlw=; b=a8whp66ACRrklw6ADvp7cL99Zh6tbdcTsus1XTWRJx1aNBRUnzU 79wpHkqB4aCfkJ2QYSrIBiZKDaAZJiIJqmWQBFGH49efNg/Z+d2IwiAJNh9daBOQ 3OgqD6XE5LeMN4usjJnhhhShvkaIGmAxd78j6SXzLJm9YG0VqTvf6by0P8EyZX7+ P3zVnBiP2ajxTAxULa2hPJzwckV8794zYVyoynMwtl9VOU8//kJFawZ+gTFnmR+q ojL7lEdll7fquZxt6CgfCF/1fwhGyD7gTzUb8RSUU+lGJwOnj8ZaaS74gnb2buvI xSJoFmAA1/riuh0hOIgnDxp0cS22y93OZiQ== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id W03UeM0H9okh for ; Thu, 25 Aug 2022 15:31:20 -0700 (PDT) Received: from [10.225.163.46] (unknown [10.225.163.46]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4MDHk850sGz1RtVk; Thu, 25 Aug 2022 15:31:12 -0700 (PDT) Message-ID: Date: Fri, 26 Aug 2022 07:31:11 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Kunihiko Hayashi , Masami Hiramatsu , Michael Turquette , Stephen Boyd , Geert Uytterhoeven , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Alim Akhtar , Vladimir Zapolskiy , Herbert Xu , "David S. Miller" , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Inki Dae , Seung-Woo Kim , Kyungmin Park , Thierry Reding , Jonathan Hunter , Masahiro Yamada , Florian Fainelli , Linus Walleij , Andre Przywara , Kuninori Morimoto , Yoshihiro Shimoda , Marek Vasut , Krishna Manikandan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-tegra@vger.kernel.org References: <20220825113334.196908-1-krzysztof.kozlowski@linaro.org> <20220825113334.196908-2-krzysztof.kozlowski@linaro.org> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20220825113334.196908-2-krzysztof.kozlowski@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 8/25/22 20:33, Krzysztof Kozlowski wrote: > minItems, if missing, are implicitly equal to maxItems, so drop > redundant piece to reduce size of code. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Damien Le Moal > --- > Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml | 1 - > .../devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml | 2 -- > Documentation/devicetree/bindings/ata/sata_highbank.yaml | 1 - > 3 files changed, 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml b/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > index 235a93ac86b0..3766cc80cb17 100644 > --- a/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > +++ b/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > @@ -30,7 +30,6 @@ properties: > - const: brcm,bcm-nsp-ahci > > reg: > - minItems: 2 > maxItems: 2 > > reg-names: > diff --git a/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml b/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > index 21a90975593b..529093666508 100644 > --- a/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > +++ b/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > @@ -22,7 +22,6 @@ properties: > maxItems: 1 > > resets: > - minItems: 2 > maxItems: 2 > description: phandles to the reset lines for both SATA bridges > > @@ -32,7 +31,6 @@ properties: > - const: sata1 > > clocks: > - minItems: 2 > maxItems: 2 > description: phandles to the compulsory peripheral clocks > > diff --git a/Documentation/devicetree/bindings/ata/sata_highbank.yaml b/Documentation/devicetree/bindings/ata/sata_highbank.yaml > index 49679b58041c..f23f26a8f21c 100644 > --- a/Documentation/devicetree/bindings/ata/sata_highbank.yaml > +++ b/Documentation/devicetree/bindings/ata/sata_highbank.yaml > @@ -52,7 +52,6 @@ properties: > minItems: 1 > maxItems: 8 > items: > - minItems: 2 > maxItems: 2 > > calxeda,tx-atten: -- Damien Le Moal Western Digital Research