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: 10174973 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D88CA60392 for ; Fri, 19 Jan 2018 10:37:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C87A727CF9 for ; Fri, 19 Jan 2018 10:37:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD23828606; Fri, 19 Jan 2018 10:37:30 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 6C07927CF9 for ; Fri, 19 Jan 2018 10:37:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754805AbeASKh3 (ORCPT ); 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-Google-Smtp-Source: ACJfBotGl0a/i71n3nopdt/4613i0ibmlbqt9K5gKxUPuhbriJp+n+SDE41+V4GRuo9u5PAXV7bxmw== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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 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; + };