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 X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AAEDC3A5A9 for ; Tue, 5 May 2020 00:55:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 10508206D7 for ; Tue, 5 May 2020 00:55:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Zua0yh1Y" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbgEEAzU (ORCPT ); Mon, 4 May 2020 20:55:20 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:41476 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbgEEAzT (ORCPT ); Mon, 4 May 2020 20:55:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ATaDU5Uh3wWYX3CbqGQu7PdKooMxCE1g0tP+0PVJxf0=; b=Zua0yh1YEBTJIH/JiKi/sPr3ZZ idmI8vu4/tECTebEWckIYSGutDHQF6FMpeKXxtcmi2f0luCHJuSTlcYdLw6j8dbI02fVymg11yb1l tx7Vbp6uJpAcpuiXKz0lMmmXu1JROjnhGN7rt8uSYOwEhy3sg19zBZsAs1Vh2dcjghbg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jVlrf-000sVW-QS; Tue, 05 May 2020 02:55:15 +0200 Date: Tue, 5 May 2020 02:55:15 +0200 From: Andrew Lunn To: Michael Walle Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Florian Fainelli , Heiner Kallweit , Russell King , "David S . Miller" , Vladimir Oltean , Antoine Tenart Subject: Re: [PATCH net-next v2 1/3] net: phy: add concept of shared storage for PHYs Message-ID: <20200505005515.GC208718@lunn.ch> References: <20200504213136.26458-1-michael@walle.cc> <20200504213136.26458-2-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200504213136.26458-2-michael@walle.cc> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 04, 2020 at 11:31:34PM +0200, Michael Walle wrote: > There are packages which contain multiple PHY devices, eg. a quad PHY > transceiver. Provide functions to allocate and free shared storage. > > Usually, a quad PHY contains global registers, which don't belong to any > PHY. Provide convenience functions to access these registers. > > Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn Andrew