Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2453717rdh; Wed, 27 Sep 2023 03:12:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+wBT2VK+W1TbSeIQK9eVP5fHQQwhgJn2Ke+LAeGeSFW03zTPkZbMNWsxNrKFRN+KPSjc2 X-Received: by 2002:a05:6a00:1996:b0:68f:b5a3:5ec6 with SMTP id d22-20020a056a00199600b0068fb5a35ec6mr2449002pfl.0.1695809573355; Wed, 27 Sep 2023 03:12:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695809573; cv=none; d=google.com; s=arc-20160816; b=Qqb0E8ymWFH0PrKw/aZEy/+8hxuX07WFC9gVOLlpDSErvCJ4KN9znigQp9FaxnenMF gVYKfCGPQZs+vT80KvuxpOhlUKMirTxjM1bKYxvGD/mDVU6NRckJupQ2EbIVCQhSFXyX GgX9/cR8b2kTvpsOWCYXy8bt65jbD7t4qyCgbTfffJ1Gs6zxYITXLV3Ez3/pi0kQpj7Z I3bGDZTPoiUDJuuxUgP76Nxs2ML7DMhOXlFptawPpxRaoNT0nN4cm8Es2fNMVKnME5Gi qeJccDh9H69pSWjbNy9uJugp9ZMEPF1c0ghTW3JPd9PXfi6tyMIhRnD4yh7i+GSoWLxN QaYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=wUCYK7NPdNplNH60MC28xANMN1nUhRWyQxc0kzCz+s0=; fh=49ZufT+PKznOBR3MGJZnGE8ek9UCOclXqYIqqLkeq5E=; b=ue6uifOy6QgQBRv1Bduho9glSTS/QRlizg6kV69Ehs70/mwUAoSe72GZqqW3zfmG0O LzdOKBOh3QsIx7FP2Q9XNpBIuvTkwX3tqd+Yq7F7dzBhTKtx9yLHVbWlBGvWMsXmsg+0 Jp1LLv9YXFZ/2CYAImNcEcNmqf5msa0je5+ztI/zH3Vi8Ly/ILUvzCjAtZiEpX2aiJqC 2+ehVvUKopXJx2DlgFran3PsiV9tzo1Vqusts9D3scSiTzgOhsC879ZsW5QnGE6M2LsR p4HbeGOdQK0sw1mmSxOFRPYnhfaGWhivsXuJAAAJPID6Cmr094e1+eowgw0R3dqyRd8p zbwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ol/Uxc7P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id br4-20020a056a00440400b0068e2f6feab4si14767950pfb.374.2023.09.27.03.12.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 03:12:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ol/Uxc7P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 122458185966; Wed, 27 Sep 2023 02:13:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229945AbjI0JN3 (ORCPT + 99 others); Wed, 27 Sep 2023 05:13:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjI0JN0 (ORCPT ); Wed, 27 Sep 2023 05:13:26 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D434CC for ; Wed, 27 Sep 2023 02:13:25 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1247C433C8; Wed, 27 Sep 2023 09:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695806005; bh=5ni2a/DB+QDF/FumPKPmxhwyxTIswmMyT0P7nFDDOjU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ol/Uxc7PcT/MtG/rPG+r7m+HvHrK7JO+Z40E79QzTlG7bW7aKNMPuoLcyB30Oev2u yJnnJUKl+pf2JidNgW7Uw7J+XSQ9mUzfviLiYb5wHE4YO3/CJSlluw83Wih1+TlMD9 VMWvLPtA/SUgt0wLYBt4GnUmmDxY4TVaXUGuqoMDVTzbBKGcs0bzUUPMpkIhP0h8r5 H9Y7w/9v571/uQQJPGwtRfZHzP58g+8XjwZNGjKUc2QnuU33HuoYU5yrqKicyjuV1A 8e72codJFL4mEsdffKV+PW1jLf+xcb/wXxOsYIKFGRipodHP9B5RrTIFIqZ7WK0lC3 YLo/abeR+foMA== Date: Wed, 27 Sep 2023 11:13:22 +0200 From: Mark Brown To: cy_huang@richtek.com Cc: Jaroslav Kysela , Takashi Iwai , Allen Lin , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: codecs: rtq9128: Add TDM data source selection Message-ID: References: <1695780376-32301-1-git-send-email-cy_huang@richtek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5fIGTM3mlZcEO9YK" Content-Disposition: inline In-Reply-To: <1695780376-32301-1-git-send-email-cy_huang@richtek.com> X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:13:51 -0700 (PDT) --5fIGTM3mlZcEO9YK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 27, 2023 at 10:06:16AM +0800, cy_huang@richtek.com wrote: > Since rtq9128 can support 4 channel I2S mode audio data, there are two > dedicated data input pins for CH12 and CH34. But in TDM mode, input > source was already drived on one data pin for multiple data slots. In > this case, only one input source is needed for TDM mode. >=20 > This patch is to add the data source pin selection for CH12 and CH34. > + SOC_ENUM("CH12 TDM Data Select", rtq9128_ch12_tdm_data_select_enum), > + SOC_ENUM("CH34 TDM Data Select", rtq9128_ch34_tdm_data_select_enum), Is this something that's going to be changing dynamically at runtime or should this be a device property that's set either by firmware or when we're doing the TDM setup? This sounds like something I'd expect to be fixed by the board design. --5fIGTM3mlZcEO9YK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUT8jEACgkQJNaLcl1U h9AD9gf/XjwqNVU01O8geeDs/n0uPuij3TFEV+9FdQXoWkepHbUHI3z9MKx9QH2w mrLYz27YdS0unjrkqXZk6L53daybs2KxJQCb1HlV3/YsFiwsWII6ZCYeAZASTwFs SOXf8ZJmdkgXJxf0lYq+m7dNCG6e9EVqC2XlUWvbnUdVkYstni7TKSK7i/lvoT/1 +4WezkK8onTaoz3mprbc2TBDGfwATC5LA7E2CGZ0734rZd9XjyzY0wK8SPJn5cL3 1rNPGqvjzdc+f6VtpVKvZHK3JhONqKMCX+DWrf6Wx24QxjA5xzYpKMBviVSzEbMh MDPRg6Bo5Dl8fezHnz75NQjf2hUBog== =oiAQ -----END PGP SIGNATURE----- --5fIGTM3mlZcEO9YK--