Skip to content

Commit

Permalink
arm64/dts: gs101: fingerprint: Configure GF pinctrl properly
Browse files Browse the repository at this point in the history
Test: No unbalanced IRQ warning

Signed-off-by: Dyneteve <[email protected]>
Signed-off-by: celtare21 <[email protected]>
  • Loading branch information
Dyneteve authored and celtare21 committed Dec 16, 2022
1 parent 99be497 commit acbc3fc
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions arch/arm64/boot/dts/google/gs101-raviole-fingerprint.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,23 @@
#include <dt-bindings/pinctrl/samsung.h>

&pinctrl_4 {
goodix_rst_power_down: goodix_rst_power_down {
samsung,pins ="gpp4-3";
goodixfp_pins: goodixfp_pins {
samsung,pins = "gpp4-3";
samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
samsung,pin-con-pdn = <EXYNOS_PIN_PDN_PREV>;
samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
};
};

&pinctrl_0 {
goodix_irq_power_down: goodix_irq_power_down {
samsung,pins ="gpa9-2";
samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
};
};

&odm {
goodixfp: goodixfp {
status = "okay";
compatible = "goodix,fingerprint";
interrupt-parent = <&gpa9>;
interrupts = <2 0>;
pinctrl-names = "default";
pinctrl-0 = <&goodix_rst_power_down &goodix_irq_power_down>;
pinctrl-0 = <&goodixfp_pins>;
fp-gpio-irq = <&gpa9 2 GPIO_ACTIVE_HIGH>;
fp-gpio-reset = <&gpp4 3 GPIO_ACTIVE_LOW>;
};
Expand Down

0 comments on commit acbc3fc

Please sign in to comment.