19 Jun, 2019

1 commit

  • Based on 2 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 4122 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


26 Feb, 2019

1 commit

  • The separate GPHY Firmware loader driver is not used any more, the GPHY
    firmware is now loaded by the GSWIP switch driver which also makes use
    of the GPHY.
    Remove the old unused GPHY firmware loader driver.

    The GPHY firmware is useless without an Ethernet and switch driver, it
    should not harm if loading this does not work for system using an old
    device tree.
    I am not aware of any vendor separating the device tree from the kernel
    binary, it should be ok to remove this.

    The code and the functionality form this separate GPHY firmware loader
    was added to the gswip driver in commit 14fceff4771e ("net: dsa: Add
    Lantiq / Intel DSA driver for vrx200")

    Signed-off-by: Hauke Mehrtens
    Signed-off-by: Paul Burton
    Cc: linux-mips@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Cc: john@phrozen.org
    Cc: netdev@vger.kernel.org

    Hauke Mehrtens
     

24 May, 2018

1 commit

  • While doing a global software reset, these bits are not cleared and let
    some bootloader fail to initialise the GPHYs. The bootloader don't
    expect the GPHYs in reset, as they aren't during power on.

    The asserts were a workaround for a wrong syscon-reboot mask. With a
    mask set which includes the GPHY resets, these resets aren't required
    any more.

    Fixes: 126534141b45 ("MIPS: lantiq: Add a GPHY driver which uses the RCU syscon-mfd")
    Signed-off-by: Mathias Kresin
    Acked-by: Martin Blumenstingl
    Acked-by: Hauke Mehrtens
    Cc: John Crispin
    Cc: linux-mips@linux-mips.org
    Cc: # 4.14+
    Patchwork: https://patchwork.linux-mips.org/patch/19003/
    [jhogan@kernel.org: Fix build warnings]
    Signed-off-by: James Hogan

    Mathias Kresin
     

05 Sep, 2017

2 commits

  • Compared to the old xrx200_phy_fw driver the new version has multiple
    enhancements. The name of the firmware files does not have to be added
    to all .dts files anymore - one now configures the GPHY mode (FE or GE)
    instead. Each GPHY can now also boot separate firmware (thus mixing of
    GE and FE GPHYs is now possible).
    The new implementation is based on the RCU syscon-mfd and uses the
    reeset_controller framework instead of raw RCU register reads/writes.

    Signed-off-by: Martin Blumenstingl
    Signed-off-by: Hauke Mehrtens
    Reviewed-by: Andy Shevchenko
    Acked-by: Rob Herring
    Cc: john@phrozen.org
    Cc: p.zabel@pengutronix.de
    Cc: kishon@ti.com
    Cc: mark.rutland@arm.com
    Cc: linux-mips@linux-mips.org
    Cc: linux-mtd@lists.infradead.org
    Cc: linux-watchdog@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-spi@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/17128/
    Signed-off-by: Ralf Baechle

    Martin Blumenstingl
     
  • Instead of hacking the configuration of the FPI bus into the arch code
    add an own bus driver for this internal bus. The FPI bus is the main
    bus of the SoC. This bus driver makes sure the bus is configured
    correctly before the child drivers are getting initialized. This driver
    will probably also be used on different SoCs later.

    Signed-off-by: Hauke Mehrtens
    Signed-off-by: Martin Blumenstingl
    Acked-by: Rob Herring
    Reviewed-by: Andy Shevchenko
    Cc: john@phrozen.org
    Cc: p.zabel@pengutronix.de
    Cc: kishon@ti.com
    Cc: mark.rutland@arm.com
    Cc: linux-mips@linux-mips.org
    Cc: linux-mtd@lists.infradead.org
    Cc: linux-watchdog@vger.kernel.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-spi@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/17122/
    Signed-off-by: Ralf Baechle

    Hauke Mehrtens