From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Ferre Date: Mon, 10 Feb 2014 09:21:39 +0000 Subject: Re: [PATCH v3 2/2] Binding: atmel-ssc: add option to choose clock Message-Id: <52F89A23.9040307@atmel.com> List-Id: References: <1392012586-30790-1-git-send-email-voice.shen@atmel.com> <1392012586-30790-3-git-send-email-voice.shen@atmel.com> In-Reply-To: <1392012586-30790-3-git-send-email-voice.shen@atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bo Shen , broonie@kernel.org Cc: plagnioj@jcrosoft.com, linux-sound@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Rob Landley , Mark Brown , Richard Genoud , devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org On 10/02/2014 07:09, Bo Shen : > Add the option to choose clock on which pin input to SSC (as slave). > Default is on TK pin to SSC, add "atmel,clk-from-rk-pin" option to > specify the clock is on RK pin to SSC. > > Signed-off-by: Bo Shen Acked-by: Nicolas Ferre > --- > Changes in v3: > - None > Series-changes: 2 > - using "-" replace "_" in binding document > > Documentation/devicetree/bindings/misc/atmel-ssc.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/misc/atmel-ssc.txt b/Documentation/devicetree/bindings/misc/atmel-ssc.txt > index a45ae08..5c1e14e 100644 > --- a/Documentation/devicetree/bindings/misc/atmel-ssc.txt > +++ b/Documentation/devicetree/bindings/misc/atmel-ssc.txt > @@ -14,6 +14,14 @@ Required properties for devices compatible with "atmel,at91sam9g45-ssc": > See Documentation/devicetree/bindings/dma/atmel-dma.txt for details. > - dma-names: Must be "tx", "rx". > > +Optional properties: > + - atmel,clk-from-rk-pin: bool property. > + - When SSC works in slave mode, according to the hardware design, the > + clock can get from TK pin, and also can get from RK pin. So, add > + this parameter to choose where the clock from. > + - By default the clock is from TK pin, if the clock from RK pin, this > + property is needed. > + > Examples: > - PDC transfer: > ssc0: ssc@fffbc000 { > -- Nicolas Ferre