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: 129778 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1361780lja; Tue, 27 Feb 2018 04:58:46 -0800 (PST) X-Google-Smtp-Source: AH8x225AtxmLRVnEnkEAxjuTj1oeYPhjFIdTASehDiUIiLmgCt1fEYdbiUDeZCP3nBgp1zHghtiA X-Received: by 10.99.191.15 with SMTP id v15mr11449519pgf.216.1519736326053; Tue, 27 Feb 2018 04:58:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519736326; cv=none; d=google.com; s=arc-20160816; b=GV4AjJT5G42WGCcpyn/8bOUem6fA7YZKBcpPmgCwC7Axs3JBI+oYfS5tpsBzg+lmGV 2lYqRQiCnep40YU2kcIGZgeiroFLLWodX8bgJAtnrO7H2ZqNwU1mBVixr3r9G9P10hLd 66vx7yZQ0ddJqR7heSjB7DR5Dz4wETYrmTdkkuu0B+Ylm9XQlf8S6nYgGSwuf7NO00pE 6orkQRqabCQBrvtM87e52xINJDDBeiwl7basJ0ogQPFj4xbErApJ0r/zLjxbG7v66wGh ApG2gjT/eTULgv1/xKfV8ZfPg2mfCL+Hcpzba7oeOTtM95FxRIdqhA9dKUPscjnJnop3 vtiw== 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=pICsGSSU9LFP+O/qziTsR2vio0Rl3YvWq6TqyaiqGTM=; b=q1dRO8wNLlGKuz1PgKfwzoLnZtvdyi4atBylojrHT38+1qftMWLkujSvm/AyXXiImQ 35P11doRm662ApJrHDHeVEW+CadM6m1JDwXCkypCpOMPmIh2lFLeKD6Mq3xs53K+c0/B jS6dUqYFJLhfN9BT4CRLuGKTZ6Ld1FQOByl1ycrUXCyxXiTY5D25h/Qnp+rDtqLT7zcc 64vdxR7JWmbkL+ZINp9xaGUQ1wjBoCu8LQMEFh3zJFsPl7Ag8VCG0YF5sGzDmqA8tBQW I+3mN1ISDWw85xrerGH2YBFJuN5AY2g67U3N4TQD7Bbw84VC3sEdyKPj67P45Rvodo/5 2k5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=WQP8ZLCS; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE 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 33-v6si8562534plo.650.2018.02.27.04.58.45; Tue, 27 Feb 2018 04:58:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-spi-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=WQP8ZLCS; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752233AbeB0M6p (ORCPT + 1 other); 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-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 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 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" 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..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; + };