05 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the version 2 of the gnu general public
    license 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 3 file(s).

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

    Thomas Gleixner
     

01 Feb, 2019

1 commit

  • The Kconfig currently controlling compilation of this code is:

    drivers/mfd/Kconfig:config MFD_AS3711
    drivers/mfd/Kconfig: bool "AMS AS3711"

    ...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.

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

    We don't replace module.h with init.h since the file already has that.

    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
    Acked-by: Linus Walleij
    Signed-off-by: Lee Jones

    Paul Gortmaker
     

19 Apr, 2016

1 commit


16 Mar, 2016

1 commit

  • Regmap config max_register field should contain number of
    device last register, however num_reg_defaults_raw field
    should be set to register count instead
    (usually one register more than max_register).

    as3711 driver had both of these fields set to the same value,
    fix this by introducing separate defines for max register
    number and total count of registers.

    Signed-off-by: Maciej S. Szmigiero
    Signed-off-by: Lee Jones

    Maciej S. Szmigiero
     

14 Jan, 2016

1 commit

  • WARNING: Possible unnecessary 'out of memory' message
    + if (!pdata) {
    + dev_err(&client->dev, "Failed to allocate pdata\n");

    WARNING: Possible unnecessary 'out of memory' message
    + if (!as3711) {
    + dev_err(&client->dev, "Memory allocation failed\n");

    WARNING: line over 80 characters
    + dev_err(&client->dev, "regmap initialization failed: %d\n", ret);

    WARNING: line over 80 characters
    + /* We can reuse as3711_subdevs[], it will be copied in mfd_add_devices() */

    WARNING: line over 80 characters
    + as3711_subdevs[AS3711_REGULATOR].platform_data = &pdata->regulator;

    WARNING: line over 80 characters
    + as3711_subdevs[AS3711_REGULATOR].pdata_size = sizeof(pdata->regulator);

    WARNING: line over 80 characters
    + as3711_subdevs[AS3711_BACKLIGHT].platform_data = &pdata->backlight;

    WARNING: line over 80 characters
    + as3711_subdevs[AS3711_BACKLIGHT].pdata_size = sizeof(pdata->backlight);

    total: 0 errors, 8 warnings, 236 lines checked

    Signed-off-by: Lee Jones

    Lee Jones
     

11 Aug, 2015

1 commit


03 Jun, 2014

1 commit


23 Oct, 2013

1 commit


31 Jul, 2013

1 commit


05 Apr, 2013

1 commit

  • Add Flat Device Tree support to the AS3711 MFD driver. This patch just
    allows to bind the driver to I2C devices, instantiated from the DT.
    DT support for AS3711 cell drivers will be added in separate drivers.

    Signed-off-by: Guennadi Liakhovetski
    Reviwed-by: Mark Brown
    Signed-off-by: Samuel Ortiz

    Guennadi Liakhovetski
     

23 Nov, 2012

1 commit

  • AS3711 is a PMIC with multiple DCDC and LDO power supplies, GPIOs, an RTC,
    a battery charger and a general purpose ADC. This patch adds support for
    the MFD with support for a regulator driver and a backlight driver.

    Signed-off-by: Guennadi Liakhovetski
    Signed-off-by: Samuel Ortiz

    Guennadi Liakhovetski