05 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 2 as published
    by the free software foundation this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation this program is distributed in the hope
    that it [would] be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

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

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190529141901.804956444@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

22 Jan, 2015

1 commit


26 Nov, 2014

1 commit

  • MFD core already cares about failing registration. It will remove successfully
    registered devices in case of error. Thus, no need to repeatedly call
    mfd_remove_devices().

    Fixes: 5829e9b64e65 (mfd: lpc_sch: Accomodate partial population of the MFD devices)
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Andy Shevchenko
     

26 Sep, 2014

3 commits

  • This patch removes FSF address because it can be changed. While here, update
    the copyright lines by adding Intel Corp. to them.

    There is no functional change.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Andy Shevchenko
     
  • Intel Quark X1000 SoC supports IRQ based GPIO. This patch will
    enable MFD support for Quark X1000 and provide IRQ resources
    to Quark X1000 GPIO device driver.

    Signed-off-by: Chang Rebecca Swee Fun
    Tested-by: Chang Rebecca Swee Fun
    Signed-off-by: Andy Shevchenko
    Signed-off-by: Lee Jones

    Andy Shevchenko
     
  • This patch refactors the driver to use helper functions instead of
    copy'n'pasted pieces of code.

    It also introduces an additional struct to hold a chipset info. The chipset
    info will be used to store features that are supported by specific processor or
    chipset. LPC_SCH supports SMBUS, GPIO and WDT features. As this code base might
    expand further to support more processors, this implementation will help to
    keep code base clean and manageable.

    The patch is partially based on the work done by Chang Rebecca Swee Fun.

    Signed-off-by: Andy Shevchenko
    Tested-by: Chang Rebecca Swee Fun
    Signed-off-by: Lee Jones

    Andy Shevchenko
     

19 Mar, 2014

1 commit


21 Jan, 2014

1 commit


23 Oct, 2013

1 commit


14 Feb, 2013

1 commit

  • The current probe aborts if any of the 3 base address registers are
    disabled. On a TunnelCreek system I am working on, this resulted in the
    SMBIOS and GPIO devices being removed when it couldn't read the base
    address for the watchdog timer.

    This patch accommodates partial population of the lpc_sch_cells array and
    only aborts if all the base address registers are disabled. A max size
    array is allocated and the individual device cells are added to it after
    their base addresses are successfully determined. This simplifies the
    code a bit by removing the need for the separate tunnelcreek cells array
    and combining some of the add/remove logic.

    Cc: Grant Likely ,
    Cc: Denis Turischev ,
    Cc: Greg Kroah-Hartman ,
    Cc: Linus Walleij
    Signed-off-by: Darren Hart
    Signed-off-by: Samuel Ortiz

    Darren Hart
     

29 Nov, 2012

3 commits

  • CONFIG_HOTPLUG is going away as an option so __devexit is no
    longer needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devinit is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     
  • CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
    needed.

    Signed-off-by: Bill Pemberton
    Cc: Srinidhi Kasagar
    Cc: Peter Tyser
    Cc: Daniel Walker
    Cc: Bryan Huntsman
    Acked-by: David Brown
    Acked-by: Linus Walleij
    Acked-by: Mark Brown
    Signed-off-by: Greg Kroah-Hartman

    Bill Pemberton
     

16 Sep, 2012

1 commit

  • Currently the MFD core supports remapping MFD cell interrupts using an
    irqdomain but only if the MFD is being instantiated using device tree
    and only if the device tree bindings use the pattern of registering IPs
    in the device tree with compatible properties. This will be actively
    harmful for drivers which support non-DT platforms and use this pattern
    for their DT bindings as it will mean that the core will silently change
    remapping behaviour and it is also limiting for drivers which don't do
    DT with this particular pattern. There is also a potential fragility if
    there are interrupts not associated with MFD cells and all the cells are
    omitted from the device tree for some reason.

    Instead change the code to take an IRQ domain as an optional argument,
    allowing drivers to take the decision about the parent domain for their
    interrupts. The one current user of this feature is ab8500-core, it has
    the domain lookup pushed out into the driver.

    Signed-off-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Mark Brown
     

20 May, 2012

1 commit


09 May, 2012

1 commit


01 May, 2012

1 commit

  • This patch converts the drivers in drivers/mfd/* to use module_pci_driver()
    macro which makes the code smaller and a bit simpler.

    Signed-off-by: Axel Lin
    Cc: Andres Salomon
    Cc: Ira W. Snyder
    Cc: Florian Fainelli
    Cc: Denis Turischev
    Cc: Harald Welte
    Signed-off-by: Samuel Ortiz

    Axel Lin
     

09 Jan, 2012

1 commit

  • Convert static struct pci_device_id *[] to static DEFINE_PCI_DEVICE_TABLE
    tables.

    Cc: Andres Salomon
    Cc: Denis Turischev
    Cc: Ben Dooks
    Cc: Vincent Sanders
    Cc: Mocean Laboratories
    Cc: Harald Welte
    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz

    Axel Lin
     

01 Aug, 2011

1 commit


23 Mar, 2011

1 commit

  • Intel Poulsbo SCH and Tunnel Creek provide almost the
    same LPC interface. Use the same driver for both devices while
    storing PCI ID to distinguish between platforms to apply plarform
    related quirks.

    Signed-off-by: Denis Turischev
    Signed-off-by: Samuel Ortiz

    Denis Turischev
     

08 Mar, 2010

1 commit