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 14B82ECAAA2 for ; Thu, 25 Aug 2022 22:31:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbiHYWbZ (ORCPT ); Thu, 25 Aug 2022 18:31:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239218AbiHYWbX (ORCPT ); Thu, 25 Aug 2022 18:31:23 -0400 Received: from esa4.hgst.iphmx.com (esa4.hgst.iphmx.com [216.71.154.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E7E2B8A5F for ; Thu, 25 Aug 2022 15:31:23 -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=1661466683; x=1693002683; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU0sqhXVlw=; b=NI/Z0YMMdEQituBQFDlaEelY9ZKMYzdu/zae8J+H4t2B6ST7BP7f37Qb HBfPZs/9Etc5c1nBYXcRildkX0oMyEQpBv0yZwBSBXVhUh2fIjAPp/Ypz L0BOsHOUfnL3Ux+v4BO4oE/rCdcv9t+K9ngVUnly+KC1HUIweBg6l18bZ q/W2hC5o3K7z2F5+naNb9n1v6p4kdj2uLJLwoFGbi3s23E7/UjgBvNYtb cwsD9bTd/ox/o7Yh/OO1rvAnaMT/hnD0effVmth8Fr8k5X6wNWvzD5pu8 iIQLkS7aAzbSiUcfD4C96oRQ5ygkXRdUseJyjx7ICES0Pi9Y7KyJqW80J A==; X-IronPort-AV: E=Sophos;i="5.93,264,1654531200"; d="scan'208";a="208130137" 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:22 +0800 IronPort-SDR: N2TbhnTKpKL4bAALz7jjeXGrMC6bToGb9NtGQ9kDc08+lts8ZbSlI9uUX8Is/FkPgebohrcIld 0r4ISAkQYnTjjFZexBqDodD/bd1+gPmIV0sv6VQngfAGl4qZXmXryQkaZv94/BQ9n9uC1rgabi yVNareyCUpSJ95lWqWkQdz9PGFzwzhEtYZC02vqzWoilcnPc8PyimbEQafgSVLtiz0+ZhYeg7l 0ZxdUUVT2NtjVBgSYXC5T4HkEnRz5wF3eeN19jplgo0bhIiqJOXmIv5LI5CxWziIGP2eZmehSA hSeZbZXvHIVRYqDRmt7J4lF8 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:36 -0700 IronPort-SDR: 4+6Kn25irSVAtgsM2781G4HopfN5nmpSZyiM7DM1OHgdDXb/XLivCxO7BujBrmUs497FysCU6j RRiTI3musYEBigaMXgiDyk5/SeCi6FxydpqRoUD7r8lXMF+iOfiX+gXeMMGohdv3QTl9HVPLYT ewyy8M9VKjIpjrLejeAv8Lw2bRg503c+3QvEoZj6AcOCnWxvllxAC7XQZ4T9zpucXvg2BhQiqr dIvOGU8hfWha44BQ2y+z4oZQ3OMvsbJPKrpAmhkoe1d1VyQN4hHgVwQbepJoaTHJGSYEvu977T SQ0= 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:23 -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 4MDHkL4HB8z1Rwnx for ; Thu, 25 Aug 2022 15:31:22 -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= 1661466681; x=1664058682; bh=pXWRUr7yy74YSO6PolHsHDXM3uM60SKPSfU 0sqhXVlw=; b=bs/C01DpSm3y99zfADta/EthQ0tnE45DG9SWbg/EKXntkf/Onpa 1tCL/1GLcZs/agWIOytQNn8zqOXW4RIH751La5HhWXzW/q2Ipjf9HS4rNbbjGhnj FSRnqRBDxAE6lZF5i0RmDTiOjNl68JiExZM5EW/EQDq4RAo3Ic5pjbtmhtG92nOi xLZUBvhR+Er+QvEaUmcYewWO+neNs/UxEsv94PGb+uYb/oxK1d6amo3Rzt59nmei 9f3DAqYO4IOesDyzoER3xilqsE1Zg0vvw21MdhEjBxU3GjLsJWFmZ+zIOfrb/ZYe ViaqAJUVZg/Fne/AdrKPbzYjV5IHvjiquNw== 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 uivg3wIaQ4eE for ; Thu, 25 Aug 2022 15:31:21 -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-clk@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