From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5FA23C7619A for ; Thu, 30 Mar 2023 20:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229672AbjC3U7T (ORCPT ); Thu, 30 Mar 2023 16:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjC3U7R (ORCPT ); Thu, 30 Mar 2023 16:59:17 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1199CCDDC; Thu, 30 Mar 2023 13:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=3vbaf0keAp91AneRI9+v6TuM7naESDJigOzNez1BLh4=; b=12sbs9rCBmQ6qze6isqfIqYC9m wfjNBo7Obt9rvgzJFqzXvg1WNQCmA0SlpkgPFd95+8SAl4Y+WvEiYg+NL1ezxc0XTzEqM4w/yf414 /A2XppiZsw9hChxsy+jNVa7tqPepWX61IW8ixRJj27qzMfEWM2JJW0yhS8v9OeDsAAgc=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1phzMT-008vvj-SI; Thu, 30 Mar 2023 22:59:09 +0200 Date: Thu, 30 Mar 2023 22:59:09 +0200 From: Andrew Lunn To: Daniel Golle Cc: netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, =?utf-8?B?QXLEsW7DpyDDnG5hbA==?= , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Sean Wang , Landen Chao , DENG Qingfang , Philipp Zabel , Sam Shih , Lorenzo Bianconi , John Crispin , Felix Fietkau Subject: Re: [PATCH net-next 02/15] net: dsa: mt7530: refactor SGMII PCS creation Message-ID: <02864319-bb70-4b5a-9651-4e012cd53137@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 30, 2023 at 04:19:41PM +0100, Daniel Golle wrote: > Instead of macro templates use a dedidated function and allocated > regmap_config when creating the regmaps for the pcs-mtk-lynxi > instances. > This is in preparation to switching to use unlocked regmap accessors > and have regmap's locking API handle locking for us. > > Signed-off-by: Daniel Golle Reviewed-by: Andrew Lunn Andrew