Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751653AbbFBTtW (ORCPT ); Tue, 2 Jun 2015 15:49:22 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:34359 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750851AbbFBTtP (ORCPT ); Tue, 2 Jun 2015 15:49:15 -0400 Message-ID: <556E08B5.7010208@cogentembedded.com> Date: Tue, 02 Jun 2015 22:49:09 +0300 From: Sergei Shtylyov Organization: Cogent Embedded User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Cyrille Pitchen , nicolas.ferre@atmel.com, boris.brezillon@free-electrons.com, alexandre.belloni@free-electrons.com, linux-clk@vger.kernel.org CC: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-kernel@vger.kernel.org, robh+dt@kernel.org, galak@codeaurora.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] clk: at91: add a new compatible string for Flexcom in the DT documentation References: <359f6b85c3a8b51a0ea35bacdbdc0443b9fbedcc.1433263218.git.cyrille.pitchen@atmel.com> In-Reply-To: <359f6b85c3a8b51a0ea35bacdbdc0443b9fbedcc.1433263218.git.cyrille.pitchen@atmel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1649 Lines: 45 Hello. On 06/02/2015 07:49 PM, Cyrille Pitchen wrote: > This patches documents the new bindings for the Flexcom clock, which will > be introduced by Atmel sama5d2x chips. > Signed-off-by: Cyrille Pitchen > --- > .../devicetree/bindings/clock/at91-clock.txt | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt > index 7a4d492..df4f40b 100644 > --- a/Documentation/devicetree/bindings/clock/at91-clock.txt > +++ b/Documentation/devicetree/bindings/clock/at91-clock.txt [...] > @@ -461,3 +464,20 @@ For example: > compatible = "atmel,sama5d4-clk-h32mx"; > clocks = <&mck>; > }; > + > +Required properties for flexcom clock: > +- #clock-cells : from common clock binding; shall be set to 0. > +- clocks : shall be the Flexcom peripheral clock from PMC. > +- reg : shall be the range for Flexcom dedicated I/O registers (without USART, > + TWI or SPI registers). > +- atmel,flexcom-mode : shall be a string value among { "spi", "usart", "i2c", > + "twi" }. "i2c" and "twi" are synonymous. > + > +For example: > + flx0: flexcom@f8034000 { The ePAPR standard says: "The name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model." [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/