From patchwork Thu Jul 26 07:09:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 142934 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp120280ljj; Thu, 26 Jul 2018 00:09:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfPddsaljmKLRsCiIveryvjtAH0QVnElxFI6Fbt/J8s+BPeLSmFI2mEWQWi9rXGo0Z7B5vA X-Received: by 2002:a63:8c0b:: with SMTP id m11-v6mr798361pgd.372.1532588952206; Thu, 26 Jul 2018 00:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532588952; cv=none; d=google.com; s=arc-20160816; b=VxLD23lfNbuzGA9X22PrzQadfAwb4UCXb1LqFW9RoMMvtMAdn5gK1kfOVgQrzvxT8i kjJlzSRHf7vgkhIqsdifL/scgq4mKUDpbJUMMbMAwAURSFHNMAfC72kjd9lrtQzcIMWV F5Heg9TrKPVnBU37XoB6ehh5MbTZljKDmBeVHvNypZ2qQv6fxbYLl5ENq0CeBVoh64jv Dn1MBFx5CQ+nNDvyCYQZTX8slDT1Ri/2fz3nNj1LLofer1t4u2ThtpW4JZg6C4Gd2M8q 5HzF2yHxj0G1N+pvvFMOS18toqexN2XeTICUDLS5nnLKkwETYSrsTNMi228Z6ni6mIS+ aCtg== 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:arc-authentication-results; bh=i+VOLZZnIT8G9SGD0bd2qqw/4YdJI0eanV4f+ovgDSg=; b=kipMQtcL773TbySBCH4E65r5eIrKMgdtYwUdo3T3ZR//A4BQgsSGwe86lsXMzUMYII 69nclAoQo63v4iC0uETUR2n7gd2M1wRmh+LAofYrfJSWjhdFMapiTqDKq8xmokJSqRn+ keK+/3XYIl4MevtuGhdY8GcSTrw7MUXytknfzyr3f9aBTYv8f9KQMtCTAGa1IVYrJK0X Np1jq91PvWTg9pjm7kyWfyFJk/aAEFZJKZv5hnsZeVjqKJ9bnA0YgGM/+jnbVId5x8mn XzPGc0xIxTY1JH3iFI4JzORlFY0VL68SPNR/Lb3otplMrkEnbKrBrLQ6pr1Ihp5hlGs6 amsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5-v6si621416pgc.493.2018.07.26.00.09.11; Thu, 26 Jul 2018 00:09:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728943AbeGZIYf (ORCPT + 31 others); Thu, 26 Jul 2018 04:24:35 -0400 Received: from mx.socionext.com ([202.248.49.38]:12153 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727951AbeGZIYd (ORCPT ); Thu, 26 Jul 2018 04:24:33 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 26 Jul 2018 16:09:06 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 9F27A60034; Thu, 26 Jul 2018 16:09:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 26 Jul 2018 16:09:06 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 0EA641A120D; Thu, 26 Jul 2018 16:09:06 +0900 (JST) From: Keiji Hayashibara To: broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, yamada.masahiro@socionext.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, linux-kernel@vger.kernel.org, hayashibara.keiji@socionext.com, Kunihiko Hayashi Subject: [PATCH v2 1/2] dt-bindings: spi: add DT bindings for UniPhier SPI controller Date: Thu, 26 Jul 2018 16:09:02 +0900 Message-Id: <1532588943-19481-2-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1532588943-19481-1-git-send-email-hayashibara.keiji@socionext.com> References: <1532588943-19481-1-git-send-email-hayashibara.keiji@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kunihiko Hayashi Add DT bindings for SPI controller implemented in UniPhier SoCs. Signed-off-by: Kunihiko Hayashi Signed-off-by: Keiji Hayashibara --- .../devicetree/bindings/spi/spi-uniphier.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-uniphier.txt -- 2.7.4 diff --git a/Documentation/devicetree/bindings/spi/spi-uniphier.txt b/Documentation/devicetree/bindings/spi/spi-uniphier.txt new file mode 100644 index 0000000..504a4ec --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-uniphier.txt @@ -0,0 +1,22 @@ +Socionext UniPhier SPI controller driver + +UniPhier SoCs have SCSSI which supports SPI single channel. + +Required properties: + - compatible: should be "socionext,uniphier-scssi" + - reg: address and length of the spi master registers + - #address-cells: must be <1>, see spi-bus.txt + - #size-cells: must be <0>, see spi-bus.txt + - clocks: A phandle to the clock for the device. + - resets: A phandle to the reset control for the device. + +Example: + +spi0: spi@54006000 { + compatible = "socionext,uniphier-scssi"; + reg = <0x54006000 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&peri_clk 11>; + resets = <&peri_rst 11>; +};