~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/ptp/timestamper.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/ptp/timestamper.txt (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/ptp/timestamper.txt (Version linux-6.0.19)


  1 Time stamps from MII bus snooping devices           1 Time stamps from MII bus snooping devices
  2                                                     2 
  3 This binding supports non-PHY devices that sno      3 This binding supports non-PHY devices that snoop the MII bus and
  4 provide time stamps.  In contrast to PHY time       4 provide time stamps.  In contrast to PHY time stamping drivers (which
  5 can simply attach their interface directly to       5 can simply attach their interface directly to the PHY instance), stand
  6 alone MII time stamping drivers use this bindi      6 alone MII time stamping drivers use this binding to specify the
  7 connection between the snooping device and a g      7 connection between the snooping device and a given network interface.
  8                                                     8 
  9 Non-PHY MII time stamping drivers typically ta      9 Non-PHY MII time stamping drivers typically talk to the control
 10 interface over another bus like I2C, SPI, UART     10 interface over another bus like I2C, SPI, UART, or via a memory mapped
 11 peripheral.  This controller device is associa     11 peripheral.  This controller device is associated with one or more
 12 time stamping channels, each of which snoops o     12 time stamping channels, each of which snoops on a MII bus.
 13                                                    13 
 14 The "timestamper" property lives in a phy node     14 The "timestamper" property lives in a phy node and links a time
 15 stamping channel from the controller device to     15 stamping channel from the controller device to that phy's MII bus.
 16                                                    16 
 17 Example:                                           17 Example:
 18                                                    18 
 19         tstamper: timestamper@10000000 {           19         tstamper: timestamper@10000000 {
 20                 compatible = "ines,ptp-ctrl";      20                 compatible = "ines,ptp-ctrl";
 21                 reg = <0x10000000 0x80>;           21                 reg = <0x10000000 0x80>;
 22         };                                         22         };
 23                                                    23 
 24         ethernet@20000000 {                        24         ethernet@20000000 {
 25                 mdio {                             25                 mdio {
 26                         ethernet-phy@1 {           26                         ethernet-phy@1 {
 27                                 timestamper =      27                                 timestamper = <&tstamper 0>;
 28                         };                         28                         };
 29                 };                                 29                 };
 30         };                                         30         };
 31                                                    31 
 32         ethernet@30000000 {                        32         ethernet@30000000 {
 33                 mdio {                             33                 mdio {
 34                         ethernet-phy@2 {           34                         ethernet-phy@2 {
 35                                 timestamper =      35                                 timestamper = <&tstamper 1>;
 36                         };                         36                         };
 37                 };                                 37                 };
 38         };                                         38         };
 39                                                    39 
 40 In this example, time stamps from the MII bus      40 In this example, time stamps from the MII bus attached to phy@1 will
 41 appear on time stamp channel 0 (zero), and tho     41 appear on time stamp channel 0 (zero), and those from phy@2 appear on
 42 channel 1.                                         42 channel 1.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php