From patchwork Thu Jul 19 06:51:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 142323 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1392719ljj; Wed, 18 Jul 2018 23:53:35 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcC7mlrf7CW/XzF+5dxPktY7xFxTCFArgdz0/cz+Urs+vwtYFEuzIJhekK9qa9+xGHiYD+4 X-Received: by 2002:a63:7703:: with SMTP id s3-v6mr8934812pgc.339.1531983215688; Wed, 18 Jul 2018 23:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531983215; cv=none; d=google.com; s=arc-20160816; b=LAXv7HkJ2yCulx2uOcdYkP+FsOlrWDahmpm7+MLq5xKDOPBNjm/VQ3RHylVvgONE+H w869++qMqup16CWNsLlWL1Ho20hQHlvRXO+T3o3+fYyh5hCpieQ7WMM4kFHFAHvpx0jb nGjFjmPZTH2NN72vauOLBJNyAgkibVe/f6ODTG5CG8yoSbE0oRJm4Dx5IfbWtHXZlMDe +NrFlGCvGfjEh3o6AYMbRhrYmWI8XTpFFb6gpceEB/FpVFoxQLy7QsvTJwiqAPz6fTNd sMVJ4M0Sh3zYECQwZBg7kfLEgMuAMFdnLzsWzXuDhLNfGaXpcoG3bTwIC9OQDTxxqqu9 QnhQ== 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=l89PVSVKv8ZL1pIHj8BYcpz7m+syujYKCznXP2//AgY=; b=w3pzDspIbbg403BXnWo/5OxVTvMnnMwMb9ZGOUeh3cMpRd+vWvAkrhNkJ8iBeTQ/hQ vaVeD9B8pOkhdV64eIVV4Mt0I1SAg0+AROFHV9e1ElfleqTPAsOR71/6VXQYvmqcO03J z0gacv1xjW5PBP2+PiZoTWfeKPvph9EGoVE184dDcWxjcfZTMpDIXe7JqRhGCyxQs9QK vU3sdnFlsb6dLxw9NxIySzbiPtXVgFYr4Ihh8Q7Cfbx0oVCQTc5TZxgdxexSt9mka1tR zqyOq07xMjxeGtJf+K4Ypmzwsf1cdWQwM/GTtmfC/Nh0leIeQxdqlqjs1/4Vz2bKskej asqA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e7-v6si5169816pgc.233.2018.07.18.23.53.35; Wed, 18 Jul 2018 23:53:35 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730749AbeGSHfI (ORCPT + 1 other); Thu, 19 Jul 2018 03:35:08 -0400 Received: from mx.socionext.com ([202.248.49.38]:36415 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727320AbeGSHfH (ORCPT ); Thu, 19 Jul 2018 03:35:07 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 19 Jul 2018 15:53:30 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id CBED560034; Thu, 19 Jul 2018 15:53:30 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 19 Jul 2018 15:53:30 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id CA8DF1A11BB; Thu, 19 Jul 2018 15:53:29 +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 1/2] dt-bindings: spi: add DT bindings for UniPhier SPI controller Date: Thu, 19 Jul 2018 15:51:56 +0900 Message-Id: <1531983117-9443-2-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1531983117-9443-1-git-send-email-hayashibara.keiji@socionext.com> References: <1531983117-9443-1-git-send-email-hayashibara.keiji@socionext.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@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 | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-uniphier.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-uniphier.txt b/Documentation/devicetree/bindings/spi/spi-uniphier.txt new file mode 100644 index 0000000..9c8c4a1 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-uniphier.txt @@ -0,0 +1,26 @@ +Socionext UniPhier SPI controller driver + +UniPhier SoCs have two types of SPI controllers; SCSSI supports a +single channel, and MCSSI supports multiple channels. +Both of them support the SPI master mode only. + +Required properties: + - compatible: should be + "socionext,uniphier-scssi" - for SCSSI device + "socionext,uniphier-mcssi" - for MCSSI device + - 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>; +};