This series adds support for all SBS compatible battery chargers, as defined here: http://sbs-forum.org/specs/sbc110.pdf.
The first patch changes the sbs-battery device name in order to be able to create a proper supplier/supplied relation between the two of them. The second introduces the driver. Regards, Nicolas Nicola Saenz Julienne (2): power: supply: sbs-battery: use fixed device name power: supply: add sbs-charger driver drivers/power/supply/Kconfig | 6 + drivers/power/supply/Makefile | 1 + drivers/power/supply/sbs-battery.c | 6 +- drivers/power/supply/sbs-charger.c | 312 +++++++++++++++++++++++++++++++++++++ 4 files changed, 320 insertions(+), 5 deletions(-) create mode 100644 drivers/power/supply/sbs-charger.c -- 2.7.4