Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1858083ybk; Mon, 11 May 2020 06:07:20 -0700 (PDT) X-Google-Smtp-Source: APiQypLOgPOGWutdvxzTme/YQwrunx9L7clKqjoM7rlwv8dPdS0Nj9OKvpCXhE81q8kiWiF+XaMf X-Received: by 2002:a50:e3cb:: with SMTP id c11mr13676474edm.105.1589202440284; Mon, 11 May 2020 06:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589202440; cv=none; d=google.com; s=arc-20160816; b=kGNGb0IJ16xqDuHoBcAqzGbGb2bM0EVmKSSgSJji+S3+z6O5GA9MRZAdfiQZgIKgRA xwY8eJobiBsueGUO5SCdoIcamnF+CS9cQQ8/jXLC2BBe1jbVP1pmSyHNE3CpwOjFgG3c 6w74355r3FE42y/Ilixk76NOJsEOAhFej3s8uocEVUiMywd+uYci+Gr1FNuzhubNATI8 G9KD+9kYkT/G1f6jXxB1wG7RaBH0x4g1wN+WYsh3S4yPePowDb20k1/s2S0P0YrOtaIm R4X8ZUj6+3BUJHBd2efg01jp8KVKUJI8Tyn02JhHo0Ol7HMHidapt/L8sOFfvf1co8v4 2XtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/BkbCLfXmJa4Mhxj45taHyNeShKlZZdwNNPE+B2YLak=; b=dCYhXID3qekWFXV03GdJPUfNCHAeCDVGSsYbEG+Z7yohvxPNx4zFLNZ2a8UVEhNydK RJ34CgiqpV+tIN2VgWfd9D4iaxcCJ73ZFrm8zbFAu9BCYorhYz2GUHI8wm8nXsOkC6yW aQc2EJBpeo58S4nJhIDMrZa2+rSkOZkWHB9fytN4Q+OJvPs2oUcIGF8f0SW1Ool/KZxB IVYyD/hcvt9cJojBlW1GE7Mg5+yXg8ENCzMlTco7r7DVtV6XCooFFEF1jgca3aJ82Hqt sD+7Vt0gQLU7WE0yeBu0lEwFrnYA8b2DkX8R3I5nukFg/1dnPgQx2ZeGtXSOBWkDrg09 /OAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=ShmrpuzU; 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 c13si6352460edq.97.2020.05.11.06.06.52; Mon, 11 May 2020 06:07:20 -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; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=ShmrpuzU; 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 S1730115AbgEKNFF (ORCPT + 99 others); Mon, 11 May 2020 09:05:05 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:53462 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728000AbgEKNFE (ORCPT ); Mon, 11 May 2020 09:05:04 -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=/BkbCLfXmJa4Mhxj45taHyNeShKlZZdwNNPE+B2YLak=; b=ShmrpuzUMEGIiPPOX3SE4xQS08 NMPGBuBtngosZ4Spk7LCNJD9TOGu6WR/nWUCpW2MTE6f+5U2k6ZZNn9mXi92h9rWSIY2W1miaiANn e6uclrhYDObQLK5sdohb+liT1qOMIa2x+TdzrHiM9k18mYBWkrwK59kXnngbZHh0u57g=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jY877-001qyY-9X; Mon, 11 May 2020 15:04:57 +0200 Date: Mon, 11 May 2020 15:04:57 +0200 From: Andrew Lunn To: Calvin Johnson Cc: Jeremy Linton , Andy Shevchenko , "Rafael J . Wysocki" , Russell King - ARM Linux admin , linux.cj@gmail.com, Florian Fainelli , Cristi Sovaiala , Florin Laurentiu Chiculita , Ioana Ciornei , Madalin Bucur , Greg Kroah-Hartman , Heikki Krogerus , Varun Sethi , "Rajesh V . Bikkina" , ACPI Devel Maling List , Linux Kernel Mailing List , Diana Madalina Craciun , netdev , Marcin Wojtas , Laurentiu Tudor , Makarand Pawagi , linux-arm Mailing List , Pankaj Bansal , "David S. Miller" , Heiner Kallweit Subject: Re: [net-next PATCH v3 4/5] net: phy: Introduce fwnode_get_phy_id() Message-ID: <20200511130457.GC409897@lunn.ch> References: <67e263cf-5cd7-98d1-56ff-ebd9ac2265b6@arm.com> <83ab4ca4-9c34-4cdd-4413-3b4cdf96727d@arm.com> <20200508160755.GB10296@lsv03152.swis.in-blr01.nxp.com> <20200508181301.GF298574@lunn.ch> <1e33605e-42fd-baf8-7584-e8fcd5ca6fd3@arm.com> <20200508202722.GI298574@lunn.ch> <97a9e145-bbaa-efb8-6215-dc3109ee7290@arm.com> <20200508234257.GA338317@lunn.ch> <20200511080040.GC12725@lsv03152.swis.in-blr01.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200511080040.GC12725@lsv03152.swis.in-blr01.nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > NXP's LX2160ARDB platform currently has the following MDIO-PHY connection. > > MDIO-1 ==> one 40G PHY, two 1G PHYs(C45), two 10G PHYs(C22) > MDIO-2 ==> one 25G PHY It has been suggested that ACPI only support a one to one mapping. Each MAC has one MDIO bus, with one PHY on it. KISS. This clearly does not work for your hardware. So not only do we need to solve how PHY properties are described, we also need an equivalent of phy-handle, so a MAC can indicate which PHY it is connected to. So in effect, you seem to be heading towards a pretty full reproduction of the DT binding. Before you go too much further and waste too much of your time, you might want confirmation from the ACPI people this is not too advanced for what ACPI can do and they tell you to forget ACPI for this hardware and stick with DT. Andrew