linux/drivers/net/dsa/mv88e6xxx
Brandon Streiff 0d632c3d6f net: dsa: mv88e6xxx: add accessors for PTP/TAI registers
This patch implements support for accessing the Precision Time Protocol
and Time Application Interface registers via the AVB register interface
in the Global 2 register.

The register interface differs slightly between different models; older
models use a 3-bit operations field, while newer models use a 2-bit
field. The operations values and the special "global port" values are
different between the two. This is a similar split to the differences
in the "Ingress Rate" register between models, so, like in that case,
we call the two variants "6352" and "6390" and create an ops structure
to abstract between the two.

checkpatch fixups by Andrew Lunn

Signed-off-by: Brandon Streiff <brandon.streiff@ni.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-14 14:33:36 -05:00
..
chip.c net: dsa: mv88e6xxx: add accessors for PTP/TAI registers 2018-02-14 14:33:36 -05:00
chip.h net: dsa: mv88e6xxx: add accessors for PTP/TAI registers 2018-02-14 14:33:36 -05:00
global1_atu.c net: dsa: mv88e6xxx: Return error from irq_find_mapping() 2018-01-19 15:57:02 -05:00
global1_vtu.c net: dsa: mv88e6xxx: Return error from irq_find_mapping() 2018-01-19 15:57:02 -05:00
global1.c net: dsa: mv88e6xxx: Fix stats histogram mode 2017-11-11 19:34:33 +09:00
global1.h net: dsa: mv88e6xxx: Decode VTU problem interrupt 2018-01-14 12:08:45 -05:00
global2_avb.c net: dsa: mv88e6xxx: add accessors for PTP/TAI registers 2018-02-14 14:33:36 -05:00
global2.c net: dsa: mv88e6xxx: export g2 register accessors 2018-02-14 14:33:36 -05:00
global2.h net: dsa: mv88e6xxx: add accessors for PTP/TAI registers 2018-02-14 14:33:36 -05:00
Kconfig
Makefile net: dsa: mv88e6xxx: add accessors for PTP/TAI registers 2018-02-14 14:33:36 -05:00
phy.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
phy.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
port.c net: dsa: allow XAUI phy interface mode 2017-12-13 14:59:15 -05:00
port.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
serdes.c net: dsa: mv88e6xxx: fix error code in mv88e6390_serdes_power() 2017-06-25 11:42:33 -04:00
serdes.h net: dsa: mv88e6xxx: rename chip header 2017-06-04 20:07:40 -04:00