net: ethernet: ti: cpts: add support for HW_TS_PUSH events
Hence CPTS IRQ support is in place the W_TS_PUSH events can be added. PWM capable DmTimers can be used to generete input signals for CPTS on TI AM335x/AM437x/DRA7 SoCs to be timestamped: AM335x/AM437x: timer4 - timer7 DRA7/AM57xx: timer13 - timer16 Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Richard Cochran <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
85624412a0
commit
b78aba495d
@@ -3716,7 +3716,8 @@ static int gbe_probe(struct netcp_device *netcp_device, struct device *dev,
|
||||
if (!cpts_node)
|
||||
cpts_node = of_node_get(node);
|
||||
|
||||
gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg, cpts_node);
|
||||
gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg,
|
||||
cpts_node, 0);
|
||||
of_node_put(cpts_node);
|
||||
if (IS_ENABLED(CONFIG_TI_CPTS) && IS_ERR(gbe_dev->cpts)) {
|
||||
ret = PTR_ERR(gbe_dev->cpts);
|
||||
|
Reference in New Issue
Block a user