Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1937387lql; Wed, 13 Mar 2024 12:22:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuhMwFgdv/hMuVp9qGmVknFcdopb1+ouRJqwCgDFSc3WPfd89AOCcthIGNzHn+vLPO0E6TvwR3t0ipzKwatfkhqmR+l3FEosxKdsdqNg== X-Google-Smtp-Source: AGHT+IHdjwlOEdX97WO1vq/OgCoh2UxViZpgXBy+BaaxJmRq8q1sf00ENCjRmUhGxzjltCJ4/Ire X-Received: by 2002:a17:906:f9d1:b0:a46:3792:204 with SMTP id lj17-20020a170906f9d100b00a4637920204mr3226918ejb.10.1710357778443; Wed, 13 Mar 2024 12:22:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710357778; cv=pass; d=google.com; s=arc-20160816; b=N5iqk/PFiBKO7TOQqJUk8KHF1ggNX3G8iSUYaNYFpNI5TdPil+CF6jYGNU+YZigHsO OVTGuwc1AXzHaJZIzN1hG7yONmTD+4nukdAqkty3nLdCm3HKNC3HHdmJB9bcvxoKWXla h5zzKEZHMoGUM1vaUf/zw+6avJz0PIwRTbpLtZ6bvHN+UmxEKdQzeLnucQw5JZF8VAtP 9gVwn0t9ldoJ8058YWwIonoHoWjdDDQmdM61eBjXowfhvipax0JVn2SrRwEiktnUp0rV ryf3qFnF1gZAdc+Wna8J7Mon/dJan7iO/Gw+T/myiUbzczS3lYk9tdMsf7ybHorZx3Hi t1fQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=+jwr+E1e7wjKU4lCYHP4hUUWX5Os8W7OxhqpQQ3L72Q=; fh=HsLDnzXQdqWj/asXoqanGfiJJcYV+KNlW8d7tDyWujA=; b=YPUsvtKy+7S36LQghZkPBv0FKZosDIcs/cnvCchuNfWgdt6dcLl/N5asUFOkI8br41 tOLw2gUI10JIDC2+N6c4BdyD17z9FCZb3qPzkQQZS3N/M5MoJFftoJ3oiOwL+a669evZ 5rmw4Alipntb8bPJkuT8OgwjkNtbhJ0Vr17F74i1ubYGXic4KuGZnSuuh3ntHXsIwhdW 3S4goRzCeRYcUgyS6mIZ98+Rv/OsvFEtPuAeBzaBGLdx9LLqYVGaKhtkj2Yiv8HBBGzf cfiLeV6MXDIs3PxPFGOjx3ICVd0wKS9f1H0EctO33QFLwnYtIjrU8sPYFyh0g9PwWdX8 SSgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dwUoKOhd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id uz12-20020a170907118c00b00a464bfa5d29si1453783ejb.8.2024.03.13.12.22.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:22:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dwUoKOhd; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-102040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 540EC1F2811C for ; Wed, 13 Mar 2024 17:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CDFD8152787; Wed, 13 Mar 2024 16:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dwUoKOhd" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EDAF1151CE9; Wed, 13 Mar 2024 16:47:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348421; cv=none; b=s64O75QPd68f21ZvAbgDEgdVJ7Pk0PK7iNJ5I0BYqAH/iwWPVEh20jlRkVe7m2PtwxV3RJV2d0tCQ3p1K+fxpdVy41bXaAUagRe/YRD3b2uRZRitYwPHb0yEuA+PyKEpxWDL4mNqQjeETrEdQhnnFGBMIty/9DWgDySwjLvRrMM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710348421; c=relaxed/simple; bh=+jwr+E1e7wjKU4lCYHP4hUUWX5Os8W7OxhqpQQ3L72Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Aslq9DYmAjHHDgeuooNKvxcsHqgEX90luWZgJBDkxeMGLNR3TP7MTmBH+55L3Rw0k8q8GI4blFANCoAakcm3qtNo1HqsmxScPWg1y7+3dvTgDJ0H1rKHGAVjVVauDnEK7BLvpwqTGeJRNnzQP/Ax8cfypggY5HF3CKc3LyF/q2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dwUoKOhd; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F29FEC433B1; Wed, 13 Mar 2024 16:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710348420; bh=+jwr+E1e7wjKU4lCYHP4hUUWX5Os8W7OxhqpQQ3L72Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwUoKOhdXe4FseNs+S7XWJGKhWSMSKg7T/KSJliml6a0KSPPDHP7JLVnGGY+t18xG 1Fdb+vsEd5iGgmcVZrnwas/Zjjq/d3rvy0Nl1YhGDegsGFZC1lFOW9jfwyq+1gF/XO /S25fZwxkyHDfn8qKuz2y8bimUIJ5OGD5fv09tscft7nbTLnqVV7v2RQyQ/NMeZ0QF yiT4RT4B5mAnJIYEoB+BRiRNMgek46pO6JsFnFvB00nJDwpbsT1l39f4qLW/Lu+dLR tYEyGDz3oh0mwmd4EAoTyLAlw46AEJ4v7I+hlZaqF5ssJ+TDuz4aFkvoYjWtAjk8Ig EcqXaww2UUF7w== Date: Wed, 13 Mar 2024 16:46:56 +0000 From: Mark Brown To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Marek Vasut , Jagan Teki , Maxime Ripard , Robert Foss , Sam Ravnborg , Thomas Zimmermann Subject: Re: [PATCH 5.15 73/76] regmap: Add bulk read/write callbacks into regmap_config Message-ID: <8bcd85fb-401f-4a3b-b10e-633a0478c0da@sirena.org.uk> References: <20240313164223.615640-1-sashal@kernel.org> <20240313164223.615640-74-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3+1Eqv4y7vYH/W56" Content-Disposition: inline In-Reply-To: <20240313164223.615640-74-sashal@kernel.org> X-Cookie: It's later than you think. --3+1Eqv4y7vYH/W56 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 12:42:20PM -0400, Sasha Levin wrote: > From: Marek Vasut >=20 > [ Upstream commit d77e745613680c54708470402e2b623dcd769681 ] >=20 > Currently the regmap_config structure only allows the user to implement > single element register read/write using .reg_read/.reg_write callbacks. > The regmap_bus already implements bulk counterparts of both, and is being > misused as a workaround for the missing bulk read/write callbacks in > regmap_config by a couple of drivers. To stop this misuse, add the bulk > read/write callbacks to regmap_config and call them from the regmap core > code. This fairly clearly new functionality. --3+1Eqv4y7vYH/W56 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXx2H8ACgkQJNaLcl1U h9AqFQf/WwV/cfcvn0xEPiR1Iu4kGZrxV+FEqIJx2I/a9DFvGuJ4MZVtStbeJSE2 wbbtPFkwrF0CStlUJ6YduFszBdZKVWhYa9WX47VgNnZTuJYRV05P1aus5tdxpBWz yWr0wux8hXOcMppDU4j8IrqTAmC5viR8bE45PhoHPjBMgpDMmag5kDV8Vjz13wlj vQDuDIwunF38LGlWzkZHTZqBSNLmOcVmh/Odf2hEz2gOWlyK0vSS2U+HI+Xc95yP dpC386MsF1DYwGpJdwKKUK6OBFHvs7S9Ij/5/M4M4zpdPgCsrbEYkHaSTMzqYOq4 zKbh6AXrmFb4x52I16OI9saNlxCxqg== =EWp9 -----END PGP SIGNATURE----- --3+1Eqv4y7vYH/W56--