Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3524904rwb; Tue, 16 Aug 2022 04:47:31 -0700 (PDT) X-Google-Smtp-Source: AA6agR59Zm0N/GAs12xPz+Hi60wEqwK1mJo4Hz+pnrABmXLcpbOoW7BPqlxIZ0COxMaj4Nfc9HO0 X-Received: by 2002:a05:6402:428c:b0:440:8259:7a2b with SMTP id g12-20020a056402428c00b0044082597a2bmr18012513edc.329.1660650450987; Tue, 16 Aug 2022 04:47:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660650450; cv=none; d=google.com; s=arc-20160816; b=rIJce8I/upLKxFb5f87WXvXaoA5VYCmlJvh+JcgerdkQMmWlQ4vICuF5Wlg331aKM+ babAR7SFzCGFm8nyGgrl+VjQTcyMIRfq9QQOcM8Z+IgTjfDtBWNuVdqqbN/KAayiNc5N LycPBHsVHEQm1a7gCs+vEsDq/6+So1b+nlOD2+aDm3yX5ikE5kfZkwvTmwfhw+UZzL8F Z785sFn22b34zCxe00TzoXQGkoUgFQm898BRaYuxVmhpIES0oW1SnCjLshBKW19bh1dC oXDUpkJ1bg8vHyKqju4pLEphMFg/cTJMs0G/G4scJWJx8KWsNGmO2R+jOAsMP0lk8S69 9R/Q== 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=egVgk37jsb5bP/NihMXfkkjt0RcB5vm1gJqee+Euv4k=; b=g5TCUctSQZca5l9jUnPCYBKdkpgJWba8F5inpJlRRFL9aNQa4fPJZdNYKkTiDrtzMI qIwPtqmvVzK/Lvkk/WVnD1cAOjWtvuVHJTZTE4jFga+YmKH72k3bFiOuYiLR3nlYbaP8 utnxJ2BuurU6bTs7g6tWeyzjJJV51QcxbJ0v1iT+dpuniB3uh7tr/4VRPMViUOeDpGcr Vyl+xLGUR03g0Xl/x54Xnod2VxJvRidFMQerZLuNriqG5UgNFFkRDeP9WiV9bKG9ysNq fYvkhvCAut9y1HumJRGgmKe/b+MRHzK0iqpajKaP4Zi1h4AMKbEHZMvwm3khdXk0q4N6 4wnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AEhcllsK; 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 x17-20020a05640226d100b0043d373fd120si10807724edd.47.2022.08.16.04.47.04; Tue, 16 Aug 2022 04:47:30 -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=AEhcllsK; 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 S232626AbiHPLVg (ORCPT + 99 others); Tue, 16 Aug 2022 07:21:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233928AbiHPLVE (ORCPT ); Tue, 16 Aug 2022 07:21:04 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84D1DE42C7 for ; Tue, 16 Aug 2022 02:45:32 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id f20so14167158lfc.10 for ; Tue, 16 Aug 2022 02:45: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=egVgk37jsb5bP/NihMXfkkjt0RcB5vm1gJqee+Euv4k=; b=AEhcllsKHaBLOkNxBC/mnTGx3zk3qk8yoRqnZ7WCmJGbS7PCIItMYVqBHBJ8RrPJ2J 9poBL5mFBFE9bM4jkeKfNs0lFv6IeTx8vbs+pavY+LOMNn0tEGZxNBpExOkzgnbnXHqO 9tki8SV5kx3i+cmFC5iRLmMoMvYeQfd5OS9jl6yC6bEUEuhTyrhdxj82pDsEw2YaoyZE LVsqkTC3lSiqf2tjX9H4eUCQwZzgkqU5Po580Z+VU6WMhaGM2990D1wugUqmEdqMd+CL 3f9yNBJKdX9SmfXAUCiKWnA/FSINXAw5//bZQjFuWfLOpWfc0UOnAE7VMhsu1E2/H+qY MIfg== 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=egVgk37jsb5bP/NihMXfkkjt0RcB5vm1gJqee+Euv4k=; b=Z489+0DK1S8UkONITdy6SutGw4DYPn+zHcKI7/1cNk11wuN5pdbYxRBhw0vkrc5uuV hQmta2UGC+F6UiP0YfbGpvshL2HImv7JyjbKY36SSRq5Tmrm8tKTpTF6QzkLLIODE9ep qqR5RwFeHo2YLbfqxGEyEqG4STVe2hcrTf3wrip+OGT5TEaU5Q+DUAY4llVSLcEGE40z eKuEc5Eu38Um1NCaiFe+uZzPz2L6hGAvxivv8bP6+4gJ3XvDWTtkZhaxenhFOZ4r+6zX usJJBkaAFimlqniBBYBZ5b+GtqkG4CwoAqt5aLLgYlEj9Vz7YyD2d3UhPy8BPSraLmU2 sb+Q== X-Gm-Message-State: ACgBeo3JIUSqdk6/YLqxI+zx0pPoe4Aqh78WIzd5cjAY6MQrCq/upjZQ gdCyX6Bl1jbTflaP6PxMgQGDDg== X-Received: by 2002:a05:6512:a82:b0:48b:1241:f4cc with SMTP id m2-20020a0565120a8200b0048b1241f4ccmr6589955lfu.141.1660643130890; Tue, 16 Aug 2022 02:45:30 -0700 (PDT) Received: from ?IPV6:2001:14bb:ae:539c:1782:dd68:b0c1:c1a4? (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id s1-20020a056512214100b0048b3581eb7dsm1332957lfr.260.2022.08.16.02.45.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Aug 2022 02:45:30 -0700 (PDT) Message-ID: Date: Tue, 16 Aug 2022 12:45: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] dt-bindings: spi: renesas,sh-msiof: Fix 'unevaluatedProperties' warnings Content-Language: en-US To: Lad Prabhakar , Mark Brown , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Prabhakar , Biju Das References: <20220816083842.25925-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Krzysztof Kozlowski In-Reply-To: <20220816083842.25925-1-prabhakar.mahadev-lad.rj@bp.renesas.com> 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 16/08/2022 11:38, Lad Prabhakar wrote: > With 'unevaluatedProperties' support implemented, there's a number of > warnings when running dtbs_check: > > arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dtb: spi@e6e90000: Unevaluated properties are not allowed ('power-domains', 'resets' were unexpected) > From schema: Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml > > The main problem is that SoC DTSI's include power-domains and resets > property, whereas the renesas,sh-msiof.yaml has 'unevaluatedProperties: > false'. So just add optional power-domains and resets properties. > > Signed-off-by: Lad Prabhakar > --- > Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml > index 5de710adfa63..7bd86cf876f1 100644 > --- a/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml > +++ b/Documentation/devicetree/bindings/spi/renesas,sh-msiof.yaml > @@ -69,6 +69,10 @@ properties: > clocks: > maxItems: 1 > > + power-domains: true > + > + resets: true No. For both you need maxItems (or describe the items). Best regards, Krzysztof