extcon: arizona: Update naming for second jack detection DT binding
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 20 Nov 2015 08:53:59 +0000 (17:53 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 23 Nov 2015 23:59:11 +0000 (08:59 +0900)
Update the name for the second jack detection pin binding to be a little
less confusing.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/devicetree/bindings/extcon/extcon-arizona.txt
drivers/extcon/extcon-arizona.c

index 7640a35..8aa0bd4 100644 (file)
@@ -14,9 +14,9 @@ Optional properties:
     If this node is not mentioned or if the value is unknown, then
     headphone detection mode is set to HPDETL.
 
-  - wlf,use-jd-gpio : Use GPIO input along with JD1 for dual pin jack
+  - wlf,use-jd2 : Use the additional JD input along with JD1 for dual pin jack
     detection.
-  - wlf,use-jd-gpio-nopull : Internal pull on GPIO is disabled when used for
+  - wlf,use-jd2-nopull : Internal pull on JD2 is disabled when used for
     jack detection.
   - wlf,jd-invert : Invert the polarity of the jack detection switch
 
index 7c9598d..c377030 100644 (file)
@@ -1245,9 +1245,9 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona)
        device_property_read_u32(arizona->dev, "wlf,gpsw", &pdata->gpsw);
 
        pdata->jd_gpio5 = device_property_read_bool(arizona->dev,
-                                                   "wlf,use-jd-gpio");
+                                                   "wlf,use-jd2");
        pdata->jd_gpio5_nopull = device_property_read_bool(arizona->dev,
-                                               "wlf,use-jd-gpio-nopull");
+                                               "wlf,use-jd2-nopull");
 
        return 0;
 }