Re: [PATCH phy-next 18/22] pinctrl: tegra-xusb: include PHY provider header
From: Linus Walleij
Date: Thu Mar 05 2026 - 07:44:08 EST
On Wed, Mar 4, 2026 at 7:00 PM Vladimir Oltean <vladimir.oltean@xxxxxxx> wrote:
> The tegra-xusb pinctrl driver is also a PHY provider (calls
> devm_phy_create() for PCIe and SATA). However, according to Vinod Koul,
> having PHY provider drivers outside of drivers/phy/ is discouraged,
> although it would be difficult for me to address a proper movement here.
>
> Include the private provider API header from drivers/phy/, but leave a
> FIXME in place. It will have to be moved, eventually.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Fair enough, is this a regression so I should merge it for fixes
or just a nonurgent fix that I can apply for next?
Long term a custom device can be created from the pin
control driver so that the Linux device model can be
used to move the driver over to phy.
Yours,
Linus Walleij