From patchwork Tue May 21 11:59:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 10953501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CBE976 for ; Tue, 21 May 2019 12:00:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EEC9B2893F for ; Tue, 21 May 2019 12:00:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E12E9289D0; Tue, 21 May 2019 12:00:38 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 8BE092893F for ; Tue, 21 May 2019 12:00:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726705AbfEUMAi (ORCPT ); Tue, 21 May 2019 08:00:38 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34341 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728047AbfEUMAi (ORCPT ); Tue, 21 May 2019 08:00:38 -0400 Received: by mail-pf1-f194.google.com with SMTP id n19so8983030pfa.1 for ; Tue, 21 May 2019 05:00:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=J8He96LBvzgwWKZ93ZshlZgpeoHlqzqGddbd8HI8Wh0=; b=MgTzd8zfTg4rDQqa+BejqDdaIPAPvAbMt6W0peADav4XRHHw6xis2XW3YWPac1+25Y Uw9izIAmZGjeplWWV+N1cL38v5zayPYZwAWl/6QMELf1rW5qgcZG6rv/5i+nkTvZNEsh 1OcwvltOg9g1KLWexpXphqhoWE2B5ueGR39L4Gv8R73PqK1nmiwZsjr8lo/ZHwV/ni/a DLCN5avkG4y1OlvbL5GEyXH1faaB6PHGwbmnD8focTzezgnJIYLU0d1/jAJf1uDFlBAI INggD7MNlPrna9xjyyv0jauTtA/MdR5X4wPRcOPMFOVD20itb7WAST4UWnxLHyLGMCPo ym0Q== 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=J8He96LBvzgwWKZ93ZshlZgpeoHlqzqGddbd8HI8Wh0=; b=N2pVIT8sXKV4/hij4epM2v00UKWpgHnww5ncKAHY6571D6V+F75a8cKMz2LzoP98qU h9+lbVQ0GavQitn/u+iMKizTA8wHb2LWAR+vW0xvxzz3tCPky6CaVk6IvEJhCcuciflZ eerjP4RyryUu7FudNC7UK9NB32t/UKGhKJAZFml4/VSxtUb9WrtRZJTzj6S/Y9vKsR5D aiRoN5xf8210Uyq1a22NYo6YDAYpodwblJb2LyvHatwLOBLQBw3jp63XuAtiRLhRjMsi aedVNNRqGnrJm79O9lzp/66TEitZlb5Tfvh+SyFE6bkPE3KACN3ZE4oaU8ci7c+sGZ0m 8TVg== X-Gm-Message-State: APjAAAUWbRdBVcYvaBY+twNK7akL9m3Y/q0ZrLUoH1BNX97twZ6/w3rp 1+0TAiJTmHYCNeJIooVz+NqXs2s+S1QlDA== X-Google-Smtp-Source: APXvYqx1lUhSkLoBe0yCXuaekjOWbOI3JE5o0PuySW/YEQV5BuLEFHCTnnjn6h3ea06pKstIgtJFLg== X-Received: by 2002:a62:fb18:: with SMTP id x24mr21966838pfm.76.1558440037087; Tue, 21 May 2019 05:00:37 -0700 (PDT) Received: from localhost ([121.95.100.191]) by smtp.gmail.com with ESMTPSA id r77sm28975782pgr.93.2019.05.21.05.00.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 May 2019 05:00:36 -0700 (PDT) From: Masahisa Kojima To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: broonie@kernel.org, geert@linux-m68k.org, tpiepho@impinj.com, andy.shevchenko@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, ard.biesheuvel@linaro.org, jaswinder.singh@linaro.org, masami.hiramatsu@linaro.org, okamoto.satoru@socionext.com, osaki.yoshitoyo@socionext.com, Masahisa Kojima Subject: [PATCH v5 2/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Tue, 21 May 2019 20:59:57 +0900 Message-Id: <20190521115958.22504-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20190521115958.22504-1-masahisa.kojima@linaro.org> References: <20190521115958.22504-1-masahisa.kojima@linaro.org> 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 This patch adds documentation for Device-Tree bindings for the Socionext Synquacer spi driver. Signed-off-by: Masahisa Kojima Signed-off-by: Jassi Brar Reviewed-by: Rob Herring --- .../devicetree/bindings/spi/spi-synquacer.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 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 000000000000..291dfa692d0a --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-synquacer.txt @@ -0,0 +1,27 @@ +* 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. +- interrupts: should contain the "spi_rx", "spi_tx" and "spi_fault" interrupts. +- 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>; + interrupts = , + , + ; + clocks = <&clk_hsspi>; + clock-names = "iHCLK"; + socionext,use-rtm; + socionext,set-aces; + };