Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6913448rwr; Wed, 10 May 2023 00:49:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ATaRH2VScl2TWy2vJwUhM+ThHBMgCZRAgeba+hc9V2WNPOxryRDMF2w9xxjPgb06ItBpE X-Received: by 2002:a17:90a:9305:b0:250:40f5:6838 with SMTP id p5-20020a17090a930500b0025040f56838mr15093283pjo.30.1683704949231; Wed, 10 May 2023 00:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683704949; cv=none; d=google.com; s=arc-20160816; b=jW0JP8HXZJ8T9QQ5unnADJtiIU8u+ihE+0XKBGfZeSoZ3C01l9P/PJQsLJjukDJNkG oGJ0t4btotVxKXP/a+xV3PY11BfuhLwt8UNbrkAYMCZn2DXK9sfoEqKfflSwnlWBJ1d2 IBnRq/YrOG5K2khT33MQ8cObG4+8GF+FJzaI4D9q+iBwURC8E20L5HXIMkBIAIV+A3B7 khdTsqgStSX+Lk2kFixSNH/vCaCRelEY1xoU60wfKXgKAeyGYV05wap0g5GlOVF8gRhc 7q60ZW0+lqId6Vg1lQFAFv2X/AWe8Irdg8be9ueHqK7qCUQzRwFoVjX3SxlEufKoMs4h XgJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=GWMIsJ4hFWrB3lgN/az7Q/TXbt7UazwaDVD2LkZGOec=; b=JS+2Dn8iFrpt3joDpILTF9SYJDEKMsfvW9YcQbEGnOCjDxAktD65Y4VYpOrcao8WSq ZFR1Rkbb9QRBfIT60mfWUvCEaoxcPy6cVo/F8aHokVD1MY8h7Xq4oowjviI3KX1MHlKF +nQ/Wv93aJnhG4WO93S9dIcmuNIuU0HM9BZOSNEsN9BhohfSnyRq/pj3Bk2GcTqhR95k bGL0cVV+MEXDsdwdtOyoT1M3GineViLYAtlOwVo+6ItKK1YH9OeMdNV5UL97JNkg1yKU yEyqeiZMF39fSoDM7hlYKP7H6IYgI9xyYc+ob72MsUs6npQRRoGbAmImKHlQPr46x4Vd fzqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=eMJd4yck; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t17-20020a639551000000b0050c0a7a2742si3401256pgn.350.2023.05.10.00.48.57; Wed, 10 May 2023 00:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=eMJd4yck; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236405AbjEJHb6 (ORCPT + 99 others); Wed, 10 May 2023 03:31:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236361AbjEJHbj (ORCPT ); Wed, 10 May 2023 03:31:39 -0400 X-Greylist: delayed 57364 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 10 May 2023 00:30:26 PDT Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26E3A7AA7; Wed, 10 May 2023 00:30:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1683703813; bh=GWMIsJ4hFWrB3lgN/az7Q/TXbt7UazwaDVD2LkZGOec=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=eMJd4yckLc7wVJTBr2QWpsT+shzcm9YEcAV1PXCmfkRLbWn6K1kra01SLWL4VhYux T3SWgqWGYdq6O/cJDhmPxZcZT11eZ8xdJdpPLd4cFZGeTIgDJ4rtlqlhkVJLXOP8oX QgxH34oxONrFgwsrABTqUvpocwgvFNViTRQSiVPY= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [PATCH] ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs From: =?utf-8?Q?Martin_Povi=C5=A1er?= In-Reply-To: Date: Wed, 10 May 2023 09:30:12 +0200 Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Davis , Shi Fu , Shenghao Ding , kevin-lu@ti.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev Content-Transfer-Encoding: quoted-printable Message-Id: References: <20230509153412.62847-1-povik+lin@cutebit.org> To: Krzysztof Kozlowski X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_FAIL,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 10. 5. 2023, at 9:17, Krzysztof Kozlowski = wrote: >=20 > On 09/05/2023 17:34, Martin Povi=C5=A1er wrote: >> A bunch of TI's codecs have binding schemas which force = #sound-dai-cells >> to one despite those codecs only having a single DAI. Allow for = bindings >> with zero DAI cells and deprecate the former non-zero value. >>=20 >> Signed-off-by: Martin Povi=C5=A1er >> --- >> Documentation/devicetree/bindings/sound/tas2562.yaml | 6 ++++-- >> Documentation/devicetree/bindings/sound/tas2770.yaml | 6 ++++-- >> Documentation/devicetree/bindings/sound/tas27xx.yaml | 6 ++++-- >> 3 files changed, 12 insertions(+), 6 deletions(-) >>=20 >> diff --git a/Documentation/devicetree/bindings/sound/tas2562.yaml = b/Documentation/devicetree/bindings/sound/tas2562.yaml >> index a5bb561bfcfb..31a3024ea789 100644 >> --- a/Documentation/devicetree/bindings/sound/tas2562.yaml >> +++ b/Documentation/devicetree/bindings/sound/tas2562.yaml >> @@ -55,7 +55,9 @@ properties: >> description: TDM TX current sense time slot. >>=20 >> '#sound-dai-cells': >> - const: 1 >> + # The codec has a single DAI, the #sound-dai-cells=3D<1>; case = is left in for backward >> + # compatibility but is deprecated. >> + enum: [0, 1] >=20 > Does it? I see playback and capture. I think so. Playback and capture are not separate DAIs. Martin >=20 > Best regards, > Krzysztof