From patchwork Thu Sep 28 03:41:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiYuan Huang X-Patchwork-Id: 14624 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3051638vqu; Wed, 27 Sep 2023 20:43:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFcwXL7a6xAMc8epmBfH7jzwZCfuQd8bW80JFAZz59X5vpnLZ4QZbXaPX84gPL2koZmhPy6 X-Received: by 2002:a17:903:228e:b0:1c1:fafd:d169 with SMTP id b14-20020a170903228e00b001c1fafdd169mr78049plh.3.1695872626521; Wed, 27 Sep 2023 20:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695872626; cv=none; d=google.com; s=arc-20160816; b=w0CGN0zCfvksAO04acbtNxkkr5G7RKkUhLWjP56/rR0u2xVN+7JZD+8JnOgdQMVeb6 w2JzcDYpFbENtJkQR8DCyYjJxesoNbFP0wVuEwa4ihykmK+BC0EU6o9ChQZ1qyMFBAjp bMAZpJIhXzi/d31onEMSRKzRvR6nFc6BdaHba+JjMO4fpk7jdhbyhjBX5wGA++WHioLk k+brcbi0hkqulfMfw4i39elWlotVmigt/OTpDMmKLbtZ3cQt0qhIaAdwNIqhgWJEbJYj iXklfp60rKaozJvzmueqFjgyH2Nl8+bVfBu8cWopnYCmjwoBV17/QARY5qu87AT8InIv UQ0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=d7IuTVZCEANri4srnux+tQyRqAsU30Gj8sB5Cq5/T1c=; fh=Rg+VGHUwN+YZEBnPqM0EVvdwDznNa3EeNKvPuWgLPF0=; b=LAQ2SgXjJ8tcbgEAFLd/ImTuh8/RL8v5w8lvX3DlI6fzm/ZclRFd2NMhQ75Kp7ZB/J th5tqpa2V8pQVJLJ9nySvt0nWVfNKOLdDORNQ4kCUAvH+GZRviI0QcPxVrINajBvOCrS RbXGqHlyJli/aQPR5X5SR1A2jHdCe0BDuJTu6fD5vgYL2h8AmXNN67oL5xnfiaRaYR5H J17M5VTNMGpXRASNzGxOSqc1xRgIatOqvw9P4dg9kD2hyGOnoXb6700hDpHdWvmLsjwg QINxWtP2e8S4dy5JLhjTIcv7BcaYdeS0/K5jh2AZooH7nlGFBZGzRSkdihBDIueDvPzu Cj6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id ay6-20020a1709028b8600b001b89bab468esi16165719plb.107.2023.09.27.20.43.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 20:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 1230480203C0; Wed, 27 Sep 2023 20:42:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230151AbjI1Dlt (ORCPT + 20 others); Wed, 27 Sep 2023 23:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbjI1Dll (ORCPT ); Wed, 27 Sep 2023 23:41:41 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EC4DF114; Wed, 27 Sep 2023 20:41:37 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(1978118:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 28 Sep 2023 11:41:10 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Thu, 28 Sep 2023 11:41:09 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Thu, 28 Sep 2023 11:41:09 +0800 From: To: Mark Brown , Krzysztof Kozlowski CC: Conor Dooley , Rob Herring , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , ChiYuan Huang , Allen Lin , , , Subject: [PATCH 0/2] ASoC: codecs: rtq9128: Add TDM input source select Date: Thu, 28 Sep 2023 11:41:06 +0800 Message-ID: <1695872468-24433-1-git-send-email-cy_huang@richtek.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:42:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778251269208521317 X-GMAIL-MSGID: 1778251334888396661 From: ChiYuan Huang This patch series create a TDM source select property and use it to decide which TDM data source is connected. Following by the below patch disccuion https://lore.kernel.org/lkml/1695780376-32301-1-git-send-email-cy_huang@richtek.com/#t It may not be a good choice to add the user controlable mixer control item. Since it follows the board design, make it as a device property. ChiYuan Huang (2): ASoC: dt-bindings: rtq9128: Add TDM input source slect property ASoC: codecs: rtq9128: Add TDM input source select .../bindings/sound/richtek,rtq9128.yaml | 7 +++++++ sound/soc/codecs/rtq9128.c | 16 +++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) base-commit: 3efcb471f871cc095841d411f98c593228ecbac6