Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC late updates from Arnd Bergmann: "Here are two branches that came relatively late during the linux-5.0 development cycle and have dependencies on the other branches: - On the TI OMAP platform, the CPSW Ethernet PHY mode selection driver is being replaced, this puts the final pieces in place - On the DaVinci platform, the interrupt handling code in arch/arm gets moved into a regular device driver in drivers/irqchip. Since they both had some time in linux-next after the 5.0-rc8 release, I'm sending them along with the other updates" * tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (38 commits) net: ethernet: ti: cpsw: deprecate cpsw-phy-sel driver ARM: davinci: remove intc related fields from davinci_soc_info irqchip: davinci-cp-intc: move the driver to drivers/irqchip ARM: davinci: cp-intc: remove redundant comments ARM: davinci: cp-intc: drop GPL license boilerplate ARM: davinci: cp-intc: use readl/writel_relaxed() ARM: davinci: cp-intc: unify error handling ARM: davinci: cp-intc: improve coding style ARM: davinci: cp-intc: request the memory region before remapping it ARM: davinci: cp-intc: use the new-style config structure ARM: davinci: cp-intc: convert all hex numbers to lowercase ARM: davinci: cp-intc: use a common prefix for all symbols ARM: davinci: cp-intc: add the new config structures for da8xx SoCs irqchip: davinci-cp-intc: add a new config structure ARM: davinci: cp-intc: add a wrapper around cp_intc_init() ARM: davinci: cp-intc: remove cp_intc.h irqchip: davinci-aintc: move the driver to drivers/irqchip ARM: davinci: aintc: remove unnecessary includes ARM: davinci: aintc: remove the timer-specific irq_set_handler() ARM: davinci: aintc: request memory region before remapping it ...
This commit is contained in:
@@ -49,10 +49,11 @@ config TI_DAVINCI_CPDMA
|
||||
will be called davinci_cpdma. This is recommended.
|
||||
|
||||
config TI_CPSW_PHY_SEL
|
||||
bool
|
||||
bool "TI CPSW Phy mode Selection (DEPRECATED)"
|
||||
default n
|
||||
---help---
|
||||
This driver supports configuring of the phy mode connected to
|
||||
the CPSW.
|
||||
the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
|
||||
|
||||
config TI_CPSW_ALE
|
||||
tristate "TI CPSW ALE Support"
|
||||
@@ -64,7 +65,6 @@ config TI_CPSW
|
||||
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
|
||||
select TI_DAVINCI_CPDMA
|
||||
select TI_DAVINCI_MDIO
|
||||
select TI_CPSW_PHY_SEL
|
||||
select TI_CPSW_ALE
|
||||
select MFD_SYSCON
|
||||
select REGMAP
|
||||
|
@@ -21,7 +21,13 @@
|
||||
((mac)[2] << 16) | ((mac)[3] << 24))
|
||||
#define mac_lo(mac) (((mac)[4] << 0) | ((mac)[5] << 8))
|
||||
|
||||
#if IS_ENABLED(CONFIG_TI_CPSW_PHY_SEL)
|
||||
void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
|
||||
#else
|
||||
static inline
|
||||
void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave)
|
||||
{}
|
||||
#endif
|
||||
int ti_cm_get_macid(struct device *dev, int slave, u8 *mac_addr);
|
||||
|
||||
#endif /* __CPSW_H__ */
|
||||
|
Reference in New Issue
Block a user