From patchwork Mon Jan 15 13:05:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 124520 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp662153lje; Mon, 15 Jan 2018 05:06:15 -0800 (PST) X-Google-Smtp-Source: ACJfBovhzUyiCg0kbJdyCpnnFsPHPW6ohO6rY3V5qGn4z832EloDoOBGU/4R3fw1FTG/UIproPcn X-Received: by 10.101.77.68 with SMTP id j4mr11205971pgt.222.1516021575549; Mon, 15 Jan 2018 05:06:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516021575; cv=none; d=google.com; s=arc-20160816; b=NIccUjaH1CjCY+kaxVX/iyvtRBl0gvp2CTGcH4RCTXIC0ZKVjj5wwkSpco68fOvn7z DyMrKBUHTm+zV5g33085ZaLvx7UQzPHTyTndz17g5mGaaQZqy2mavWkUpHxrTH6J+eW/ w7rJKhLs6xxzz8+C8gIF7YbtIAyC8D7vcD+5RWK4Fj/Ue5/OFopXcXN+LUf9K45pIugq nSHt2bH3k3e66DdS4fxxTOJnQTZzBkX+Il5fpOzhHccO9TIGdsfVZuYYQKNB20ab4/pU F9NOsUnNHdt89A3uVGU3gr9legB1JCdv3yI+kAZ5KwKRsNV7UspQkzbjK6gyp5mwJ2Bg pf/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Hu4XXT1jrC2QmhuAM0UjbiAtwZFI3aeezCUqWlZSpbA=; b=C2+ezrfyXYgPvqcvymtXM3O3NEqgYGrqDkSs5QTMRZ2foTILgaLVyQK8Va8YO42fJq Hyr8op2wYUUjFUr5osiSrTj+0Q3G4FC6k1I952rGa2i9R5imd+kcFxPnCTjTbczgZOQ7 +v2RSIcuLrqCuh8uC/QNwskEFkna5P1SnwPXnMY7AeVCoexjmCnzdN5kzW4qUV3I79nz uP+4PZiFpK6kxV1Gb3T1/O0y30cWmcm2MS1eiWRurlVIXGWwmjUdrC1N+rs/f/RU+OSf ai/Yn68LZ57VCYGs8OGPGkO4FCwWqK/j1wqf3Wht7+YgxcJjPU7lsg+99pRi0Znbt26K g/hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=o18HZq1D; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si8408054plr.268.2018.01.15.05.06.15; Mon, 15 Jan 2018 05:06:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=o18HZq1D; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966669AbeAONGN (ORCPT + 6 others); Mon, 15 Jan 2018 08:06:13 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:34132 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966647AbeAONGL (ORCPT ); Mon, 15 Jan 2018 08:06:11 -0500 Received: by mail-pl0-f68.google.com with SMTP id d21so3702838pll.1; Mon, 15 Jan 2018 05:06:11 -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=o18HZq1DsPTWRmXvjmMSt3uKmdknPIfosY6uceGIsWEPOMGpCR3Q7mpIJJZs8HVNHS RHtQkNK5LUMMgsdgl4+JfXERh7VWwJOU9Fb9xvXNLx5NxmBHno9HWfv4zTgt9VNaPoJ/ zaHxlsOGHMAKa5va+9KLjyDiMI4ZxbQO6ebprBzABfP9BRZ5qWyREhCMhFkpNdVXwsyR NFVkO5wxvh8ujg6ymGQz5dcFpdGKRfNnNJ8hzMkN1FalmR0/lZzQsf6x1NY+njaEiOay pDIWcoKj1O9g9ZUs3Rt1oKckmviNmQNgvlU5IO5ARLxmhCwe0jYUFB/CW3Sp6W4enlRY jagw== 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=ejBbjQ6/VaaSgJoK3eILUt1i0Nsjt76RxX/Rl2dbSSsYK+CqGwyjvI/M7FTM28N83C bhH685c19yd2UrLf78Vzc4dZAaoOZixpiwDtoSDfI2Hu3j21YzHl4h7Vz6gJ1UPueEoj AklBRhIuLLe1zx5R085Cjp+TYKC4C9jTze8c30zHPEUOuAcp9vfWXF6Q+zC3bL/af8K0 ymQX2iwMTTZ/XhniSlvSle1aLRBP9577Wa59u+JhGjZGzPOm/RZb7nSeYLHho+0X9cUI h/aGGcxctxduSXFjVnoLveUDUmqXLvFmXB4N2QOog+wmnZFlNVgjDWAM0ysDB82JCEQ8 KNLw== X-Gm-Message-State: AKwxytdskdHG4IM81O/sPxUap/TNMLRcrKcXBnPKxJLD+83NJr0OM4ZN /ht+cnP7wlPvkz8zk1HpK3izlI2e X-Received: by 10.84.217.20 with SMTP id o20mr22426628pli.263.1516021570799; Mon, 15 Jan 2018 05:06:10 -0800 (PST) Received: from localhost.localdomain ([112.196.116.247]) by smtp.gmail.com with ESMTPSA id p10sm46515844pfd.106.2018.01.15.05.06.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Jan 2018 05:06:09 -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: [PATCHv2 1/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Mon, 15 Jan 2018 18:35:59 +0530 Message-Id: <1516021559-19327-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516021530-19236-1-git-send-email-jassisinghbrar@gmail.com> References: <1516021530-19236-1-git-send-email-jassisinghbrar@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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; + };