Re: [RESEND PATCH v6 2/3] bindings: pm8941-misc: Add support for VBUS detection

2021-02-24 Thread Chanwoo Choi




On 21. 1. 26. 오전 9:38, Guru Das Srinagesh wrote:

Add interrupt support for reporting VBUS detection status that can be
detected via a dedicated PMIC pin.

Signed-off-by: Anirudh Ghayal 
Signed-off-by: Guru Das Srinagesh 
Reviewed-by: Rob Herring 
---
  Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml | 5 -
  1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml 
b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
index e8eea83..6a9c96f 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



Applied it.

Thanks,
Chanwoo Choi


[RESEND PATCH v6 2/3] bindings: pm8941-misc: Add support for VBUS detection

2021-01-26 Thread Guru Das Srinagesh
Add interrupt support for reporting VBUS detection status that can be
detected via a dedicated PMIC pin.

Signed-off-by: Anirudh Ghayal 
Signed-off-by: Guru Das Srinagesh 
Reviewed-by: Rob Herring 
---
 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml 
b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.yaml
index e8eea83..6a9c96f 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
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project