Re: [PATCH] net: phy: micrel: disable NAND-tree for KSZ8021,KSZ8031,KSZ8051,KSZ8081
From: David Miller
Date: Sat Feb 14 2015 - 23:24:38 EST
From: Sylvain Rochet <sylvain.rochet@xxxxxxxxxxxx>
Date: Fri, 13 Feb 2015 21:35:33 +0100
> NAND-tree is used to check wiring between MAC and PHY using NAND gates
> on the PHY side, hence the name.
> NAND-tree initial status is latched at reset by probing the IRQ pin.
> However some devices are sharing the PHY IRQ pin with other peripherals
> such as Atmel SAMA5Dx-EK boards when using the optional TM7000
> display module, therefore they are switching the PHY in NAND-tree test
> mode depending on the current IRQ line status at reset.
> This patch ensure PHY is not in NAND-tree test mode for all Micrel PHYs
> using IRQ line as a NAND-tree toggle mode at reset.
> Signed-off-by: Sylvain Rochet <sylvain.rochet@xxxxxxxxxxxx>
> Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/