OSDN Git Service

ARM: dts: msm: Configure GPIO5 for home key for 8998 QRD interposer
authorcyizhao <cyizhao@codeaurora.org>
Tue, 22 Nov 2016 09:46:21 +0000 (17:46 +0800)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 16 Dec 2016 02:03:58 +0000 (18:03 -0800)
GPIO5 on PMI8998 is used for home key on QRD8998HB device, configure it
to input and pull up for GPIO key detection.

CRs-Fixed: 1098764
Change-Id: I3aa8da3222668739042215a55e2a10b582d44c8b
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
arch/arm/boot/dts/qcom/msm8998-qrd-skuk.dtsi

index dcd84e7..d59db39 100644 (file)
 };
 
 &pm8998_gpios {
+       /* GPIO 5 for Home Key */
+       gpio@c400 {
+               status = "okay";
+               qcom,mode = <0>;
+               qcom,pull = <0>;
+               qcom,vin-sel = <0>;
+               qcom,src-sel = <0>;
+               qcom,out-strength = <1>;
+       };
+
        /* GPIO 6 for Vol+ Key */
        gpio@c500 {
                status = "okay";