diff mbox series

[RESEND,v1,1/2] bindings: pm8941-misc: Add support for VBUS detection

Message ID d9f8255a6996596e4fb9dc6404da160d7a4af77f.1601333246.git.gurus@codeaurora.org
State Superseded
Headers show
Series Add support for VBUS detection | expand

Commit Message

Guru Das Srinagesh Sept. 28, 2020, 10:49 p.m. UTC
From: Anirudh Ghayal <aghayal@codeaurora.org>

VBUS can be detected via a dedicated PMIC pin. Enable compatible string
that adds support for reporting the VBUS status.

Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
---
 Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Boyd Oct. 2, 2020, 9:22 p.m. UTC | #1
Quoting Guru Das Srinagesh (2020-09-28 15:49:08)
> From: Anirudh Ghayal <aghayal@codeaurora.org>
> 
> VBUS can be detected via a dedicated PMIC pin. Enable compatible string
> that adds support for reporting the VBUS status.
> 
> Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
> Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
> ---
>  Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt | 2 +-

Can this be converted to YAML?

>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> index 35383adb..91a49af 100644
> --- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> +++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> @@ -8,7 +8,7 @@ PROPERTIES
>  - compatible:
>      Usage: required
>      Value type: <string>
> -    Definition: Should contain "qcom,pm8941-misc";
> +    Definition: Should contain "qcom,pm8941-misc" or "qcom,pmd-vbus-det";
>  
>  - reg:
>      Usage: required
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
Guru Das Srinagesh Oct. 5, 2020, 6:28 p.m. UTC | #2
On Fri, Oct 02, 2020 at 02:22:49PM -0700, Stephen Boyd wrote:
> Quoting Guru Das Srinagesh (2020-09-28 15:49:08)
> > From: Anirudh Ghayal <aghayal@codeaurora.org>
> > 
> > VBUS can be detected via a dedicated PMIC pin. Enable compatible string
> > that adds support for reporting the VBUS status.
> > 
> > Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
> > Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
> > ---
> >  Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt | 2 +-
> 
> Can this be converted to YAML?

Sure, will fix this in the next patchset.

> 
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> > index 35383adb..91a49af 100644
> > --- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> > +++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
> > @@ -8,7 +8,7 @@ PROPERTIES
> >  - compatible:
> >      Usage: required
> >      Value type: <string>
> > -    Definition: Should contain "qcom,pm8941-misc";
> > +    Definition: Should contain "qcom,pm8941-misc" or "qcom,pmd-vbus-det";
> >  
> >  - reg:
> >      Usage: required
> > -- 
> > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> > a Linux Foundation Collaborative Project
> >
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
index 35383adb..91a49af 100644
--- a/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
+++ b/Documentation/devicetree/bindings/extcon/qcom,pm8941-misc.txt
@@ -8,7 +8,7 @@  PROPERTIES
 - compatible:
     Usage: required
     Value type: <string>
-    Definition: Should contain "qcom,pm8941-misc";
+    Definition: Should contain "qcom,pm8941-misc" or "qcom,pmd-vbus-det";
 
 - reg:
     Usage: required