ravb: Use separate clock for gPTP
authorPhil Edworthy <phil.edworthy@renesas.com>
Thu, 12 May 2022 11:47:21 +0000 (12:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:14:27 +0000 (10:14 +0100)
commit72069a7b2821443f57e5734f91e19936c48e4809
tree7f5a87b2c4943ef3d44ad5509e1b071e613686f8
parentb0265dcba3d6c1689e6ce315bed09192fb587403
ravb: Use separate clock for gPTP

RZ/V2M has a separate gPTP reference clock that is used when the
AVB-DMAC Mode Register (CCC) gPTP Clock Select (CSEL) bits are
set to "01: High-speed peripheral bus clock".
Therefore, add a feature that allows this clock to be used for
gPTP.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb.h
drivers/net/ethernet/renesas/ravb_main.c