Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6616238rdb; Tue, 2 Jan 2024 07:37:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnQEMXwV+DxDmpFVFZhLb5pV9JlybM310b5epIkOTGvReY9PWSCne6oNygKAjSxzeq0GeC X-Received: by 2002:a05:620a:4586:b0:77f:2ee7:3eb with SMTP id bp6-20020a05620a458600b0077f2ee703ebmr20117779qkb.128.1704209866631; Tue, 02 Jan 2024 07:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704209866; cv=none; d=google.com; s=arc-20160816; b=K1owp0UHnGKCl0Ox2ZxGRUKAeRLM6HR13CFDvYIM8p+XpDrSOOjm0U1Y4GuvyAp7IL U1lBgehd8T35g1euSIzuaBbP41AlP/pb7UGFqFLlbA9se1LBHmANTHPGwpamE1Q181Yj omONb/WvoYWEelFtFAJUXSnLemk9FbLkfTFKqsTsuGmj9IR3ToWA1IYFnkA0LAdSsEzH I05yQdNt73EFiwLFUuTfggxiw/7FQBQklIAgrC1mXWlBjo7td365ifYee2o+7nrpBUj9 2UsjIOlLVkszby/xCIEHa36/Tnzi85Qfhu2nx/GUiWHLGc6zJUTRnTEM3OYvImKQW2Ex crXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=iFeSjnnhDL7UuXIIfB/Pi2bJdb0mIR0c/ug20ece57o=; fh=kwsvdsDZom43/C2XSRpeu+EIj1SRUvk6Z2SDA/DGU9I=; b=WWyrDmLQzH6vhqZj3bOntYcB1+lM92t9jZghVJ4nGznurtmlynJX4CIDJ3rV6Eayhx xr+xffpnDfV+05XmGYBiSouujGRj7KqG2wnZP9E4ZtaSxW6mUdUKbOxwd8PvpCvNSJvH QGpk9fPNZtttDcDUlCvv/TOsvQfwZqpDbOgdQs1+sHrd0IWA0YK0/vdzfVzPenG5gmT1 gH0l++YmqSu6XlfPFrzfMjy8BegYqyQa53kER1zuowO5Q8l9Mqc1tT9m4FYh0770qs/l eDErfr7TemAuZSH+4ve5bSKdX/ITjaCGQ5XLvkLBM8xb/7a3a/apY6EZVt4zP4hDP0YF 0uAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VMVgLxOt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VMVgLxOt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-14567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14567-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e24-20020a05620a12d800b00781661b40fbsi12620404qkl.101.2024.01.02.07.37.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 07:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VMVgLxOt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VMVgLxOt; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel+bounces-14567-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14567-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 64A1D1C22567 for ; Tue, 2 Jan 2024 15:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E05A914A82; Tue, 2 Jan 2024 15:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="VMVgLxOt"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="y1xwT7kW"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="VMVgLxOt"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="y1xwT7kW" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91A3C14A8A; Tue, 2 Jan 2024 15:37:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 7D6221FD01; Tue, 2 Jan 2024 15:37:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704209855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iFeSjnnhDL7UuXIIfB/Pi2bJdb0mIR0c/ug20ece57o=; b=VMVgLxOt01P6HaMA7mmz1BGr+bjL1THr82uAhSoc/1Ti4hkcotJJ2bkjtaVjMPTsamniHt IoxQqDI4nlVART/YOYi8hXgKKBXo3jLI1JXc9J5DxFiZ1suZuc8UvzD5Y6FjkeNpuNWL3B SkxTDOo1kowN40N15/k5dz8EWccVe8Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704209855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iFeSjnnhDL7UuXIIfB/Pi2bJdb0mIR0c/ug20ece57o=; b=y1xwT7kW662Nawv0VmaTw9y2AV7W7WaUsEKoRUhpWq+ei2p434HwSn9DgF7udfzl5Esprz tTdQPAKUCmEoHgCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1704209855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iFeSjnnhDL7UuXIIfB/Pi2bJdb0mIR0c/ug20ece57o=; b=VMVgLxOt01P6HaMA7mmz1BGr+bjL1THr82uAhSoc/1Ti4hkcotJJ2bkjtaVjMPTsamniHt IoxQqDI4nlVART/YOYi8hXgKKBXo3jLI1JXc9J5DxFiZ1suZuc8UvzD5Y6FjkeNpuNWL3B SkxTDOo1kowN40N15/k5dz8EWccVe8Y= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1704209855; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=iFeSjnnhDL7UuXIIfB/Pi2bJdb0mIR0c/ug20ece57o=; b=y1xwT7kW662Nawv0VmaTw9y2AV7W7WaUsEKoRUhpWq+ei2p434HwSn9DgF7udfzl5Esprz tTdQPAKUCmEoHgCQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 2696713AC6; Tue, 2 Jan 2024 15:37:35 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id QBLJB78tlGVdcgAAD6G6ig (envelope-from ); Tue, 02 Jan 2024 15:37:35 +0000 Date: Tue, 02 Jan 2024 16:37:34 +0100 Message-ID: <87sf3f7nlt.wl-tiwai@suse.de> From: Takashi Iwai To: Gergo Koteles Cc: Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH v2 0/4] ALSA: hda/tas2781: Add tas2563 support In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spam-Level: * X-Spam-Level: Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=VMVgLxOt; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=y1xwT7kW X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-2.47 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_SEVEN(0.00)[11]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FREEMAIL_CC(0.00)[ti.com,perex.cz,suse.com,gmail.com,kernel.org,vger.kernel.org,alsa-project.org]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-1.96)[94.84%] X-Spam-Score: -2.47 X-Rspamd-Queue-Id: 7D6221FD01 X-Spam-Flag: NO On Sat, 30 Dec 2023 01:09:41 +0100, Gergo Koteles wrote: > > The tas2781-hda driver can be modified to support tas2563 as well. > Before knowing this information, I created another series for a > new driver. > Link: https://lore.kernel.org/lkml/cover.1701733441.git.soyer@irl.hu/ > > This series now extends tas2781-hda. > > The tas2563 is a smart amplifier. Similar to tas2562 but with DSP. Some > Lenovo laptops have it to drive the bass speakers. By default, it is in > software shutdown state. > > To make the DSP work it needs a firmware and some calibration data. > The latter can be read from the EFI in Lenovo laptops. > > For the correct configuration it needs additional register data. > It captured after running the Windows driver. > > The firmware can be extracted as TAS2563Firmware.bin from the Windows > driver with innoextract. > https://download.lenovo.com/consumer/mobiles/h5yd037fbfyy7kd0.exe > > The driver will search for it as TAS2XXX3870.bin with the Lenovo Yoga 7 > 14ARB7. > > The captured registers extracted with TI's regtool: > https://github.com/soyersoyer/tas2563rca/raw/main/INT8866RCA2.bin > > Changes since v1: > - fixes were sent as individual patches > - rebased onto for-next > - adding the missed fixup > > Gergo Koteles (4): > ALSA: hda/tas2781: add ptrs to calibration functions > ALSA: hda/tas2781: add configurable global i2c address > ALSA: hda/tas2781: add TAS2563 support for 14ARB7 > ALSA: hda/tas2781: add fixup for Lenovo 14ARB7 Applies all patches to for-next branch now. thanks, Takashi