Add JEITA properties and introduce the bq2515x charger
From: | Ricardo Rivera-Matos <r-rivera-matos-AT-ti.com> | |
To: | <sre-AT-kernel.org>, <pali-AT-kernel.org>, <robh-AT-kernel.org> | |
Subject: | [PATCH v17 0/4] Add JEITA properties and introduce the bq2515x charger | |
Date: | Mon, 20 Jul 2020 15:43:56 -0500 | |
Message-ID: | <20200720204400.7351-1-r-rivera-matos@ti.com> | |
Cc: | <afd-AT-ti.com>, <r-rivera-matos-AT-ti.com>, <dmurphy-AT-ti.com>, <linux-pm-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <sspatil-AT-android.com> | |
Archive-link: | Article |
Hello, This patchset adds additional health properties to the power_supply header. These additional properties are taken from the JEITA specification. This patchset also introduces the bq2515x family of charging ICs. Dan Murphy (2): power_supply: Add additional health properties to the header dt-bindings: power: Convert battery.txt to battery.yaml Ricardo Rivera-Matos (2): dt-bindings: power: Add the bindings for the bq2515x family of chargers. power: supply: bq25150 introduce the bq25150 Documentation/ABI/testing/sysfs-class-power | 3 +- .../bindings/power/supply/battery.txt | 86 +- .../bindings/power/supply/battery.yaml | 157 +++ .../bindings/power/supply/bq2515x.yaml | 93 ++ drivers/power/supply/Kconfig | 13 + drivers/power/supply/Makefile | 1 + drivers/power/supply/bq2515x_charger.c | 1169 +++++++++++++++++ drivers/power/supply/power_supply_sysfs.c | 3 + include/linux/power_supply.h | 3 + 9 files changed, 1442 insertions(+), 86 deletions(-) create mode 100644 Documentation/devicetree/bindings/power/supply/battery.yaml create mode 100644 Documentation/devicetree/bindings/power/supply/bq2515x.yaml create mode 100644 drivers/power/supply/bq2515x_charger.c -- 2.27.0