Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp637953rwb; Thu, 19 Jan 2023 00:14:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXvrLEpPcciRbBB8vGwElOwJVtkEA7jxyPhtBnT1fm+TTGT9DhXGLe2DK+yR16FNKz1SRJqg X-Received: by 2002:a05:6402:380b:b0:499:e665:8683 with SMTP id es11-20020a056402380b00b00499e6658683mr11677744edb.2.1674116041897; Thu, 19 Jan 2023 00:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674116041; cv=none; d=google.com; s=arc-20160816; b=PRmNgXLFDlLFqfQjiBdqW1ghxJ9A5fBBPd2VMz7DSpGF97i3FMXxWgnX3H5bI0aTaV stGeVVdnd+dh5hFrgEc8LyloQ8Lt3DYzirxi/nDemN3jO+1odou28yIPplm7uvC3AbUb Ap413dE7WLclU+Qg/KKcCYKZD3S6uSpYvhYBvzuB/NJJH9O8XULGf6xLmrUxRhLFEtN1 fSBBtVpSUjqpGnbVVT5sho68tSrzMT84aDd1ACdbUOrh2nq1VuBYTMgjcvmh0fejjP+2 BeFD5OfgvcyYkNPiNrAIItTUiATNYsvdQGpNqFjUkoI5eHCj0p2OTYMcvPC2Jj7pK+jT OFSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PC9kS18Wll2AIQihxyRmnUEmQXzt8UktjRNi3JOWYos=; b=yXIzKaxYQCjL7ImpND6Ask6WNnon2n+j00ICn9ZGVAWVy8bwbJ1LbYY1RSSSYuZ60P B6eu4YGKfRCS5MSW0dZFM92CWNMI1+m0+mN2vx5edCbAao0/wJC7DyGnC83ivJsO+1NQ 94cLKXMPKbkEmBJplvI7XcplwW4C93WP0EtMx7v1E0ZhtnfRsTN4cLBjHoHabAeKoXHb 2BcZNBssqC7pPDMl4z+TL41B/7V9/F5L/sAb8mNtIjwdeAn0Qgvy5DWhyHt/P4/UWCB9 kEdYVLvhVtBPsDwgZx0KLO6MvsnMlM59jzkoHDoc+RK11cuV6PnUysoo4/9cBaIDZP+O ggSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xzNjd2p0; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a056402125300b0049deaf9d2absi15505416edw.126.2023.01.19.00.13.50; Thu, 19 Jan 2023 00:14:01 -0800 (PST) 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=xzNjd2p0; 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 S229977AbjASHv2 (ORCPT + 45 others); Thu, 19 Jan 2023 02:51:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230340AbjASHuO (ORCPT ); Thu, 19 Jan 2023 02:50:14 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C8A4689C7 for ; Wed, 18 Jan 2023 23:48:08 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id m15so805187wms.4 for ; Wed, 18 Jan 2023 23:48:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PC9kS18Wll2AIQihxyRmnUEmQXzt8UktjRNi3JOWYos=; b=xzNjd2p0KKya2Qvs4jDOJHV/p2qR0PS9AbOSQ3eoeFqiAFXsgR3iRWNx+icJztnBs4 uWLg6VpEikIUqhaL2yQapXVVaphDxGuXCZ6CMCxkLp1LL7VhHoP+gqrX0jAbzxttrT0/ 7lygOb2g2ShrwBvChxrlQU4OdM4PetPUFSOztpnziiF/wNog9GFA+tSpVcWBlfC7DnkN lpFd+YCfbL9ll47bEG1TiuoXM8/0D1NLb6TUAinD83KAFANMjkf1wtZ7XNrS2KiIO1af vle1nBkvAYiQwx7BxNZyehMILbJZ2I8Y1zQF03m9KBXkLR3Qyg0+vmtmbQdy8hwQ9UnS okMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PC9kS18Wll2AIQihxyRmnUEmQXzt8UktjRNi3JOWYos=; b=NpF84VDN4D38Pld01TbE0XkT/S1XEtExdWxWhl4LyD0Fud7c6UCHP0r+mXSoC1qosH Gxj0yDHCTR3ngV2YmQWPh8FZMIgFbuMFb8JHtqN+GWdfNxGcpqtu8KVvTwdO6zaTbKdD fHT0J+VHAXS09f3B3pweUu7iQFDsvQ9pbRPROVnKjzIE37sAVDAjBbjivKdm7qaM22Zo Ih/w3KrtzenLkB7UT6QR2Ixg6CSuigBGRkeYJ1xg5Y1u+WfsRknAJxwTbB4xxav82Ewb koGihskihNLnc4LgLpuQB4a/H1o9hoa/LUSdT379dVLMb/LV9ax7vdbrb9Nw6sLdePX4 v8uQ== X-Gm-Message-State: AFqh2kp7f8Ufg0YGS0s1/6enVNVj37jCU1YLc4J8j42dp9WnF6XS+xVZ 5a7hDcbN/VNtHeB4jUX/d0M/ruq9C1RrQycZ X-Received: by 2002:a05:600c:3c8a:b0:3da:2a78:d7a4 with SMTP id bg10-20020a05600c3c8a00b003da2a78d7a4mr9182200wmb.21.1674114486962; Wed, 18 Jan 2023 23:48:06 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id s7-20020a1cf207000000b003db11dfc687sm3947109wmc.36.2023.01.18.23.48.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 23:48:06 -0800 (PST) Message-ID: <06ed53f8-42eb-4b14-a867-64086e8b9998@linaro.org> Date: Thu, 19 Jan 2023 08:48:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH v9 02/15] dt-bindings: mmc: cdns: Add AMD Pensando Elba SoC Content-Language: en-US To: Brad Larson , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-spi@vger.kernel.org, adrian.hunter@intel.com, alcooperx@gmail.com, andy.shevchenko@gmail.com, arnd@arndb.de, brad@pensando.io, brendan.higgins@linux.dev, briannorris@chromium.org, brijeshkumar.singh@amd.com, catalin.marinas@arm.com, davidgow@google.com, gsomlo@gmail.com, gerg@linux-m68k.org, krzk@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, lee.jones@linaro.org, broonie@kernel.org, yamada.masahiro@socionext.com, p.zabel@pengutronix.de, piotrs@cadence.com, p.yadav@ti.com, rdunlap@infradead.org, robh+dt@kernel.org, samuel@sholland.org, fancer.lancer@gmail.com, skhan@linuxfoundation.org, suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com, tonyhuang.sunplus@gmail.com, ulf.hansson@linaro.org, vaishnav.a@ti.com, will@kernel.org, devicetree@vger.kernel.org References: <20230119035136.21603-1-blarson@amd.com> <20230119035136.21603-3-blarson@amd.com> From: Krzysztof Kozlowski In-Reply-To: <20230119035136.21603-3-blarson@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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: X-Mailing-List: linux-kernel@vger.kernel.org On 19/01/2023 04:51, Brad Larson wrote: > AMD Pensando Elba ARM 64-bit SoC is integrated with this IP and > explicitly controls byte-lane enables. > > Signed-off-by: Brad Larson > > --- > > Changes since v6: > - Add reset-names and resets properties > - Add if/then on property amd,pensando-elba-sd4hc to set reg property > values for minItems and maxItems > > --- > .../devicetree/bindings/mmc/cdns,sdhci.yaml | 28 ++++++++++++++++++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > index 8b1a0fdcb5e3..f7dd6f990f96 100644 > --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > @@ -16,12 +16,14 @@ properties: > compatible: > items: > - enum: > + - amd,pensando-elba-sd4hc > - microchip,mpfs-sd4hc > - socionext,uniphier-sd4hc > - const: cdns,sd4hc > > reg: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > > interrupts: > maxItems: 1 > @@ -111,12 +113,36 @@ properties: > minimum: 0 > maximum: 0x7f > > + reset-names: > + items: > + - const: hw > + > + resets: > + description: > + optional. phandle to the system reset controller with line index > + for mmc hw reset line if exists. > + maxItems: 1 > + > required: > - compatible > - reg > - interrupts > - clocks > > +if: > + properties: > + compatible: > + const: amd,pensando-elba-sd4hc BTW, this probably won't even work and that's the answer why you added fake maxItems: 2... This should make you think about the bug. You must use contains. Best regards, Krzysztof