On Mon, Nov 20, 2023 at 02:50:40PM +0100, Christian Marangi wrote: > From: Robert Marko <robert.marko@xxxxxxxxxx> > > This adds driver for the Qualcomm QCA8072 and QCA8075 PHY-s. > > They are 2 or 5 port IEEE 802.3 clause 22 compliant 10BASE-Te, > 100BASE-TX and 1000BASE-T PHY-s. > > They feature 2 SerDes, one for PSGMII or QSGMII connection with > MAC, while second one is SGMII for connection to MAC or fiber. > > Both models have a combo port that supports 1000BASE-X and > 100BASE-FX fiber. > > Each PHY inside of QCA807x series has 4 digitally controlled > output only pins that natively drive LED-s. > But some vendors used these to driver generic LED-s controlled > by userspace, so lets enable registering each PHY as GPIO > controller and add driver for it. > > These are commonly used in Qualcomm IPQ40xx, IPQ60xx and IPQ807x > boards. You need to justification why this is a whole new driver, rather than just extending at803x.c. I did a few quick checks. The Downshift code is identical, once you take into account the different names. Interrupt handling looks very similar. MDIX looks the same, and Specific status looks similar, etc. There are clear differences, but i think there is enough identical code you should be sharing it. Andrew