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 E8D18C636D3 for ; Wed, 8 Feb 2023 23:49:22 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pIWh/RJM+uFqCdmGs3355O/1L++vO72QJaNTYhhqWH8=; b=UGRROTnjTjpaW9 0ANuwr8b3pb3AwR+6uBUN1Sxxi5N9vgrj027H/Ch3aet/7UgeL/DYZeuV+XfScj7GEC8k1DKNR7U0 v4vEzEr7OoFL5GAxIBkpeu4p45jxle24AZ7p+O/vTd3SdhgsV3NbgYMTm2NYa7gs09Tw4cmGq68m9 4EVyhFCEAycu+LSJkTANWhbv+zwYY9CtxjfCXxLRZjCz+YARUAjgSlqeikuFElfrYRiMT5vUuaxVJ xGxZbGa4ywr3jLrM4cUTk2vmUD/NLuOP2hl9D4zXNC24JBqY3XZm1qRoZ/8RJ/iZ2EdnsyHkbkd1b 7DASI25hTNv2HNZ6mPew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPuAq-00HEo1-5M; Wed, 08 Feb 2023 23:48:24 +0000 Received: from mail-ot1-f50.google.com ([209.85.210.50]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pPuAh-00HEjH-CH; Wed, 08 Feb 2023 23:48:16 +0000 Received: by mail-ot1-f50.google.com with SMTP id d21-20020a056830005500b0068bd2e0b25bso80471otp.1; Wed, 08 Feb 2023 15:48:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=50e1Whr1p5O5BfXr1b5aKvoRaix0X3o5rBbjLfH/hl0=; b=lFMe20+sdhOapDfOlKl5RSxERuBkogaHPMkrvn3UKrjmrg6FBXNNOLokTl+UL+qwi3 hT+Gq15rKnoRwdRKucFOQ/U2L9zO30XLbYoSWK9Jo421yupxpGls70zYi0JXW+PDxE9c A349wDZHTONi5RlgvK5YDSfRM6zb6HqliPoWXmlyhAiIHYfFtBE5Br88GLtIiFzd7N4S q7/dH5km6RKjG/yfASkr54S3t00xbZ+/qB8eM1gs/WmtXlUN573+3pIM6fmnt/fbAis1 RISDCC5BEXtRRM5omgIJRye3kJxTFaEyComEVXjmawiDbrYpgjZGwlfnJjrYR1VIaoVC dMeA== X-Gm-Message-State: AO0yUKXWIEn8b7C3nrxEf/jDcfYAnUeQttFL5VSzWuf754ZoQGIvfAy/ wrmfUakmmezBGvvY25Eqpg== X-Google-Smtp-Source: AK7set/MAs5BubHgfwo8YE/1H72/fOatEqJB6vH4FwLOvCDTyVaWJ99UtL9xSLK4cD2uvjP9j1qy6Q== X-Received: by 2002:a05:6830:2008:b0:68b:d347:2457 with SMTP id e8-20020a056830200800b0068bd3472457mr4177424otp.21.1675900092263; Wed, 08 Feb 2023 15:48:12 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id z3-20020a05683010c300b0068d542f630fsm8717770oto.76.2023.02.08.15.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 15:48:11 -0800 (PST) Received: (nullmailer pid 2936796 invoked by uid 1000); Wed, 08 Feb 2023 23:48:10 -0000 Date: Wed, 8 Feb 2023 17:48:10 -0600 From: Rob Herring To: Frank Wunderlich Cc: linux-mediatek@lists.infradead.org, Frank Wunderlich , Felix Fietkau , Lorenzo Bianconi , Ryder Lee , Shayne Chen , Sean Wang , Kalle Valo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Matthias Brugger , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mt76: allow up to 4 interrupts for mt7986 Message-ID: <20230208234810.GA2935682-robh@kernel.org> References: <20230207171512.35425-1-linux@fw-web.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230207171512.35425-1-linux@fw-web.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230208_154815_462704_C0BF9FE2 X-CRM114-Status: GOOD ( 19.98 ) 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 Tue, Feb 07, 2023 at 06:15:12PM +0100, Frank Wunderlich wrote: > From: Frank Wunderlich > > Mt7986 needs 4 interrupts which are already defined in mt7986a.dtsi. > Update binding to reflect it > > This fixes this error in dtbs_check (here only bpi-r3 example): > > arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: wifi@18000000: > interrupts: [[0, 213, 4], [0, 214, 4], [0, 215, 4], [0, 216, 4]] is too long > From schema: Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: wifi@18000000: > Unevaluated properties are not allowed ('interrupts' was unexpected) > From schema: Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > > Signed-off-by: Frank Wunderlich > --- > .../devicetree/bindings/net/wireless/mediatek,mt76.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > index 212508672979..222b657fe4ea 100644 > --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml > @@ -38,7 +38,10 @@ properties: > MT7986 should contain 3 regions consys, dcm, and sku, in this order. > > interrupts: > - maxItems: 1 > + minItems: 1 > + maxItems: 4 > + description: > + MT7986 should contain 4 items. The schema and the description don't match. You need to define what each interrupt is. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel