Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753716AbdLSXNE (ORCPT ); Tue, 19 Dec 2017 18:13:04 -0500 Received: from mail-it0-f54.google.com ([209.85.214.54]:46953 "EHLO mail-it0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbdLSXNC (ORCPT ); Tue, 19 Dec 2017 18:13:02 -0500 X-Google-Smtp-Source: ACJfBot/ja8FzCOYBkKvIBiar0PIxB6vfTLdWQDabHItJ1u90r8Trax/atWRLGf5AEt7pj096B74DL+fXwYgBHpK6Gc= MIME-Version: 1.0 In-Reply-To: <20171219204614.GA24156@lunn.ch> References: <1513588684-15647-1-git-send-email-mw@semihalf.com> <20171219.134810.48027351795338458.davem@davemloft.net> <20171219204614.GA24156@lunn.ch> From: Marcin Wojtas Date: Wed, 20 Dec 2017 00:13:01 +0100 Message-ID: Subject: Re: [net-next: PATCH 0/8] Armada 7k/8k PP2 ACPI support To: Andrew Lunn Cc: David Miller , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev , Russell King - ARM Linux , "Rafael J. Wysocki" , Florian Fainelli , =?UTF-8?Q?Antoine_T=C3=A9nart?= , Thomas Petazzoni , =?UTF-8?Q?Gregory_Cl=C3=A9ment?= , Ezequiel Garcia , nadavh@marvell.com, Neta Zur Hershkovits , Ard Biesheuvel , Grzegorz Jaszczyk , Tomasz Nowicki Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 32 Hi Andrew, 2017-12-19 21:46 GMT+01:00 Andrew Lunn : >> Of course! v2 will not have such problem, I've been waiting however >> for the feedback about the ACPI representation. Anyway, I'm strongly >> leaning towards using _ADR/_CID objects in PHY's nodes for ACPI, so >> maybe I'll just issue the v2 in order to push the discussion a bit >> forward. > > Hi Marcin > > I know ~0 about ACPI. But what seems to be missing for me is > documentation. You are defining a ABI here, which all future MDIO > busses, PHYs, and to some extent Ethernet switches need to follow. So > i would expect this to be documented somewhere. As the code derives straight from of_mdio.c, there is absolutely no deviation from Documentation/devicetree/bindings/net/mdio.txt. > > How does documentation work in the ACPI world? > ACPI has its own specification, the newest one is 6.2 http://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf It is pretty likely, that if we establish a generic solution for the MDIO bus, a short section about it may probably require adding to above - for now I see none. Best regards, Marcin