
Although dpaa2-ptp.c driver is a fsl_mc_driver which is using MC APIs for register accessing, it's same IP block with eTSEC/DPAA/ENETC 1588 timer. This patch is to convert to reuse ptp_qoriq driver by using register ioremap and dropping related MC APIs. However the interrupts could only be handled by MC which fires MSIs to ARM cores. So the interrupt enabling and handling still rely on MC APIs. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
555 B
Plaintext
18 lines
555 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config FSL_DPAA2_ETH
|
|
tristate "Freescale DPAA2 Ethernet"
|
|
depends on FSL_MC_BUS && FSL_MC_DPIO
|
|
help
|
|
This is the DPAA2 Ethernet driver supporting Freescale SoCs
|
|
with DPAA2 (DataPath Acceleration Architecture v2).
|
|
The driver manages network objects discovered on the Freescale
|
|
MC bus.
|
|
|
|
config FSL_DPAA2_PTP_CLOCK
|
|
tristate "Freescale DPAA2 PTP Clock"
|
|
depends on FSL_DPAA2_ETH && PTP_1588_CLOCK_QORIQ
|
|
default y
|
|
help
|
|
This driver adds support for using the DPAA2 1588 timer module
|
|
as a PTP clock.
|