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

dt-bindings: gpio: gpio-mvebu: deprecate armadaxp-gpio

Commit 5f79c651e81e ("arm: mvebu: use global interrupts for GPIOs on
Armada XP") the marvell,armadaxp-gpio compatible obsolete.

The driver code still exists to handle the armadaxp behaviour but all
the in-tree boards use the marvell,armada-370-gpio. Document the
marvell,armadaxp-gpio compatible as deprecated.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>

authored by

Chris Packham and committed by
Bartosz Golaszewski
988c8c0c 1282157a

+8 -16
+8 -16
Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml
··· 21 21 - enum: 22 22 - marvell,mv78200-gpio 23 23 - marvell,armada-370-gpio 24 - - marvell,armadaxp-gpio 25 24 - const: marvell,orion-gpio 25 + 26 + - description: Deprecated binding 27 + items: 28 + - const: marvell,armadaxp-gpio 29 + - const: marvell,orion-gpio 30 + deprecated: true 26 31 27 32 reg: 28 33 description: | 29 34 Address and length of the register set for the device. Not used for 30 35 marvell,armada-8k-gpio. 31 36 32 - For the "marvell,armadaxp-gpio" variant a second entry is expected for 33 - the per-cpu registers. For other variants second entry can be provided, 34 - for the PWM function using the GPIO Blink Counter on/off registers. 37 + A second entry can be provided, for the PWM function using the GPIO Blink 38 + Counter on/off registers. 35 39 minItems: 1 36 40 maxItems: 2 37 41 ··· 106 102 else: 107 103 required: 108 104 - reg 109 - 110 - - if: 111 - properties: 112 - compatible: 113 - contains: 114 - const: marvell,armadaxp-gpio 115 - then: 116 - properties: 117 - reg: 118 - minItems: 2 119 - reg-names: 120 - minItems: 2 121 105 122 106 unevaluatedProperties: true 123 107