Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2453336rdh; Wed, 27 Sep 2023 03:12:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEkPmsac7wHiCYqlKSRmf3J3uT0/ar9VtN96ZrElaGaiiV0RVSqRXnkGOm7bMyfA/qtOCWH X-Received: by 2002:a17:90b:3b81:b0:274:96a:5007 with SMTP id pc1-20020a17090b3b8100b00274096a5007mr1146802pjb.1.1695809530500; Wed, 27 Sep 2023 03:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695809530; cv=none; d=google.com; s=arc-20160816; b=h6ZCsQFEC841WsZJLEQS52F9QXObSw8aqq/bKIv3zRFCXPeDZkOi6nxkchbadHqjP5 1q4JSD2b+7+e04EC/qpr+rDdaONI8bZr0OB3nRkys8RrupMeTQNxpG9Orqof5X75dHFY xLirGNQm3BrF9o3CJypp2h+evMktUcltYmXG8b4JgNQezmh69BKNLycXfMw349PHr02h VkzQ94H/t4gEp+5v1PgVC/jhP5K/lWEDK9TSsaP5+lM1Lj3+vK+OJhS4ZQWyUMGGQQCy 9BQFOfHzZsDJuyx+fYmtzbaWzWUF0rU38znurOhMd6gt8MWYdvZV4bvuo24KHjCl0tzQ BorQ== 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=p008Jvc2qUa4xs4tFlK1a8kSzvOEm1xA2pu/9RT937M=; fh=9KTkC3uihzWi52L5za1+T58U/N7WhOk6ZY7VcBFQaSE=; b=KIr987ZsX68M4F+INLUDM4GuAJ0XYmY0NmtCugXKlaqN0RdUXbMjQGRSjP8VnilzRq ibaSHEtFLdPZmC0vHlZ1bZbGXdvRs59VZiYyGOVnhL/MO+vWn6bdrXUr2vE0K2OjjCXq 1frNk1U57ACS5d1ca8Aqh0prnNsXg3vyFTa8b+crz35MfnXnhHwR3IPFtQIpMQDFpLQp EcJ6Zr+oHWWS4aEBSjhb23yIuRjMQ8gf//hp6Rm1W4cTQc56qmCIgrbsjYGDc84mJwSo 1jgZkvUABPbg2fkIpvvJYruK0si1/XHXY/lZHHeJBYOKE0LRKYxhQRz8OJ6C4wZJuRS7 ZQfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g2K2mtAI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o12-20020a17090ab88c00b0026d55291b15si648367pjr.0.2023.09.27.03.12.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 03:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=g2K2mtAI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 0B7A2801F102; Wed, 27 Sep 2023 02:59:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231158AbjI0J7h (ORCPT + 99 others); Wed, 27 Sep 2023 05:59:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjI0J7f (ORCPT ); Wed, 27 Sep 2023 05:59:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 512C5F3 for ; Wed, 27 Sep 2023 02:59:34 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A611C433C8; Wed, 27 Sep 2023 09:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695808773; bh=RUppI/q0xfwba/lP191K+gantdfVkA9gA7y81Dm/SuI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g2K2mtAIP7TYZS/yWD0wou+N4oeF1NVEgJUM0Q0Yv8xBypafLM/C7MJBo272AxFcn oVkeNn+UatZIGSygr8FuaQF0hCdLH+q4iYxwyLPY8We/sFR+QaqO/K/330BRQ8YcFe 5usW4rivyCmCOtxuHpbjG4nYi8hWK++8JyR+Pb71ag9vZUXs/+GF9gVBjd48hCpRMd WsiWREWelBvOefp29sZ4Xz17m41vyvsArgVVwiu86gzGoP7S4DMZhtModATcyg3n8u uTlMJ2cOcn9XsebmVqV21ZIHaAIEP6LnK1I0QIdQ+NmW07ykO4uJOkXsbmHThU2k4w AAYQbvX++2dGQ== Date: Wed, 27 Sep 2023 11:59:31 +0200 From: Mark Brown To: ChiYuan Huang 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> <20230927094637.GA25905@linuxcarl2.richtek.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1C4mWfMNaZDyDOFk" Content-Disposition: inline In-Reply-To: <20230927094637.GA25905@linuxcarl2.richtek.com> X-Cookie: Save energy: Drive a smaller shell. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 02:59:44 -0700 (PDT) --1C4mWfMNaZDyDOFk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 27, 2023 at 05:46:37PM +0800, ChiYuan Huang wrote: > On Wed, Sep 27, 2023 at 11:13:22AM +0200, Mark Brown wrote: > > 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. > I may think one case if ASoC platform support multiple data source outputs > that share the same bck/lcrk on different data pin. If it can be dynamically > adjusted for the scenarios, this will keep the flexibility for the differet > platform design. Sure, but is that actually a practical design - or if someone is doing this shouldn't it be joined up with the TDM configuration since with just the control it'd only be possible to switch the pins but not change the TDM layout? I'm not sure that this control works as a standalone thing. --1C4mWfMNaZDyDOFk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUT/P8ACgkQJNaLcl1U h9A3nAf9H92yVuO7k/UTjTIXfx3suPYVPOICJ5sKklHL8Vd2+uL3ks7E9EbmnCzR Me3Esxfs9EdVnBVgIpoOBUOmtrZTzrlm9Y7DG6q0y4gV/6ShctHIqKgXhGlPftUY 7iUgF1GPTeHjpqg+PmlWh/C7zqtjrcauyxzrGclpBbilg/1CKRwaSyJNwblLXLDZ c4kBua84DXvkBEUYRyr+S1HNzwo1bd2R3FF9Q39kgunTl+PAcEVs8AqzsnZx7Tgg EABemg1WEyrRVjvVyfyZP7BmdjGcFzCllD96yJsIQf0W25a9ne3PxVftFbsiATVH hic094EtySRJ8jr+PI+QWbqRCwYPYw== =uBaT -----END PGP SIGNATURE----- --1C4mWfMNaZDyDOFk--