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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 2C9F9CF856E for ; Thu, 3 Oct 2024 08:24:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id E608F84D; Thu, 3 Oct 2024 10:24:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E608F84D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1727943876; bh=Ww5sEm1UZ8mj7K1bio4w12k7oSUV2QtudL0chVEX1GE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=muVtohymNx/TDM1r2vrymGxs5z75yXHqo9KvUPQ6xiA30zUmyJhzF1X5t9OR1Sp8b +wKgriNUxCB+r/WVpZwwFkQuKZlYPkVUxC9hxx/iewNFjUIQTRn+CCTn5Sw4TEw26p FFMRgeDV76PbgJv7qNX+d3DELeXiCkjC3lNESgBk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BA1E0F805A9; Thu, 3 Oct 2024 10:24:05 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 14CCCF805A8; Thu, 3 Oct 2024 10:24:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 892BAF80517; Thu, 3 Oct 2024 10:24:00 +0200 (CEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AD6D8F800C9 for ; Thu, 3 Oct 2024 10:23:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AD6D8F800C9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=mPlpIB/6 Received: by mail.gandi.net (Postfix) with ESMTPSA id 3D7DF40014; Thu, 3 Oct 2024 08:23:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1727943828; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=On2xGY5hMkwzoaaeU/lUt2EeaXWPfHOtxpzc3euMH4g=; b=mPlpIB/6/H9XXT8zHcMVr57dEbfDlPG0y/MDEb33FGrj2YbJ6Jm1l2fj+a1BMS1eNtYgYO 0JS662KMHvs2jv3y04xLPcEoPVUQfbWl/ZrPJzfKhQ1e+ZUQR2Wpy1uZgq4uYWbMMIcEao URUhSrj+9+JzNZPhwhfuX6rGhUrhd1HNIEY1YaEjM+3ea4VnqFK80XEhbkx/4Jj9BgAjGo nFZ46KA2v5KRSk4G2gDnTFAALwXfzSp3NqSJwn6CTmQ4qDm1ol5R8KlilvopdLKuDHrHDW /O64VocxDJCbkhT1ZE2zQQrd091r16phQpz5e0fpnDI0iyWvQIzhDCx4R+gDbA== Date: Thu, 3 Oct 2024 10:23:47 +0200 From: Miquel Raynal To: =?UTF-8?B?UMOpdGVy?= Ujfalusi Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jayesh Choudhary , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, Thomas Petazzoni Subject: Re: [PATCH] ASoC: dt-bindings: davinci-mcasp: Fix interrupts property Message-ID: <20241003102347.0f95e48d@xps-13> In-Reply-To: References: <20241001204749.390054-1-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com Message-ID-Hash: V3O6BQMPHQWYEEM6YV7DEIHDU3CH2TUV X-Message-ID-Hash: V3O6BQMPHQWYEEM6YV7DEIHDU3CH2TUV X-MailFrom: miquel.raynal@bootlin.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi P=C3=A9ter, peter.ujfalusi@gmail.com wrote on Wed, 2 Oct 2024 11:43:56 +0300: > Hi, >=20 > On 01/10/2024 23:47, Miquel Raynal wrote: > > My understanding of the interrupts property is that it can either be: > > 1/ - TX > > 2/ - TX > > - RX > > 3/ - Common/combined. > >=20 > > There are very little chances that either: > > - TX > > - Common/combined > > or even > > - TX > > - RX > > - Common/combined > > could be a thing. =20 >=20 > For interrupt these are the valid ones=C3=89 > - Common only > - TX and RX > - TX only > - RX only Thanks for the input! AFAIU, Rx only is currently not a valid description. As you are providing a description list with minItems =3D <1>, I think it expects either the first item or nothing. When I change the example in the yaml to only give the "rx" interrupt, make dt_binding_check errors out. I will propose an update. Thanks, Miqu=C3=A8l