Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2712816pxf; Sun, 4 Apr 2021 11:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPvz2NE+wgEDGAuz+eyZEtoazjtJr1j7mWmaYpn/VJUWI2FkSK75L9GaJ2yjh6Rkqk/IOK X-Received: by 2002:a05:6e02:4b2:: with SMTP id e18mr2387192ils.251.1617560809423; Sun, 04 Apr 2021 11:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617560809; cv=none; d=google.com; s=arc-20160816; b=zuyEmQqsR0oDRZYjDcbi+w0WNmdBf9+apV6N6/chSZXbjZITQDtwzeVlrAjK1GKUFa KgyAjoUZaJGvLX7vdzirpe2rNK6KuCpAwfTFkWa2kfmDjNmWjhBKKKLWiZgoY7UDKkN+ mBWeqzNlFE7woRuA8CJAGCmVYCzxil57LRkDFhbYm+aQYm06yABegkW57zrUyZQwLAOb CBMRgzIkULBBw+5fbnyvyTnRGz2z1LOxBQBOIZeqnp7FtP2cwnzoFWrmbPRdoDW4kfcm QzSVn4tj6rzpH5ehR8Y68e9g9/KKV/lWU24GUF5xgW0APZ7AEeS5Gu/6+Mbx+UnAqwUE PAWw== 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=jsZ/njuq8kp4JM9pj4ee/u09Ro7+eTYvWk1lKkHgWuw=; b=hUOfMdBAH4tbCoZCIRBQ8VqWtFrPPOoA+3KI+riPzTEvW/Cp3jzEYDBVpUOH77+MqT oC9tmyJurXmISkd4iapn1fam9BZatvhtunFZh3gXv6kxPcqt5l0eUO0dFzD6vpGrRGf2 5aeLlzUA4GHwZ0MLxctXKaOsbR0G5SnXgUQO7EfTmOQH2KOjEDGkQnxknW2O4Asyr+gC WX7kaSqUm2tILoR/evLdeRIqdBeY/CKKPKektS7SLH3eJ4KgVXlJPChl1z/jAhqS6nkJ 1qGZ9rFVyZo3du9WDoXnAH0aF5LOIDO6buvr9X2XTufeJLANVjXfydfyZZf3gUX9FoNf NQlw== 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 c19si12353611iow.0.2021.04.04.11.26.36; Sun, 04 Apr 2021 11:26:49 -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 S231390AbhDDSZr (ORCPT + 99 others); Sun, 4 Apr 2021 14:25:47 -0400 Received: from hs01.dk-develop.de ([173.249.23.66]:36332 "EHLO hs01.dk-develop.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231380AbhDDSZq (ORCPT ); Sun, 4 Apr 2021 14:25:46 -0400 Date: Sun, 4 Apr 2021 20:25:39 +0200 From: Danilo Krummrich To: Andrew Lunn 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 On Fri, Apr 02, 2021 at 02:28:54PM +0200, Andrew Lunn wrote: > > > 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? > Hi Andrew, Yes, I'll get it ready once I got some spare time. > Does this device have an ID in register 2 and 3 in C22 space? > Currently, I don't have access to the datasheet and I don't remember. In a couple of days I should have access to the HW again and I will try. > Andrew Cheers, Danilo