* Re: PTP clock driver for FSL DPAA
[not found] <DB6PR0401MB2536003AE2494FFE5AB7516FF8940@DB6PR0401MB2536.eurprd04.prod.outlook.com>
@ 2018-05-22 14:37 ` Richard Cochran
0 siblings, 0 replies; 2+ messages in thread
From: Richard Cochran @ 2018-05-22 14:37 UTC (permalink / raw)
To: Y.b. Lu; +Cc: Madalin-cristian Bucur, Claudiu Manoil, Xiaobo Xie, linux-kernel
On Tue, May 22, 2018 at 10:07:20AM +0000, Y.b. Lu wrote:
> I'm going to make a PTP clock driver patch for FSL DPAA ethernet controller. (drivers/net/ethernet/freescale/dpaa/)
> Actually the 1588 timer module on FSL DPAA is same with the one on FSL eTSEC in hardware.(whose PTP clock driver is drivers/net/ethernet/freescale/gianfar_ptp.c)
>
> So there are two options for me I think.
> Option #1, just make a dpaa_ptp.c driver which will be almost same with gianfar_ptp.c.
> Option #2, try to reuse gianfar_ptp.c driver by reworking it as a common driver, renaming it, and putting it to a common place (drivers/ptp/ or still drivers/net/ethernet/freescale/).
If you can make it work, #2 sounds like the best solution.
Thanks,
Richard
^ permalink raw reply [flat|nested] 2+ messages in thread
* PTP clock driver for FSL DPAA
@ 2018-05-22 10:13 Y.b. Lu
0 siblings, 0 replies; 2+ messages in thread
From: Y.b. Lu @ 2018-05-22 10:13 UTC (permalink / raw)
To: Richard Cochran
Cc: Madalin-cristian Bucur, Claudiu Manoil, Xiaobo Xie, linux-kernel
Hi Richard,
I'm going to make a PTP clock driver patch for FSL DPAA ethernet controller. (drivers/net/ethernet/freescale/dpaa/)
Actually the 1588 timer module on FSL DPAA is same with the one on FSL eTSEC in hardware.(whose PTP clock driver is drivers/net/ethernet/freescale/gianfar_ptp.c)
So there are two options for me I think.
Option #1, just make a dpaa_ptp.c driver which will be almost same with gianfar_ptp.c.
Option #2, try to reuse gianfar_ptp.c driver by reworking it as a common driver, renaming it, and putting it to a common place (drivers/ptp/ or still drivers/net/ethernet/freescale/).
I'd like to ask your suggestion.
Thanks a lot.
Best regards,
Yangbo Lu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-22 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <DB6PR0401MB2536003AE2494FFE5AB7516FF8940@DB6PR0401MB2536.eurprd04.prod.outlook.com>
2018-05-22 14:37 ` PTP clock driver for FSL DPAA Richard Cochran
2018-05-22 10:13 Y.b. Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®