summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt1
-rw-r--r--drivers/power/supply/qcom/fg-reg.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt b/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
index 35d8d0d7d50b..221657780178 100644
--- a/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
+++ b/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
@@ -118,7 +118,6 @@ First Level Node - FG Gen3 device
Definition: Specifies the source of sense resistor.
Allowed values are:
0 - Rsense is from Battery FET
- 1 - Rsense is external
2 - Rsense is Battery FET and SMB
Option 2 can be used only when a parallel charger is
present. If this property is not specified, then the
diff --git a/drivers/power/supply/qcom/fg-reg.h b/drivers/power/supply/qcom/fg-reg.h
index 7ad26215e469..bf2827fb550d 100644
--- a/drivers/power/supply/qcom/fg-reg.h
+++ b/drivers/power/supply/qcom/fg-reg.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -211,7 +211,6 @@
#define ADC_BITSTREAM_INV_BIT BIT(4)
#define SOURCE_SELECT_MASK GENMASK(1, 0)
#define SRC_SEL_BATFET 0x0
-#define SRC_SEL_RSENSE 0x1
#define SRC_SEL_BATFET_SMB 0x2
#define SRC_SEL_RESERVED 0x3