Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1247145pxf; Fri, 2 Apr 2021 05:30:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz4jSp4laP13I1Zva9Bs/m3zETWuZRmLbFtAzMkgBPSn4zbJcKedFG9Z/gqSpsn7f+k1rY X-Received: by 2002:a17:906:2818:: with SMTP id r24mr13795540ejc.502.1617366645681; Fri, 02 Apr 2021 05:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617366645; cv=none; d=google.com; s=arc-20160816; b=heZdkeozVzR3GY5b+0vIGiDbwIJRfnAkDe9VXGbtvnXnIAI0mGZcZDcYdeC/ngGLrR dYYL/izdOnshwmrWipAFLPUq1MTh/z0VAm9WDQwRSS+NRJiTo6/MtC06uoc1tL++AjDX PSW6+icY76rNfvgeNeduhGVIjPDRDHz6RwZf+FqznXnwpt8OQ3XlH9iM6dJh42GC380l nRJx0qd+Zq7ub2z9weH5YWzpM5apYdVQoESA+6G2LJAQ//T3HqpFG9o89SUu7Ty3uvqo Wqgmr3b5kgNKiMhKCvOZH6F9oarng2mxrOiOJWmfHKxdDChdDAr9qDpPJjIAu+t+O++Z oezA== 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; bh=H3v6eS35eb3H3jt3nXBdLlItzlhkSDD6VzoxQDCLwlw=; b=DyLCLQ4J81i4OsrymRXhArWAoclCxtVBE8W9+vyOf5c9aUtlwSY2ktVylCMH3wuHHW E692Zg54Wbn2/8jxo28EF2TTGzjJYdUCEh+zL6LTGin4IlQqCxb4K2st09U6iYRjOc3e BAkBoVoqvMXLgTjioQGNCxdKUa6K2avNARjI6+EduqsOviatwrfLbLN+8li2u3w/6qdM TrXk6I4roOCJ8Ly0yFz4iRgFfRJyOV4ZwvwTYYiEti32hjob7Vjas6zafFNC/QV4sucE 3Ec0OXor9o0UBNRR01HPaf5K/plYop1xW0Xu1bVVu+5zrStsp6lg7IZIL1I4rL1zmxav s06g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n15si6219577edv.534.2021.04.02.05.30.22; Fri, 02 Apr 2021 05:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235392AbhDBM3M (ORCPT + 99 others); Fri, 2 Apr 2021 08:29:12 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:60124 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235373AbhDBM3J (ORCPT ); Fri, 2 Apr 2021 08:29:09 -0400 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1lSIv0-00EUqF-Gy; Fri, 02 Apr 2021 14:28:54 +0200 Date: Fri, 2 Apr 2021 14:28:54 +0200 From: Andrew Lunn To: Danilo Krummrich Cc: Russell King - ARM Linux admin , davem@davemloft.net, hkallweit1@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, jeremy.linton@arm.com Subject: Re: [PATCH 2/2] net: mdio: support c45 peripherals on c22 busses Message-ID: References: <20210331141755.126178-1-danilokrummrich@dk-develop.de> <20210331141755.126178-3-danilokrummrich@dk-develop.de> <6f1dfc28368d098ace9564e53ed92041@dk-develop.de> <20210331183524.GV1463@shell.armlinux.org.uk> <2f0ea3c3076466e197ca2977753b07f3@dk-develop.de> <20210401084857.GW1463@shell.armlinux.org.uk> 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 > > Do you actually have a requirement for this? > > > Yes, the Marvell 88Q2112 1000Base-T1 PHY. But actually, I just recognize that it > should be possible to just register it with the compatible string > "ethernet-phy-ieee802.3-c22" instead of "ethernet-phy-ieee802.3-c45", this > should result in probing it as c22 PHY and doing indirect accesses through > phy_*_mmd(). Hi Danilo Do you plan to submit a driver for this? Does this device have an ID in register 2 and 3 in C22 space? Andrew