aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@codeaurora.org>2021-01-25 16:38:31 -0800
committerChanwoo Choi <cw00.choi@samsung.com>2021-04-08 13:10:16 +0900
commit4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6 (patch)
tree8e7ed014e4de167ab756597ef047f43667c07a19
parentbindings: pm8941-misc: Convert bindings to YAML (diff)
downloadlinux-dev-4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6.tar.xz
linux-dev-4fcdd677c4ea0f57eda1be6fcd965ddd7d9551d6.zip
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