From patchwork Mon Nov 17 22:47:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5324201 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B43CCC11AC for ; Mon, 17 Nov 2014 22:51:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DCE1420125 for ; Mon, 17 Nov 2014 22:51:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19DCA2010C for ; Mon, 17 Nov 2014 22:51:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753408AbaKQWug (ORCPT ); Mon, 17 Nov 2014 17:50:36 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:40701 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753327AbaKQWuc (ORCPT ); Mon, 17 Nov 2014 17:50:32 -0500 Received: by mail-wg0-f48.google.com with SMTP id y19so3999035wgg.7 for ; Mon, 17 Nov 2014 14:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lWYGx985s72XmLqPPjJALD3Wp6Wj/3+CcdsCwOBMyQY=; b=p6jfl6sRoNhddMCTipuWGO20b6/TOrZfFjU4zN62ePXVHmSEuX/ATVj2laPGIYvIeo idmzCXrALlttatQX9C7gV9exS6QC9FtC9cTMRfMj7LcR1xEkNeiiS1vWYW/JHYveRlCR yZoyeeKTJ5cZ4nuPoYvA2koGKT7idscM8urFNoVeu/0Kawex51M32uK2+vGy3/1PaeDn Il9+k/3iFoM14V69esPrWsVni6jz8BBjxbfbsQ0l8OeYZ3VvmjnNxJEzRs/iZi7eusOs hCZFKT0Isb9AmuLn1xMm6o2MC1qaBED3PT9oQ0AkMCjxohKf3T/2E5aCVSrzJTrCO6y7 JRKw== X-Received: by 10.180.212.5 with SMTP id ng5mr35336056wic.50.1416264630828; Mon, 17 Nov 2014 14:50:30 -0800 (PST) Received: from sark.local (host115-93-dynamic.40-79-r.retail.telecomitalia.it. [79.40.93.115]) by mx.google.com with ESMTPSA id cu9sm53383417wjb.0.2014.11.17.14.50.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Nov 2014 14:50:30 -0800 (PST) From: Beniamino Galvani To: Mark Brown Cc: linux-spi@vger.kernel.org, Carlo Caione , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Russell King , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jerry Cao , Victor Wan , Beniamino Galvani Subject: [PATCH v2 2/4] spi: meson: Add device tree bindings documentation for SPIFC Date: Mon, 17 Nov 2014 23:47:49 +0100 Message-Id: <1416264471-774-3-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416264471-774-1-git-send-email-b.galvani@gmail.com> References: <1416264471-774-1-git-send-email-b.galvani@gmail.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds documentation of device tree bindings for the Amlogic Meson SPIFC (SPI Flash Controller). Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/spi/spi-meson.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-meson.txt diff --git a/Documentation/devicetree/bindings/spi/spi-meson.txt b/Documentation/devicetree/bindings/spi/spi-meson.txt new file mode 100644 index 0000000..bb52a86 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-meson.txt @@ -0,0 +1,22 @@ +Amlogic Meson SPI controllers + +* SPIFC (SPI Flash Controller) + +The Meson SPIFC is a controller optimized for communication with SPI +NOR memories, without DMA support and a 64-byte unified transmit / +receive buffer. + +Required properties: + - compatible: should be "amlogic,meson6-spifc" + - reg: physical base address and length of the controller registers + - clocks: phandle of the input clock for the baud rate generator + - #address-cells: should be 1 + - #size-cells: should be 0 + + spi@c1108c80 { + compatible = "amlogic,meson6-spifc"; + reg = <0xc1108c80 0x80>; + clocks = <&clk81>; + #address-cells = <1>; + #size-cells = <0>; + };