Hello Alan, I am looking forward to porting ADIN1110, the code for it should be pretty similar to the ports of NCV7410 and LAN865x. I still didn't have the opportunity to get my hands on that chip. Thank you for the link.
Michal On Mon, 2025-08-25 at 05:24 -0300, Alan C. Assis wrote: > Nice work Michal! > > I think these modifications are important to add support to other chips. > > This ADIN1110 module (10Base-T1L) from Sparkfun is a good candidate: > https://www.sparkfun.com/sparkfun-micromod-single-pair-ethernet-function-board-adin1110.html > > BR, > > Alan > > On Mon, Aug 25, 2025 at 3:59 AM <mich4l.mat...@gmail.com> wrote: > > > Hello! > > > > During summer I've been working on the driver for "OPEN Alliance 10BASE-T1x > > MAC-PHY Serial Interface" compatible SPI MAC-PHYs. These are devices that > > communicate Ethernet over one unshielded > > twisted pair and that use SPI to interface with the host MCU. > > > > I am not entirely finished with the matter as there is a tool for PLCA > > configuration to be implemented into nuttx apps > > and of course a great deal of documentation to be written. But at this > > stage I would like to try and integrate the parts > > I consider finished for now. These are the base driver (implementation of > > shared protocol logic), support for the Onsemi > > NCV7410 (NCN26010) and the Microchip LAN865x MAC-PHYs (chip-specific > > features), and support for the driver on ESP32-C6 > > boards and the SAMV7 Xplained ultra board. > > > > There is currently support for the NCV7410 MAC-PHY in NuttX mainline that > > is a product of my prior effort. Although I > > used this old driver as a starting point, the new driver has developed > > into something a bit different and there is a > > naming clash between the new and the old, therefore the old has to be > > removed first. > > > > I propose the following pull request strategy: > > > > 1. PR: > > 1. commit: boards/risc-v/esp32c6: Remove board support for the NCV7410 > > 2. commit: drivers/net: Remove the NCV7410 10BASE-T1S MAC-PHY driver > > > > 2. PR: > > 1. commit: net/netdev/netdev_ioctl.c: Add new ioctls for MMD register > > access > > > > 3. PR: > > 1. commit: drivers/net: Add base driver for the OA-T6 protocol > > MAC-PHYsS 2. commit: drivers/net/oa_tc6: Add > > driver for the Onsemi NCV7410 (NCN26010) > > 3. commit: drivers/net/oa_tc6: Add driver for the Microchip LAN865x > > > > 4. PR: > > 1. commit: boards/risc-v/esp32c6: Add support for the OA-TC6 > > 10BASE-T1x MAC-PHYs > > 2. commit: boards/arm/samv7/samv71-xult: Add support for the OA-TC6 > > 10BASE-T1x MAC-PHYs > > > > All 8 commits are temporarily held at my github here: > > https://github.com/matiamic/nuttx/tree/oa-pr > > > > The first PR is on the way. > > > > Have a pleasant start of the week > > Michal Matias > > > >