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
     

27 Jul, 2018

1 commit

  • Add const to the declaration of various local variables of type
    kempld_platform_data for which the referenced value is always only
    dereferenced or passed to a const parameter, to record the fact that
    kempld_platform_data_generic is declared as const.

    The semantic match that finds this issue is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r@
    identifier i,j;
    @@
    const struct i j = { ... };

    @ok@
    identifier r.i;
    position p;
    @@
    const struct i@p *

    @@
    identifier r.i;
    position p != ok.p;
    @@
    * struct i@p *
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Lee Jones

    Julia Lawall
     

08 Jan, 2018

1 commit


14 Sep, 2017

1 commit


13 Feb, 2017

1 commit


29 Jun, 2016

1 commit

  • This is an unmodified resend of the patch already been sent on
    February 17 as it seems to have fallen through the net.

    This patch adds the DMI system ID of the Kontron COMe-cSL6 and
    COME-mAL10 boards to the Kontron PLD driver. The list of supported
    products in the module description is also updated.

    Signed-off-by: Michael Brunner
    Acked-by: Christian Rauch
    Acked-by: Guenter Roeck
    Reviewed-by: Darren Hart
    Signed-off-by: Lee Jones

    Michael Brunner
     

31 Oct, 2015

1 commit


11 Aug, 2015

1 commit


15 Apr, 2015

1 commit

  • Pull MFD updates from Lee Jones:
    "Changes to existing drivers:

    - Rename child driver [axp288_battery => axp288_fuel_gauge]; axp20x
    - Rename child driver [max77693-flash => max77693-led]; max77693
    - Error handling fixes; intel_soc_pmic
    - GPIO tweaking; intel_soc_pmic
    - Remove non-DT code; vexpress-sysreg, tc3589x
    - Remove unused/legacy code; ti_am335x_tscadc, rts5249, rtsx_gops, rtsx_pcr,
    rtc-s5m, sec-core, max77693, menelaus,
    wm5102-tables
    - Trivial fixups; rtsx_pci, da9150-core, sec-core, max7769, max77693,
    mc13xxx-core, dln2, hi6421-pmic-core, rk808, twl4030-power,
    lpc_ich, menelaus, twl6040
    - Update register/address values; rts5227, rts5249
    - DT and/or binding document fixups; arizona, da9150, mt6397, axp20x,
    qcom-rpm, qcom-spmi-pmic
    - Couple of trivial core Kconfig fixups
    - Remove use of seq_printf return value; ab8500-debugfs
    - Remove __exit markups; menelaus, tps65010
    - Fix platform-device name collisions; mfd-core

    New drivers/supported devices:

    - Add support for wm8280/wm8281 into arizona
    - Add support for COMe-cBL6 into kempld-core
    - Add support for rts524a and rts525a into rts5249
    - Add support for ipq8064 into qcom_rpm
    - Add support for extcon into axp20x
    - New MediaTek MT6397 PMIC driver
    - New Maxim MAX77843 PMIC dirver
    - New Intel Quark X1000 I2C-GPIO driver
    - New Skyworks SKY81452 driver"

    * tag 'mfd-for-linus-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (76 commits)
    mfd: sec: Fix RTC alarm interrupt number on S2MPS11
    mfd: wm5102: Remove registers for output 3R from readable list
    mfd: tps65010: Remove incorrect __exit markups
    mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes
    mfd: axp20x: Add support for extcon cell
    mfd: lpc_ich: Sort IDs
    mfd: twl6040: Remove wrong and unneeded "platform:twl6040" modalias
    mfd: qcom-spmi-pmic: Add specific compatible strings for Qualcomm's SPMI PMIC's
    mfd: axp20x: Fix duplicate const for model names
    mfd: menelaus: Use macro for magic number
    mfd: menelaus: Drop support for SW controller VCORE
    mfd: menelaus: Delete omap_has_menelaus
    mfd: arizona: Correct type of gpio_defaults
    mfd: lpc_ich: Sort IDs
    mfd: Fix a typo in Kconfig
    mfd: qcom_rpm: Add support for IPQ8064
    mfd: devicetree: qcom_rpm: Document IPQ8064 resources
    mfd: core: Fix platform-device name collisions
    mfd: intel_quark_i2c_gpio: Don't crash if !DMI
    dt-bindings: Add vendor-prefix for X-Powers
    ...

    Linus Torvalds
     

12 Mar, 2015

1 commit


04 Mar, 2015

1 commit


20 Oct, 2014

1 commit


25 Jul, 2014

1 commit

  • WARNING: line over 80 characters
    +module_param_string(force_device_id, force_device_id, sizeof(force_device_id), 0);

    WARNING: msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt
    + msleep(1);

    WARNING: __initdata should be placed after kempld_dmi_table[]
    +static struct dmi_system_id __initdata kempld_dmi_table[] = {

    WARNING: line over 80 characters
    + for (id = kempld_dmi_table; id->matches[0].slot != DMI_NONE; id++)

    total: 0 errors, 4 warnings, 771 lines checked

    This is part of an effort to clean-up the MFD subsystem.

    Signed-off-by: Lee Jones

    Lee Jones
     

03 Jun, 2014

2 commits


20 Mar, 2014

1 commit

  • On PXT and COMe-cPC2 boards it is observed that the hardware
    mutex is acquired but not being released during initialization.
    This can result in a hang-up during boot if the driver is built
    into the kernel.

    Releasing the mutex twice if it was acquired fixes the problem.
    Subsequent request/release cycles work as expected, so the fix is
    only needed during initialization.

    Cc:
    Reviewed-by: Michael Brunner
    Tested-by: Michael Brunner
    Signed-off-by: Guenter Roeck
    Signed-off-by: Lee Jones

    Guenter Roeck
     

19 Mar, 2014

1 commit


15 Aug, 2013

1 commit


31 Jul, 2013

1 commit


24 Jun, 2013

1 commit

  • Add core MFD driver for the on-board PLD found on some Kontron embedded
    modules. The PLD device may provide functions like watchdog, GPIO, UART
    and I2C bus.

    The following modules are supported:
    * COMe-bIP#
    * COMe-bPC2 (ETXexpress-PC)
    * COMe-bSC# (ETXexpress-SC T#)
    * COMe-cCT6
    * COMe-cDC2 (microETXexpress-DC)
    * COMe-cPC2 (microETXexpress-PC)
    * COMe-mCT10
    * ETX-OH

    Originally-From: Michael Brunner
    Signed-off-by: Kevin Strasser
    Acked-by: Guenter Roeck
    Acked-by: Darren Hart
    Acked-by: Thomas Gleixner
    Signed-off-by: Samuel Ortiz

    Kevin Strasser