Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3486133rdb; Wed, 27 Dec 2023 08:52:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgxxAATAkj8kHEVb8uQZy11oLML+BAnRLAm89HEA3Xy9wkW0na9yEpd+5FPRjaXpq+ot0h X-Received: by 2002:a17:907:c9a1:b0:a23:3653:832a with SMTP id uj33-20020a170907c9a100b00a233653832amr7189553ejc.17.1703695924869; Wed, 27 Dec 2023 08:52:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703695924; cv=none; d=google.com; s=arc-20160816; b=IsKlYPb/BJdwUFc0e60cutzMCfhE+fp+OkQztZxi+ybamN8cXCemg+iJ2tGOEcU6Sk GxA0mj2mBXL9qXlG7ORJRLONpbgyDVJXOqjgyP+dGjVTeF4nYKD6fMMU/VwEBfA/gi6Y TWEF5xy5e/Jzfa1FZAIBAdB+2sm5WiYzvTxK1tmP0jY+BffzrfbOE/ZnIfSwdMJ/CxPd Pu3yESrtMJgjk6Kd3EfnEnbC4xOivIOXE1Uk+GOqtY5NG6ZfgFAZ1wQslS57tlDx7HP3 3MTX6/sKOJj3FJ6oxCRCLedMscskeA9HqL35nL29t/PadPALseAq4Grnhm3ukWk2bBMI CyRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=LvSdEmiY3U19ri4CnkC401FMTh5KTQht7qyNY88bs8I=; fh=yTUeXMwEkaj0n4S4v4DAPxgXjJc/CTB3pNGJyLhhPBk=; b=DICJJGR7vbLnPQ5PTg/B0CADhHYBxUQBl+pp2zgNxpGj7RKvDzQdTPU9rs8+COfmhm yLXIHr39yhT6qVEuu0+olVt3JLs65zBNXfLJhc3zreQmhvpQEU8n4JFkG9am0/294pnv /H1M27WS16+05ZdDHbenrk2JpgH7LJVIhbB5A0TI3Tb2/B/w43w3BaJH7emXw9kuX09x GxkzRL9YMc33FwNDFoOjfeFY6/ymX9inUmzaorAe8dwl8VXGLSLoE3Mp6D1uRzxyG2AT PXGFNLdL5VFSzMX5+oq4fr7ec9NhYSkAWpFrZOsFYGU+ILkHGziTwA6z30zPRi4HS8NV oRpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ILT0Vugd; spf=pass (google.com: domain of linux-kernel+bounces-12150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id e17-20020a17090618f100b00a26aaad1f32si5505169ejf.165.2023.12.27.08.52.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 08:52:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ILT0Vugd; spf=pass (google.com: domain of linux-kernel+bounces-12150-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12150-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9ABBF1F22F89 for ; Wed, 27 Dec 2023 16:52:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D15B45C0F; Wed, 27 Dec 2023 16:51:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ILT0Vugd" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83AF945026; Wed, 27 Dec 2023 16:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703695914; x=1735231914; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1FN+0gAIWs30kH3qVNH2Jeq1+0ZvjeMAd9cEPUVtsfM=; b=ILT0VugdjGKaTLALinKgug5wZdpiSp4so/PBCX4kDsR4l9DBezkEq7FX 0qqOsKhlco4GLBCVgJdfOSYaUDJdKhw9glxOk+fZ+wxmaIGcaLUoE1Kjp P6X+rSH4rUPImqqRN6tJEXBvKp4YdtM7a0OodNZKzoqkGsHqrUdbdJ44a 9EONgfiL20JsUjnzavoiZhc7yyMeGX/c05WQfKGWc9grX3znLTl/Hykyt XCPpQLvv2OLFAEmroiP6k7hQvsgRqgBGxdEqUme8k1dOg5nIUV/REBbCh qRzU9Cj5wB0SSNTb/nHE7RliGo66jd7Tp3tGie4av+r/D/pyVsrhFTtf3 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="381435525" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="381435525" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 08:51:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="868899368" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="868899368" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 08:51:49 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rIX8E-00000009T2x-0TQX; Wed, 27 Dec 2023 18:51:46 +0200 Date: Wed, 27 Dec 2023 18:51:45 +0200 From: Andy Shevchenko To: Shenghao Ding Cc: broonie@kernel.org, conor+dt@kernel.org, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, kevin-lu@ti.com, baojun.xu@ti.com, devicetree@vger.kernel.org, lgirdwood@gmail.com, perex@perex.cz, pierre-louis.bossart@linux.intel.com, 13916275206@139.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, liam.r.girdwood@intel.com, soyer@irl.hu, tiwai@suse.de, peeyush@ti.com, navada@ti.com Subject: Re: [PATCH v3 4/5] ASoC: tas2781: Add tas2563 into driver Message-ID: References: <20231225053932.1138-1-shenghao-ding@ti.com> <20231225053932.1138-4-shenghao-ding@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231225053932.1138-4-shenghao-ding@ti.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Mon, Dec 25, 2023 at 01:39:30PM +0800, Shenghao Ding wrote: > Move tas2563 from tas2562 driver to tas2781 driver, because tas2563 only > work in bypass-DSP mode with tas2562 driver. In oder to enable DSP mode > for tas2563, it has been moved to tas2781 driver. As to the hardware part, > such as register setting and DSP firmware, all these are stored in the > binary firmware. What tas2781 drivder dooes is to parse the firmware and > download them to the tas2781 or tas2563, then power on tas2781 or tas2563. > So, tas2781 driver can be resued as tas2563 driver. Only attention will be > paid to downloading corresponding firmware. > -// The TAS2781 driver implements a flexible and configurable > +// The TAS2781/TAS2563 driver implements a flexible and configurable > -// TAS2781 chips. > +// TAS2781/TAS2563 chips. > static const struct i2c_device_id tasdevice_id[] = { > { "tas2781", TAS2781 }, > + { "tas2563", TAS2563 }, > {} > }; > static const struct of_device_id tasdevice_of_match[] = { > { .compatible = "ti,tas2781" }, > + { .compatible = "ti,tas2563" }, > {}, > }; In all cases make the lists ordered by a chip model. -- With Best Regards, Andy Shevchenko