tinnedkarma opened a new pull request, #16999:
URL: https://github.com/apache/nuttx/pull/16999

   ## Summary
   
   Currently the mdio communication is part of the monolithic 'full netdevs'.
   This commit serves as an way to add modularity for the netdevs drivers.
   A new upperhalf/lowerhalf mdio device comes with this commit that manages 
the data transfer ofer mdio interface.
   
   It resembles the upperhalf/lowerhalf approach of the netdevs or i2c bitbang.
   
   ## Impact
   
   A new upperhalf mdio bus is now added as a set of 
**include/nuttx/net/mdio.h** and **drivers/net/mdio.c** files
   which "sets" the available mdio commands (read, write, reset). Acts as the 
bus "controller". It block the bus during the transaction and calls the 
apropriate lowerhalf function.
   
   A new lowerhalf mdio bus for the stm32h7 mcu family was added which 
implements the actual mdio transfers.
   
   A new Kconfig option was added MDIO_BUS in the drivers/net directory
   
   ## Testing
   
   This PR have low impact over the nuttx codebase. The new files are included 
to the build system based on the
   CONFIG_MDIO_BUS
   Currently, only stm32h7 has the new mdio bus.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to