Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: pm8008: Add gpio-ranges and spmi-gpio compatible

Add gpio-ranges and "qcom,spmi-gpio" compatible to match with the
parent qcom,pmic-gpio.yaml binding.

Signed-off-by: satya priya <skakit@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Guru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

satya priya and committed by
Lee Jones
ab09511f ec343111

+10 -3
+10 -3
Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml
··· 53 53 54 54 properties: 55 55 compatible: 56 - const: qcom,pm8008-gpio 56 + items: 57 + - const: qcom,pm8008-gpio 58 + - const: qcom,spmi-gpio 57 59 58 60 reg: 59 61 description: Peripheral address of one of the two GPIO peripherals. 60 62 maxItems: 1 61 63 62 64 gpio-controller: true 65 + 66 + gpio-ranges: 67 + maxItems: 1 63 68 64 69 interrupt-controller: true 65 70 ··· 80 75 - gpio-controller 81 76 - interrupt-controller 82 77 - "#gpio-cells" 78 + - gpio-ranges 83 79 - "#interrupt-cells" 84 80 85 81 additionalProperties: false ··· 113 107 interrupt-parent = <&tlmm>; 114 108 interrupts = <32 IRQ_TYPE_EDGE_RISING>; 115 109 116 - gpio@c000 { 117 - compatible = "qcom,pm8008-gpio"; 110 + pm8008_gpios: gpio@c000 { 111 + compatible = "qcom,pm8008-gpio", "qcom,spmi-gpio"; 118 112 reg = <0xc000>; 119 113 gpio-controller; 114 + gpio-ranges = <&pm8008_gpios 0 0 2>; 120 115 #gpio-cells = <2>; 121 116 interrupt-controller; 122 117 #interrupt-cells = <2>;