summaryrefslogtreecommitdiff
path: root/Documentation/networking/devlink/stmmac.rst
blob: e8e33d1c7baf1b80bbb8093c79038484658a9194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.. SPDX-License-Identifier: GPL-2.0

=======================================
stmmac (synopsys dwmac) devlink support
=======================================

This document describes the devlink features implemented by the ``stmmac``
device driver.

Parameters
==========

The ``stmmac`` driver implements the following driver-specific parameters.

.. list-table:: Driver-specific parameters implemented
   :widths: 5 5 5 85

   * - Name
     - Type
     - Mode
     - Description
   * - ``ts_coarse``
     - Boolean
     - runtime
     - Enable the Coarse timestamping mode. In Coarse mode, the ptp clock is
       expected to be updated through an external PPS input, but the subsecond
       increment used for timestamping is set to 1/ptp_clock_rate. In Fine mode
       (i.e. Coarse mode == false), the ptp clock frequency is adjusted more
       frequently, but the subsecond increment is set to 2/ptp_clock_rate.
       Coarse mode is suitable for PTP Grand Master operation. If unsure, leave
       the parameter to False.