lkml.org 
[lkml]   [2018]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support
Date
max98927 codec driver will support reset-gpio binding so it can toggle
reset line in its probe function.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
---
Documentation/devicetree/bindings/sound/max9892x.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/max9892x.txt b/Documentation/devicetree/bindings/sound/max9892x.txt
index f6171591ddc61..8bf30483eedcd 100644
--- a/Documentation/devicetree/bindings/sound/max9892x.txt
+++ b/Documentation/devicetree/bindings/sound/max9892x.txt
@@ -29,6 +29,8 @@ Required properties:
Range : 0 (off), 1 (on), Default : 0

- reg : the I2C address of the device for I2C
+ - reset-gpio: reset gpio the chip is connected to. This is supported
+ on max98927.

Example:

@@ -38,4 +40,5 @@ codec: max98927@3a {
imon-slot-no = <1>;
interleave-mode = <0>;
reg = <0x3a>;
+ reset-gpio = <&tlmm 75 GPIO_ACTIVE_LOW>;
};
--
2.16.4
\
 
 \ /
  Last update: 2018-09-12 14:21    [W:0.094 / U:2.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site