qcom: support SPMI buttons on SM8550 and SM8650 First add PMIC gpio variant on pm8550-gpio, then rework the qcom-pmic button driver to support data structs for each PMIC variant and finally add the data for the pmk8350 button configs. To: Caleb Connolly <caleb.connolly@linaro.org> To: Sumit Garg <sumit.garg@linaro.org> To: Tom Rini <trini@konsulko.com> Cc: <u-boot@lists.denx.de> Cc: <u-boot-qcom@groups.io> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Changes in v2: - added missing qcom,pmk8350-pon compatible - Link to v1: https://lore.kernel.org/r/20240405-topic-sm8x50-spmi-clients-v1-0-c28603ebcf18@linaro.org --- Neil Armstrong (3): gpio: qcom_pmic_gpio: add support for pm8550-gpio button: qcom-pmic: move node name checks to btn_data struct button: qcom-pmic: add support for pmk8350 button configs drivers/button/button-qcom-pmic.c | 99 ++++++++++++++++++++++++++++----------- drivers/gpio/qcom_pmic_gpio.c | 18 ++++++- 2 files changed, 87 insertions(+), 30 deletions(-) --- base-commit: f0e6aba1218bca578605697eed8aa94582bf57bb change-id: 20240404-topic-sm8x50-spmi-clients-d9a085aae979 Best regards,