From patchwork Tue Jan 9 13:10:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 10152009 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 CF261602CA for ; Tue, 9 Jan 2018 13:10:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBD49289CB for ; Tue, 9 Jan 2018 13:10:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0896289D0; Tue, 9 Jan 2018 13:10:46 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 4CCB3289CB for ; Tue, 9 Jan 2018 13:10:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbeAINKo (ORCPT ); Tue, 9 Jan 2018 08:10:44 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44687 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbeAINKm (ORCPT ); Tue, 9 Jan 2018 08:10:42 -0500 Received: by mail-pg0-f66.google.com with SMTP id i5so7934642pgq.11; Tue, 09 Jan 2018 05:10:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JFGSqrUWghFspX0mzgJJMELpbdTT8SfNtX5lRVuxVGQ=; b=gGlCPwt60a0bxRk+HMlXO33DqedS9QOBtnq4Jj0KGgp1yQX8vYmCOhYVn838ytJduT IQ9yL8gWN1HhyTG5v3d0k80C1WQX2W5toXNweghDXjyILE76Rq1hAcfTMEjvZrDQRgxk D5yxa2AdxQOAovU44eI/DVlxQ5g+A4CSfx0SIuz72L2ZC7YzKIZufE3yrFD4KSZy3wqT X8sbrZTJDHTD+wjZyFhxTNHi2y5POx/8es9BozNL6i3y5I4rCzOnSxEGbQHk7yCTDiDb W85Dm6CH/tALRWAvUrUt3SdPB0YGvGNyOWVEajn8q3mHwa1sh5gMjSgMehCVUc4xR9XM mTow== 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=JFGSqrUWghFspX0mzgJJMELpbdTT8SfNtX5lRVuxVGQ=; b=fLFkTnO0L9GIn/Yc2WR/DvFMhGXOi8X72qWsHVVO/8o89oXz4BO9Df4oWGJBW4Voa3 6bKIteKA2s5yru51yuT5OiuIHTKnBSujFKzf2Z/bjr0FB1q8jPRCvzNxVDxB6l31agT1 8x+XadY6+8fOypLYKcSkLKc3647vGHpzNjs0+IEW1NNVnTFmngME9LhloRQIiv2saOiG Jw1t2Bu0D6TodKKkEgt7USZoLPEvcFiRWbSmURZCfvoVLQJYFV/f5YFri+NQr+5QQ0RO HLjngOXDmrP6TBcSb2qrQ9veBStaemydU7iO6iiWwkThetXLaC+AmtEH5JkwZJ0bjWMb hUfQ== X-Gm-Message-State: AKGB3mJ0QPXdyA31pYv4Jiyk6EBasxLRM/CozZKG0EYZUtOsU7kkw5Bm ORknFYgfAyOvli1NOoh7Zlqv/JKT X-Google-Smtp-Source: ACJfBotXrK6+z2q+gTPqaP/2/bsv5RlZ8LwcLEady89+H8AdcZXmrpx42viOYMSs1wRMYUnOhXg8mg== X-Received: by 10.101.98.216 with SMTP id m24mr12089254pgv.100.1515503441030; Tue, 09 Jan 2018 05:10:41 -0800 (PST) Received: from localhost.localdomain ([112.196.107.60]) by smtp.gmail.com with ESMTPSA id l21sm32167584pfg.156.2018.01.09.05.10.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 05:10:39 -0800 (PST) From: jassisinghbrar@gmail.com To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: broonie@kernel.org, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, masami.hiramatsu@linaro.org, Jassi Brar Subject: [PATCHv1 1/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Tue, 9 Jan 2018 18:40:32 +0530 Message-Id: <1515503432-8971-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515503383-8909-1-git-send-email-jassisinghbrar@gmail.com> References: <1515503383-8909-1-git-send-email-jassisinghbrar@gmail.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 From: Jassi Brar This patch adds documentation for Device-Tree bindings for the Socionext Synquacer spi driver. Signed-off-by: Jassi Brar --- .../devicetree/bindings/spi/spi-synquacer.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-synquacer.txt diff --git a/Documentation/devicetree/bindings/spi/spi-synquacer.txt b/Documentation/devicetree/bindings/spi/spi-synquacer.txt new file mode 100644 index 0000000..d013cfd --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-synquacer.txt @@ -0,0 +1,24 @@ +* Socionext Synquacer HS-SPI bindings + +Required Properties: +- compatible: should be "socionext,synquacer-spi" +- reg: physical base address of the controller and length of memory mapped + region. +- clocks: Must contain an entry for rate source clock(s). +- clock-names: Shall be "iHCLK" or "iPCLK". iHCLK is preferred over iPCLK + +Optional Properties: +- num-cs: total number of chipselects +- socionext,use-rtm: boolean, if required to use "retimed clock" for RX +- socionext,set-aces: boolean, if same active clock edges field to be set. + +Example: + + spi0: spi@ff110000 { + compatible = "socionext,synquacer-spi"; + reg = <0xff110000 0x1000>; + clocks = <&clk_fip006_spi>; + clock-names = "iHCLK"; + socionext,use-rtm; + socionext,set-aces; + };