Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916-samsung-heatqlte: Formatting fixes
Browse files Browse the repository at this point in the history
Remove unuseful label, use interrupts-extended and fix "nfc" typo

Signed-off-by: Celeste Lucero <[email protected]>
  • Loading branch information
celele64 committed May 30, 2024
1 parent 378a0ff commit 72915f9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions arch/arm64/boot/dts/qcom/msm8916-samsung-heatqlte.dts
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
pinctrl-names = "default";
};

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

pinctrl-0 = <&nfc_touchkey_default>;
pinctrl-0 = <&touchkey_i2c_default>;
pinctrl-names = "default";

#address-cells = <1>;
Expand All @@ -62,16 +62,15 @@
compatible = "cypress,tm2-touchkey";
reg = <0x20>;

interrupt-parent = <&tlmm>;
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
interrupts-extended = <&tlmm 9 IRQ_TYPE_EDGE_RISING>;

vcc-supply = <&reg_vcc_touchkey>;
vdd-supply = <&reg_vdd_touchkey_led>;

linux,keycodes = <KEY_APPSELECT KEY_BACK>;

pinctrl-0 = <&touchkey_int_default>;
pinctrl-names = "default";

linux,keycodes = <KEY_APPSELECT KEY_BACK>;
};
};

Expand All @@ -92,7 +91,7 @@
bias-disable;
};

nfc_touchkey_default: nfc-touchkey-default-state {
touchkey_i2c_default: touchkey-i2c-default-state {
pins = "gpio8", "gpio10";
function = "gpio";
drive-strength = <2>;
Expand Down

0 comments on commit 72915f9

Please sign in to comment.