From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Tue, 26 Apr 2016 20:23:35 +0200 Subject: [PATCH 1/6] bus: Add shared MDIO bus framework In-Reply-To: <5167289.0a4LBoWhyX@wuerfel> References: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> <20160426121335.GC11668@lunn.ch> <571FA3F6.7000903@gmail.com> <5167289.0a4LBoWhyX@wuerfel> Message-ID: <20160426182335.GE30107@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > A more complex problem would be having a PHY driver for a device > that can be either an ethernet phy or some other phy. I doubt that ever happens. You can have up to 32 different devices on an MDIO bus. Since an Ethernet PHY and a "some other sort of PHY" are completely different things, why would a hardware engineer place them on the same address? It is like saying your ATA controller and VGA controller share the same slot on the PCI bus... Andrew From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [PATCH 1/6] bus: Add shared MDIO bus framework Date: Tue, 26 Apr 2016 20:23:35 +0200 Message-ID: <20160426182335.GE30107@lunn.ch> References: <1461230323-27891-1-git-send-email-pramod.kumar@broadcom.com> <20160426121335.GC11668@lunn.ch> <571FA3F6.7000903@gmail.com> <5167289.0a4LBoWhyX@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <5167289.0a4LBoWhyX@wuerfel> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: Florian Fainelli , Pramod Kumar , Rob Herring , Catalin Marinas , Will Deacon , Masahiro Yamada , Chen-Yu Tsai , Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Suzuki K Poulose , netdev@vger.kernel.org, Punit Agrawal , linux-kernel@vger.kernel.org, BCM Kernel Feedback , linux-arm-kernel@lists.infradead.org, Anup Patel , Kishon Vijay Abraham I List-Id: devicetree@vger.kernel.org > A more complex problem would be having a PHY driver for a device > that can be either an ethernet phy or some other phy. I doubt that ever happens. You can have up to 32 different devices on an MDIO bus. Since an Ethernet PHY and a "some other sort of PHY" are completely different things, why would a hardware engineer place them on the same address? It is like saying your ATA controller and VGA controller share the same slot on the PCI bus... Andrew