linux/drivers/pinctrl/qcom
Richard Acayan 27030ff787 pinctrl: qcom: fail to retrieve configuration from invalid pin groups
The pinconf-groups debugfs file dumps each valid configuration item of
all pin groups. Some platforms and devices may have pin groups which
cannot be accessed, according to commit 691bf5d5a7 ("pinctrl: qcom:
Don't allow protected pins to be requested"). Fail for each
configuration item of an invalid pin group by checking the GPIO chip's
valid mask.

The validity of the pin group cannot be checked in the generic pinconf
dump (function "pinconf_generic_dump_one"), as it does not directly
interact with the gpiochip or the pinmux callbacks (which would give it
access to the request callback). Instead, an entry contains the ID and
name of the pingroup with no properties when all items fail.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Link: https://lore.kernel.org/r/20231128020202.728156-3-mailingradian@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-12-04 15:32:42 +01:00
..
Kconfig pinctrl: qcom: sm8650-lpass-lpi: add SM8650 LPASS 2023-11-13 14:58:02 +01:00
Kconfig.msm pinctrl: qcom: Add X1E80100 pinctrl driver 2023-11-24 11:22:12 +01:00
Makefile pinctrl: qcom: Add X1E80100 pinctrl driver 2023-11-24 11:22:12 +01:00
pinctrl-apq8064.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-apq8084.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq4019.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq5018.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq5332.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq6018.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq8064.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq8074.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-ipq9574.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-lpass-lpi.c pinctrl: qcom: lpass-lpi: allow slew rate bit in main pin config register 2023-11-14 08:44:40 +01:00
pinctrl-lpass-lpi.h pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-mdm9607.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-mdm9615.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8x74.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8226.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8660.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8909.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8916.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8953.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8960.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8976.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8994.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8996.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm8998.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-msm.c pinctrl: qcom: fail to retrieve configuration from invalid pin groups 2023-12-04 15:32:42 +01:00
pinctrl-msm.h pinctrl: qcom: handle intr_target_reg wakeup_present/enable bits 2023-11-13 15:01:37 +01:00
pinctrl-qcm2290.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-qcs404.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-qdf2xxx.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-qdu1000.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sa8775p.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sc7180.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sc7280-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sc7280.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sc8180x.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sc8280xp-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sc8280xp.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdm660.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdm670.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdm845.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdx55.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdx65.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sdx75.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm6115-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm6115.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm6125.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm6350.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm6375.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm7150.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8150.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8250-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm8250.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8350-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm8350.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8450-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm8450.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8550-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm8550.c pinctrl: qcom/msm: Convert to platform remove callback returning void 2023-10-10 15:47:49 +02:00
pinctrl-sm8650-lpass-lpi.c pinctrl: qcom: lpass-lpi: Remove unused member in struct lpi_pingroup 2023-12-01 14:59:53 +01:00
pinctrl-sm8650.c pinctrl: qcom: Introduce the SM8650 Top Level Mode Multiplexer driver 2023-11-13 15:05:13 +01:00
pinctrl-spmi-gpio.c pinctrl: qcom: spmi-gpio: Convert to platform remove callback returning void 2023-10-10 15:42:37 +02:00
pinctrl-spmi-mpp.c pinctrl: qcom: spmi-mpp: Convert to platform remove callback returning void 2023-10-10 15:43:03 +02:00
pinctrl-ssbi-gpio.c pinctrl: qcom: ssbi-gpio: Convert to platform remove callback returning void 2023-10-10 15:43:31 +02:00
pinctrl-ssbi-mpp.c pinctrl: qcom: ssbi-mpp: Convert to platform remove callback returning void 2023-10-10 15:43:56 +02:00
pinctrl-x1e80100.c pinctrl: qcom: Add X1E80100 pinctrl driver 2023-11-24 11:22:12 +01:00