From: David S. Miller Date: Fri, 26 May 2017 19:00:46 +0000 (-0400) Subject: Merge branch 'mv88e6xxx-SERDES' X-Git-Tag: MMI-PSA29.97-13-9~5285^2~358 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5f9e27e60ed961fe28183d8fe600789f676b460d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Merge branch 'mv88e6xxx-SERDES' Andrew Lunn says: ==================== net: dsa: mv88e6xxx: Add basic SERDES support Some of the Marvell switches are SERDES interface, which must be powered up before packets can be passed. This is particularly true on the 6390, where the SERDES defaults to down, probably to save power. This series refactors the existing SERDES support for the 6352, and adds 6390 support. v2: Split phy functions out into phy.[ch] Don't add MV88E6XXX_FLAG_G1_ATU_FID back again Move the serdes op up in mv88e6xxx_ops Move some #defines into serdes.h Add a mv88e6xxx_serdes_power() Don't keep moving calls to this helper around in the code v3: Move more phy functions into phy.[ch] Make mv88e6xxx_phy_page_get() and mv88e6xxx_phy_page_put static Use the mv88e6xxx_serdes_power() helper everywhere dev_err(...) when mv88e6xxx_serdes_power() fails Add reviewed-by's ==================== Signed-off-by: David S. Miller --- 5f9e27e60ed961fe28183d8fe600789f676b460d