Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2669505rwa; Mon, 22 Aug 2022 11:26:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR4WFcspJqN1Z4YRQCsGG9JGJCJXdpAd2LZL8cSyN+GOLI3NrwVsqBla1LhyrmHFKeAoNSac X-Received: by 2002:a63:4547:0:b0:41d:ba0a:870a with SMTP id u7-20020a634547000000b0041dba0a870amr18205779pgk.216.1661192793837; Mon, 22 Aug 2022 11:26:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661192793; cv=none; d=google.com; s=arc-20160816; b=iEbCNn/7JJZVw6UXdM8FgCmMqJvZWULdFluXh5ahxqgLkAU1VLdnt9B0ihNSSOtOtU 31aZVLuHAn5JLt4nExgrHkNlXW3qTs62tluYQPBodhrWFDszgbAWFsaDxr55EjgKG0E6 J8i9dxmn6K6ErP4ZUidlK0S0t8VGc4CXCmmQxiwi1japLEiRo9CFhoiGrRloL7TNdt6K g1pCs1wYHHo5ezcC1LiPFUjpGPr5NsonwG/80D1UIfsaG6UMTiv/EdYE1R4bEfNIUKED flqKmRVodt899g3jqWxv/x8xmHTOQ96jf7LEVkoQwdM8kqmw4DsQ6eHetscjscHyOmGZ YotA== 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=IUUq+zBZLLg7nojFWalzeoFMBrQ1c6+AbxuzsjXnnkg=; b=LyIMyvHxvIlMWFkaZ5P3L0qA4EvnyXmmQjWLNuIu55HF07Zrhz5fSRTB5TQfkEnMR1 5A6piV6TkoGKS7PNNlNs0a5VsYD2JCXyjKIr/q4cKYwQ/j4fvytW/6so+O6N6vCS2Y2Y S1hdZjo0Gp/cvZBuCaM1vSeS4lUGk5GJmjc1kR1mBr1G7AHJW1HxtLFt7e/0yKmTfFcT sUREh9H4Q+sDwOrrIN80sECT4XN+DV4RDDI+rv5I74w2NnjYbUg102xlUp6oE+fFmqnl uJQJWbGJaysXkRC8sqJLsB3P26m/FUsEqyk94l605+wSJWUKHwKgqIl1vgCKjavBGjn2 NLBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qwv6CgAI; 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 k16-20020a17090aaa1000b001f21d415eacsi12392413pjq.185.2022.08.22.11.26.21; Mon, 22 Aug 2022 11:26:33 -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=qwv6CgAI; 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 S237200AbiHVSTg (ORCPT + 99 others); Mon, 22 Aug 2022 14:19:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236933AbiHVSTe (ORCPT ); Mon, 22 Aug 2022 14:19:34 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14CC74454A for ; Mon, 22 Aug 2022 11:19:33 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id m5so5779405lfj.4 for ; Mon, 22 Aug 2022 11:19:32 -0700 (PDT) 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; bh=IUUq+zBZLLg7nojFWalzeoFMBrQ1c6+AbxuzsjXnnkg=; b=qwv6CgAI+Xx/7UTpw6T/ZwxnK4PJa+dbt690i+fuM/1sif7ZADV/O9QXCEJRlnKjZE Ru3jeVaAfUzF7cF34EncOm3b6aFamhkKhhbZVgtwmURwlLh9YyNsAUphwo08z8XJt49e Z5LgmPb66CsA24nrNJN9alP/0l7nQyZII/eRhuQheF6Vod3YIeBhxfDPDKReQL8CZePc NwOulHDWQMcwsM2rvkoCfNu4RsQsAYfxVI7j/fejE4eZen/g3YIXTyFDo4UOv5XcJakH lT2L0ox1+PS016xsibOIxwnTk8AKkWPHlEs+8ZabMrvevqIeLvPMJ1CDPgKAuuSB8NRd y10w== 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; bh=IUUq+zBZLLg7nojFWalzeoFMBrQ1c6+AbxuzsjXnnkg=; b=YPVirnlugn369EOJpnlJh4ujTREnr0qQeixKQI6jt05k0ajfjAGj3GZQj0AhoD+oKT qKRnM5X86YgiAjZoLL5pYgiHZ0HEePEtvGS7hqlOuMYJYJMGkJer0jeX+BMuzo5LbB6c Gx2+UVLDrO4WnJUhDfmlsFGvPWJyhJO98NCgs8DS8EPWriwH7i6ogAUdAs1VEe07wzAn lrYQfXVWAeaV7H6cZQI2TiCeFNXYpmmbIWP8RXUozPhNGF/G5tRMIEwteCcLnU+09SwA QQr/sagu+BQ1oeCnLtPbBJFHWZCvxW8pxGV1tW7RZqCbgdj2TqLWFojG/lU0xNXaMVkV I3qw== X-Gm-Message-State: ACgBeo3hxvEPeG9UjiLmIHSyzBwBeJ9DrN7M6iP731j2VPQGroogfzyG 8n7oLlIQ6JTJcmiK4uOhoTg0yA== X-Received: by 2002:ac2:4d45:0:b0:492:d8a2:de61 with SMTP id 5-20020ac24d45000000b00492d8a2de61mr4449767lfp.313.1661192371259; Mon, 22 Aug 2022 11:19:31 -0700 (PDT) Received: from [192.168.0.11] (89-27-92-210.bb.dnainternet.fi. [89.27.92.210]) by smtp.gmail.com with ESMTPSA id t5-20020a195f05000000b00491734dcb89sm2028163lfb.196.2022.08.22.11.19.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Aug 2022 11:19:30 -0700 (PDT) Message-ID: Date: Mon, 22 Aug 2022 21:19:29 +0300 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 v6 04/17] dt-bindings: spi: dw: Add AMD Pensando Elba SoC SPI Controller bindings Content-Language: en-US To: Brad Larson , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, adrian.hunter@intel.com, alcooperx@gmail.com, andy.shevchenko@gmail.com, arnd@arndb.de, blarson@amd.com, brijeshkumar.singh@amd.com, catalin.marinas@arm.com, gsomlo@gmail.com, gerg@linux-m68k.org, krzk@kernel.org, krzysztof.kozlowski+dt@linaro.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, suravee.suthikulpanit@amd.com, thomas.lendacky@amd.com, ulf.hansson@linaro.org, will@kernel.org, devicetree@vger.kernel.org References: <20220820195750.70861-1-brad@pensando.io> <20220820195750.70861-5-brad@pensando.io> From: Krzysztof Kozlowski In-Reply-To: <20220820195750.70861-5-brad@pensando.io> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,T_SCC_BODY_TEXT_LINE 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 20/08/2022 22:57, Brad Larson wrote: > From: Brad Larson > > The AMD Pensando Elba SoC has integrated the DW APB SPI Controller > > Signed-off-by: Brad Larson > --- > .../devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > index 37c3c272407d..403d6416f7ac 100644 > --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > @@ -37,6 +37,15 @@ allOf: > else: > required: > - interrupts > + - if: > + properties: > + compatible: > + contains: > + enum: > + - amd,pensando-elba-spi > + then: > + required: > + - amd,pensando-elba-syscon There is no such property. You cannot make it required without first defining it. > > properties: > compatible: > @@ -75,6 +84,8 @@ properties: > - renesas,r9a06g032-spi # RZ/N1D > - renesas,r9a06g033-spi # RZ/N1S > - const: renesas,rzn1-spi # RZ/N1 > + - description: AMD Pensando Elba SoC SPI Controller > + const: amd,pensando-elba-spi Don't add stuff at the end, but in some logical (usually alphabetical) place. The order is already broken as everyone likes to add stuff in conflict-style, so just add it before baikal, for example. Best regards, Krzysztof