From patchwork Fri Jan 19 10:37:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 125142 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp229034ljf; Fri, 19 Jan 2018 02:37:30 -0800 (PST) X-Google-Smtp-Source: ACJfBoseBnkEAp08Mrm6avOP70hDXjkpsHtWXj41/UNnaNXc1Y6j28bS3GB9VwzmRcu++IC9IXsh X-Received: by 10.101.101.11 with SMTP id x11mr15306771pgv.130.1516358250347; Fri, 19 Jan 2018 02:37:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516358250; cv=none; d=google.com; s=arc-20160816; b=gbSTtjb0q/UikSIRu6VKvh+Ur4u6PCnPwwxFQ1t8gbP5iJdMvDxuW9kbQf/BmQfP1t oq/6cL1uD6ppzoL/8s71yfmXQ6MYA3jhHS5w/iCa6wDnsvgEqB2yrm8mzuOv3GG/rVdL bpeaLsBHjX1ClEZyNhK6H6XVItBMa/IJlOBU5UOQYnwY0y4FUIhUPvRuGPW3oVIlVl4u pI5hpLi06tDg+199cxaYAVlT/gkBIJMA99yRzRA0HUKGufCM/bRO88yhDE9fksy7WVzY iVZ0mmSewluBqhVI6GRcLnEb27UAls8OgFlZrvY8803BICzdqopvloQTslT27xO4bISw ImQg== 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=Qio/bQZyzsy0dWyK13v5V3XKXEq5nV8zuubYKE7kLO8=; b=0G/DQyoRFeCDHwLbi/6t7fp55tgvNOjMjck4SHSHfITK3Toub2ctESVNRpanUFToZR 7dePipkW1a+14ZE7+88oPjkm8cP8iBN8O2YLJHpq0iErP9SsusQy0hncQSMrP33Vg/Jx tsuNXGaKepdAcZ7iORjRp/r3z9HP1WRUbQaVaF+DVwx5N3HT3a/Ffc9O3/tfP/pt0Vaz 4kI5k0phlrYoHnbllZUNVVy2zONfZZkDf7ndlJGl0mqMQZRlpY96MGTn3U6zm2RIE9nI 3cabkrJw3FuvhzrkYq/i0jOvcYAPliZqcSQrGEURqTWycTf1cbfSGsGcx3URbqMZjedv zsHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UE2UxAEL; 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=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 u74si7913123pgc.445.2018.01.19.02.37.30; Fri, 19 Jan 2018 02:37:30 -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=UE2UxAEL; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754805AbeASKh3 (ORCPT + 1 other); Fri, 19 Jan 2018 05:37:29 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:43603 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753808AbeASKhZ (ORCPT ); Fri, 19 Jan 2018 05:37:25 -0500 Received: by mail-pf0-f194.google.com with SMTP id y26so1046766pfi.10; Fri, 19 Jan 2018 02:37:25 -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=p+RMSNkWoI5IIMNRs36ReQ7zqMtRSLHMz5ihhk1LvJE=; b=UE2UxAELZSM7eUZ+qDSmCmJlcKbVcnc/l5jeqAsnF95WZxzatb5OyeezeNGCUjuGrB UHQKrVwb1ETOi6UODCtClMH2k3+dl2fI1W9RTJ9b950nFtA6hr1qagZt8SHxYyAusT00 RnHEutUc/AxFmFTzZxSb0LKIiFKOZ6U0k37RakgpUSjGEeaVJKWpvmE89KQeXGZM3kUr 3389JNarvK2XKGzFNwZP5QQv9Wk8jy5s3Um65otPRIx3/9CnWokMUVHEw7fi+fzN3LOa dFpqYrw0jbAmkPVHKy8L7i2qyHcz5ZbLea5ejTodGHTVRequWgJXecwFA56zwZ2EzCaw uOYw== 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=p+RMSNkWoI5IIMNRs36ReQ7zqMtRSLHMz5ihhk1LvJE=; b=ht6nMB3fvaGCSm2e2dEGh9bBJsq/1LahcKDzZxhbUMFuNRcIKepwAL9qJ4+iQilLRF gCski16lx7YOrlNlOi3RjO2+78lj1hRtZmy9lK77OfVtpTe/h7WJjcR072ef2e2bP7gF rDtpAVpts4j2g/vA2mbsPTYVhUJD2+zHYF9xPQZmv9VKYWwZHHOmSBUxgYwG/2Xlkbsa vsZKFyJb8MADtY8BqFrE6Nss/Ke5YpYKlLdJ8RfxoWDLS+8X9ikevAt58gbY8+XXw4Qw BItmRHl/RpUnog0ZiegTHKKiwXb2Msn14FDErQTquWgulsdh8SM7ooXa0VTWFK4HhnON Ndvg== X-Gm-Message-State: AKGB3mKMF+Ei9i6FgnOr39n+hsVyE+lExuClXdaj5e5WjLsSDXSWTZ2R lgA9K+coOhQDFz0DVVRoY9wXBFU9 X-Received: by 10.98.204.144 with SMTP id j16mr42044266pfk.101.1516358244272; Fri, 19 Jan 2018 02:37:24 -0800 (PST) Received: from localhost.localdomain ([27.255.219.42]) by smtp.gmail.com with ESMTPSA id 186sm15821270pgi.34.2018.01.19.02.37.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Jan 2018 02:37:23 -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: [PATCHv3 1/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Fri, 19 Jan 2018 16:07:16 +0530 Message-Id: <1516358236-4472-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516358213-4400-1-git-send-email-jassisinghbrar@gmail.com> References: <1516358213-4400-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 --- .../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 Reviewed-by: Rob Herring 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; + };