Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: net: cpsw-phy-sel: add am43xx platform support

AM43xx phy mode selection is similar to AM33xx platform, so adding only
the compatibility string to the driver

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Mugunthan V N and committed by
David S. Miller
b80b9309 d415fa1b

+5
+1
Documentation/devicetree/bindings/net/cpsw-phy-sel.txt
··· 4 4 Required properties: 5 5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and 6 6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform 7 + "ti,am43xx-cpsw-phy-sel" for am43xx platform 7 8 - reg : physical base address and size of the cpsw 8 9 registers map 9 10 - reg-names : names of the register map given in "reg" node
+4
drivers/net/ethernet/ti/cpsw-phy-sel.c
··· 167 167 .compatible = "ti,dra7xx-cpsw-phy-sel", 168 168 .data = &cpsw_gmii_sel_dra7xx, 169 169 }, 170 + { 171 + .compatible = "ti,am43xx-cpsw-phy-sel", 172 + .data = &cpsw_gmii_sel_am3352, 173 + }, 170 174 {} 171 175 }; 172 176 MODULE_DEVICE_TABLE(of, cpsw_phy_sel_id_table);