mlxsw: core: Add a new interface for reading the hardware free running clock
authorShalom Toledo <shalomt@mellanox.com>
Tue, 11 Jun 2019 15:45:05 +0000 (18:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jun 2019 05:34:55 +0000 (22:34 -0700)
commit34dacb4d519deff74baf2049634c934e8c54e997
treed5096f39d6f5f7338aebc506e541bc380689c333
parent4b6b8c02f6e67216d2e1fe777a31b127055e2d46
mlxsw: core: Add a new interface for reading the hardware free running clock

Add two new bus operations for reading the hardware free running clock.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h