13 Aug, 2020

1 commit


07 Jul, 2020

1 commit


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
     

14 May, 2019

1 commit

  • The AXP223 can be used both using the RSB proprietary bus, or a more
    traditional I2C bus. The RSB is a faster bus and provides more features
    (like some integrity checks on the messages), so it's usually preferrable
    to use it, but since it's proprietary, when we want to use the PMIC in a
    multi-master setup, the i2c might make sense as well.

    Let's add that possibility.

    Signed-off-by: Maxime Ripard
    Acked-by: Chen-Yu Tsai
    Signed-off-by: Lee Jones

    Maxime Ripard
     

27 Jul, 2018

1 commit

  • The Pine64 H64 board uses an AXP806 PMIC in I2C and self-working mode.
    The H64 SoC does not have the usual RSB controller.

    This patch adds AXP806 to the list of devices supported in I2C mode.
    In theory, all RSB-based PMICs can also be used in I2C mode.

    Signed-off-by: Chen-Yu Tsai
    Reviewed-by: Icenowy Zheng
    Tested-by: Icenowy Zheng
    Acked-by: Maxime Ripard
    Signed-off-by: Lee Jones

    Chen-Yu Tsai
     

29 Nov, 2016

1 commit


12 Feb, 2016

1 commit

  • The axp20x driver assumes the device is i2c based. This is not the
    case with later chips, which use a proprietary 2 wire serial bus
    by Allwinner called "Reduced Serial Bus".

    This patch follows the example of mfd/wm831x and splits it into
    an interface independent core, and an i2c specific glue layer.
    MFD_AXP20X and the new MFD_AXP20X_I2C are changed to tristate
    symbols, allowing the driver to be built as modules.

    Whitespace and other style errors in the moved i2c specific code
    have been fixed. Included but unused header files are removed as
    well.

    Signed-off-by: Chen-Yu Tsai
    Signed-off-by: Lee Jones

    Chen-Yu Tsai