Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752478AbcDUL2V (ORCPT ); Thu, 21 Apr 2016 07:28:21 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:61555 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751582AbcDUL2S (ORCPT ); Thu, 21 Apr 2016 07:28:18 -0400 From: Arnd Bergmann To: Peter Griffin Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, vinod.koul@intel.com, lee.jones@linaro.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, broonie@kernel.org, ludovic.barre@st.com, arnaud.pouliquen@st.com Subject: Re: [PATCH 09/18] ASoC: sti: Update DT example to match the driver code Date: Thu, 21 Apr 2016 13:27:39 +0200 Message-ID: <4337545.DyleYAUzIV@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1461236675-10176-10-git-send-email-peter.griffin@linaro.org> References: <1461236675-10176-1-git-send-email-peter.griffin@linaro.org> <1461236675-10176-10-git-send-email-peter.griffin@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:rdb9mfyA2nfKBc3BoqeOuYx/85B5sN1vPh+4N2kVy0hrE4MT288 JC9de5rPxgLrbW9V6PoU3cCJFzpuCUTPq4B9RPaCr1S5gIe5+eVv7IMCEbM+qCHG+JJdcN1 49nCHa0Gg/Z7PYWErzcx78j8tVHzsza59saShew/lYn9CQPWil/fEs508I3pk1mKQQF41IT LuQ1H5rVf2PLun6W9EWAg== X-UI-Out-Filterresults: notjunk:1;V01:K0:s5NYpum0Ch8=:GxyS8QbyaNJEP5GFi2hASO GX7fObATh1tMf69qtuvu30Er/wRVEpQD03gELnnQXzWmY9IoaVJ7RpySyc/7G3gSjw/Opx9Fj pnJg2EOy6A2Iz4vGme0RVD/mzffMOpiCearid/JuwRfGemtSJ9w2rlHO9m90sAn1PbcX1sGSu 8dRjytwx15S/Zqq7+eMUWRjSDNRNB4Dk+0oLESYbNShVJB1y1k90kkqZWWrGkWWjKWRClEVFL E93osG7bPn8hUZE0urkWGoGOv2bk8Q10dehTZTsMvBMwPzXyreKLp1/NHWBihF4//OrypnRdB ym/98m+ZZZ/JVUXCHBA1r5o/3hhtMyWxfyhCVlU2L9ojBqODA8itaLnXMmqZBvPEFB3A619hj ZIrfmunT8+vnAQg/2KYFP4+uFnXWf8GqVRQRtqVtd8eym3+vgv4iFJt9i0zloz9/lyS/R00/i ZR1ff7+wqUJdHRymbFf8z4cI3II6cGucYfEYHdxrfKb+F2Yy6Ef5eM15dj+zqOFkfhct6of79 Oty0G9ukvJNQ1tVsZJwKZayvdFW4TbR7gv2W2dfWP6lo4Qc0GDnqnweQyWmKv102x8C9S502L 91/W0ts/XIJEfrTNbTo+TuMhWYaC7ZJqR4FajG8/77IJu86XPRgVtz8bdXYznMRzzaQuNhK/q r6ZKdTB/nyg55xDZ6rOW/kWsTnZ/GCN/ytqTC4eBFxmiD86UayG0TeM8FAi2PrQP4RnfxwPFX VHGEH1WUcX+OTpCI Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1383 Lines: 34 On Thursday 21 April 2016 12:04:26 Peter Griffin wrote: > uniperiph-id, version and mode are ST specific bindings and > need the 'st,' prefix. Update the examples, as otherwise copying > them yields a runtime error parsing the DT node. > > Signed-off-by: Peter Griffin > Cc: arnaud.pouliquen@st.com > --- > .../devicetree/bindings/sound/st,sti-asoc-card.txt | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt > index 028fa1c..ef2e0c6 100644 > --- a/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt > +++ b/Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt > @@ -67,9 +67,9 @@ Example: > dmas = <&fdma0 4 0 1>; > dai-name = "Uni Player #1 (DAC)"; > dma-names = "tx"; > - uniperiph-id = <2>; > - version = <5>; > - mode = "PCM"; > + st,uniperiph-id = <2>; > + st,version = <5>; > + st,mode = "PCM"; > }; You don't change the binding desciption here, only the example, so they no longer match. What is st,uniperiph-id needed for anyway? It's often an indication that you are doing something wrong if you need this. Arnd