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 D4DC3C5475B for ; Wed, 6 Mar 2024 20:25:53 +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=A0rCnHmDYhFxRpR0VmGH2SYKA11UjCAx2MVpDLG1wjM=; b=FXiD3uwUDlElre 6ajhEDoIxrkXYacLgz64cK4IijV6oGPH7+vs/yb+N8VrBwHk0ZORyVzYHW0YLtm1YbtWLRNPEAT3c XFQa94KZwczjm874yDvU47uhJcrhqIBIR2mrK8h3RUwg18tFz3Ld+ssnTcOJQr/FJMiA62TVp/siw TzGV+noLF7b/CpP2nDK9Vm86CFFs8t0hKoHzxsLRNavGJp+Ql0d9ntnm/fHztLgWUfRayda8eF//O CvlnXnPVTkOECzy7ZWeJnzXUH6VYDRq1rMWy5DHNrtBjneQbupCknqssyJ4gyl2hxI0TX9ylN4iwv O62bTMPWwscMVW5o/34Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhxpg-00000001oVM-1rJi; Wed, 06 Mar 2024 20:25:44 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhxpd-00000001oTj-0uxY for linux-arm-kernel@lists.infradead.org; Wed, 06 Mar 2024 20:25:43 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0F0F561821; Wed, 6 Mar 2024 20:25:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6238AC433F1; Wed, 6 Mar 2024 20:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709756739; bh=3G3c4eXPS9WuTGpWw0GK2uRbPmxPUtPwC+akL1YrzdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B10e6mjGQOs0efdBGCCO45+ftivoe096/l9+RgnPaVSs19tfRFuM4Mx+vrMOtjYC/ a0e2u6JaXj5WPc0K4XpeJMjbDnzmVKXSGX1t1UisEg33lXxespSre1EQ1aVulYWApX b0Ppcl+0kc21h4mePud+g8dTNrI0DEAzPSmNvBGeHZcXYXxIUE/c1mg0ILv/a19y0I KET6P7xBsTFzEZMPU+Gef22JKbEavG/FXb5uP3N/S+IHKcl/zU3hE/ZqcS0k/IVgT8 M++2I3T1x3F//Jft+dCPh6l+GMa8lzGyIPQ1Q00B+27uQne1cVnNwrLktO4YIUXqa5 pi2mF3+WpGcRw== Date: Wed, 6 Mar 2024 14:25:37 -0600 From: Rob Herring To: Frank Li Cc: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Shengjiu Wang , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/4] ASoC: dt-bindings: fsl,imx-asrc: update max interrupt numbers Message-ID: <20240306202537.GA587561-robh@kernel.org> References: <20240305-asrc_8qxp-v4-0-c61b98046591@nxp.com> <20240305-asrc_8qxp-v4-2-c61b98046591@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240305-asrc_8qxp-v4-2-c61b98046591@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_122541_373795_5B6434E6 X-CRM114-Status: GOOD ( 16.56 ) 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, Mar 05, 2024 at 12:33:03PM -0500, Frank Li wrote: > fsl,imx8qxp-spdif and fsl,imx8qm-spdif have 2 interrupts. Other platforms > have 1 interrupt. > > Increase max interrupt number to 2 and add restriction for platforms except > i.MX8QXP and i.MX8QM. > > Signed-off-by: Frank Li > --- > Documentation/devicetree/bindings/sound/fsl,spdif.yaml | 18 +++++++++++++++++- > 1 file changed, 17 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > index 56f8c0c8afdea..7f6590708e1ec 100644 > --- a/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > +++ b/Documentation/devicetree/bindings/sound/fsl,spdif.yaml > @@ -31,7 +31,8 @@ properties: > maxItems: 1 > > interrupts: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 > > dmas: > items: > @@ -101,6 +102,21 @@ required: > additionalProperties: false > > allOf: > + - if: > + properties: > + compatible: > + enum: > + - fsl,imx8qm-spdif > + - fsl,imx8qxp-spdif > + then: > + properties: > + interrupts: > + minItems: 2 Nowhere is it explained what the 2 interrupts are or what the order of them is. Is the first interrupt the same as before, and there is a new interrupt for something else? Or it's the same interrupts, but they've just split up into 2? Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel