diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2021-10-08 03:25:16 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-10-17 23:33:10 +0200 |
commit | 8ec664ff4316ce6bf02222496b3f243cbeab3954 (patch) | |
tree | a19389e8668510f88603db55360c3f377107229d /Documentation | |
parent | pinctrl: qcom: spmi-mpp: add support for hierarchical IRQ chip (diff) | |
download | linux-8ec664ff4316ce6bf02222496b3f243cbeab3954.tar.xz linux-8ec664ff4316ce6bf02222496b3f243cbeab3954.zip |
dt-bindings: pinctrl: qcom,pmic-mpp: switch to #interrupt-cells
Stop specifying individual interrupts properties. Use #interrupt-cells
instead as we are switching qcom,spmi-mpp and qcom,ssbi-mpp to
hierarchical IRQ setup.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-18-dmitry.baryshkov@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml index 475733cabb02..35c846f59979 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-mpp.yaml @@ -40,12 +40,10 @@ properties: reg: maxItems: 1 - interrupts: - minItems: 1 - maxItems: 12 - description: - Must contain an array of encoded interrupt specifiers for - each available MPP + interrupt-controller: true + + '#interrupt-cells': + const: 2 gpio-controller: true gpio-line-names: true @@ -67,6 +65,7 @@ required: - gpio-controller - '#gpio-cells' - gpio-ranges + - interrupt-controller patternProperties: '-state$': @@ -164,7 +163,8 @@ examples: gpio-ranges = <&pm8841_mpp 0 0 4>; gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL", "BT_LED_CTRL", "GPIO-F"; - interrupts = <4 0xa0 0 0>, <4 0xa1 0 0>, <4 0xa2 0 0>, <4 0xa3 0 0>; + interrupt-controller; + #interrupt-cells = <2>; pinctrl-names = "default"; pinctrl-0 = <&pm8841_default>; |