mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:38:03 +00:00
5a8f09748e
The SJA1110 contains two types of integrated PHYs: one 100base-TX PHY and multiple 100base-T1 PHYs. The access procedure for the 100base-T1 PHYs is also different than it is for the 100base-TX one. So we register 2 MDIO buses, one for the base-TX and the other for the base-T1. Each bus has an OF node which is a child of the "mdio" subnode of the switch, and they are recognized by compatible string. Cc: Russell King <linux@armlinux.org.uk> Cc: Heiner Kallweit <hkallweit1@gmail.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
26 lines
529 B
Makefile
26 lines
529 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o
|
|
|
|
sja1105-objs := \
|
|
sja1105_spi.o \
|
|
sja1105_main.o \
|
|
sja1105_mdio.o \
|
|
sja1105_flower.o \
|
|
sja1105_ethtool.o \
|
|
sja1105_devlink.o \
|
|
sja1105_clocking.o \
|
|
sja1105_static_config.o \
|
|
sja1105_dynamic_config.o \
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_PTP
|
|
sja1105-objs += sja1105_ptp.o
|
|
endif
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_TAS
|
|
sja1105-objs += sja1105_tas.o
|
|
endif
|
|
|
|
ifdef CONFIG_NET_DSA_SJA1105_VL
|
|
sja1105-objs += sja1105_vl.o
|
|
endif
|