Searched hist:"7 d9ee2e8ff1541c60dcb5cfdf41def9659204c3e" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_ptp.h | diff 7d9ee2e8ff1541c60dcb5cfdf41def9659204c3e Tue Nov 03 01:10:59 CST 2020 Kurt Kanzenbach <kurt@linutronix.de> net: dsa: hellcreek: Add PTP status LEDs
The switch has two controllable I/Os which are usually connected to LEDs. This is useful to immediately visually see the PTP status.
These provide two signals:
* is_gm
This LED can be activated if the current device is the grand master in that PTP domain.
* sync_good
This LED can be activated if the current device is in sync with the network time.
Expose these via the LED framework to be controlled via user space e.g. linuxptp.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | hellcreek_ptp.c | diff 7d9ee2e8ff1541c60dcb5cfdf41def9659204c3e Tue Nov 03 01:10:59 CST 2020 Kurt Kanzenbach <kurt@linutronix.de> net: dsa: hellcreek: Add PTP status LEDs
The switch has two controllable I/Os which are usually connected to LEDs. This is useful to immediately visually see the PTP status.
These provide two signals:
* is_gm
This LED can be activated if the current device is the grand master in that PTP domain.
* sync_good
This LED can be activated if the current device is in sync with the network time.
Expose these via the LED framework to be controlled via user space e.g. linuxptp.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
H A D | hellcreek.h | diff 7d9ee2e8ff1541c60dcb5cfdf41def9659204c3e Tue Nov 03 01:10:59 CST 2020 Kurt Kanzenbach <kurt@linutronix.de> net: dsa: hellcreek: Add PTP status LEDs
The switch has two controllable I/Os which are usually connected to LEDs. This is useful to immediately visually see the PTP status.
These provide two signals:
* is_gm
This LED can be activated if the current device is the grand master in that PTP domain.
* sync_good
This LED can be activated if the current device is in sync with the network time.
Expose these via the LED framework to be controlled via user space e.g. linuxptp.
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|