Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp616966lqp; Thu, 21 Mar 2024 10:17:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX56kXmXOq1xoeLQCP5uM/foSfEJ6UfXNez0vahEngDsr2f5c8k2YLm+VwQHVylDPUTIBzeYTKX8t6KYGhxK5azAexHqtwcsTwrUYlUJw== X-Google-Smtp-Source: AGHT+IFR75u36+mxPwcpG//9+5kW6A5KAP2cpe/VitJGd3ZM2T2MyX/LYO5J2qKB0mbogniE82xO X-Received: by 2002:a0c:d78e:0:b0:696:1be4:2861 with SMTP id z14-20020a0cd78e000000b006961be42861mr12161590qvi.26.1711041477270; Thu, 21 Mar 2024 10:17:57 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id iu8-20020ad45cc8000000b0069167c45f97si200104qvb.348.2024.03.21.10.17.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 10:17:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110478-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=K8o0ZpY1; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-110478-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110478-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0326A1C2200E for ; Thu, 21 Mar 2024 17:17:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9519C79C3; Thu, 21 Mar 2024 17:17:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K8o0ZpY1" 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 9EF3F224D7; Thu, 21 Mar 2024 17:17:47 +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=1711041467; cv=none; b=c0/vjp0cWGRcVQo0iOfkPLyai9/yyK3a18C2pVU2JWLGtlw0UGjQg59vEDeiKz+J+0qj1eFkAGWnXd5VbWDGUyCwZ+nYBLVY2XOZzRMDu8IgsLs3AJXsBtJJfyiEJPPxAA/htICo1jAw8bTH3rQyld/82rRZgIprIGWsQ28s/uY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711041467; c=relaxed/simple; bh=1L/duXBiIPiVo7GCjSeUY9hylRmojjGd3gub4/7cGB4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fMMXngLr3L9tM/Xg4JEOyxclFoEzQxcqRXi/TBOQKZnG+VX+7MFFyfIyDJGX0b5nbu0jS/bMUfau/mv127lWjhpTPDKpidUb+I9DHlPtYxHX5634rVDCh04kEI0mIiTX9AQ6QkOGZfU8dI4Nln32TpBBEQlk7AMnvbDAEx46WtM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K8o0ZpY1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9759FC433F1; Thu, 21 Mar 2024 17:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711041467; bh=1L/duXBiIPiVo7GCjSeUY9hylRmojjGd3gub4/7cGB4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K8o0ZpY1mORa3rA1SZPj71EfUvQ/wRgEAFvOc9SnBV5ozsrvIXEIIeV3ehfSupap5 JndNoTEicC610bIW+GeQqg1F2cP7beIlC9E1MCVwYXPpGMdfzS3NYpmu8PmAbl9QRN 1guiY6dxqSX+3dOopVLaliM8Qm2ggtJ8gJjoTtG4TTB9PNf0iDfqZgOzGA98I9P3F7 RNXPSaIRBNIpSdpvlMcTZgYqJtZ1VZSdkoswogKQf0vmtDOlbgjaBobCRWssKkC5NM wtC/U2MFabtmplYAtBCCxdQ/qq/t/W8IXXiTLrfow3zjTwSm0noSgjJk4Lfy7XQ4dk IMTxavIkasHMg== Date: Thu, 21 Mar 2024 17:17:40 +0000 From: Mark Brown To: Karel Balej Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Liam Girdwood , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Duje =?utf-8?Q?Mihanovi=C4=87?= , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Subject: Re: [RFC PATCH v4 2/5] mfd: add driver for Marvell 88PM886 PMIC Message-ID: <45079e37-dde9-4310-a112-7af49f35ac77@sirena.org.uk> References: <20240311160110.32185-1-karelb@gimli.ms.mff.cuni.cz> <20240311160110.32185-3-karelb@gimli.ms.mff.cuni.cz> <20240321154211.GA13211@google.com> <20240321162045.GC13211@google.com> <879296b4-5186-4170-af3f-971787d28514@sirena.org.uk> 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="oJHv45Mb4kHzpP0z" Content-Disposition: inline In-Reply-To: X-Cookie: MIT: --oJHv45Mb4kHzpP0z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 21, 2024 at 06:08:16PM +0100, Karel Balej wrote: > Mark Brown, 2024-03-21T16:58:44+00:00: > > > > > > > +static const struct regmap_config pm886_i2c_regmap = { > > > > > > > + .reg_bits = 8, > > > > > > > + .val_bits = 8, > > > > > > > + .max_register = PM886_REGMAP_CONF_MAX_REG, > > > > > > > +}; .. > > You shouldn't be creating two regmaps for the same set of registers, > > that just opens the potential for confusion. > Just the regmap config is the same. Otherwise, each regmap lives at a > different I2C address. Do they both genuinely have the same maximum register? --oJHv45Mb4kHzpP0z Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmX8a7QACgkQJNaLcl1U h9AzgQf/ZFwxdRh8PV6KEsERNGwwS8v1mrS7lrZyYJ3WLjvxLW4IGIhGJlvYT0QK 6qY1L7OPpALhBqB9PJOMmzj25gYUrH0G7Xm/mgNLHGUfcziiy+aYFK+qMJz+WhmA 4jJZonmfKnPo14Q3P0BTRbQ31Sea749XWHsBX6Lj35znOawhFuAveCYPFnmkXV8z IGGDK1JzLfPpzqIAt4sQSAK4IxcVZlhW431iWlsOjT6fGjUoCYJ024vfjt/Qe5a9 LV21+ek3qXEgkiHcJN4J4hVDwm2yQ/+AbTPPjwu1zWmSDWGu9GURK3MJaJYw4xQ0 8xeNT4PV3q7NHyFblyIuRyKnCJRIXg== =XIFj -----END PGP SIGNATURE----- --oJHv45Mb4kHzpP0z--