From patchwork Tue Jun 2 16:49:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 479585 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D3E0F1412E7 for ; Wed, 3 Jun 2015 02:49:59 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754710AbbFBQtu (ORCPT ); Tue, 2 Jun 2015 12:49:50 -0400 Received: from eusmtp01.atmel.com ([212.144.249.243]:47203 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754258AbbFBQti (ORCPT ); Tue, 2 Jun 2015 12:49:38 -0400 Received: from tenerife.corp.atmel.com (10.161.101.13) by eusmtp01.atmel.com (10.161.101.31) with Microsoft SMTP Server id 14.3.235.1; Tue, 2 Jun 2015 18:49:34 +0200 From: Cyrille Pitchen To: , , , CC: , , , , , , , , Cyrille Pitchen Subject: [PATCH 1/2] clk: at91: add a new compatible string for Flexcom in the DT documentation Date: Tue, 2 Jun 2015 18:49:28 +0200 Message-ID: <359f6b85c3a8b51a0ea35bacdbdc0443b9fbedcc.1433263218.git.cyrille.pitchen@atmel.com> X-Mailer: git-send-email 1.8.2.2 In-Reply-To: References: MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 @@ -77,6 +77,9 @@ Required properties: "atmel,sama5d4-clk-h32mx": at91 h32mx clock + "atmel,sama5d2-flexcom": + at91 flexcom clock + Required properties for SCKC node: - reg : defines the IO memory reserved for the SCKC. - #size-cells : shall be 0 (reg is used to encode clk id). @@ -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 { + compatible = "atmel,sama5d2-flexcom"; + #clock-cells = <0>; + reg = <0xf8034000 0x200>; + clocks = <&flx0_clk>; + atmel,flexcom-mode = "spi"; + };