Skip to main content
Graduate
December 6, 2023
Solved

Issue regarding registers of USBPHYC in STM32MP157A with Linux(V5.13)

  • December 6, 2023
  • 1 reply
  • 1384 views

Hello,

I am working on a custom board based on STM32MP157A . For USBPHYC i am referring the driver from Linux(V5.13)  and some of the registers like STM32_USBPHYC_MONITOR mentioned in the driver file are missing in the reference manual (RM0436).So i just wanted to know is it the only register missing in the reference manual (or) are  there any other registers missing .If yes, could you help me in finding those registers with their offset addresses and their functionality  or suggest me the  actual  reference manual.

 

please find the below attached link for the driver file i am using :

 

https://elixir.bootlin.com/linux/v5.13/source/drivers/phy/st/phy-stm32-usbphyc.c

 

Thanks&Regards,

Srikanth.

 

    This topic has been closed for replies.
    Best answer by PatrickF

    Hi @Srikanth1 

    those has already been answered in https://community.st.com/t5/stm32-mpus-products/usb-phy-issue-in-stm32mp157a/m-p/616874/highlight/true#M10576

    USBPHYC_MONITOR definition could be found in RM0475 (same PHY in STM32MP13)

    NO other missing registers.

     

    Linux kernel 5.13 was never supported. We recommend to use USB drivers (Linux kernel LTS 6.1) from latest STM32MP1 Ecosystem.

    Regards.

    1 reply

    Srikanth1Author
    Graduate
    December 7, 2023

    Hello @picasooapp321 ,

    I am actually following the same approach you have mentioned and could you refer me some other ways that could help me in moving forward with USB and its Driver development 

     

    Thanks & Regards,

    Srikanth.

    PatrickFAnswer
    Technical Moderator
    December 7, 2023

    Hi @Srikanth1 

    those has already been answered in https://community.st.com/t5/stm32-mpus-products/usb-phy-issue-in-stm32mp157a/m-p/616874/highlight/true#M10576

    USBPHYC_MONITOR definition could be found in RM0475 (same PHY in STM32MP13)

    NO other missing registers.

     

    Linux kernel 5.13 was never supported. We recommend to use USB drivers (Linux kernel LTS 6.1) from latest STM32MP1 Ecosystem.

    Regards.