Commit 4c69f68
FROMLIST: PCI: qcom: reshuffle reset logic in 2_7_0 .init
At least on SC8280XP, if the PCIe reset is asserted, the corresponding
AUX_CLK will be stuck at 'off'. This has not been an issue so far,
since the reset is both left de-asserted by the previous boot stages
and the driver only toggles it briefly in .init.
As part of the upcoming suspend procedure however, the reset will be
held asserted.
Assert the reset (which may end up being a NOP in some cases) and
de-assert it back *before* turning on the clocks in preparation for
introducing RC powerdown and reinitialization.
Link: https://lore.kernel.org/linux-pci/20240210-topic-8280_pcie-v2-0-1cef4b606883@linaro.org/
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Krishna Chaitanya Chundru <krichai@qti.qualcomm.com>1 parent 82f2b0b commit 4c69f68
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
944 | 944 | | |
945 | 945 | | |
946 | 946 | | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
| 947 | + | |
951 | 948 | | |
952 | 949 | | |
953 | 950 | | |
954 | | - | |
| 951 | + | |
955 | 952 | | |
956 | | - | |
957 | 953 | | |
958 | 954 | | |
| 955 | + | |
959 | 956 | | |
960 | 957 | | |
961 | 958 | | |
962 | | - | |
| 959 | + | |
963 | 960 | | |
964 | | - | |
965 | 961 | | |
966 | 962 | | |
967 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
| |||
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
997 | | - | |
998 | | - | |
999 | 997 | | |
1000 | 998 | | |
1001 | 999 | | |
| |||
0 commit comments