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 79BD5ECAAA2 for ; Thu, 25 Aug 2022 22:31:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244445AbiHYWbb (ORCPT ); Thu, 25 Aug 2022 18:31:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244430AbiHYWb1 (ORCPT ); Thu, 25 Aug 2022 18:31:27 -0400 Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78333B99DA for ; Thu, 25 Aug 2022 15:31:26 -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=1661466686; x=1693002686; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU0sqhXVlw=; b=BSoSTgfZOf329hitmHqdKD3BUpMZW59IYJgidmAJCuaLA3NzwScd70fU enEeGHr3gL6cqN+CqnDSaPjtO4Jgl8HG6372L2mTV1gdm+rDhGnl2J2Fr lcmr7l42vNUy2twFLmPWfw8JxozpX+xo+1ToKYgxPexOFZz3Qc/cPZZs8 G52uccADazReco+QW4ny1WCnYNbOR2P3bf+zhsQp8NtSECh/UKL6BMABW VX663aLuvgByQ4iSXkWgV1oSSmEwLs/kMz8x8/csBP4+yk1ib2GjgSRPr w7+KBJGIbtyIr9I9PTqCvR2E4K5iZja8nu4OY4r48JDwmGbN27sc2ZtQs A==; X-IronPort-AV: E=Sophos;i="5.93,264,1654531200"; d="scan'208";a="208130143" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 26 Aug 2022 06:31:24 +0800 IronPort-SDR: HxiT7WvWJFeckuDH+L58nVXIuaPKKwQrrNoDoHKxqC1SM7uDTXpGw8KcIzxZpm989LkfUi3wn/ I/RhM0faePuKPNltqe9WUbqM35CYlf7lP6hU/CJoMb7+oSnIVlMnEHkwYG0usUxva+QzrGGeIb POGZL47v+ZCaWUte/dpe8Puf+lIEounYt5UbxBKleZ+qkyka7JCS3xAWeUnKzJKl0uiIWKtypg t+22WV3Qv/8tpgTDrrW8pAcZdFcT7y74vb/wvrIKSCvdHLqZRex/GFtIluHgBOMEWSY9ZlevKx 760lykQyEkKxwqdWoipQRMmq Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 25 Aug 2022 14:52:01 -0700 IronPort-SDR: 9EJgaiWvLvylYDHosvxAqqavUn/4C4k1iXByhVTcDr8Gz2UbMEJ03JOV+Kuvh87sstd7ebEImi jtILmjx2kr07XTU0gYluDOmbskaayMRx8nmNxei+Iv3ZjXBXd588qkUQzLXb06ttZU6SkcG6f4 lIIsUnBxpAanv0Pw0LtHiKgmmRVz9EVSxG3Xd1sdfhzTrgd2ptp7CIo4K/0XD9h6w9/IE2qeep tRvSTYdOe4TaYeWiAg+VNrlEs6B7nVt8nmL3lpVduY1jrp02Gamn0kHIk8FfoD69xEidbNp61o rf4= 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:24 -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 4MDHkM4xNkz1Rwnx for ; Thu, 25 Aug 2022 15:31:23 -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= 1661466682; x=1664058683; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU 0sqhXVlw=; b=DS5CoFc3iYU7cDPy9qH82TgEIsNMbhoT3C6WeVO1k1n8lfF5jOd 4QX9dz+jZ2zBT6lYcxg+KWIWNsTkP0T39GuuYt+Fb54L+Ay16HMoRx/umfqkrCTA 5g07OD/6ZWQNFpgrYTCY3b5VmwPIe8ZVeKZjxn3TcnZkMTLaDFOZPDoCaKqF7Yu0 M57XRvGIQ4ULgKrfH+zmolhYlxi9tLSaf3wHIfcYiq0AucN2J/i/m6EHR3ZASpwa y4jnhHL1vOGRndZWTAVPX6+j9lVqy63Znj9K+/KI1ssi/+aLLozx85ixW9f3Xqhd u67xga7LZad0mOnZ764Wv9X5dqdJcnCFLTw== 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 SfO31Yfh_Epu for ; Thu, 25 Aug 2022 15:31:22 -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: linux-kernel@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