Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6720163rdb; Fri, 15 Dec 2023 06:44:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGswFDsXrf21bYNUC8ixdJseguDk5HhjiCOBEsxtgJxD/rxQ4itnLKnLTtTIgQryt4a1YgY X-Received: by 2002:ad4:5dcf:0:b0:67f:17ef:19bc with SMTP id m15-20020ad45dcf000000b0067f17ef19bcmr1504093qvh.0.1702651458018; Fri, 15 Dec 2023 06:44:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702651458; cv=none; d=google.com; s=arc-20160816; b=IsHj08cVju44DX99CemKKA/U60bjSnpGhxE0+2w561xHD53qTvlSHz8hNw/zf+hv2B lUShir3u94o51OOv0EhxLvFCtnJu/vVU4vsppUdXfCaud5WgnpmnmDVWRsURdX8Gsc9x vesjTmXIG6pmjXTSViaVg8fv418QKjAe5uhsmG+Syf8kBdrCWFUJm5d/0SEtdJDCCPi9 IZx0CmnxKjDpD6PKlIa/otwzUZT2Ryv2D90T8nk0bUYBsKLHCVLNyLIld7RFh4aXrmxR nhbrjUs+E3zB1jYuyCIvpOIKC+sewA9iEEQe6uy1KyROpwbkMg3UzqV6IdsY25IUfQMn Qscw== 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:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=5BL9wlPeLqRIJfB85Nj/06NfvXKEdQY8W0mGZ4+sB0Y=; fh=ZR6V6D2WU0zyIjfQPX7YfmWZmlvbVzl0m0Qi5vpsgvY=; b=lOdRiVfzHZrtnT6xvixmUGLiSvZpHt8lGl1uJosMTCAI/IQNtsaxkZFg+az7FVZ6fQ 9M65N8CbAm1psIAbpApvjloEZw1WeY4rVdPiQfJSJaHswOKsEma3IK5zYFWeodCDDwvY u58RmzGbERSeE16Bu1s56/O8MeXwosCQJOjNewH99oW0obPWet6rCLPmrCHEoPLk2RxH wzSYpJTHn6HflU2cr1Sg94utESNSg1jeDOB0cvUhXguw7ePe4FENvGvC3HQQFiVapJzO ycxKQ0jE+VzVOuG1WW+WJWoEmQy+AVqx74MLmYgN06/NUVyosUMhYa7qUxvTwGT5KxPE 5EqA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s15-20020a0cf78f000000b0067efd8a02e8si5507339qvn.488.2023.12.15.06.44.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:44:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1126-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; spf=pass (google.com: domain of linux-kernel+bounces-1126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=irl.hu 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 C3C021C23763 for ; Fri, 15 Dec 2023 14:44:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FE89358A2; Fri, 15 Dec 2023 14:42:49 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from irl.hu (irl.hu [95.85.9.111]) (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 359F4347D1 for ; Fri, 15 Dec 2023 14:42:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=irl.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=irl.hu Received: from [192.168.2.4] (51b687c3.dsl.pool.telekom.hu [::ffff:81.182.135.195]) (AUTH: CRAM-MD5 soyer@irl.hu, ) by irl.hu with ESMTPSA id 00000000000718F7.00000000657C65E3.0012E612; Fri, 15 Dec 2023 15:42:43 +0100 Message-ID: Subject: Re: [PATCH 03/16] ASoC: tas2781: disable regmap regcache From: Gergo Koteles To: Mark Brown Cc: Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Date: Fri, 15 Dec 2023 15:42:43 +0100 In-Reply-To: <5b2eb7eb-761e-406d-8d55-b7ea8cddefa8@sirena.org.uk> References: <21a183b5a08cb23b193af78d4b1114cc59419272.1701906455.git.soyer@irl.hu> <0b836c10-b21b-4275-8dd0-254dd5467497@sirena.org.uk> <47097f19398808b64f4cc87c2a3c7cc462fb2416.camel@irl.hu> <5f3f0306-799f-4f3b-9e05-fbd300c59d5d@sirena.org.uk> <9a2b85a8a19e002093e2471a97850d26e335900f.camel@irl.hu> <5b2eb7eb-761e-406d-8d55-b7ea8cddefa8@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.2 (3.50.2-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2023-12-15 at 12:55 +0000, Mark Brown wrote: > On Fri, Dec 15, 2023 at 02:17:01AM +0100, Gergo Koteles wrote: > > On Thu, 2023-12-07 at 22:39 +0000, Mark Brown wrote: > > > On Thu, Dec 07, 2023 at 10:12:13PM +0100, Gergo Koteles wrote: > > > > On Thu, 2023-12-07 at 20:36 +0000, Mark Brown wrote: >=20 > > > > > The code creates the impression that writing to one tas2781 write= s to > > > > > all of them, is that not the case? >=20 > > > > Yes, the tasdevice_* functions, but the regcache_sync doesn't know > > > > this. >=20 > > > So this syncing is done in software not hardware? My understanding w= as > > > that this was a hardware thing. >=20 > > If you mean that the amplifier does not know that there are several > > programs or configurations or profiles, but only runs the current one, > > yes. >=20 > No, I mean that the amplifiers don't talk to each other at a hardware > level and the grouping is all in software. No, they don't talk to each other. But they have a global i2c address to speed up configuration, but the module doesn't use it yet.