12 Aug, 2019

1 commit


23 Oct, 2018

1 commit


05 Sep, 2017

1 commit


29 Jun, 2016

1 commit

  • The Kconfig currently controlling compilation of this code is:

    mfd/Kconfig:config MFD_MAX8998
    mfd/Kconfig: bool "Maxim Semiconductor MAX8998/National LP3974 PMIC Support"

    ...meaning that it currently is not being built as a module by anyone.

    Lets remove the modular code that is essentially orphaned, so that
    when reading the driver there is no doubt it is builtin-only.

    We explicitly disallow a driver unbind, since that doesn't have a
    sensible use case anyway, and it allows us to drop the ".remove"
    code for non-modular drivers.

    Since module_init was not in use by this code, the init ordering
    remains unchanged with this commit.

    We delete the include of module.h as well as an unused include of
    moduleparam.h too.

    Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

    We also delete the MODULE_LICENSE tag etc. since all that information
    is already contained at the top of the file in the comments.

    Signed-off-by: Paul Gortmaker
    Signed-off-by: Lee Jones

    Paul Gortmaker
     

14 Jan, 2016

1 commit


11 Aug, 2015

1 commit


03 Jun, 2014

1 commit


19 Mar, 2014

1 commit

  • During probe the driver allocates dummy I2C device for RTC with i2c_new_dummy() but it does not check the return value of this call.

    In case of error (i2c_new_device(): memory allocation failure or I2C
    address cannot be used) this function returns NULL which is later used
    by i2c_unregister_device().

    If i2c_new_dummy() fails for RTC device, fail also the probe for
    main MFD driver.

    Cc: stable@vger.kernel.org
    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Lee Jones

    Krzysztof Kozlowski
     

19 Feb, 2014

1 commit


24 Jan, 2014

1 commit


06 Jan, 2014

1 commit

  • As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
    refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
    mfd_add_devices() is "const" again. Hence make all cell data passed to
    mfd_add_devices() const where possible.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Lee Jones

    Geert Uytterhoeven
     

20 Aug, 2013

1 commit


31 Jul, 2013

1 commit


01 Jul, 2013

1 commit


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
     

09 Jan, 2012

1 commit


08 Jul, 2011

1 commit


27 Mar, 2011

1 commit


23 Mar, 2011

1 commit


14 Jan, 2011

2 commits

  • The first releases of LP3974 have a large delay in RTC registers,
    which requires 2 seconds of delay after writing to a rtc register
    (recommended by National Semiconductor's engineers)
    before reading it.

    If "rtc_delay" field of the platform data is true, the rtc driver
    assumes that such delays are required. Although we have not seen
    LP3974s without requiring such delays, we assume that such LP3974s
    will be released soon (or they have done so already) and they are
    supported by "lp3974" without setting "rtc_delay" at the platform
    data.

    This patch adds delays with msleep when writing values to RTC registers
    if the platform data has rtc_delay set.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Reviewed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    MyungJoo Ham
     
  • This patch makes the driver to save and restore register values
    for hibernation.

    Signed-off-by: MyungJoo Ham
    Signed-off-by: Kyungmin Park
    Signed-off-by: Samuel Ortiz

    MyungJoo Ham
     

29 Oct, 2010

7 commits


11 Aug, 2010

2 commits

  • The i2c_client received in probe() should not be kfree()'d.

    Signed-off-by: Axel Lin
    Signed-off-by: Samuel Ortiz
    Signed-off-by: Liam Girdwood

    Axel Lin
     
  • Acked-by: Mark Brown

    This patch adds voltage regulator driver for Maxim 8998 chip. This chip
    is used on Samsung Aquila and GONI boards and provides following
    functionalities:
    - 4 BUCK voltage converters, 17 LDO power regulators and 5 other power
    controllers
    - battery charger

    This patch adds basic driver for voltage regulators and MAX 8998 MFD core.

    Signed-off-by: Kyungmin Park
    Signed-off-by: Marek Szyprowski
    Acked-by: Samuel Ortiz
    Acked-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Kyungmin Park