Patch "arm64: dts: qcom: sc7280-herobrine: Drop outputs on fpmcu pins" has been added to the 5.18-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: qcom: sc7280-herobrine: Drop outputs on fpmcu pins

to the 5.18-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-qcom-sc7280-herobrine-drop-outputs-on-fpmc.patch
and it can be found in the queue-5.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 21bbe1db24c109c1e441080d1271ee0d92268b27
Author: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Date:   Wed Mar 16 18:06:39 2022 -0700

    arm64: dts: qcom: sc7280-herobrine: Drop outputs on fpmcu pins
    
    [ Upstream commit dbcbeed94f3b6f7f24349a7f335cc603a682e7a7 ]
    
    Having these pins with outputs is good on a fresh boot because it puts
    the boot and reset pins in a known "good" state. Unfortunately, that
    conflicts with the fingerprint firmware flashing code. The firmware
    flashing process binds and unbinds the cros-ec and spidev drivers and
    that reapplies the pin output values after the flashing code has
    overridden the gpio values. This causes a problem because we try to put
    the device into bootloader mode, bind the spidev driver and that
    inadvertently puts it right back into normal boot mode, breaking the
    flashing process.
    
    Fix this by removing the outputs. We'll introduce a binding for
    fingerprint cros-ec specifically to set the gpios properly via gpio APIs
    during cros-ec driver probe instead.
    
    Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
    Cc: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
    Cc: Alexandru M Stan <amstan@xxxxxxxxxxxx>
    Fixes: 116f7cc43d28 ("arm64: dts: qcom: sc7280: Add herobrine-r1")
    Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
    Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220317010640.2498502-2-swboyd@xxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
index 7b8fe20afcea..488caa48cba3 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
@@ -677,7 +677,6 @@ fp_rst_l: fp-rst-l {
 		function = "gpio";
 		bias-disable;
 		drive-strength = <2>;
-		output-high;
 	};
 
 	fp_to_ap_irq_l: fp-to-ap-irq-l {
@@ -691,7 +690,6 @@ fpmcu_boot0: fpmcu-boot0 {
 		pins = "gpio68";
 		function = "gpio";
 		bias-disable;
-		output-low;
 	};
 
 	gsc_ap_int_odl: gsc-ap-int-odl {



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux