Skip to content

Commit 72915f9

Browse files
committed
arm64: dts: qcom: msm8916-samsung-heatqlte: Formatting fixes
Remove unuseful label, use interrupts-extended and fix "nfc" typo Signed-off-by: Celeste Lucero <[email protected]>
1 parent 378a0ff commit 72915f9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

arch/arm64/boot/dts/qcom/msm8916-samsung-heatqlte.dts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
pinctrl-names = "default";
4848
};
4949

50-
i2c_touchkey: i2c-touchkey {
50+
i2c-touchkey {
5151
compatible = "i2c-gpio";
5252
sda-gpios = <&tlmm 8 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
5353
scl-gpios = <&tlmm 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
5454

55-
pinctrl-0 = <&nfc_touchkey_default>;
55+
pinctrl-0 = <&touchkey_i2c_default>;
5656
pinctrl-names = "default";
5757

5858
#address-cells = <1>;
@@ -62,16 +62,15 @@
6262
compatible = "cypress,tm2-touchkey";
6363
reg = <0x20>;
6464

65-
interrupt-parent = <&tlmm>;
66-
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
65+
interrupts-extended = <&tlmm 9 IRQ_TYPE_EDGE_RISING>;
6766

6867
vcc-supply = <&reg_vcc_touchkey>;
6968
vdd-supply = <&reg_vdd_touchkey_led>;
7069

71-
linux,keycodes = <KEY_APPSELECT KEY_BACK>;
72-
7370
pinctrl-0 = <&touchkey_int_default>;
7471
pinctrl-names = "default";
72+
73+
linux,keycodes = <KEY_APPSELECT KEY_BACK>;
7574
};
7675
};
7776

@@ -92,7 +91,7 @@
9291
bias-disable;
9392
};
9493

95-
nfc_touchkey_default: nfc-touchkey-default-state {
94+
touchkey_i2c_default: touchkey-i2c-default-state {
9695
pins = "gpio8", "gpio10";
9796
function = "gpio";
9897
drive-strength = <2>;

0 commit comments

Comments
 (0)