13 Aug, 2020
1 commit
-
The AXP803 can be used both using the RSB proprietary bus, or a more
traditional I2C bus.Let's add that possibility.
Signed-off-by: Frank Lee
Acked-by: Chen-Yu Tsai
Signed-off-by: Lee Jones
07 Jul, 2020
1 commit
-
Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI,
struct axp20x_i2c_acpi_match becomes defined by unused.This squashes the current W=1 kernel builds warning:
drivers/mfd/axp20x-i2c.c:82:36: warning: ‘axp20x_i2c_acpi_match’ defined but not used [-Wunused-const-variable=]
Cc: Chen-Yu Tsai
Cc: Carlo Caione
Signed-off-by: Lee Jones
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 foundationthis 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
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
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
29 Nov, 2016
1 commit
-
The i2c subsys does not load modules by compatible, only by
i2c-id, with e.g. a modalias of: "i2c:axp209".Populate the axp20x_i2c_id[] table with supported ids, so that
module auto-loading will work.Reported-by: Dennis Gilmore
Signed-off-by: Hans de Goede
Acked-by: Chen-Yu Tsai
Signed-off-by: Lee Jones
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