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 C5DCCC433EF for ; Mon, 30 May 2022 09:05:31 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KtlGPBN1bueL7erxyB8APq+98QXlZMVydSStkvBIWeg=; b=OvjdY4UlhACdeN Mao9mdK9WW5fYI9fg6lppOI1qczqRinTUwnjMvyQMgU82rnwyUuMC/Jqr5GvZu3K9QyRjRZzSN1k2 eBKd5EuZWCzGsA8TqE7JDDAfX+6uXBZHw8a4FPLi1gnqUbrFxJV4kpbm9Y7UqFatX1/UdomRJkHn1 4hjUUw+8sKp1nW5vfGDIEjTpliMMdfIKVaRfB97Zdpz5QdG4pSXdVZD84+l7TM7OLE5dwi5M8wgVA FyQ5frnq3TfvOQ2a85rdZYs2qORmOzberrNByCyWDQILzqZkkB37CmyFgchxC8MYpJe0QVOdXLBhw yVhItr68mUWUd5FOQ4ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvbK0-0063rU-CR; Mon, 30 May 2022 09:04:20 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nvbJr-0063lq-8d; Mon, 30 May 2022 09:04:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1653901450; x=1685437450; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=BqttjK6LoysDCfGp3a/aAnQzKKWODvXywQSQ/I73aMM=; b=pqM7aLUi8j9ErghA8GzeIebW9pf55mT2BUo5u7yD0u6MiDrc4xCuxnjV Ty7UxXQGhW25+PAQWAt2ipQtZYM7nryAMY1EpCNgx1ErNIAVBHeD3058n VnHsXszbuLRo/owrsPBu+5ke1bK+Gxwcim4UAx1dBXG6Lz/OddjnxSQtE 2av4hGt83tLQZ1Cuk1mL/Wg+OZkUdEu0n++Nhqxd9vMQVuH8Upa3DF9BM zK90dad2s2fdXrzVaJUWqSIA+EOUyV2U9TH0NIRVhh0tgNXvDRVRzMT0K F58KNk1a54ubmz7urVsGlmSLNFtqUsyeEbcmb0+nGPnBn90cstTfCK90M g==; X-IronPort-AV: E=Sophos;i="5.91,262,1647327600"; d="scan'208";a="175650657" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 30 May 2022 02:04:06 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 30 May 2022 02:04:06 -0700 Received: from [10.159.205.135] (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 30 May 2022 02:04:01 -0700 Message-ID: <3704e284-3fd0-b073-9a3b-68ae2e966181@microchip.com> Date: Mon, 30 May 2022 11:03:59 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] dt-bindings: net: Fix unevaluatedProperties warnings in examples Content-Language: en-US To: Rob Herring , "David S. Miller" , Eric Dumazet , Jakub Kicinski , "Paolo Abeni" , Krzysztof Kozlowski , Felix Fietkau , "Lorenzo Bianconi" , Ryder Lee , "Shayne Chen" , Sean Wang , "Kalle Valo" , Matthias Brugger , "Claudiu Beznea" , Biao Huang CC: , , , , , References: <20220526014149.2872762-1-robh@kernel.org> From: Nicolas Ferre Organization: microchip In-Reply-To: <20220526014149.2872762-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220530_020411_422993_8E294DDF X-CRM114-Status: GOOD ( 18.99 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 26/05/2022 at 03:41, 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 missing properties to the schema. > > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/net/cdns,macb.yaml | 1 - > Documentation/devicetree/bindings/net/mediatek,net.yaml | 3 +++ > Documentation/devicetree/bindings/net/mediatek-dwmac.yaml | 3 +++ > .../devicetree/bindings/net/wireless/mediatek,mt76.yaml | 2 +- > 4 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml > index 337cec4d85ca..86fc31c2d91b 100644 > --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml > +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml > @@ -191,7 +191,6 @@ examples: > clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; > #address-cells = <1>; > #size-cells = <0>; > - #stream-id-cells = <1>; > iommus = <&smmu 0x875>; > power-domains = <&zynqmp_firmware PD_ETH_1>; > resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; For cdns,macb.yaml: Acked-by: Nicolas Ferre Thanks Rob. Best regards, Nicolas > diff --git a/Documentation/devicetree/bindings/net/mediatek,net.yaml b/Documentation/devicetree/bindings/net/mediatek,net.yaml > index 699164dd1295..f5564ecddb62 100644 > --- a/Documentation/devicetree/bindings/net/mediatek,net.yaml > +++ b/Documentation/devicetree/bindings/net/mediatek,net.yaml > @@ -27,6 +27,9 @@ properties: > reg: > maxItems: 1 > > + clocks: true > + clock-names: true > + > interrupts: > minItems: 3 > maxItems: 4 > diff --git a/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml b/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml > index 901944683322..61b2fb9e141b 100644 > --- a/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml > +++ b/Documentation/devicetree/bindings/net/mediatek-dwmac.yaml > @@ -58,6 +58,9 @@ properties: > - const: rmii_internal > - const: mac_cg > > + power-domains: > + maxItems: 1 > + > mediatek,pericfg: > $ref: /schemas/types.yaml#/definitions/phandle > description: > diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > index 249967d8d750..5a12dc32288a 100644 > --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > @@ -51,7 +51,7 @@ properties: > description: > Specify the consys reset for mt7986. > > - reset-name: > + reset-names: > const: consys > > mediatek,infracfg: > -- > 2.34.1 > -- Nicolas Ferre _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel