Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp143975lqi; Wed, 6 Mar 2024 12:31:26 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUypQpgwpSH5HinemSV3iY50C16GMaCoa1pFxGUcdDnnSWta0UN7V384PhIuAV1e52eobED7DquxK/nPwpwp835xLY92QWqLxBKf8cJMg== X-Google-Smtp-Source: AGHT+IHMqB7Q9wNtn3SftXWo69VqNR7WdsFFuXhwRWRVCjXmhGZgUM7dQmlc0V9aI1lVOtxHxMho X-Received: by 2002:a05:6a00:2d1e:b0:6e0:50cb:5f0a with SMTP id fa30-20020a056a002d1e00b006e050cb5f0amr9848743pfb.12.1709757085948; Wed, 06 Mar 2024 12:31:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709757085; cv=pass; d=google.com; s=arc-20160816; b=MFHLOgdHwuhYrhNVxN2EArcpk3O2mrE7TbybKw2Rd9gJpfTn6AvMwWj6utUdj1h4IG ewcJLpqRppS/x8334HP8dUIXKnH7vLP1YvkW0PHkt64l0L+zmgjllOpDOByT16SvG3I7 kxiG4smyuScxeY49zLOe9f7tZJJBu/+DgwAo9mKS41FsH9D6aDhRVvE3/uRd1zeFCQiH IfQkLo5hKaHoid2/U+tgYYhWgMKmM/91A9jlP+h/WAPH0i7wesoP8NWMW3YFceKhkUiS ZhMjZAfdMncnCAjflzFmIyM2lEN35ol/VbBmVVLYd1Aj51Ahk5RoVkJGgnMSXkp1aFpY DYeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=JqehS1l/yvLSMZ24XwpEdJnwCIxJjGroKAcLesRElKQ=; fh=Uterk7PefVAfd+Ha33g31US/3OiB0zHydSyCJoDlexI=; b=otj/bs8X7TMMTYcv7bUeDIGufJKRKC0PG0m2CoTqlighh/Ybeni4a98SE9vFxvyb7q RH2Eud7e83x+oTEFlTtjpGgtBOqFztR5bt6y3iw8zBZeR6N7HyQyFOkkStcqr1w4SWkQ OmcdgEgEW8EoH8rvn3GXv05jWeCU2MB9EDC9pcflt1seGJZ2uRQ1YsGH8kARdSYNPWhB og7LY4zWpr4eB0DTjrMdqjmT2NHGKkDpYh79QXE2+w5LBlTfi19U1lLowLT+hLAMWVo5 1TzbGqcgbpjzHiO4rNUeBmfoI6p/B3r5z0oy0w3ISQ82rCrFG7oOVP3a7oVTmKJvMtt6 /8HA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B10e6mjG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94559-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id le18-20020a056a004fd200b006e613ec716dsi6873679pfb.143.2024.03.06.12.31.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 12:31:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B10e6mjG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-94559-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94559-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4FFF5B21BDD for ; Wed, 6 Mar 2024 20:25:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 17E98142630; Wed, 6 Mar 2024 20:25:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="B10e6mjG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A02313BAC8; Wed, 6 Mar 2024 20:25:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709756740; cv=none; b=iyXNnZZPo25izkj7UMfGdPPAk6UxLwezI8KjqLdCEMu1Vs9iqezt0wEN/z6tVBPqvVZzWthgIrPUnGYNEZf8vtNpPjJ71We+uBBconc3s1VN3PbaamoKdACDVZoya5XhwvtyVG2DXVR5a7h3BhnICANOJJoT1KGCDlyrbSeHSaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709756740; c=relaxed/simple; bh=3G3c4eXPS9WuTGpWw0GK2uRbPmxPUtPwC+akL1YrzdA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nPUumfUlGc30fZ6+rlyK0jrZU/bYTX24amLYo3UwAHQhWI5zu3eRwH9n1h+6qLP3FmIfC1YX806vBpPxRTbdxcB4HWWzSQXQCLDDAqBAGFG5arT7KRN7KZmYpnORjk/qSXMoi5CeWEe1VYiHYRbTjf1H52WpAvCU49/8GmxvPQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=B10e6mjG; arc=none smtp.client-ip=10.30.226.201 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240305-asrc_8qxp-v4-2-c61b98046591@nxp.com> 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