03 Apr, 2019

1 commit


19 Jan, 2019

1 commit


15 Dec, 2018

2 commits


07 Dec, 2018

2 commits


28 Oct, 2018

1 commit


03 Oct, 2018

1 commit


01 Oct, 2018

1 commit


19 Sep, 2018

2 commits

  • This patch adds support to Armada 7k/8k comphy RX/TX lane swap. The
    'phy-invert' DT property defines the inverted signals.

    Signed-off-by: Rabeeh Khoury
    Signed-off-by: Baruch Siach
    Signed-off-by: Stefan Roese

    Rabeeh Khoury
     
  • This adds a weak definition of comphy_update_map to comphy_core,
    which does nothing. If this function is defined elsewhere, for example
    in board file, the board file can change some parameters of SERDES
    configuration.

    This is needed on Turris Mox, where the SERDES speed on lane 1 has to
    be set differently when SFP module is connected and when Topaz Switch
    module is connected.

    This is a temporary solution. When the comphy driver for armada-3720
    will be added to the kernel, the comphy driver in u-boot shall also be
    updated and this should be done differently then.

    Signed-off-by: Marek Behun
    Signed-off-by: Stefan Roese

    Marek Behún
     

14 Aug, 2018

2 commits


31 Jul, 2018

3 commits

  • Only H3 and H5 have 4 PHYS so restrict rst_mask only for them
    by checking PHY id as 3 and update the proper bits.

    Signed-off-by: Jagan Teki
    Tested-by: Jagan Teki

    Jagan Teki
     
  • usb_clk_cfg is setting CTRL_PHYGATE bit value in probe
    which is BIT 0 for sun4i, 6i and 8 for a83t but all
    these were handling in phy ops init exit calls.

    Signed-off-by: Jagan Teki
    Tested-by: Jagan Teki

    Jagan Teki
     
  • On newer Allwinner SoC, there is a pair of EHCI/OHCI USB hosts
    for OTG host mode. USB PHY passby must be configured for its
    corresponding PHY. so we can call for PHY#0. on the other hand
    in past usb-phy code the same thing can be restricted for
    Lower SoC's, other than H3/H5/A64.

    Now there is no need to restrict usb passby since the phy driver
    is DT enabled, and the respective phy calls will trigger based
    DT information initiated by the drivers.

    Signed-off-by: Jagan Teki
    Tested-by: Jagan Teki

    Jagan Teki
     

20 Jul, 2018

1 commit

  • In case of phy are provided from a PHY provider nodes as following:

    usbphyc: usb-phy@5a006000 {
    compatible = "st,stm32mp1-usbphyc";
    reg = ;
    clocks = ;
    resets = ;
    #address-cells = ;
    #size-cells = ;

    usbphyc_port0: usb-phy@0 {
    reg = ;
    phy-supply = ;
    vdda1v1-supply = ;
    vdda1v8-supply =
    #phy-cells = ;
    };

    usbphyc_port1: usb-phy@1 {
    reg = ;
    phy-supply = ;
    vdda1v1-supply = ;
    vdda1v8-supply =
    #phy-cells = ;
    };
    };

    and PHY are called as following:

    usbh_ehci: usbh-ehci@5800d000 {
    compatible = "generic-ehci";
    reg = ;
    clocks = ;
    resets = ;
    interrupts = ;
    companion = ;
    phys = ;
    phy-names = "usb";
    status = "okay";
    };

    generic_phy_get_by_index() must be updated to first look for
    PHY phandle as previously and in case of error looks for PHY
    provider by finding the parent's current node which is the PHY
    provider.
    args (ofnode_phandle_args struct) must also be updated by inserting
    the phy index into the PHY provider as args[0].

    Signed-off-by: Patrice Chotard

    Patrice Chotard
     

04 Jun, 2018

1 commit


01 Jun, 2018

4 commits


28 May, 2018

10 commits


20 May, 2018

1 commit


18 May, 2018

1 commit

  • This patch adds phy tranceiver driver for STM32 USB PHY
    Controller (usbphyc) that provides dual port High-Speed
    phy for OTG (single port) and EHCI/OHCI host controller
    (two ports).
    One port of the phy is shared between the two USB controllers
    through a UTMI+ switch.

    Signed-off-by: Christophe Kerello
    Signed-off-by: Amelie Delaunay
    Signed-off-by: Patrice Chotard

    Patrice Chotard
     

14 May, 2018

6 commits