Re: FDT PHY API

Jason Thorpe <[email protected]> Tue, 7 Oct 2025 10:21:06 -0700
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
> On Oct 7, 2025, at 7:38 AM, Robert Swindells <[email protected]> wrote:
> 
> 
> I am working on a driver for one of the PCIe PHYs in the RK3588.
> 
> The driver needs to be able to find out the number of lanes to use from
> the device tree node of the PCIe host controller that is connected to
> the PHY.
> 
> Propose to modify the signature of the acquire() method of the
> fdtbus_phy_controller struct to also pass in the phandle of the
> device that wants to use the PHY.

Do the bindings specify the properties that the PHY driver can query of the PHY-user to get this information?

-- thorpej