diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-09-12 10:53:53 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-24 16:37:49 +0400 |
commit | 25cc24c200dcba21bd1f1a59a01741185062dc0e (patch) | |
tree | ae703a9820ca20dfa004a6886d9ca122df735b07 /drivers/mfd | |
parent | 52addcf9d6669fa439387610bc65c92fa0980cef (diff) | |
download | linux-25cc24c200dcba21bd1f1a59a01741185062dc0e.tar.xz |
mfd: max14577: Add defines for MAX77836 charger
Prepare for adding support for MAX77836 charger to the max14577 charger
driver by adding necessary new defines and prefixes to existing ones.
The MAX77836 uses slightly different values for ChgTyp field of STATUS2
register. On the MAX14577 value of 0x6 is reserved and 0x7 dead battery.
On the MAX77836 the opposite:
- 0x6 means special charger,
- 0x7 is reserved.
Regardless of these differences use one common enum
max14577_muic_charger_type.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions