Commit 7a7ef0f2 authored by Charles Keepax's avatar Charles Keepax Committed by Chanwoo Choi

extcon: arizona: Update naming for micd-timeout DT to include units

Add time units of -ms (milliseconds) to wlf,micd-timeout.
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 832df9e8
...@@ -33,7 +33,7 @@ Optional properties: ...@@ -33,7 +33,7 @@ Optional properties:
specified as per the ARIZONA_MICD_TIME_XXX defines. specified as per the ARIZONA_MICD_TIME_XXX defines.
- wlf,micd-dbtime : Microphone detection hardware debounces specified as the - wlf,micd-dbtime : Microphone detection hardware debounces specified as the
number of measurements to take, valid values being 2 and 4. number of measurements to take, valid values being 2 and 4.
- wlf,micd-timeout : Timeout for microphone detection, specified in - wlf,micd-timeout-ms : Timeout for microphone detection, specified in
milliseconds. milliseconds.
- wlf,micd-force-micbias : Force MICBIAS continuously on during microphone - wlf,micd-force-micbias : Force MICBIAS continuously on during microphone
detection. detection.
......
...@@ -1230,7 +1230,7 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona) ...@@ -1230,7 +1230,7 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona)
device_property_read_u32(arizona->dev, "wlf,micd-dbtime", device_property_read_u32(arizona->dev, "wlf,micd-dbtime",
&pdata->micd_dbtime); &pdata->micd_dbtime);
device_property_read_u32(arizona->dev, "wlf,micd-timeout", device_property_read_u32(arizona->dev, "wlf,micd-timeout-ms",
&pdata->micd_timeout); &pdata->micd_timeout);
pdata->micd_force_micbias = device_property_read_bool(arizona->dev, pdata->micd_force_micbias = device_property_read_bool(arizona->dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment