power: qpnp-fg-gen3: Add property to set delay between RID and BMD

After reading RID through RRADC, some delay is required before enabling
BMD. This delay helps to discharge the voltage on BATT_ID which can
prevent premature trigger of battery missing irq. The delay time needed
may vary across devices depending on the capacitance existing on the
BATT_ID line, so make it configurable through devicetree.

CRs-Fixed: 2075660
Change-Id: I1f67ae521a94d9597a0e08cadc0d72966f4f3856
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
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 0123682..d0d878b 100644
--- a/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
+++ b/Documentation/devicetree/bindings/power/supply/qcom/qpnp-fg-gen3.txt
@@ -385,6 +385,11 @@
 		    property "qcom,slope-limit-temp-threshold" to make dynamic
 		    slope limit adjustment functional.
 
+- qcom,fg-bmd-en-delay-ms
+	Usage:      optional
+	Value type: <u32>
+	Definition: The delay in ms for FG to enable BMD after reading RID.
+
 ==========================================================
 Second Level Nodes - Peripherals managed by FG Gen3 driver
 ==========================================================