Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1070302rwl; Fri, 7 Apr 2023 09:27:00 -0700 (PDT) X-Google-Smtp-Source: AKy350b5QwLhyJJYZIB9/+Z7U5qO7G84euAp3tufh0VTJ6c8NMNdkYaBYSQTY0sZrU0k7U7xVWgn X-Received: by 2002:a17:90b:3a8b:b0:236:73d5:82cf with SMTP id om11-20020a17090b3a8b00b0023673d582cfmr3019344pjb.9.1680884820555; Fri, 07 Apr 2023 09:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680884820; cv=none; d=google.com; s=arc-20160816; b=sECGMVTraq3zLupF9zoTIntV3bwSxzXcyMIutiQ24RTDKxNfdmtQkQ0YAEe5YiDsfv gadRO5r9Ri9piPFk2fShC77agsVQXhKwnGdDecbwTLUyP3r1+ZAvnFsIm6aaH7ifN9WZ S+ewefPGdXQJ2UqWx94DH4YEncicwbMqiKVWd2gsO94JpjmuOmzQ2aC1ysxLNniEQNX3 m2aK+lL9PHtfsel3STj8P6TiuJzjCQWCmWq2bMNrWXh4MQO872oyfs4EWWdo4q4LWEML Mtp/60IblxffdQM9A5is7DjwK3MBVm2c9RLfKOcDqZ4a3kNfz6rtcuR2P/nkbyCQPLrB ToCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=31YPyfeUF3tjc+oEPEaQTSlMUGS+j/TI5LwT22a9auY=; b=PCj0FDJOEgcT1npodLrBhStUfzhElEhvvGUYkZ21ohHfUr2T4cWrft373bkG4EVONY qnLAlG4qGvZzzcjeI8imUsGfNocgL/Qs1Lkyq+x+BWV3EqPpGXdvpOJPg8+yJMvHJKe5 5X7ieSqsvFy4PMevxaAtGPJDQ23/nlNrg+lfz99jOKSvEYp76+k0kl6yE9bGWizb7jyQ 6j7/z1EwL/cePJ35KD42dDHcvP+l245ktvKEVwx+QngHn9hQVtrQzCy2pT1J1Q6ZkEb2 H1EZ9jF9D6NGZLAdARHjSEjuAeczMDCBa8qv93+cV093ZfBeU03qEWPkHUOU/rJS9xUn IFKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTNMZtzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a17090ad34b00b0023f89642a5asi6301070pjx.180.2023.04.07.09.26.45; Fri, 07 Apr 2023 09:27:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RTNMZtzb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbjDGQ0K (ORCPT + 99 others); Fri, 7 Apr 2023 12:26:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbjDGQ0H (ORCPT ); Fri, 7 Apr 2023 12:26:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD793E42; Fri, 7 Apr 2023 09:26:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 50A3061046; Fri, 7 Apr 2023 16:26:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16475C433EF; Fri, 7 Apr 2023 16:26:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680884761; bh=31YPyfeUF3tjc+oEPEaQTSlMUGS+j/TI5LwT22a9auY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RTNMZtzbtMZBDgtMlAktX/dNlgYm4NQnRbQ/JrOhACoJQ0HZeuXNW2ESg17l21vIC MYCgDaq12JAYoGnhW32j2ATMSa6grCdEf/OUmOlIuGL/cltNOv4WYERI8nuLHOsWZu +5PHRw8Rs++YAGsTcbO/xTr9BpKdrJnYOiJq+k7DHmWxj7lDKjALX2qnNJVcBacOtw p5J4M2itHpegXpSGZlKpKSTZ2CzcGqUrdkabELEMbSjtyI8ZQAVtHFumZiAW+JTReT E1Fuk+RWMlC2ucDcX8qN8dXaoKqNzzmGkCm64RhrmBlxTXgUd7cPkAf9jtjtjjSdLz 4XrguHQVrJtrg== Date: Fri, 7 Apr 2023 17:25:58 +0100 From: Mark Brown To: Maxime Chevallier Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Colin Foster , Lee Jones , Andrew Lunn , Vladimir Oltean , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com Subject: Re: [PATCH] regmap: allow upshifting register addresses before performing operations Message-ID: References: <20230407152604.105467-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7Z7rWWvINZxig8W7" Content-Disposition: inline In-Reply-To: <20230407152604.105467-1-maxime.chevallier@bootlin.com> X-Cookie: Single tasking: Just Say No. X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7Z7rWWvINZxig8W7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 07, 2023 at 05:26:04PM +0200, Maxime Chevallier wrote: > Similar to the existing reg_downshift mechanism, that is used to > translate register addresses on busses that have a smaller address > stride, it's also possible to want to upshift register addresses. There were some KUnit tests added for regmap, could you add coverage for this there please? --7Z7rWWvINZxig8W7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmQwRBUACgkQJNaLcl1U h9A8Rwf8CMPWvJbwg3+OFB0SJa7Dbf74xYKn5tR/Gyso1BhQqEGG2kOqAE7/NqX8 Pp++/7F2pf2XMLF5eLYhb6Mrnvj2w3ZHPbtV9LY4KIFBG7g+5uAcqUKFlkWtMCsP 9vkDTrkubilu6Vkmqn7q1Z5M/3VtQOMeDaY6ZxUAE+Jp0/9w0SzVnx9XNUvXTnif t8I0Qmq1JXWrxXNjhWXdApfNcEioPQ1FsPVkFOqVd56j9VBhGLOAOfXVLgNZgYFn HUI61vVAYaHaXDhr+SJgOeZWfJMJ0BQsBTI/p0+InQWjixalaPMs6LHU9qNFyHur a8rC6a9FFb5O1WQqG87rcSZfgvS88A== =4r79 -----END PGP SIGNATURE----- --7Z7rWWvINZxig8W7--