[PATCH 2/2] mvebu: cortexa72: enable USB PHY

Robert Marko robimarko at gmail.com
Fri Sep 8 14:35:13 PDT 2023


On Thu, 7 Sept 2023 at 17:16, Tomasz Maciej Nowak <tmn505 at terefe.re> wrote:
>
> From: Tomasz Maciej Nowak <tmn505 at gmail.com>
>
> Since kernel 5.13 this is needed to enable USB ports on all devices in
> subtarget. Previously TF-A and COMPHY driver might have set up this PHY,
> but not anymore.
>
> Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>

I tested this on MOchabin and it seems to be working after I actually
enable the UTMI PHY-s,
hence why USB was working fine on MOchabin without this driver.
And yeah, this should be backported to anything using 5.15 or newer as
Machiatobin has broken
USB for sure.

Tested-by: Robert Marko <robimarko at gmail.com>
> ---
> Please backport config-5.15 changes to 23.05 and 22.03 branches.
>
>  target/linux/mvebu/cortexa72/config-5.15 | 1 +
>  target/linux/mvebu/cortexa72/config-6.1  | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/target/linux/mvebu/cortexa72/config-5.15 b/target/linux/mvebu/cortexa72/config-5.15
> index cb27e0285faa..978208f1cb5a 100644
> --- a/target/linux/mvebu/cortexa72/config-5.15
> +++ b/target/linux/mvebu/cortexa72/config-5.15
> @@ -72,6 +72,7 @@ CONFIG_PCIE_DW_HOST=y
>  CONFIG_PGTABLE_LEVELS=3
>  CONFIG_PHYS_ADDR_T_64BIT=y
>  CONFIG_PHY_MVEBU_CP110_COMPHY=y
> +CONFIG_PHY_MVEBU_CP110_UTMI=y
>  CONFIG_PINCTRL_ARMADA_37XX=y
>  CONFIG_PINCTRL_ARMADA_AP806=y
>  CONFIG_PINCTRL_ARMADA_CP110=y
> diff --git a/target/linux/mvebu/cortexa72/config-6.1 b/target/linux/mvebu/cortexa72/config-6.1
> index 5a3dcc66f720..535b67225e70 100644
> --- a/target/linux/mvebu/cortexa72/config-6.1
> +++ b/target/linux/mvebu/cortexa72/config-6.1
> @@ -76,6 +76,7 @@ CONFIG_PCIE_DW_HOST=y
>  CONFIG_PGTABLE_LEVELS=3
>  CONFIG_PHYS_ADDR_T_64BIT=y
>  CONFIG_PHY_MVEBU_CP110_COMPHY=y
> +CONFIG_PHY_MVEBU_CP110_UTMI=y
>  CONFIG_PINCTRL_AC5=y
>  CONFIG_PINCTRL_ARMADA_37XX=y
>  CONFIG_PINCTRL_ARMADA_AP806=y
> --
> 2.42.0
>
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list