Thread (2 messages) 2 messages, 2 authors, 2025-08-20

Re: [PATCH] phy: sun4i-usb: drop num_phys assumption

From: Vinod Koul <vkoul@kernel.org>
Date: 2025-08-20 23:55:24
Also in: linux-phy, linux-sunxi

On Tue, 19 Aug 2025 01:15:22 +0100, Andre Przywara wrote:
So far we set a number of expected Allwinner USB PHY instances for any
given compatible string, and would fail if we do not find every PHY
described properly in the DT (missing reset/PMU/clocks).
This is somewhat redundant, as the DT only describes the resources for
the implemented PHYs, but goes in line with being strict about firmware
descriptions, and rather fixing things in the driver code, based on the
compatible string.
However this causes issues when we make a mistake, like we did recently
on the A523: there are actually three USB PHYs, not two, as we assumed.
Changing the number in the driver and the compatible string would cause
all kinds of compatibility issues, both with older and newer DTs.

[...]
Applied, thanks!

[1/1] phy: sun4i-usb: drop num_phys assumption
      commit: 75c21418beb92382dda164fdc2554610b49ed441

Best regards,
-- 
~Vinod


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help