Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 832df9e8 authored by Charles Keepax's avatar Charles Keepax Committed by Chanwoo Choi
Browse files

extcon: arizona: Update naming for second jack detection DT binding



Update the name for the second jack detection pin binding to be a little
less confusing.

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 36a86872
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -14,9 +14,9 @@ Optional properties:
    If this node is not mentioned or if the value is unknown, then
    If this node is not mentioned or if the value is unknown, then
    headphone detection mode is set to HPDETL.
    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.
    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.
    jack detection.
  - wlf,jd-invert : Invert the polarity of the jack detection switch
  - wlf,jd-invert : Invert the polarity of the jack detection switch


+2 −2
Original line number Original line Diff line number Diff line
@@ -1245,9 +1245,9 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona)
	device_property_read_u32(arizona->dev, "wlf,gpsw", &pdata->gpsw);
	device_property_read_u32(arizona->dev, "wlf,gpsw", &pdata->gpsw);


	pdata->jd_gpio5 = device_property_read_bool(arizona->dev,
	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,
	pdata->jd_gpio5_nopull = device_property_read_bool(arizona->dev,
						"wlf,use-jd-gpio-nopull");
						"wlf,use-jd2-nopull");


	return 0;
	return 0;
}
}