Message ID | 20221118025807.534863-1-yung-chuan.liao@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp746504wrr; Thu, 17 Nov 2022 19:00:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf50dHpIYjOcnapuTouqln2ZRX8deQGu0MrWUBF00DpsCEIhCR00r58akf8fHw2TgktHbnAz X-Received: by 2002:aa7:cad5:0:b0:461:948e:55db with SMTP id l21-20020aa7cad5000000b00461948e55dbmr4518988edt.131.1668740418150; Thu, 17 Nov 2022 19:00:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668740418; cv=none; d=google.com; s=arc-20160816; b=pjxOD9j6xFNcmQPUT8jMSMLuuIvG/iPjeVwrknfEDoyg1eDS1zqvuHqh1vMJ5JrL7Z srp1YiJTvwxEwW6nXCUSaejNShBgGFub7ZmVXuuWLDwPUO6lY+crPu5UpCQ5exwGKbQ8 NNv9eP0wymy8earnZnMJV3lgHpTJAyRhAb5+OTKTIftBIgWVL3HH8WwT5ARr6yB5rNY9 YIROt+yUaH9gJtsjtEi9AG0qUvKKzt6hHKS6iMoqdQ+RKb7vSg7of9xLiduA/Mu322KE CfsS+dPmOw2WWRCe/W9cyB+hvWCe/EGJ7Q8capkuzl3CSURj1KlmWJZz/3WnDdrDKiQZ cTOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0tt2TLtNEdxis4cdcqkOVXOLEqr3TkAMmuntMuEdkQM=; b=NJHeTJe55TZ/sJy37KCokk7R5iSp/FXJi1FvOJJNzdD0UmSZhsuBrdRfzafO2/otFz 3o5DmwqRuWVhv1OnfPM28G2+lCrF8OcC/tgeyosiksCoB69bXO2VeHsvueiLxjXt8z5D HlMcmKn/C6McAbRSB1H8iSjcfHzpOY6TrSoNiHPt2BRYRnKOO2CUq+TiYk05PqgUVP3A /8HjL0tYN7d15Xn9TCXVdEM/7wdX2OnT9rB0DVI27vEcvseaJ+4gis309LDwSsounxSw rtRzNsCx2vxUu42WOQc9uSyMhcwHhTYkDXZpC7CGkrcH1VVjvqsE+6zEmdM13nP7kozB tQvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=I4U8NQ2M; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx4-20020a0564020b4400b0046906a73ae8si887349edb.534.2022.11.17.18.59.54; Thu, 17 Nov 2022 19:00:18 -0800 (PST) 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=@intel.com header.s=Intel header.b=I4U8NQ2M; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240878AbiKRC4A (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Thu, 17 Nov 2022 21:56:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240810AbiKRCz4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 17 Nov 2022 21:55:56 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E47FA8E2A6 for <linux-kernel@vger.kernel.org>; Thu, 17 Nov 2022 18:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668740147; x=1700276147; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ewq6eAdnNoMnZKMRbGQiXD5EkArZxytL7hT/pN2Emlw=; b=I4U8NQ2MBH59vs9SYZc8FFpUGH9MzcRC6dHH6VWhVvQ5F3uzTf0deKLG QMjQTv50jx4oM757J7ZW7T3v3MIomBgioJnne8FrtoHf0ZMeQI7iiGxzJ CjTlYsPdIuBINTcgjJakYLaFTmuAoGnmAW1/D3uJ0FLF38lAQPhpKW2lk 3lt6fo/JmcjbObG+NN9LEL3C5/muN+g/L35XZWUzd4GdUZdc/IzqyC7kz BjYl674dcq4PjLbGZczRbOSnZU+yoXDBreWBWGb+4c4Tt1c2+cEVH74A7 U1Js/gbP7rhfnl2Ve86ULLW/9b3VUhstv1O6esMXiJKLHtOvP8NgenqUF w==; X-IronPort-AV: E=McAfee;i="6500,9779,10534"; a="296400625" X-IronPort-AV: E=Sophos;i="5.96,172,1665471600"; d="scan'208";a="296400625" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2022 18:55:46 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10534"; a="642347880" X-IronPort-AV: E=Sophos;i="5.96,172,1665471600"; d="scan'208";a="642347880" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2022 18:55:42 -0800 From: Bard Liao <yung-chuan.liao@linux.intel.com> To: broonie@kernel.org, tiwai@suse.de Cc: alsa-devel@alsa-project.org, pierre-louis.bossart@linux.intel.com, vkoul@kernel.org, bard.liao@intel.com, peter.ujfalusi@linux.intel.com, ranjani.sridharan@linux.intel.com, vinod.koul@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] ASoC/soundwire: revisit support for clock registers Date: Fri, 18 Nov 2022 10:58:05 +0800 Message-Id: <20221118025807.534863-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749801152788575308?= X-GMAIL-MSGID: =?utf-8?q?1749801152788575308?= |
Series |
ASoC/soundwire: revisit support for clock registers
|
|
Message
Bard Liao
Nov. 18, 2022, 2:58 a.m. UTC
SoundWire clock base and scale registers are only supported for SDCA devices. That's fine, but that leaves SoundWire 1.2 with optional registers not supported. This is a corner case that needs to be supported. The change is mainly on soundwire. But rt1318-sdw.c was applied to ASoC tree recently and not in SoundWire tree yet. @Vinod, Are you good if we go throutgh ASoC tree? Or @Mark can provide a tag and we can go through SoundWire tree? changes: v2: - remove is_sdca flag from rt1318-sdw codec driver, too. Pierre-Louis Bossart (2): ASoC/soundwire: remove is_sdca boolean property soundwire: enable optional clock registers for SoundWire 1.2 devices drivers/soundwire/bus.c | 11 ++++++----- include/linux/soundwire/sdw.h | 6 ++++-- sound/soc/codecs/rt1316-sdw.c | 1 - sound/soc/codecs/rt1318-sdw.c | 1 - sound/soc/codecs/rt711-sdca-sdw.c | 1 - 5 files changed, 10 insertions(+), 10 deletions(-)
Comments
On 18-11-22, 10:58, Bard Liao wrote: > SoundWire clock base and scale registers are only supported for SDCA > devices. That's fine, but that leaves SoundWire 1.2 with optional > registers not supported. This is a corner case that needs to be supported. > > The change is mainly on soundwire. But rt1318-sdw.c was applied to > ASoC tree recently and not in SoundWire tree yet. @Vinod, Are you good > if we go throutgh ASoC tree? Or @Mark can provide a tag and we can go > through SoundWire tree? Applied, thanks