]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Merge branch 'mvmdio-updates'
authorDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 14:59:12 +0000 (10:59 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 14:59:12 +0000 (10:59 -0400)
commit19ec50839d2574430cba6cb76ac3e8c5a1094d2a
tree6afd9388b916eddcb5f0fb03456116a47c91bb41
parentd92be7a41ef15463eb816a4a2d42bf094b56dfce
parent96cb4342382290c935d933a08feb57d6d0183071
Merge branch 'mvmdio-updates'

Russell King says:

====================
mvmdio updates

This series of patches update mvmdio for Armada 8k CP110.  A number of
issues were found:

1. The driver fails to disable an interrupt when something goes wrong
   in the probe function.

2. The interrupt is specified in DT to be optional, but the driver
   unconditionally writes to the interrupt mask register, which may
   not exist.

3. The DT binding specifies
    "reg: address and length of the SMI register"
   however, when supporting the interrupt, the size must cover the
   interrupt register as well.  Update the binding documentation
   with this information that was previously omitted.

4. If the register size is too small, have the driver print an error
   and disable use of the interrupt.

5. Armada 8k needs three clocks for the MDIO interface, otherwise the
   SoC hangs (since it is part of one of the ethernet interfaces.)
   GOP clock, MG core clock and MG clock are needed on 8k. Augment the
   binding and driver to allow three clocks to be specified.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>