From patchwork Tue Feb 27 12:58:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 10245171 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 7F86160362 for ; Tue, 27 Feb 2018 12:58:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 715C728700 for ; Tue, 27 Feb 2018 12:58:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 65C02288CB; Tue, 27 Feb 2018 12:58: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 D519628700 for ; Tue, 27 Feb 2018 12:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752233AbeB0M6p (ORCPT ); Tue, 27 Feb 2018 07:58:45 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:44834 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbeB0M6o (ORCPT ); Tue, 27 Feb 2018 07:58:44 -0500 Received: by mail-pf0-f196.google.com with SMTP id 17so7895478pfw.11; Tue, 27 Feb 2018 04:58:44 -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=aPks6zFEgVCMJqjAmEhhlSEyiA/KR8W35jhnM0JLbQ8=; b=WQP8ZLCSjVrOyeqFSMDaDt8CoiGtwQVQ6xvPUEWBSmY/M8kBK8HCIiLBbEWTXF90a7 2iUJG+nWkCvUC3R3Fxv5vQNkRy/5Bhz+lOmvU6zjEas7er+n07KI7Pv1vEQomDV3LKLw R/p1YzcXCsotfMG0xYvyRHSgmXeqkfDpL8zvfiiNP+yNtuPqpxCxENmjk+xZbMYbVoSs CxmTBimy2bDsMOlln/maJPM44mMrIB9sOduI+ieeBMULNVakKxt1L3T5LtKlnjqpTx9Y ACN9/7iHszZ7p8CVJWx3MbczweZ4wNGY5hQ1m1lY7aPiHNkZDuD/PX69KaZ7BoXmKnRo x7uA== 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=aPks6zFEgVCMJqjAmEhhlSEyiA/KR8W35jhnM0JLbQ8=; b=hTJUXVv2v+9+DZUFhfUqH1CLXIEvZrimBGwku4tSsPzEDy08W1mlIQfxVl71P/NaVt g2z7+7wwZM+2nDXGDJqFvnRaKFJpyURTcQ3hB5S0QauWhYN66xmTGeu3omIqGoKjQ6ZF Bh1zidU6au778uE/Gpvz/lWfoEfOwXNiPYan7ys8E6qRM9Jd3qX2dJQj4jG05b2q9iLh LYW58x+h16xhx51nGVy2Wmy+zimwevRbpx7BYfzhrefyi9KtSxlrmAzj28FphgXvowUm 8yvQ1beXdypPjATsNv2NEPyX2W5w2X6sYHtjDDw572rg7YGFMgvQrJOATgOlce+usgTF RREw== X-Gm-Message-State: APf1xPCAhCUp8LtkBDJWTj++b9pHl5ZTQoSg3zfmswZlCWfxNUZQfQUd cLzndkmhkN9qOk1/Y5rdfG6HWnsr X-Google-Smtp-Source: AH8x225vhzkGA+1ee9cShnAb2pqy9keOcXffvnwmukwQci7A0slDwgwHthK35+BbjM2C6FZ6qoaiMA== X-Received: by 10.98.139.145 with SMTP id e17mr14002336pfl.53.1519736323641; Tue, 27 Feb 2018 04:58:43 -0800 (PST) Received: from localhost.localdomain ([27.255.219.124]) by smtp.gmail.com with ESMTPSA id g77sm25445743pfk.135.2018.02.27.04.58.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 27 Feb 2018 04:58:42 -0800 (PST) From: jassisinghbrar@gmail.com To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: tpiepho@impinj.com, broonie@kernel.org, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, masami.hiramatsu@linaro.org, Jassi Brar Subject: [PATCHv4 1/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Tue, 27 Feb 2018 18:28:35 +0530 Message-Id: <1519736315-3931-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519736182-3650-1-git-send-email-jassisinghbrar@gmail.com> References: <1519736182-3650-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 Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/spi-synquacer.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 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..d945a4a --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-synquacer.txt @@ -0,0 +1,23 @@ +* 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: core clock iHCLK. Optional rate clock iPCLK (default is iHCLK) +- clock-names: Shall be "iHCLK" and "iPCLK" respectively + +Optional Properties: +- 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; + };