[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200203011528.GA30319@lunn.ch>
Date: Mon, 3 Feb 2020 02:15:28 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Jeremy Linton <jeremy.linton@....com>
Cc: netdev@...r.kernel.org, opendmb@...il.com, f.fainelli@...il.com,
davem@...emloft.net, bcm-kernel-feedback-list@...adcom.com,
linux-kernel@...r.kernel.org, wahrenst@....net,
hkallweit1@...il.com
Subject: Re: [PATCH 3/6] net: bcmgenet: enable automatic phy discovery
> I though I should clarify the direct question here about ACPI. ACPI does
> have the ability to do what you describe, but it a more rigorous way. If you
> look at the ACPI GenericSerialBus abstraction you will see how ACPI would
> likely handle this situation. I've been considering making a similar comment
> in that large fwnode patch set posted the other day.
I know ~0 about ACPI. But it does not seem unreasonable to describe an
MDIO bus in the same way as an i2c bus, or an spi bus. Each can have
devices on it, at specific addresses. Each needs common properties
like interrupts, and each needs bus specific properties like SPI
polarity. And you need pointers to these devices, so that other
subsystems can use them.
So maybe the correct way to describe this is to use ACPI
GenericSerialBus?
What the kernel community really seems to miss is a "Rob Herring" for
ACPI.
Andrew
Powered by blists - more mailing lists