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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96ACCC7EE22 for ; Wed, 10 May 2023 07:17:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236409AbjEJHRn (ORCPT ); Wed, 10 May 2023 03:17:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235979AbjEJHRl (ORCPT ); Wed, 10 May 2023 03:17:41 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FB815FDB for ; Wed, 10 May 2023 00:17:37 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-94f4b911570so1065506666b.0 for ; Wed, 10 May 2023 00:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683703055; x=1686295055; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ph5I/Azzrsi4/WKGlfB9lGgtBibqTjZaRyz8p7rYK8E=; b=rWG08sRKhyIFoh1UKmiERXMrYpDMeP7MTtlAs5ukGEfzXzmdp2wbZD2Cpk0HMT97+C 5IVpthTXG5tfYwkOO6FAI2sM+tOwfNgVvwOpMI2Jt3T8FJhnll7doZiLY6c7nxU97ohD Jelp9TLcFVxRW7OoKD7XTaxHr65AAl+5IDkpBpNf2S6++at99UBvGmUw8VAqaVF398M8 fIVtzvxcpOcvBclZ3nUdzYLXyxR/syGOdEIJVacM2vBTaJTEGiLY2OC8jxR48o0EkDrO bWAyJC5FhP56gCXg4xnyEEzhk+FrP8Gj6jxdOLBchy+ZUNodzD1WqCFicIlDZzW5N0Nj zG5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683703055; x=1686295055; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ph5I/Azzrsi4/WKGlfB9lGgtBibqTjZaRyz8p7rYK8E=; b=ZLGYRGL2faBVOETIw5jonQlaEWVN/tV4D4i5kAbZLAfQl/sWneGSF1HbXsSCrzGpcb fnNB6qNLpfZWrdlUtpQTF56K2dcE94RxTRca12GEmA8RnX94yBVNXYSKEbI+6YwitimG Vs3JFCao1ospfTZ4g1VeMmzHomKiQtDNQmAU7mNs12YDXeN+XAUuB6DgVzhkx/19Gt0z JpVTUA61cnYfzJHkFST4WgPIsOXnVfII93qF3NjNfMTEsG7bW0H74uq/ph/m96zzdem2 lwuG3eAkZR3mjsWxP1gvYLsD5bMu604ch7Om8YxiCQD9qPQJHXmjTaT13qcoFk7m9bvq XyFQ== X-Gm-Message-State: AC+VfDyx5euuC415UxO6GKUztiZGwtuWxnw3/h//RtmzZWOEqzNnZlTk lo69rvfW31fkRuPmXKO7L4Zw9g== X-Google-Smtp-Source: ACHHUZ6Nki7/wbGSFS7RowfpaGQBE9c7EC822/QfqITsMQ45566bwmhr0Y+B0VftKWLASL9qPV5slw== X-Received: by 2002:a17:907:97d2:b0:968:1102:1fb7 with SMTP id js18-20020a17090797d200b0096811021fb7mr8138496ejc.6.1683703055539; Wed, 10 May 2023 00:17:35 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:c175:a0f9:6928:8c9d? ([2a02:810d:15c0:828:c175:a0f9:6928:8c9d]) by smtp.gmail.com with ESMTPSA id ze12-20020a170906ef8c00b009659fa6eeddsm2299387ejb.196.2023.05.10.00.17.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 May 2023 00:17:34 -0700 (PDT) Message-ID: Date: Wed, 10 May 2023 09:17:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] ASoC: dt-bindings: Adjust #sound-dai-cells on TI's single-DAI codecs Content-Language: en-US To: =?UTF-8?Q?Martin_Povi=c5=a1er?= , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: 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 References: <20230509153412.62847-1-povik+lin@cutebit.org> From: Krzysztof Kozlowski In-Reply-To: <20230509153412.62847-1-povik+lin@cutebit.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05/2023 17:34, Martin Povišer 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. > > Signed-off-by: Martin Povišer > --- > 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(-) > > 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. > > '#sound-dai-cells': > - const: 1 > + # The codec has a single DAI, the #sound-dai-cells=<1>; case is left in for backward > + # compatibility but is deprecated. > + enum: [0, 1] Does it? I see playback and capture. Best regards, Krzysztof