[PATCH 1/2] phy: Extend generic_setup_phy() with PHY mode and submode

Marek Vasut marek.vasut at mailbox.org
Mon Jun 17 19:12:43 CEST 2024


On 6/17/24 9:07 AM, Caleb Connolly wrote:
> 
> 
> On 16/06/2024 17:04, Marek Vasut wrote:
>> Extend generic_setup_phy() parameter list with PHY mode and submode and
>> call generic_phy_set_mode() in generic_setup_phy(), so the generic PHY
>> setup function can configure the PHY into correct mode before powering
>> the PHY up.
>>
>> Update all call sites of generic_setup_phy() as well, all of which are
>> USB host related, except for DM test which now behaves as a USB host
>> test.
>>
>> Note that if the PHY driver does not implement the .set_mode callback,
>> generic_phy_set_mode() call returns 0 and does not error out, so this
>> should not break any existing systems.
>>
>> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> 
> Acked-by: Caleb Connolly <caleb.connolly at linaro.org> # ehci-msm

Thanks. There will be a V2 tomorrow-ish with fix for Jonas.


More information about the U-Boot mailing list