Received: by 2002:ac8:6d01:0:b0:423:7e07:f8e4 with SMTP id o1csp6905713qtt; Mon, 18 Dec 2023 09:55:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJzE7Z7IVVP4T2jfyMwsmoJg8paaQ8DblzT+dOecyzrYwYMDi/Q7m5N107u9TNapTd+kk7 X-Received: by 2002:a05:6358:7e05:b0:170:ca82:1597 with SMTP id o5-20020a0563587e0500b00170ca821597mr17025789rwm.44.1702922106938; Mon, 18 Dec 2023 09:55:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702922106; cv=none; d=google.com; s=arc-20160816; b=FTKAjEkJKhSsB1O3mT1urGLhOC0/3SRfVFa7f0alRHsTrzRToO1zJ+X0MU165SXHeu J8PhmwnWNbLMncX5XVcErWJ2nT+x/OaVifGZ++qIAwrxFK1eE8JIJHhThIuvmQ/xG4BY 4hopKxhRp1b4zW14gH3IT4WJJKUEvoDSSh+oJtFOXA6vB1sVYlG1JaicBWH3Q8ddW3AD VTo7cYssTR8B/fvb4I5cQV6LQY5qVQZczGVRB8RvTyR3fccYR5VgwKFoLi9RfsbYVHxh R6EQXyr1WSe3hzndwbpkYbh4XZwluUsZCVOOpB6wF4O3KlP1izeJvlX+oObfMaQUgwum M38A== 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=mByW+MzACC2iIlFrod5tliLDSa6iODdWULR3MPvcv1k=; fh=MNRbD0udYB3ajBltMNODWM1qDqLBPY112lAPiu0X91Y=; b=WL8BcwJJPRkN9XDwc8gmNxf8odkNBfDDVOkU5LWF67pjg80wnVpT6Y5hNWi9jDY0K0 MjkiPmO6Rx4c592cwJIKlJdvddp5UB0ynPZ7Jboq0wNAfzQm5rMfBcrpt/NXyMDKfExj nevPeMowUTC7D3ivgeOhgJ52GrrWJXRFeLwtoYZCRbFm/Zd0HZ9rB2H9ruKF1gUpmXnZ lV2P185IqM7bm5Qv3nca0gY20VUjg0rc/1RCm85YeE6okRzInNfFtV8GEudJRlaMwBLL FHBD1xwxKrgwR1Q79q1mG2Gy8n82XigCsjSH/qjBMCIh4s1IknQWVMR//1H+hjbashNi 08Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=fo3WRtpx; dkim=neutral (no key) header.i=@suse.de header.b=jCecfQhV; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=fo3WRtpx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=jCecfQhV; spf=pass (google.com: domain of linux-kernel+bounces-4214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4214-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i13-20020a63e90d000000b005bd3c9a9528si18050219pgh.263.2023.12.18.09.55.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 09:55:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=fo3WRtpx; dkim=neutral (no key) header.i=@suse.de header.b=jCecfQhV; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=fo3WRtpx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=jCecfQhV; spf=pass (google.com: domain of linux-kernel+bounces-4214-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4214-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id AFD91B23E50 for ; Mon, 18 Dec 2023 17:51:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CB5674E3D; Mon, 18 Dec 2023 17:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="fo3WRtpx"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="jCecfQhV"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="fo3WRtpx"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="jCecfQhV" 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 7EB2274E39; Mon, 18 Dec 2023 17:48:36 +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 [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 AE5C51F450; Mon, 18 Dec 2023 17:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702921714; 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=mByW+MzACC2iIlFrod5tliLDSa6iODdWULR3MPvcv1k=; b=fo3WRtpxplWsMWAJAgHAABgqYDphcx0eUH7HkrMTOkrTsEDgB8JYls43teIEmtgWVGHD4M QU8ucJXRpx3lcnVgXXYVrUjzMdpLCNQeOsnioexAX5m33H/UvnWDxJq9CEE9gPcZlKqJRL 5vlqaV5As/6sl2lQAwGfDdY0Rw3WFKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702921714; 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=mByW+MzACC2iIlFrod5tliLDSa6iODdWULR3MPvcv1k=; b=jCecfQhVtAhd+AteH8NwM9577MFzdVRpmEKwRYQFlQ5bL9gc/dwl0vWgmLthDCxI0ZMZbz 5SmBHLRmHBcru5CQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1702921714; 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=mByW+MzACC2iIlFrod5tliLDSa6iODdWULR3MPvcv1k=; b=fo3WRtpxplWsMWAJAgHAABgqYDphcx0eUH7HkrMTOkrTsEDgB8JYls43teIEmtgWVGHD4M QU8ucJXRpx3lcnVgXXYVrUjzMdpLCNQeOsnioexAX5m33H/UvnWDxJq9CEE9gPcZlKqJRL 5vlqaV5As/6sl2lQAwGfDdY0Rw3WFKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1702921714; 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=mByW+MzACC2iIlFrod5tliLDSa6iODdWULR3MPvcv1k=; b=jCecfQhVtAhd+AteH8NwM9577MFzdVRpmEKwRYQFlQ5bL9gc/dwl0vWgmLthDCxI0ZMZbz 5SmBHLRmHBcru5CQ== 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 6E08713894; Mon, 18 Dec 2023 17:48:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id dOEwGfKFgGUSKgAAD6G6ig (envelope-from ); Mon, 18 Dec 2023 17:48:34 +0000 Date: Mon, 18 Dec 2023 18:48:34 +0100 Message-ID: <878r5rz9jh.wl-tiwai@suse.de> From: Takashi Iwai To: Stefan Binding Cc: Jaroslav Kysela , Takashi Iwai , , , , Subject: Re: [PATCH v1 0/7] Add support for various laptops using CS35L41 HDA without _DSD In-Reply-To: <20231218151221.388745-1-sbinding@opensource.cirrus.com> References: <20231218151221.388745-1-sbinding@opensource.cirrus.com> 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: X-Spamd-Result: default: False [0.90 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_SEVEN(0.00)[7]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[] Authentication-Results: smtp-out2.suse.de; none X-Spam-Score: 0.90 X-Spam-Flag: NO On Mon, 18 Dec 2023 16:12:14 +0100, Stefan Binding wrote: > > The CS35L41 HDA driver requires various system defined properties to configure > the driver for an individual system. For some laptops, these properties are > missing in the BIOS. To be able to support these laptops, there is a mechanism > in the driver to get this configuration from a lookup table, to be able to add > or patch _DSD as necessary. > > However this mechanism currently only allows for laptops to be patched one at > a time, however, in the case where there are many laptops which need to be > configured generically, a generic function has been added, with an additional > lookup table to the individual laptops, indexed by SSID. > > To support laptops using SPI without _DSD, an additional workaround is needed > to be able to support the SPI Chip Select GPIOs whose resources are defined > inside the _CRS for the Speaker ACPI Node. This workaround only works for > SPI laptops which contain up to 2 amps, since the SPI controller would not > allow more than 2 amps to be instantiated without the cs-gpios entry in > _DSD. > > These patches add support for various ASUS laptops without _DSD, but the > framework added here allows for support for more laptops in the future > for other manufacturers. Support for laptops without _DSD from other > manufacturers is coming in the future. > > Note: for systems which use modified _DSD to emulate the missing _DSD, > these patches are incompatible, and the modified _DSD must be removed in > order for the support through this framework to work for those laptops. > > Stefan Binding (7): > ALSA: hda: cs35l41: Add config table to support many laptops without > _DSD > ALSA: hda: cs35l41: Support additional ASUS ROG 2023 models > ALSA: hda/realtek: Add quirks for ASUS ROG 2023 models > ALSA: hda: cs35l41: Support additional ASUS Zenbook 2022 Models > ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models > ALSA: hda: cs35l41: Support additional ASUS Zenbook 2023 Models > ALSA: hda/realtek: Add quirks for ASUS Zenbook 2023 Models Applied all seven patches now. Thanks. Takashi