kernel_optimize_test/drivers/pinctrl/qcom
Bjorn Andersson 84f64c7c52 pinctrl: qcom: sdm845: Enable dual edge errata
[ Upstream commit 3a3a100473d2f6ebf9bdfe6efedd7e18de724388 ]

It has been observed that dual edge triggered wakeirq GPIOs on SDM845
doesn't trigger interrupts on the falling edge.

Enabling wakeirq_dual_edge_errata for SDM845 indicates that the PDC in
SDM845 suffers from the same problem described, and worked around, by
Doug in 'c3c0c2e18d94 ("pinctrl: qcom: Handle broken/missing PDC dual
edge IRQs on sc7180")', so enable the workaround for SDM845 as well.

The specific problem seen without this is that gpio-keys does not detect
the falling edge of the LID gpio on the Lenovo Yoga C630 and as such
consistently reports the LID as closed.

Fixes: e35a6ae0eb ("pinctrl/msm: Setup GPIO chip in hierarchy")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-By: Steev Klimaszewski <steev@kali.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20211102034115.1946036-1-bjorn.andersson@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:39:18 +01:00
..
Kconfig
Makefile
pinctrl-apq8064.c
pinctrl-apq8084.c
pinctrl-ipq4019.c
pinctrl-ipq6018.c
pinctrl-ipq8064.c
pinctrl-ipq8074.c
pinctrl-mdm9615.c
pinctrl-msm.c
pinctrl-msm.h
pinctrl-msm8x74.c
pinctrl-msm8226.c
pinctrl-msm8660.c
pinctrl-msm8916.c
pinctrl-msm8960.c
pinctrl-msm8976.c
pinctrl-msm8994.c
pinctrl-msm8996.c
pinctrl-msm8998.c
pinctrl-qcs404.c
pinctrl-qdf2xxx.c
pinctrl-sc7180.c
pinctrl-sdm660.c
pinctrl-sdm845.c
pinctrl-sm8150.c
pinctrl-sm8250.c
pinctrl-spmi-gpio.c
pinctrl-spmi-mpp.c
pinctrl-ssbi-gpio.c
pinctrl-ssbi-mpp.c