dt-bindings: extcon: ptn5150: Use generic "interrupts" property
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 17 Aug 2020 06:59:58 +0000 (08:59 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 24 Sep 2020 10:20:47 +0000 (19:20 +0900)
commit5076372d135ae34ef65388a39590576cd9a2436c
tree8df3d0ef7858e8d3846b38513eeecebf6fd3e070
parentc7eb1131bdbc4a9efb345c5aceca5deae9f28add
dt-bindings: extcon: ptn5150: Use generic "interrupts" property

Interrupts do not have to be always GPIO based so instead of expecting
"int-gpios" property and converting the GPIO to an interrupt, just
accept any interrupt via generic "interrupts" property.

Mark the old "int-gpios" as deprecated.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Documentation/devicetree/bindings/extcon/extcon-ptn5150.yaml