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 63766C433F5 for ; Sat, 19 Mar 2022 00:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241641AbiCSARq (ORCPT ); Fri, 18 Mar 2022 20:17:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbiCSARp (ORCPT ); Fri, 18 Mar 2022 20:17:45 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50985B6E7F; Fri, 18 Mar 2022 17:16:25 -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=3EUAArsXr+rhfXgx3ggs3vJLaIOQendkgvJ/9e1VIaI=; b=mNybOq2gXPqacwTUQ6iKj7D7Fw 9ATeinKV2VgWA3KubS09gdeVfvdp5VPvswT5slgCfAueCvNjXUoRrL26gqC+Z7CBT5gm4+BA+Zrcj MBfINjG4Lsmpvh5EAP8X2DaEOnS9UpEZcABoS+sX2U35r78bXI4bXmYlt48V0AyHbZNQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nVMlX-00Bdq9-Ma; Sat, 19 Mar 2022 01:16:19 +0100 Date: Sat, 19 Mar 2022 01:16:19 +0100 From: Andrew Lunn To: Michael Walle Cc: "David S . Miller" , Jakub Kicinski , Rob Herring , Krzysztof Kozlowski , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Horatiu Vultur Subject: Re: [PATCH net-next v3 3/3] net: mdio: mscc-miim: add lan966x internal phy reset support Message-ID: References: <20220318201324.1647416-1-michael@walle.cc> <20220318201324.1647416-4-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220318201324.1647416-4-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 09:13:24PM +0100, Michael Walle wrote: > The LAN966x has two internal PHYs which are in reset by default. The > driver already supported the internal PHYs of the SparX-5. Now add > support for the LAN966x, too. Add a new compatible to distinguish them. > > The LAN966x has additional control bits in this register, thus convert > the regmap_write() to regmap_update_bits() to leave the remaining bits > untouched. This doesn't change anything for the SparX-5 SoC, because > there, the register consists only of reset bits. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew