OSDN Git Service

smb138x: introduce support for smb1355
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Wed, 5 Apr 2017 00:29:36 +0000 (17:29 -0700)
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>
Sat, 8 Apr 2017 00:35:19 +0000 (17:35 -0700)
commit566b44214cc08786375ac8266ee387e431413078
treecf2191fbd60701699d3c5d7c1469074b79d61334
parentc3e9d3d01d5643e7fafbe33e333c1f6fd18254a9
smb138x: introduce support for smb1355

Smb1355 is a derivative chip of smb1381, where features like
input current control and the tadc have been removed. Smb1355
can only be used in parallel mode and that too in mid-mid
configuration.

Note that even if smb1355 doesn't have an adc, its die temperature
could be measured by an external adc. So keep the support for
charger_temp and charger_temp_max properties.

Also smb1355's aux therm input will likely be connected to the
connector thermistor. Support connector_temp_health property.

Change-Id: I738d60ea3385c296187a9cc8afe8134feb8c615f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Documentation/devicetree/bindings/power/supply/qcom/smb138x-charger.txt
drivers/power/supply/qcom/smb-reg.h
drivers/power/supply/qcom/smb138x-charger.c