Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6017870rwp; Mon, 17 Jul 2023 13:23:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlE345DncMqJs6EncqbEw+tm5ZTd0ovdUnBgZkg8ujuG3AOnv7yOuFasTYsAfUmfGfBhVrvc X-Received: by 2002:a17:906:54:b0:994:1805:1fad with SMTP id 20-20020a170906005400b0099418051fadmr12124619ejg.10.1689625398806; Mon, 17 Jul 2023 13:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689625398; cv=none; d=google.com; s=arc-20160816; b=l2OhIPOtL797DSlamof4dMd4nOoZfDPHdQW32oNA6SKEzUyjnu+cko3UUKSvqNeCWJ 5VDfi09qVDlNt6N7N5sH5jHVEOPwE6xSx6U0LxLK4hbqtL1QBjyNxeIsZJlhe4DwhxiA IWeBcIexzFCqonvOkJ35RPJEus+HQTS6OqfhWs4PCGkapgDPb0LAuW3SuaoWNUYK4iSH KJhOoIs/OKzChPf8bnSj2uBIJ0DgAmk3Wt2T0pG5a86moMFzpWLv56qs6vgKnJUBf0Id nVnSAvjLitAdnRb1k9X+LVU6gHJlq4aQq2Ry3uhHYjiJbk7OHcF/fYgdYNa6Our5E2W9 tEOg== 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=XzEdZ0pB3DBUm8uGUbWktWX3tWqRhxkyCGVAClHZTkc=; fh=z4gJ9tLpPNve/PbPBcSu208w6MENxawSq5yDtOOyQR8=; b=jIiixUFYdAP0V4PEgMps5SJTOAkDYHF2SNZPUS3COsPsXa0443QYJBpitmvZbqWj23 8pBEdCxJq8aRNbMcQFnlf7aHxyBMEe0wjrQiwhIvvQ9ssBWcuEKPhLaQrp6FqCjjQBaG D8tXm2LLUSD0Zp7AtDfHVwahor4bqQtn6wBfPh1M6cetPbKNGzrpiWBUNebi+0VVPbLS Z4dfKqKGkhumFtf3x5JPKAWk8xGEIv75pX7UHvUfP7VKCPCpVSSiQcJQNlUqxh3lcMl7 Outba6lbcKNrOhE2mWPuUBjGd4c/p9DVnwmyn8U448gOpmgxjNe3CPHyKtDQs05+wSTn 8sbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Y8QzN/vB"; 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-20020a170906415300b009888bb065eesi119885ejk.60.2023.07.17.13.22.53; Mon, 17 Jul 2023 13:23:18 -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="Y8QzN/vB"; 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 S230388AbjGQUHB (ORCPT + 99 others); Mon, 17 Jul 2023 16:07:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229883AbjGQUG7 (ORCPT ); Mon, 17 Jul 2023 16:06:59 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C79AE7 for ; Mon, 17 Jul 2023 13:06:58 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-991ef0b464cso1289395866b.0 for ; Mon, 17 Jul 2023 13:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689624417; x=1692216417; 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=XzEdZ0pB3DBUm8uGUbWktWX3tWqRhxkyCGVAClHZTkc=; b=Y8QzN/vBoa6MFURv3gbWbNuC+chDfsvCF9eYbP1B2jyop7AH/u5h3s0dR/Yumhamgk LFf7/AtU3ZHXMWMUez0aebW6FhEFlz5QBQ5UlCu6n11g03pLETd0AXtPGmXXaRpPbyl7 jSsl1p0xt4Ajmwu7d0nMVPXOCIpUXCODG609JVgwW1gK7S/0k/V+p46Nyz6/g8z7wCZ7 c70sToESVRzN4OJXhvgNa0JIKX2wCemM4aq8SCDva47BNB2PAkJVK3MeXFKbbV/9rOCP vxeZozHwEHjNPgG96isv5Q173jKPppuubBn8WCD7IXSvYpTjJt+GN+ilgIrpaBsjEaPZ J3xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689624417; x=1692216417; 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=XzEdZ0pB3DBUm8uGUbWktWX3tWqRhxkyCGVAClHZTkc=; b=AiZgr7jquYpFkVW/KZG7ANfLbxXeZcbk8eW0lJEuzU2OcaVijC0Za2RC88fa//lIK9 g6WIJ7I+eKeBCIwT4KEEbXAoZ9p1NvPQGIpRJIUFEABhkYJICDeDS0943MlTZuq3DIX7 Yx+/YNJI5aEVaF2ycGdlO4o4n173LdyGjVgOaKpBiOspht3P0iG33Wy2QYMrlN03S4mS YXvI1A7xQbH1Gfz+wGH9IhduBRyFbB9GB+1d04Vf8ftBSJ1n8DmhuSZPH8fXaCHrdMir UO6hhLeNTPaODIl+frQn0b57+/T/dcwEv09EkZS7MD3AqbhKsC6Hhb3W8rAEhzo5IEa8 fIlQ== X-Gm-Message-State: ABy/qLawU4dnGLAYF1el1/7iXS6JGlM+JcrsnYhVZg3Go22mWA7e/4fp keNSOeX8xHbWh7s0V4vufaohGQ== X-Received: by 2002:a17:906:68c9:b0:989:450:e565 with SMTP id y9-20020a17090668c900b009890450e565mr12035699ejr.23.1689624416963; Mon, 17 Jul 2023 13:06:56 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id lu11-20020a170906facb00b00982a352f078sm97674ejb.124.2023.07.17.13.06.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jul 2023 13:06:56 -0700 (PDT) Message-ID: <6dda9ec3-72ef-0367-4914-8c63ce6d07a4@linaro.org> Date: Mon, 17 Jul 2023 22:06:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v4 5/6] dt-bindings: mmc: sdhci-cadence: SD6 support Content-Language: en-US To: Piyush Malgujar , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, adrian.hunter@intel.com, ulf.hansson@linaro.org, p.zabel@pengutronix.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, yamada.masahiro@socionext.com, devicetree@vger.kernel.org Cc: jannadurai@marvell.com, cchavva@marvell.com References: <20230717125146.16791-1-pmalgujar@marvell.com> <20230717125146.16791-6-pmalgujar@marvell.com> From: Krzysztof Kozlowski In-Reply-To: <20230717125146.16791-6-pmalgujar@marvell.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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 17/07/2023 14:51, Piyush Malgujar wrote: > From: Jayanthi Annadurai > > Add support for SD6 controller on Marvell CN10K series SOCs. The > existing sd4hc is not compatible with the SD6 changes. > > Signed-off-by: Jayanthi Annadurai > Signed-off-by: Piyush Malgujar > --- > .../devicetree/bindings/mmc/cdns,sdhci.yaml | 52 ++++++++++++++++--- > 1 file changed, 45 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > index 6c40611405a08717520f4ce3a78a9cb8dd9aac69..51f44c00a50505684c7c7c49c59c1ebd8d85d5d0 100644 > --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml > @@ -4,19 +4,23 @@ > $id: http://devicetree.org/schemas/mmc/cdns,sdhci.yaml# > $schema: http://devicetree.org/meta-schemas/core.yaml# > > -title: Cadence SD/SDIO/eMMC Host Controller (SD4HC) > +title: Cadence SD/SDIO/eMMC Host Controller (SD4HC, SD6HC) > > maintainers: > - Masahiro Yamada > > properties: > compatible: > - items: > - - enum: > - - amd,pensando-elba-sd4hc > - - microchip,mpfs-sd4hc > - - socionext,uniphier-sd4hc > - - const: cdns,sd4hc > + oneOf: > + - items: > + - enum: > + - amd,pensando-elba-sd4hc > + - microchip,mpfs-sd4hc > + - socionext,uniphier-sd4hc > + - const: cdns,sd4hc > + > + - items: > + - const: marvell,cdns-sd6hc Except what Conor said (that's not a correct compatible, because cdns is vendor prefix, not device name), you do not have multiple items here, so drop "items". > > reg: > minItems: 1 > @@ -139,6 +143,40 @@ allOf: > reg: > maxItems: 1 > > + - if: > + properties: > + compatible: > + contains: > + const: marvell,cdns-sd6hc > + > + then: > + properties: > + marvell,iocell-input-delay-ps: > + description: Delay in ps across the input IO cells Properties should be defined in top-level properties. Require/disallow them per variant. Best regards, Krzysztof