Commit 8ec664ff authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Linus Walleij

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: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-18-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent afe6777f
...@@ -40,12 +40,10 @@ properties: ...@@ -40,12 +40,10 @@ properties:
reg: reg:
maxItems: 1 maxItems: 1
interrupts: interrupt-controller: true
minItems: 1
maxItems: 12 '#interrupt-cells':
description: const: 2
Must contain an array of encoded interrupt specifiers for
each available MPP
gpio-controller: true gpio-controller: true
gpio-line-names: true gpio-line-names: true
...@@ -67,6 +65,7 @@ required: ...@@ -67,6 +65,7 @@ required:
- gpio-controller - gpio-controller
- '#gpio-cells' - '#gpio-cells'
- gpio-ranges - gpio-ranges
- interrupt-controller
patternProperties: patternProperties:
'-state$': '-state$':
...@@ -164,7 +163,8 @@ examples: ...@@ -164,7 +163,8 @@ examples:
gpio-ranges = <&pm8841_mpp 0 0 4>; gpio-ranges = <&pm8841_mpp 0 0 4>;
gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL", gpio-line-names = "VDD_PX_BIAS", "WLAN_LED_CTRL",
"BT_LED_CTRL", "GPIO-F"; "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-names = "default";
pinctrl-0 = <&pm8841_default>; pinctrl-0 = <&pm8841_default>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment