Skip to content

Commit

Permalink
arm64: dts: qcom: sc7180: Fully describe fingerprint node on Trogdor
Browse files Browse the repository at this point in the history
Update the fingerprint node on Trogdor to match the fingerprint DT
binding. This will allow us to drive the reset and boot gpios from the
driver when it is re-attached after flashing. We'll also be able to boot
the fingerprint processor if the BIOS isn't doing it for us.

Cc: Douglas Anderson <dianders@chromium.org>
Cc: Matthias Kaehlcke <mka@chromium.org>
Cc: Alexandru M Stan <amstan@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221107191535.624371-3-swboyd@chromium.org
  • Loading branch information
bebarino authored and andersson committed Nov 8, 2022
1 parent aefd537 commit 9ec68fe
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -894,13 +894,16 @@ ap_spi_fp: &spi10 {
cs-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;

cros_ec_fp: ec@0 {
compatible = "google,cros-ec-spi";
compatible = "google,cros-ec-fp", "google,cros-ec-spi";
reg = <0>;
interrupt-parent = <&tlmm>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&fp_to_ap_irq_l>;
pinctrl-0 = <&fp_to_ap_irq_l>, <&fp_rst_l>, <&fpmcu_boot0>;
boot0-gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
reset-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
spi-max-frequency = <3000000>;
vdd-supply = <&pp3300_fp_tp>;
};
};

Expand Down Expand Up @@ -1226,6 +1229,13 @@ ap_spi_fp: &spi10 {
bias-disable;
};

fp_rst_l: fp-rst-l-state {
pins = "gpio22";
function = "gpio";
bias-disable;
drive-strength = <2>;
};

fp_to_ap_irq_l: fp-to-ap-irq-l-state {
pins = "gpio4";
function = "gpio";
Expand All @@ -1235,6 +1245,12 @@ ap_spi_fp: &spi10 {
bias-disable;
};

fpmcu_boot0: fpmcu-boot0-state {
pins = "gpio10";
function = "gpio";
bias-disable;
};

h1_ap_int_odl: h1-ap-int-odl-state {
pins = "gpio42";
function = "gpio";
Expand Down

0 comments on commit 9ec68fe

Please sign in to comment.