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 38676C433EF for ; Wed, 1 Jun 2022 12:47:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240663AbiFAMrF (ORCPT ); Wed, 1 Jun 2022 08:47:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353085AbiFAMrA (ORCPT ); Wed, 1 Jun 2022 08:47:00 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12DED64D9 for ; Wed, 1 Jun 2022 05:46:59 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id z13so1847046ljn.11 for ; Wed, 01 Jun 2022 05:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wyyhorHqYhRzxEyqIbi/Zswxz0+oi9F21Ok1yg1RhLA=; b=ZH9WrW/SwuFpI0VP8M8Zc+awMiZ94uKV8XXHRXo02sxphluQkud6/bWPTPeHxT6DYH +KlddEaCrGu4aFj3bipnxYbruluqtcgSmkck5dIl/2tbrvcMOp+vJS5CcD6a+yVITzb+ nJr3OLE8xMQ6hncurf80YJ3Dx49D28uu1nkToksJG86y1qVvCeDrzqER9okktApqd0zI tW8Kqmzw4lp4BQnL8S2vFpE9wTC3adLGT+SB0eccRmww4tz3FSSk2sbg6kbRPTKPHE2A gSNctdP9b5staF+2bTWH4s8IZh1KdT2zZsSDh1LFzgNSBc1KcT203rI9fNR1HqsEOlc5 LpiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wyyhorHqYhRzxEyqIbi/Zswxz0+oi9F21Ok1yg1RhLA=; b=h8mBjEi7eLQ+WhB+xM4b7ZAgbXB3clt2jJaPWs4C5H0pI+6ETuuOO6Un1351VUj52r esjEVk5ewvSdl1uSHMxg0subK+Ug9dHZwE6gqL4Jm2KApLm21qPFog3f90ag9lziUSsS XgY7WaPG9rOlNOfxgxMvEvjfeRY5d2NQl+1oGn7qB45rwuMKzVq9sfgeKci/Z7YTWl5U VUGx2zrm9C1do5eDw3Sko5+O646l33AlSwjsgJ7xTUfSPTU1tyN2UEWU83GNeDP25UGe F0ffSQijz0dGTMDf0BK26l0egeO7fxbYOFCYNKd+EZAJyVuzMp93+vjMJS4402pyuRTB d0Dg== X-Gm-Message-State: AOAM530etXfgSb4lP69w4TG/r5hkyxCLKWWbIptFl7pvaR/yNtD4m2s0 NBA27k7a5EbXYKUlICxunWjCMQ84jKcQRhnh+Ghptg== X-Google-Smtp-Source: ABdhPJwt9gvrgwBFEfOMg53Brjr6mPeHznMhGr3I+MHKcTP0xi6t5Xs94b+k8tX0FX5KWt8rkYMl56bGgfyVkbUqQnI= X-Received: by 2002:a2e:9e54:0:b0:250:d6c8:c2a6 with SMTP id g20-20020a2e9e54000000b00250d6c8c2a6mr40059816ljk.16.1654087617409; Wed, 01 Jun 2022 05:46:57 -0700 (PDT) MIME-Version: 1.0 References: <20220526014204.2873107-1-robh@kernel.org> In-Reply-To: <20220526014204.2873107-1-robh@kernel.org> From: Ulf Hansson Date: Wed, 1 Jun 2022 14:46:21 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: mmc: Fix unevaluatedProperties warnings in examples To: Rob Herring Cc: Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , Hu Ziji , Al Cooper , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 May 2022 at 03:42, Rob Herring wrote: > > The 'unevaluatedProperties' schema checks is not fully working and doesn't > catch some cases where there's a $ref to another schema. A fix is pending, > but results in new warnings in examples. Fix the warnings by removing > spurious properties or adding a missing property to the schema. > > Signed-off-by: Rob Herring Queued for v5.20 on the devel branch, thanks! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 2 -- > Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 3 +++ > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > index b672202fff4e..5ecdac9de484 100644 > --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > +++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > @@ -75,7 +75,6 @@ examples: > sd-uhs-sdr104; > sdhci,auto-cmd12; > interrupts = <0x0 0x26 0x4>; > - interrupt-names = "sdio0_0"; > clocks = <&scmi_clk 245>; > clock-names = "sw_sdio"; > }; > @@ -94,7 +93,6 @@ examples: > non-removable; > bus-width = <0x8>; > interrupts = <0x0 0x27 0x4>; > - interrupt-names = "sdio1_0"; > clocks = <&scmi_clk 245>; > clock-names = "sw_sdio"; > }; > diff --git a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > index c79639e9027e..aca1a4a8daea 100644 > --- a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > @@ -56,6 +56,9 @@ properties: > - const: core > - const: axi > > + interrupts: > + maxItems: 1 > + > marvell,xenon-sdhc-id: > $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 0 > -- > 2.34.1 > 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9EFCC433EF for ; Wed, 1 Jun 2022 12:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G6NO5F+gmOGbnCEH1URk2P3tDhkg+FVJIeRwPvo8P0w=; b=TzLil8KOqnQOXp CrQVClHChbSjQQwi31YgbA6VuulIjGdi/BDod4QJJ5PiH8GLocH4DqY0fT9I2v2NHn3+4v/7K7LdX rOFf2YNk02kVjbIgpxod3zUyQaWd/fHE8C1gB4K7afLe5auSZgR+hrmHwUIBkoFbn6fqurchnGAby sy/A7x7/lfE2AeA2Ifc0NUCdt7fPQQAbHDfKpgwb3pN6cdjtR8c/5Lyno+ymWxw6Wkzapa8Kt3zRF hptc8cclvwnE+EWFJ8fp12yd2KyaAPWcz5MrVEev7lmg5/zGyXNR5o47ioB4NphCW3IFgOlePVcax j7y1UyrI8kZyEbSKmKLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwNkg-00G5iJ-0A; Wed, 01 Jun 2022 12:47:06 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nwNkc-00G5f7-Qf for linux-arm-kernel@lists.infradead.org; Wed, 01 Jun 2022 12:47:04 +0000 Received: by mail-lj1-x236.google.com with SMTP id t13so1868576ljd.6 for ; Wed, 01 Jun 2022 05:46:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wyyhorHqYhRzxEyqIbi/Zswxz0+oi9F21Ok1yg1RhLA=; b=ZH9WrW/SwuFpI0VP8M8Zc+awMiZ94uKV8XXHRXo02sxphluQkud6/bWPTPeHxT6DYH +KlddEaCrGu4aFj3bipnxYbruluqtcgSmkck5dIl/2tbrvcMOp+vJS5CcD6a+yVITzb+ nJr3OLE8xMQ6hncurf80YJ3Dx49D28uu1nkToksJG86y1qVvCeDrzqER9okktApqd0zI tW8Kqmzw4lp4BQnL8S2vFpE9wTC3adLGT+SB0eccRmww4tz3FSSk2sbg6kbRPTKPHE2A gSNctdP9b5staF+2bTWH4s8IZh1KdT2zZsSDh1LFzgNSBc1KcT203rI9fNR1HqsEOlc5 LpiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wyyhorHqYhRzxEyqIbi/Zswxz0+oi9F21Ok1yg1RhLA=; b=1pAE47VJYj3q+VuIrDSguJruLxfWWFPw9tF4jimqVxMQSRjHCwuTeQMTCvGt5plLXf ir3C0KANh6cnjMhqPIJJ1LJpFQ+PZcd5QIpJDbiP1QwJMKmgZ8FlVqDXMdmlmH40pgvt W2YJ+DvYMPVPkQOLdMPkDRVDZbps71TXYkKYZzVS38L0kwqpz7yiTNUulKIs79weQnfN HEy/HiSitSaA+FoYWC/61XGP6YVNkrYQuhQECqBmhbmeJQX/HaIJ9Oq3SnrfzhxCyuE4 is/xB6YNGjyHqU2c8JBRG61daPmlK+tHC0V0mearjipvo414HXX/BmeRCRB7a7fAE1ar iEVA== X-Gm-Message-State: AOAM530NTsn6dKQalFDlDW/3FLMPaVxKaQDUUZcPJuvHxOkmHuRlYXv3 /GKjy5CHEtMkSwQ+dGkivfJgxaE2uHfRzhUFgQQl6A== X-Google-Smtp-Source: ABdhPJwt9gvrgwBFEfOMg53Brjr6mPeHznMhGr3I+MHKcTP0xi6t5Xs94b+k8tX0FX5KWt8rkYMl56bGgfyVkbUqQnI= X-Received: by 2002:a2e:9e54:0:b0:250:d6c8:c2a6 with SMTP id g20-20020a2e9e54000000b00250d6c8c2a6mr40059816ljk.16.1654087617409; Wed, 01 Jun 2022 05:46:57 -0700 (PDT) MIME-Version: 1.0 References: <20220526014204.2873107-1-robh@kernel.org> In-Reply-To: <20220526014204.2873107-1-robh@kernel.org> From: Ulf Hansson Date: Wed, 1 Jun 2022 14:46:21 +0200 Message-ID: Subject: Re: [PATCH] dt-bindings: mmc: Fix unevaluatedProperties warnings in examples To: Rob Herring Cc: Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , Hu Ziji , Al Cooper , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220601_054702_913401_F65608B2 X-CRM114-Status: GOOD ( 19.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 26 May 2022 at 03:42, Rob Herring wrote: > > The 'unevaluatedProperties' schema checks is not fully working and doesn't > catch some cases where there's a $ref to another schema. A fix is pending, > but results in new warnings in examples. Fix the warnings by removing > spurious properties or adding a missing property to the schema. > > Signed-off-by: Rob Herring Queued for v5.20 on the devel branch, thanks! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 2 -- > Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml | 3 +++ > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > index b672202fff4e..5ecdac9de484 100644 > --- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > +++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml > @@ -75,7 +75,6 @@ examples: > sd-uhs-sdr104; > sdhci,auto-cmd12; > interrupts = <0x0 0x26 0x4>; > - interrupt-names = "sdio0_0"; > clocks = <&scmi_clk 245>; > clock-names = "sw_sdio"; > }; > @@ -94,7 +93,6 @@ examples: > non-removable; > bus-width = <0x8>; > interrupts = <0x0 0x27 0x4>; > - interrupt-names = "sdio1_0"; > clocks = <&scmi_clk 245>; > clock-names = "sw_sdio"; > }; > diff --git a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > index c79639e9027e..aca1a4a8daea 100644 > --- a/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > +++ b/Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml > @@ -56,6 +56,9 @@ properties: > - const: core > - const: axi > > + interrupts: > + maxItems: 1 > + > marvell,xenon-sdhc-id: > $ref: /schemas/types.yaml#/definitions/uint32 > minimum: 0 > -- > 2.34.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel