summaryrefslogtreecommitdiffstats
path: root/lib/uuid.c
diff options
context:
space:
mode:
authorMartin Blumenstingl2018-11-18 22:23:59 +0100
committerDavid S. Miller2018-11-19 01:16:20 +0100
commitf2f1a847e74f61fb151e0f6f689a8485345ed1fc (patch)
tree333df68449a77286cea4686ce56adda261bbcb92 /lib/uuid.c
parentnet: phy: icplus: implement .did_interrupt for IP101A/G (diff)
downloadkernel-qcow2-linux-f2f1a847e74f61fb151e0f6f689a8485345ed1fc.tar.gz
kernel-qcow2-linux-f2f1a847e74f61fb151e0f6f689a8485345ed1fc.tar.xz
kernel-qcow2-linux-f2f1a847e74f61fb151e0f6f689a8485345ed1fc.zip
net: phy: icplus: allow configuring the interrupt function on IP101GR
The IP101GR is a 32-pin QFN package variant of the IP101G/IP101GA Ethernet PHY. Due to it's limited amount of pins the RXER (receive error) and INTR32 (interrupt) functions share pin 21. By default the PHY is configured to output the "receive error" status on pin 21. Depending on the board layout and requirements we may want to re-configure the PHY to output the interrupt signal there. The mode of pin 21 can be configured in the "Digital I/O Specific Control Register" (register 29), bit 2: - 0 = RXER function - 1 = INTR(32) function Depending on the devicetree configuration we will now: - change the mode to either ther RXER or INTR32 function - keep the SEL_INTR32 value set by the bootloader (default) if no configuration is provided (to ensure that we're not breaking existing boards) - error out if conflicting configuration is given (RXER and INTR32 mode are enabled at the same time) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions