All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Lee <steve.lee.analog@gmail.com>
To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org
Cc: Steve Lee <steve.lee.analog@gmail.com>,
	devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	linux-kernel@vger.kernel.org, ryans.lee@maximintegrated.com
Subject: [V2 2/2] ASoC: dt-bindings: max98390: add reset gpio bindings
Date: Fri, 11 Mar 2022 22:29:06 +0900	[thread overview]
Message-ID: <20220311132906.32292-2-steve.lee.analog@gmail.com> (raw)
In-Reply-To: <20220311132906.32292-1-steve.lee.analog@gmail.com>

 This adds support for the reset gpio binding.

Signed-off-by: Steve Lee <steve.lee.analog@gmail.com>
---
 Documentation/devicetree/bindings/sound/maxim,max98390.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
index e5ac35280da3..4bf61fb6056a 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
+++ b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
@@ -31,6 +31,9 @@ properties:
     minimum: 1
     maximum: 8388607
 
+  reset-gpios:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -39,6 +42,7 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     i2c {
       #address-cells = <1>;
       #size-cells = <0>;
@@ -47,5 +51,6 @@ examples:
         reg = <0x38>;
         maxim,temperature_calib = <1024>;
         maxim,r0_calib = <100232>;
+        reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
       };
     };
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: Steve Lee <steve.lee.analog@gmail.com>
To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, ryans.lee@maximintegrated.com,
	Steve Lee <steve.lee.analog@gmail.com>
Subject: [V2 2/2] ASoC: dt-bindings: max98390: add reset gpio bindings
Date: Fri, 11 Mar 2022 22:29:06 +0900	[thread overview]
Message-ID: <20220311132906.32292-2-steve.lee.analog@gmail.com> (raw)
In-Reply-To: <20220311132906.32292-1-steve.lee.analog@gmail.com>

 This adds support for the reset gpio binding.

Signed-off-by: Steve Lee <steve.lee.analog@gmail.com>
---
 Documentation/devicetree/bindings/sound/maxim,max98390.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
index e5ac35280da3..4bf61fb6056a 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
+++ b/Documentation/devicetree/bindings/sound/maxim,max98390.yaml
@@ -31,6 +31,9 @@ properties:
     minimum: 1
     maximum: 8388607
 
+  reset-gpios:
+    maxItems: 1
+
 required:
   - compatible
   - reg
@@ -39,6 +42,7 @@ additionalProperties: false
 
 examples:
   - |
+    #include <dt-bindings/gpio/gpio.h>
     i2c {
       #address-cells = <1>;
       #size-cells = <0>;
@@ -47,5 +51,6 @@ examples:
         reg = <0x38>;
         maxim,temperature_calib = <1024>;
         maxim,r0_calib = <100232>;
+        reset-gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
       };
     };
-- 
2.17.1


  reply	other threads:[~2022-03-14  7:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11 13:29 [V2 1/2] ASoC: max98390: Add reset gpio control Steve Lee
2022-03-11 13:29 ` Steve Lee
2022-03-11 13:29 ` Steve Lee [this message]
2022-03-11 13:29   ` [V2 2/2] ASoC: dt-bindings: max98390: add reset gpio bindings Steve Lee
2022-03-11 15:51   ` Rob Herring
2022-03-11 15:51     ` Rob Herring
2022-03-11 16:33 ` [PATCH v2 1/2] ASoC: max98390: Add reset gpio control Mark Brown
2022-03-11 16:33   ` Mark Brown
2022-03-11 22:24   ` Lee Steve
2022-03-11 22:24     ` Lee Steve
2022-04-21 17:24 ` [V2 " Mark Brown
2022-04-21 17:24   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220311132906.32292-2-steve.lee.analog@gmail.com \
    --to=steve.lee.analog@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=ryans.lee@maximintegrated.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.