In 2019 (in kernel 5.4) spmi-gpio and ssbi-gpio drivers were converted to hierarchical IRQ helpers, however MPP drivers were not converted at that moment. Complete this by converting MPP drivers. Changes since v2: - Add patches fixing/updating mpps nodes in the existing device trees Changes since v1: - Drop the interrupt-controller from initial schema conversion - Add gpio-line-names to the qcom,pmic-mpp schema and to the example The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f: Linux 5.15-rc1 (2021-09-12 16:28:37 -0700) are available in the Git repository at: https://git.linaro.org/people/dmitry.baryshkov/kernel.git spmi-mpp for you to fetch changes up to 9bccc31fc5cec98f26ca639a2ee21a9831efe1de: arm64: dts: qcom: pm8994: add interrupt controller properties (2021-10-08 04:19:33 +0300) ---------------------------------------------------------------- Dmitry Baryshkov (25): dt-bindings: pinctrl: qcom,pmic-mpp: Convert qcom pmic mpp bindings to YAML dt-bindings: mfd: qcom-pm8xxx: add missing child nodes ARM: dts: qcom-apq8064: add gpio-ranges to mpps nodes ARM: dts: qcom-msm8660: add gpio-ranges to mpps nodes ARM: dts: qcom-pm8841: add gpio-ranges to mpps nodes ARM: dts: qcom-pm8941: add gpio-ranges to mpps nodes ARM: dts: qcom-pma8084: add gpio-ranges to mpps nodes ARM: dts: qcom-mdm9615: add gpio-ranges to mpps node, fix its name ARM: dts: qcom-apq8060-dragonboard: fix mpps state names arm64: dts: qcom: pm8916: fix mpps device tree node arm64: dts: qcom: pm8994: fix mpps device tree node arm64: dts: qcom: apq8016-sbc: fix mpps state names pinctrl: qcom: ssbi-mpp: hardcode IRQ counts pinctrl: qcom: ssbi-mpp: add support for hierarchical IRQ chip pinctrl: qcom: spmi-mpp: hardcode IRQ counts pinctrl: qcom: spmi-mpp: add support for hierarchical IRQ chip dt-bindings: pinctrl: qcom,pmic-mpp: switch to #interrupt-cells ARM: dts: qcom-apq8064: add interrupt controller properties ARM: dts: qcom-mdm9615: add interrupt controller properties ARM: dts: qcom-msm8660: add interrupt controller properties ARM: dts: qcom-pm8841: add interrupt controller properties ARM: dts: qcom-pm8941: add interrupt controller properties ARM: dts: qcom-pma8084: add interrupt controller properties arm64: dts: qcom: pm8916: add interrupt controller properties arm64: dts: qcom: pm8994: add interrupt controller properties .../devicetree/bindings/mfd/qcom-pm8xxx.yaml | 12 ++ .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 187 -------------------- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 188 +++++++++++++++++++++ arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 4 +- arch/arm/boot/dts/qcom-apq8064.dtsi | 23 +-- arch/arm/boot/dts/qcom-mdm9615.dtsi | 12 +- arch/arm/boot/dts/qcom-msm8660.dtsi | 17 +- arch/arm/boot/dts/qcom-pm8841.dtsi | 7 +- arch/arm/boot/dts/qcom-pm8941.dtsi | 11 +- arch/arm/boot/dts/qcom-pma8084.dtsi | 11 +- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 +- arch/arm64/boot/dts/qcom/pm8916.dtsi | 9 +- arch/arm64/boot/dts/qcom/pm8994.dtsi | 13 +- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 111 ++++++++---- drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 133 +++++++++++---- 15 files changed, 414 insertions(+), 328 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml