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 62F5CC433EF for ; Thu, 26 May 2022 01:42:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345840AbiEZBmQ (ORCPT ); Wed, 25 May 2022 21:42:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344790AbiEZBmO (ORCPT ); Wed, 25 May 2022 21:42:14 -0400 Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D276BA5031; Wed, 25 May 2022 18:42:11 -0700 (PDT) Received: by mail-oo1-f41.google.com with SMTP id f2-20020a4a8f42000000b0035e74942d42so70269ool.13; Wed, 25 May 2022 18:42:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=es4Dl3HxibZW+rfFQc8vlolcSAmU2qFD1JzSMoMcVAI=; b=kD7SRJg0uw016Bepf8+U7ep5uBwXBY13xHJqWKF5VKu001BZ+fuAFF5ZKggboasa3r Kpj9QGiT4KgcqKaKLLosknn6BVlbQUHkek458KeOBUVuMHmWzcffHEGqpPvbL7MXMWru wg6l1JRMs9ITDJPMJ7FltBosl98QDdvSLpg7tO+FfTQkIbGM1PA57wJcQurWu2Pf5idM N92jFjqTSpQirUiuHWbnItyIFm24eX3HkEjqAbOvDMJGAjA2j1yIy6n/vRPaGykTWbcf eA9lZfDwtXOaAiiRxW/d4teryAGT0hfJoHvbDw96UXbJISOLamR6NFYyOjoRxzzR1lUk YizQ== X-Gm-Message-State: AOAM533Ha9cp0OePWm4vkNQEvwqtC3DQZrOZfZV7APjBr2ELeWwO9UVS MLv3g55Vl+10ctKHUbL9wQ== X-Google-Smtp-Source: ABdhPJzflN/TcyuSaeWPrFPWA3VwGVIp/rDi77qRGec5FuOWcIL5jX3B1Wndr9AAvVRoq4Rq8zpRQw== X-Received: by 2002:a4a:95c6:0:b0:35f:7f11:7055 with SMTP id p6-20020a4a95c6000000b0035f7f117055mr14079108ooi.87.1653529331123; Wed, 25 May 2022 18:42:11 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id c27-20020a9d615b000000b006062d346083sm122822otk.22.2022.05.25.18.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 18:42:10 -0700 (PDT) From: Rob Herring To: Ulf Hansson , Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , Hu Ziji , Al Cooper Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: mmc: Fix unevaluatedProperties warnings in examples Date: Wed, 25 May 2022 20:42:04 -0500 Message-Id: <20220526014204.2873107-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 443F2C433F5 for ; Thu, 26 May 2022 01:43:33 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=Ea9nU7wWNF7Yl9HJkHB/Mv74IfaN1uS0LhdCnDz+JoE=; b=osyFSKFI19r/H4 BIHSoSSl8YzdcKWp+TBaYiC/x0Q3FiXYRYJy8ErBTRQSIdSAceDuan6cdflRvih3fldaVzRINlHJb zaud8qD6l+J/6trVa1jtx38YydiUSo1WvlG+ywtq5HgpIpXl6BVz2xAMftnNi8ToF22hQM+v/Ibus VZGSdhV7ZOeyJi2PQtcqTddgdNyeDqU2kH1y7PWEKrCNiHKvFUDBQpt1FHHzOz5bCCIb/9mLOZJcY CVXwQyIITvS7BHizp9zUBj5BG9srydoXZzAz0/IrxEmb/Qe5gTB8R6ki9mShQe8k+R9DUE1wKdI7t IQzUCk/t9FdPlfhTu4Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu2W0-00DCJO-F3; Thu, 26 May 2022 01:42:16 +0000 Received: from mail-oo1-f48.google.com ([209.85.161.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu2Vw-00DCH5-NT for linux-arm-kernel@lists.infradead.org; Thu, 26 May 2022 01:42:14 +0000 Received: by mail-oo1-f48.google.com with SMTP id f5-20020a4aa685000000b0040e7e819183so77206oom.3 for ; Wed, 25 May 2022 18:42:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=es4Dl3HxibZW+rfFQc8vlolcSAmU2qFD1JzSMoMcVAI=; b=mdpYO2M8icexYRb/ts0w4ljPxlgvO1cKCsJt9k+CbP9VjL7Rqf2X1VxbKgsmV1CubL kHTxkKZasomMrrIjK5sSraxh15KlF82dUxSle3a0lJSZvwMde8T1AoM3XS81GxebWme4 P5X0/W01CRFOCiTaa1uJgU9OZX1zfE3jXmh7JPgknfNUenAVJP3RocmQBLmyP7XHLDxu bTbeyTCy1s7WeyrBd6VRApPONVAivpK4ln4cv6DNGDVkuulzeb3hWu8t+QvRThdFoXAU 9AbAVsxQNkRIVz4VeJx6g563JGa7SOHVbXHJJs2Bo9/AZa6sZoqUTEZhgGCQTcHW3zC9 P5tg== X-Gm-Message-State: AOAM530Sq+ViaQf9l2H1No+qdE7IAf635WV6BmQbhrv7FL0MrvpeEwiu cfn/QZzBQffctW2GRPpNcLMoinEzgQ== X-Google-Smtp-Source: ABdhPJzflN/TcyuSaeWPrFPWA3VwGVIp/rDi77qRGec5FuOWcIL5jX3B1Wndr9AAvVRoq4Rq8zpRQw== X-Received: by 2002:a4a:95c6:0:b0:35f:7f11:7055 with SMTP id p6-20020a4a95c6000000b0035f7f117055mr14079108ooi.87.1653529331123; Wed, 25 May 2022 18:42:11 -0700 (PDT) Received: from xps15.. (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.googlemail.com with ESMTPSA id c27-20020a9d615b000000b006062d346083sm122822otk.22.2022.05.25.18.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 18:42:10 -0700 (PDT) From: Rob Herring To: Ulf Hansson , Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , Hu Ziji , Al Cooper Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: mmc: Fix unevaluatedProperties warnings in examples Date: Wed, 25 May 2022 20:42:04 -0500 Message-Id: <20220526014204.2873107-1-robh@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_184212_808843_A0ACBCC8 X-CRM114-Status: GOOD ( 13.25 ) 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 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 --- 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