From patchwork Tue Jan 9 13:10:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 123937 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4003549qgn; Tue, 9 Jan 2018 05:10:46 -0800 (PST) X-Google-Smtp-Source: ACJfBou1mgtvSHayys6F5sQGLla1Q5yr/LoL4m4OcXE2Mo/R/xT5uZKVdVoTFzSXBDD3aJTvfHjL X-Received: by 10.84.132.99 with SMTP id 90mr15542206ple.64.1515503446633; Tue, 09 Jan 2018 05:10:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515503446; cv=none; d=google.com; s=arc-20160816; b=S76iV8XHZU9AJY7XnE3QiDUXOh7lcgmy/k9t4Mof8YI3kSotkc2h/kzldVMD0oIccv JvSdCpgIBWswHnc+nbn+E1eVxo444sc5beJZidqUZPYouLtMYggf/Nj7eKW4RJO8RumN dLsPOQKxhbSX0P1cG8TokhWxb0fjdG1bQBUZ/gIJcyBAdggo5qr+xP6habF+N7Ro5piw ZXWKMjWqY0GQgs9zoEbZfkpBdiw54v9oVtV9gQjDEnZMyQ8tHKn+qospWlOb8OYJEKCp HbakkgJoYoNAVIjDIufIrFI7UZT9XKJuFCBbxfq0S6VoMDxYCbYgseaiyGzu3MVy8sNO G65g== 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=tAcneqt19/s05f6JY1m2iRviHuyjgmBfKLnUjQDddWs=; b=aW+33CALFIXg1eAjzdh7R3LyM//MR7pZXEH0Ty98JVVqNCaKeLxfIr2a2l7z8JLbKE ygwyASBLX6gFSemyWwKJZ0Wqz2nXwGVpjDXki1FUmVv60mWHFdYinV+tcVUjn5IyEL// tKTPl7vgzIb8B1fionwTwcy02T2xIrdIhYy27iyftzoE3XcQ6d20YKa80R8ZlEQIqEcq j8dr+QNMg6YGZJqUs2YYBWzc6M6IvT2jcMKuOeB9qSXiccJ9zKZ1bUJ/970RUFIH1uZq 9CSn7ZAkwuvqboGhjD+dYKPDFl4p4XdqMsMZ7CmA++FrxD2d8JIFZuRIiGZDs+2ClTQp PTwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gGlCPwt6; 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 k17si3437632pgn.296.2018.01.09.05.10.46; Tue, 09 Jan 2018 05:10: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=gGlCPwt6; 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 S1752191AbeAINKo (ORCPT + 1 other); Tue, 9 Jan 2018 08:10:44 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:44687 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbeAINKm (ORCPT ); Tue, 9 Jan 2018 08:10:42 -0500 Received: by mail-pg0-f66.google.com with SMTP id i5so7934642pgq.11; Tue, 09 Jan 2018 05:10:41 -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=gGlCPwt60a0bxRk+HMlXO33DqedS9QOBtnq4Jj0KGgp1yQX8vYmCOhYVn838ytJduT IQ9yL8gWN1HhyTG5v3d0k80C1WQX2W5toXNweghDXjyILE76Rq1hAcfTMEjvZrDQRgxk D5yxa2AdxQOAovU44eI/DVlxQ5g+A4CSfx0SIuz72L2ZC7YzKIZufE3yrFD4KSZy3wqT X8sbrZTJDHTD+wjZyFhxTNHi2y5POx/8es9BozNL6i3y5I4rCzOnSxEGbQHk7yCTDiDb W85Dm6CH/tALRWAvUrUt3SdPB0YGvGNyOWVEajn8q3mHwa1sh5gMjSgMehCVUc4xR9XM mTow== 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=fLFkTnO0L9GIn/Yc2WR/DvFMhGXOi8X72qWsHVVO/8o89oXz4BO9Df4oWGJBW4Voa3 6bKIteKA2s5yru51yuT5OiuIHTKnBSujFKzf2Z/bjr0FB1q8jPRCvzNxVDxB6l31agT1 8x+XadY6+8fOypLYKcSkLKc3647vGHpzNjs0+IEW1NNVnTFmngME9LhloRQIiv2saOiG Jw1t2Bu0D6TodKKkEgt7USZoLPEvcFiRWbSmURZCfvoVLQJYFV/f5YFri+NQr+5QQ0RO HLjngOXDmrP6TBcSb2qrQ9veBStaemydU7iO6iiWwkThetXLaC+AmtEH5JkwZJ0bjWMb hUfQ== X-Gm-Message-State: AKGB3mJ0QPXdyA31pYv4Jiyk6EBasxLRM/CozZKG0EYZUtOsU7kkw5Bm ORknFYgfAyOvli1NOoh7Zlqv/JKT X-Received: by 10.101.98.216 with SMTP id m24mr12089254pgv.100.1515503441030; Tue, 09 Jan 2018 05:10:41 -0800 (PST) Received: from localhost.localdomain ([112.196.107.60]) by smtp.gmail.com with ESMTPSA id l21sm32167584pfg.156.2018.01.09.05.10.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 05:10:39 -0800 (PST) From: jassisinghbrar@gmail.com To: linux-spi@vger.kernel.org, devicetree@vger.kernel.org Cc: broonie@kernel.org, ard.biesheuvel@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, masami.hiramatsu@linaro.org, Jassi Brar Subject: [PATCHv1 1/3] dt-bindings: spi: Add DT bindings for Synquacer Date: Tue, 9 Jan 2018 18:40:32 +0530 Message-Id: <1515503432-8971-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515503383-8909-1-git-send-email-jassisinghbrar@gmail.com> References: <1515503383-8909-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 | 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 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..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; + };