提交 aabb2bb0 编写于 作者: Y Yangbo Lu 提交者: David S. Miller

net: mscc: ocelot: enable PTP programmable pin

Enable PTP programmable pin.
Signed-off-by: NYangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 cc2d87bb
...@@ -372,13 +372,15 @@ static struct ptp_clock_info ocelot_ptp_clock_info = { ...@@ -372,13 +372,15 @@ static struct ptp_clock_info ocelot_ptp_clock_info = {
.max_adj = 0x7fffffff, .max_adj = 0x7fffffff,
.n_alarm = 0, .n_alarm = 0,
.n_ext_ts = 0, .n_ext_ts = 0,
.n_per_out = 0, .n_per_out = OCELOT_PTP_PINS_NUM,
.n_pins = 0, .n_pins = OCELOT_PTP_PINS_NUM,
.pps = 0, .pps = 0,
.gettime64 = ocelot_ptp_gettime64, .gettime64 = ocelot_ptp_gettime64,
.settime64 = ocelot_ptp_settime64, .settime64 = ocelot_ptp_settime64,
.adjtime = ocelot_ptp_adjtime, .adjtime = ocelot_ptp_adjtime,
.adjfine = ocelot_ptp_adjfine, .adjfine = ocelot_ptp_adjfine,
.verify = ocelot_ptp_verify,
.enable = ocelot_ptp_enable,
}; };
static int mscc_ocelot_probe(struct platform_device *pdev) static int mscc_ocelot_probe(struct platform_device *pdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册