summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@codeaurora.org>2021-01-26 03:38:31 +0300
committerChanwoo Choi <cw00.choi@samsung.com>2021-04-08 07:10:16 +0300
commit4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6 (patch)
tree8e7ed014e4de167ab756597ef047f43667c07a19
parentdd6f5afb1c2db352f8dd2d181597b3835f132657 (diff)
downloadlinux-4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6.tar.xz
bindings: pm8941-misc: Add support for VBUS detection
Add interrupt support for reporting VBUS detection status that can be detected via a dedicated PMIC pin. Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org> Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
-rw-r--r--Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
index e8eea8304340..6a9c96f0352a 100644
--- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
+++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
@@ -22,11 +22,14 @@ properties:
maxItems: 1
interrupts:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
interrupt-names:
+ minItems: 1
items:
- const: usb_id
+ - const: usb_vbus
required:
- compatible