From patchwork Tue Jun 4 05:12:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 10974183 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 3E05A933 for ; Tue, 4 Jun 2019 05:13:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C5F2875F for ; Tue, 4 Jun 2019 05:13:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 19CD628767; Tue, 4 Jun 2019 05:13:25 +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 AF2DF2875F for ; Tue, 4 Jun 2019 05:13:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726465AbfFDFNY (ORCPT ); Tue, 4 Jun 2019 01:13:24 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:43434 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbfFDFNY (ORCPT ); Tue, 4 Jun 2019 01:13:24 -0400 Received: by mail-pl1-f194.google.com with SMTP id cl9so2747019plb.10 for ; Mon, 03 Jun 2019 22:13:23 -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=qAUsYuHC1TyuYT8vc/VDT8OOQ8XdOR/3yeMoHzkv58ceZQQSMhioaRqZUo4JEQK9ov RIYf9+e2GO0jcMKDgjGJnCJ0zh3MSsCxsO5rmgmFtBLtiT6tdP+qsLZUbx1pmKMwa9Nk +xizBKCu83S9aMYD0HleOPxo51ltfBr5ZSpXrmQMNn+zWOfivwdXTrHezMdfkMpK7sXu M1ZLFxeApx5vvRo6AW0kCZucGIJ9uPT2znLvYtQZ2OGlLAtQIl2J/daTAubqyuSlOZOW JiSZ/g/uzIVZNxnmXzzF7A2pBzKfxUnTIGHzd7+WYI3jZWIPkJhPy7i1EqHo35/HX1sU XcbA== 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=X36yK5er0IVjYsD6bt6JNmM9bp60iGER/MpGNbN7CzIXv2SsMAAt6esgIfI7OtFMLu gPh5BR+V90JtM8thUInyGKLtrE13RbVbcPoW6cZTGknhE9QVAKYFsMn3PfjimPP75MSz NvkuhWgRHmG+bRES94bZ6vEiRjaTCKSfNpEwtwjrpzc498VJceY1D4h0lQW55fA7PVEN 5OeuBI5auUDSANeT200UUayNdSfrjnSRXeBGSEIiCbrg8/o33K0qMXE6xGn2/8rnOSGD L9kiI5eAaxUsxChZbcQbrvx7pMQaOQLCsPemAmJetztQLAyj6aDsOMsvJ/N5Jcko8N/x mKAg== X-Gm-Message-State: APjAAAXCPplp2n9s1H+C/eSKUHs7IqtW/0ARcIwXPoiCHtG9Nf33t8qS B0EKaqjFi4GCKBLZ9SwsY4pcFtX8n44= X-Google-Smtp-Source: APXvYqztLjDjgbpd1xVeKnc/onYmypAIczHYLsO8bl7JAmPwpELYXr1CyNGU6ZoW2TNRBtnqeWAaSQ== X-Received: by 2002:a17:902:b204:: with SMTP id t4mr34527790plr.285.1559625203142; Mon, 03 Jun 2019 22:13:23 -0700 (PDT) Received: from localhost ([121.95.100.191]) by smtp.gmail.com with ESMTPSA id a11sm17584265pff.128.2019.06.03.22.13.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jun 2019 22:13:22 -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 v7 2/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Tue, 4 Jun 2019 14:12:56 +0900 Message-Id: <20190604051257.14264-3-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20190604051257.14264-1-masahisa.kojima@linaro.org> References: <20190604051257.14264-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; + };