mbox series

[v4,0/3] phy: sun4i-usb: add support for the USB PHY on F1C100s SoC

Message ID 20221116151603.819533-1-andre.przywara@arm.com
Headers show
Series phy: sun4i-usb: add support for the USB PHY on F1C100s SoC | expand

Message

Andre Przywara Nov. 16, 2022, 3:16 p.m. UTC
This is a spin-off of v3 of the suniv F1C100s USB support series[1], just
carrying the USB PHY bits. The H616 USB PHY support is already in
linux-phy.git/next, so this is rebased on top of that, to avoid
conflicts.
The actual binding and driver change in the first two patches is
straightforward. Since it came up in reviews, I reworked the quirk
handling in the phy-sun4i-usb.c driver, to become more maintainable and
readable, in patch 3/3. For a changelog, see below.

Cheers,
Andre

[1] https://lore.kernel.org/linux-arm-kernel/20221106154826.6687-1-andre.przywara@arm.com/

Changelog v3 ... v4:
- split off from rest of suniv F1C100s USB series
- rebase on top of H616 USB PHY patches
- drop phy2_is_hsic in favour of reusing existing hsic_index member
- add tags

Changelog v2 ... v3:
- remove redundant "Device Tree Bindings" suffix in DT binding doc title
- add BSD license to binding doc file (as per checkpatch)
- use existing PHY sun4i_a10_phy type instead of inventing new one
- add patch to clean up sunxi USB PHY driver

Changelog v1 ... v2:
- USB PHY binding: clarify the relation with other phy-sun4i-usb bindings



Andre Przywara (1):
  phy: sun4i-usb: Replace types with explicit quirk flags

Icenowy Zheng (2):
  dt-bindings: phy: add binding document for Allwinner F1C100s USB PHY
  phy: sun4i-usb: add support for the USB PHY on F1C100s SoC

 .../phy/allwinner,suniv-f1c100s-usb-phy.yaml  | 83 +++++++++++++++++++
 drivers/phy/allwinner/phy-sun4i-usb.c         | 59 ++++++-------
 2 files changed, 107 insertions(+), 35 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml

Comments

Andre Przywara Nov. 21, 2022, 9:33 a.m. UTC | #1
On Wed, 16 Nov 2022 15:16:00 +0000
Andre Przywara <andre.przywara@arm.com> wrote:

Hi Vinod, Kishon,

is there any chance you could take at least patch 1/3 and 2/3 through your
tree? As suggested, I split this off the original series, which now
somewhat depends on this one - at least dtbs_check and functionality wise,
both series build cleanly in isolation.

Many thanks,
Andre

> This is a spin-off of v3 of the suniv F1C100s USB support series[1], just
> carrying the USB PHY bits. The H616 USB PHY support is already in
> linux-phy.git/next, so this is rebased on top of that, to avoid
> conflicts.
> The actual binding and driver change in the first two patches is
> straightforward. Since it came up in reviews, I reworked the quirk
> handling in the phy-sun4i-usb.c driver, to become more maintainable and
> readable, in patch 3/3. For a changelog, see below.
> 
> Cheers,
> Andre
> 
> [1] https://lore.kernel.org/linux-arm-kernel/20221106154826.6687-1-andre.przywara@arm.com/
> 
> Changelog v3 ... v4:
> - split off from rest of suniv F1C100s USB series
> - rebase on top of H616 USB PHY patches
> - drop phy2_is_hsic in favour of reusing existing hsic_index member
> - add tags
> 
> Changelog v2 ... v3:
> - remove redundant "Device Tree Bindings" suffix in DT binding doc title
> - add BSD license to binding doc file (as per checkpatch)
> - use existing PHY sun4i_a10_phy type instead of inventing new one
> - add patch to clean up sunxi USB PHY driver
> 
> Changelog v1 ... v2:
> - USB PHY binding: clarify the relation with other phy-sun4i-usb bindings
> 
> 
> 
> Andre Przywara (1):
>   phy: sun4i-usb: Replace types with explicit quirk flags
> 
> Icenowy Zheng (2):
>   dt-bindings: phy: add binding document for Allwinner F1C100s USB PHY
>   phy: sun4i-usb: add support for the USB PHY on F1C100s SoC
> 
>  .../phy/allwinner,suniv-f1c100s-usb-phy.yaml  | 83 +++++++++++++++++++
>  drivers/phy/allwinner/phy-sun4i-usb.c         | 59 ++++++-------
>  2 files changed, 107 insertions(+), 35 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/phy/allwinner,suniv-f1c100s-usb-phy.yaml
>