From patchwork Tue May 23 13:39:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9742669 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7B37860380 for ; Tue, 23 May 2017 13:40:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B276287D0 for ; Tue, 23 May 2017 13:40:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60113287F1; Tue, 23 May 2017 13:40:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07594287F0 for ; Tue, 23 May 2017 13:40:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936125AbdEWNkF (ORCPT ); Tue, 23 May 2017 09:40:05 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38903 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934145AbdEWNjv (ORCPT ); Tue, 23 May 2017 09:39:51 -0400 Received: by mail-wm0-f42.google.com with SMTP id e127so28658104wmg.1 for ; Tue, 23 May 2017 06:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ejcNcKZNKWJ31teNheI7Jc673JWsUNpXOg0av4lCKFc=; b=Vs/IDBBCSvxNWnhYT7K7xDkaeStrhCyt2wXraFNLa2ZP+OXg6Dq+7tJQSosm/E97Cb gCVLKIN0A4ZPUnZ8QP5dDzYiOc0XFdC//waozJMc78mrJqlyxrcrq77xFdNlInjgtpaZ r7AdvAhUxDypusSBrHuFijl2pCs2jKzMW/aUI3hc3hapjuOaBEy/e8LV46OI/ZmcnZPE C786Athn/Q3DQjuOPMQlTgqQt5BeVNreclsTAt/y9Q8Y82lsMkExVjPL2y1jYooN9aPD 0fKBKzlWo6Cp6BUfOGch14fldAlCqOkceCxRElZ3o675J2MC23UKi3P0P/kL9imQZWlB Fq7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ejcNcKZNKWJ31teNheI7Jc673JWsUNpXOg0av4lCKFc=; b=IqgrXWBVh5WRWbPgguk2vrvhIoeZh9K863TIuJ/P5NHY/FOm1xYOl+szZB/bEn5MbS xprwVbEolkXLoL8CEluvMPJyqExZsqPtkUQhJyuhhm0qR+Qmf1uMiSKeEstqjv80LOz+ NA4c2QoooMnI3UDRMKzCWfrtewxz/sEEg1BKotN/6RPhg9DMXF11GtdBfINav1McMhhl m69VizHDtJful/hKtxxSc6wFzqHzlKkmDRZ94jko5LbEkYaK0XlzbxcuMMlRsF2TGJET ETvikATkpq9DcWOvTjhpxnaPhrJ/TT7ea3zWBbYCvouqhHGemnZZLk05SLpcwczz2zCr foaQ== X-Gm-Message-State: AODbwcDL9dHk/5K4mQcIkmD5A4SkdEBIWyYjf7R2B1sYxccjon7I+5qI rYqY6pv6oTlqSR9q X-Received: by 10.223.139.20 with SMTP id n20mr15710385wra.169.1495546784944; Tue, 23 May 2017 06:39:44 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m191sm1098203wmg.30.2017.05.23.06.39.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 May 2017 06:39:44 -0700 (PDT) From: Neil Armstrong To: broonie@kernel.org, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-spi@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: spi-meson: Add SPICC bindings Date: Tue, 23 May 2017 15:39:32 +0200 Message-Id: <1495546773-20479-2-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495546773-20479-1-git-send-email-narmstrong@baylibre.com> References: <1495546773-20479-1-git-send-email-narmstrong@baylibre.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the SPICC (SPI Communications Controller) bindings variant. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/spi/spi-meson.txt | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/spi-meson.txt b/Documentation/devicetree/bindings/spi/spi-meson.txt index dc6d031..825c39c 100644 --- a/Documentation/devicetree/bindings/spi/spi-meson.txt +++ b/Documentation/devicetree/bindings/spi/spi-meson.txt @@ -20,3 +20,34 @@ Required properties: #address-cells = <1>; #size-cells = <0>; }; + +* SPICC (SPI Communication Controller) + +The Meson SPICC is generic SPI controller for general purpose Full-Duplex +communications with dedicated 16 words RX/TX PIO FIFOs. + +Required properties: + - compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs. + - reg: physical base address and length of the controller registers + - interrupts: The interrupt specifier + - clock-names: Must contain "core" + - clocks: phandle of the input clock for the baud rate generator + - #address-cells: should be 1 + - #size-cells: should be 0 + +Optional properties: + - resets: phandle of the internal reset line + +See ../spi/spi-bus.txt for more details on SPI bus master and slave devices +required and optional properties. + +Example : + spi@c1108d80 { + compatible = "amlogic,meson-gx-spicc"; + reg = <0xc1108d80 0x80>; + interrupts = ; + clock-names = "core"; + clocks = <&clk81>; + #address-cells = <1>; + #size-cells = <0>; + };