Message ID | 1489759704-30217-9-git-send-email-arnaud.pouliquen@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Mar 17, 2017 at 03:08:21PM +0100, Arnaud Pouliquen wrote: > This patch adds documentation of device tree bindings for audio DMIC codec. > > Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> > --- > Documentation/devicetree/bindings/sound/dmic.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/sound/dmic.txt > > diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt > new file mode 100644 > index 0000000..eb2a9d4 > --- /dev/null > +++ b/Documentation/devicetree/bindings/sound/dmic.txt > @@ -0,0 +1,11 @@ > +Device-Tree bindings for dmic codec Please define what is and isn't a DMIC here. What's the interface? > + > +Required properties: > + - compatible: should be "dmic-codec". DMICs don't have part numbers? > + > +Example node: > + > + dmic_audio: dmic_audio@0 { Don't use '_' and there's no reg property, so there should be no unit address. > + compatible = "dmic-codec"; > + status = "okay"; Don't show status in examples. > + }; > -- > 1.9.1 >
On Fri, Mar 24, 2017 at 09:46:03AM -0500, Rob Herring wrote: > On Fri, Mar 17, 2017 at 03:08:21PM +0100, Arnaud Pouliquen wrote: > > +Device-Tree bindings for dmic codec > Please define what is and isn't a DMIC here. What's the interface? Digital microphones are a well understood concept for anyone familiar with the problem domain, they all provide a PDM output. > > + > > +Required properties: > > + - compatible: should be "dmic-codec". > DMICs don't have part numbers? Not meaningfully in this context any more than analogue microphones do - they have no software visible interface.
diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt new file mode 100644 index 0000000..eb2a9d4 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/dmic.txt @@ -0,0 +1,11 @@ +Device-Tree bindings for dmic codec + +Required properties: + - compatible: should be "dmic-codec". + +Example node: + + dmic_audio: dmic_audio@0 { + compatible = "dmic-codec"; + status = "okay"; + };
This patch adds documentation of device tree bindings for audio DMIC codec. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> --- Documentation/devicetree/bindings/sound/dmic.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/dmic.txt