Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1202517rwl; Fri, 7 Apr 2023 11:32:36 -0700 (PDT) X-Google-Smtp-Source: AKy350YOxOfcwZyKMguUWzXdULTk9oonZ3yIYcS6Y+MrxWQAyUjXTxjPRgo6hLsLyAN+ihs8aMMZ X-Received: by 2002:a17:906:3a45:b0:949:ab5c:f10c with SMTP id a5-20020a1709063a4500b00949ab5cf10cmr264371ejf.63.1680892355856; Fri, 07 Apr 2023 11:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680892355; cv=none; d=google.com; s=arc-20160816; b=eNjdAu7p/UCAV0sE4uOYmO36JMoB0EomdAHaVgtptek34i2erw0jh+zB1nX8tdmCAR KIFI6HvFAvm2P4s1sCtiNSH7VcAdpWgP4I6ZBdMf7T4YPqaxV2lsYAv28/tk6kNOkO0s WukUj9wnWui9RZR+GYs+TlN5IqsKeAg1AU5iH4OLao2FHpmTXfkZGMNcUL27qk+PfALM Onj0BT9tAUW5S//5/PtZj+1caqzeDcyPIBMeGdbMCMJbFAl1JmIj5G11rbWJNEF35lLW Z28AAaxdAR8m+FlP3eifo9lIKMdceYVPxKbEoyttz0ma1K/TrL5lrJwGsT9YtTbl3lvk 86HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=PZVMbP9nLs7GOUvqwRz6eN8kkU9NWQdHhleJHCy29Xk=; b=Qo7k1XmW63aWRpHvQZqfyXLJEL8ns9Fi1Uc2l4i/Uq5SzqzN1yTSjFUtIWE1jSDmn0 gQLajDhtie2MqLManCOTceWkVOgeMDJU4SLkVMVTYhUsDJF6u7rJob/+5PsMYkk1i6BO mqvtuSaYTVLe0UAtqvzD94rPMh+B/UASdKR5r86xK60cPkuJfYMsmaD+POdl2gWwLEoH 1JHJIuwnnDV5iCd3XsWEYuEaf/1ql8DaXJbeceiy3pSSDBpCekDQJBjr328rBBfPevXg L1Bppp6rLFmcsQ97RxH+Zl2Xxcu/Ttku6BkrVE9p9R1v3oltN3KumnjXShM0SOgw9z0R sTtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WZmHswgq; 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 ne27-20020a1709077b9b00b0093f7d33443fsi4178916ejc.349.2023.04.07.11.32.10; Fri, 07 Apr 2023 11:32:35 -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=WZmHswgq; 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 S229843AbjDGSOl (ORCPT + 99 others); Fri, 7 Apr 2023 14:14:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbjDGSOk (ORCPT ); Fri, 7 Apr 2023 14:14:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17B5420F; Fri, 7 Apr 2023 11:14:37 -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 4F46765055; Fri, 7 Apr 2023 18:14:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C03C0C4339C; Fri, 7 Apr 2023 18:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680891276; bh=MJFycUcWL2cO35uDIVWw8uNPJwtHVVwCZayep99bjJQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=WZmHswgqiuJ/KXzwr0H+OGUxdKlv6uJpxFsur3jHySumnOGmsMNk0vVGWZ//rIskU T0bG8DqfhEzAWE3YD8nhhErERz1xp7X0nZwvSl3o/i9tOa7pTtHzAzmYiE68i+0H6f UpbFKcC6pA0v2gB1BjtE3xziJQZoZqbc3Hflldgt2usehDyfy11Zfh8h5kNPFQJlre 6WCkTd3vvz2+3v0GqebcGMerF/0QfT3nJ2eXdAE/Fbjy4xRVuBCFV2S1NYy6szz+wO 4Koz0z4vKeP4E1NuPT4kHa7ZD8jKj09diMPpJ6fwtszDm9ku4109xMwX5JIjiI5MRK /k1y/BvW1hXYg== From: Mark Brown To: Greg Kroah-Hartman , "Rafael J . Wysocki" , Colin Foster , Lee Jones , Andrew Lunn , Vladimir Oltean , Maxime Chevallier Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com In-Reply-To: <20230407152604.105467-1-maxime.chevallier@bootlin.com> References: <20230407152604.105467-1-maxime.chevallier@bootlin.com> Subject: Re: [PATCH] regmap: allow upshifting register addresses before performing operations Message-Id: <168089127328.178922.2584057638774170261.b4-ty@kernel.org> Date: Fri, 07 Apr 2023 19:14:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-2eb1a 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 On Fri, 07 Apr 2023 17:26:04 +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. > > Such a case was encountered when network PHYs and PCS that usually sit > on a MDIO bus (16-bits register with a stride of 1) are integrated > directly as memory-mapped devices. Here, the same register layout > defined in 802.3 is used, but the register now have a larger stride. > > [...] Applied to broonie/regmap.git for-next Thanks! [1/1] regmap: allow upshifting register addresses before performing operations commit: 4a670ac3e75e517c96cbd01ef870dbd598c3ce71 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark