Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3894024ybe; Mon, 16 Sep 2019 03:12:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwT82e+BRbpKIzKNGs8eGWdIr5+TynnhiDiEQmXus7NNhDUP6gh91BUgewatJXlTQ5AbkFr X-Received: by 2002:a17:906:4c4c:: with SMTP id d12mr9510946ejw.174.1568628745225; Mon, 16 Sep 2019 03:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568628745; cv=none; d=google.com; s=arc-20160816; b=xIwE0kezT4qKj9ZUrI2EpplNRL+F3JjUMlD7hsmUeLq6jAjrY1YK20CryiFq1VPJV3 BHwibxOooha9wcOV64lzZqnUiur9GBNIVwQHKcnHJxv6rhnM1esTBlrJpDoyUJNZyh7V tnRR/vgIuaO9QF4mfVoy6S47splpXp4WPk8rjQKWp1aDtqg2vuqZAx0YhzXdXPuywgh7 HV89/0sYNtTTC5zHEXYFoD5SRZhaOvxbg/jf05jTH/bYoJGoLUqzx0i1pLfKvSSSRHkZ z8LPjibRXifGuzVU3rCnA3Pda8rPDU4AH7m26SrOxI7cUum3fzWloFPTPVr+eNC6Q+CG gcMQ== 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; bh=2fwUNdd8F0UMcsfVaEQwv/7HTRhjWdBcawUVLUZih6M=; b=kojAsU7IBFLMAE0/boM9bBx6cyS9Qen64ID21eWXtRsdSvXObEfotk4ofgvDOkGc8J mGoKxY+ELzdgQRzOlMxzRWxUj5TEX16EBRRhmuHPQWGQu7Drs/V9ycoyCcq6AWPcjPQp IicXJkMmaF3fqpMarrsL2aGvwJhTEdr91l1JFSGnekhnmy/TEM/i+PQNNQJwxMQl1cAe 7tlRFZuXvyersooiN12KeRzVkY9AQDYMU11CBIDZdDvqfa6ebfTICxwURETw2trQp0JV xFgYtz7Gq28wCE021RdOnVtRDUIOvbMwR6et9tVkXkI9HK1bJ/NMT79yR4saoNVkSyPG syYw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si20093352edb.286.2019.09.16.03.12.01; Mon, 16 Sep 2019 03:12:25 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728040AbfIPHiw (ORCPT + 99 others); Mon, 16 Sep 2019 03:38:52 -0400 Received: from mga17.intel.com ([192.55.52.151]:61584 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727834AbfIPHiv (ORCPT ); Mon, 16 Sep 2019 03:38:51 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Sep 2019 00:38:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,492,1559545200"; d="scan'208";a="176967554" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga007.jf.intel.com with ESMTP; 16 Sep 2019 00:38:48 -0700 From: "Ramuthevar,Vadivel MuruganX" To: broonie@kernel.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v1 1/2] dt-bindings: spi: Add support for cadence-qspi IP Intel LGM SoC Date: Mon, 16 Sep 2019 15:38:42 +0800 Message-Id: <20190916073843.39618-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190916073843.39618-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20190916073843.39618-1-vadivel.muruganx.ramuthevar@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ramuthevar Vadivel Murugan On Intel Lightening Mountain(LGM) SoCs QSPI controller support to QSPI-NAND flash. This introduces to device tree binding documentation for Cadence-QSPI controller and spi-nand flash. Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/spi/cadence,qspi-nand.yaml | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/cadence,qspi-nand.yaml diff --git a/Documentation/devicetree/bindings/spi/cadence,qspi-nand.yaml b/Documentation/devicetree/bindings/spi/cadence,qspi-nand.yaml new file mode 100644 index 000000000000..9aae4c1459cc --- /dev/null +++ b/Documentation/devicetree/bindings/spi/cadence,qspi-nand.yaml @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/spi/cadence,qspi-nand.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Cadence QSPI Flash Controller on Intel's SoC + +maintainers: + - Ramuthevar Vadivel Murugan + +allOf: + - $ref: "spi-controller.yaml#" + +description: | + The Cadence QSPI is a controller optimized for communication with SPI + FLASH memories, without DMA support on Intel's SoC. + +properties: + compatible: + const: cadence,lgm-qspi + + reg: + maxItems: 1 + + fifo-depth: + maxItems: 1 + + fifo-width: + maxItems: 1 + + qspi-phyaddr: + maxItems: 1 + + qspi-phymask: + maxItems: 1 + + clocks: + maxItems: 2 + + clocks-names: + maxItems: 2 + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + +required: + - compatible + - reg + - fifo-depth + - fifo-width + - qspi-phyaddr + - qspi-phymask + - clocks + - clock-names + - resets + - reset-names + +examples: + - | + qspi@ec000000 { + compatible = "cadence,qspi-nand"; + reg = <0xec000000 0x100>; + fifo-depth = <128>; + fifo-width = <4>; + qspi-phyaddr = <0xf4000000>; + qspi-phymask = <0xffffffff>; + clocks = <&cgu0 LGM_CLK_QSPI>, <&cgu0 LGM_GCLK_QSPI>; + clock-names = "freq", "qspi"; + resets = <&rcu0 0x10 1>; + reset-names = "qspi"; + #address-cells = <1>; + #size-cells = <0>; + + flash: flash@1 { + compatible = "spi-nand"; + reg = <1>; + spi-max-frequency = <10000000>; + }; + }; + -- 2.11.0