Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1428252
| From | Nicolin Chen <nicoleotsuka@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ASoC: cs53l30: Add MUTE pin control support via GPIO |
| Date | 2016-06-22 01:00 +0200 |
| Message-ID | <rMCOe-3xO-9@gated-at.bofh.it> (permalink) |
| References | <rMj8R-7Dk-5@gated-at.bofh.it> <rMByN-2NM-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 21, 2016 at 04:34:37PM -0500, Rob Herring wrote: > On Mon, Jun 20, 2016 at 06:54:44PM -0700, Nicolin Chen wrote: > > The codec chip has a physical MUTE pin to let users control it via > > GPIO. So this patch add a mute control support to the driver. > > > > Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> > > --- > > .../devicetree/bindings/sound/cs53l30.txt | 2 ++ > > sound/soc/codecs/cs53l30.c | 30 ++++++++++++++++++++++ > > sound/soc/codecs/cs53l30.h | 1 + > > 3 files changed, 33 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/sound/cs53l30.txt b/Documentation/devicetree/bindings/sound/cs53l30.txt > > index 18d6b99..6f7d3c8 100644 > > --- a/Documentation/devicetree/bindings/sound/cs53l30.txt > > +++ b/Documentation/devicetree/bindings/sound/cs53l30.txt > > @@ -13,6 +13,8 @@ Optional properties: > > > > - reset-gpios : a GPIO spec for the reset pin. > > > > + - mute-gpios : a GPIO spec for the MUTE pin. > > Please define the active state for the gpio. The active state here is programmable and being taken care by the driver automatically. Maybe I should have mentioned this in the binding as well? Thanks Nic
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ASoC: cs53l30: Add MUTE pin control support via GPIO Nicolin Chen <nicoleotsuka@gmail.com> - 2016-06-21 04:00 +0200
Re: [PATCH] ASoC: cs53l30: Add MUTE pin control support via GPIO Rob Herring <robh@kernel.org> - 2016-06-21 23:40 +0200
Re: [PATCH] ASoC: cs53l30: Add MUTE pin control support via GPIO Nicolin Chen <nicoleotsuka@gmail.com> - 2016-06-22 01:00 +0200
csiph-web