linux/drivers/net/dsa/microchip
Paul Barker 5b79798090 net: dsa: microchip: Implement recommended reset timing
The datasheet for the ksz9893 and ksz9477 switches recommend waiting at
least 100us after the de-assertion of reset before trying to program the
device through any interface.

Also switch the existing msleep() call to usleep_range() as recommended
in Documentation/timers/timers-howto.rst. The 2ms range used here is
somewhat arbitrary, as long as the reset is asserted for at least 10ms
we should be ok.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-09 11:26:32 -07:00
..
Kconfig net: dsa: ksz: Select KSZ protocol tag 2020-03-31 10:04:40 -07:00
ksz8795.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-11 00:46:00 -07:00
ksz8795_reg.h net: dsa: ksz: Add Microchip KSZ8795 DSA driver 2019-07-30 15:12:50 -07:00
ksz8795_spi.c net: dsa: microchip: Add shared regmap mutex 2019-10-17 15:38:46 -04:00
ksz9477.c net: dsa: microchip: Disable RGMII in-band status on KSZ9893 2020-09-09 11:26:32 -07:00
ksz9477_i2c.c net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver 2020-07-01 17:48:47 -07:00
ksz9477_reg.h net: dsa: microchip: Use the correct style for SPDX License Identifier 2019-10-15 14:59:58 -07:00
ksz9477_spi.c net: dsa: microchip: enable module autoprobe 2020-02-07 18:45:12 +01:00
ksz_common.c net: dsa: microchip: Implement recommended reset timing 2020-09-09 11:26:32 -07:00
ksz_common.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-07-25 17:49:04 -07:00
Makefile net: dsa: microchip: add KSZ9477 I2C driver 2019-09-12 11:36:12 +01:00