This patch series refactors the spi-ks8995 driver to finally add support for the MICREL KSZ8795CLX. Additionally support for controlling a GPIO line for resetting the switch is added.
Helmut Changes since v2: - use GPIO_ACTIVE_LOW according to Andrew's remark. - use ePAPR compliant node name in example, thanks to Sergei for pointing out Changes since v1: - removed initializing registers from Device Tree following Florian's advice - fixed GPIO handling for reset according to Andrew's remark. Helmut Buchsbaum (6): net: phy: spi_ks8995: introduce spi_device_id table net: phy: spi_ks8995: verify chip and determine revision net: phy: spi_ks8995: add support for resetting switch using GPIO net: phy: spi_ks8995: generalize creation of SPI commands net: phy: spi_ks8995: add support for MICREL KSZ8795CLX dt-bindings: net: ks8995: add bindings documentation for ks8995 .../devicetree/bindings/net/micrel-ks8995.txt | 20 ++ drivers/net/phy/spi_ks8995.c | 304 +++++++++++++++++---- 2 files changed, 265 insertions(+), 59 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/micrel-ks8995.txt -- 2.1.4