Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3890718ybe; Mon, 16 Sep 2019 03:09:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyx6pYdcxf//bqtpcUA+5xTyLYXwpk7gxMKa3hnDbDPGMLqpZYetMa8ghIKz9jzpVTiLbmZ X-Received: by 2002:a50:9e26:: with SMTP id z35mr60444735ede.265.1568628552138; Mon, 16 Sep 2019 03:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568628552; cv=none; d=google.com; s=arc-20160816; b=BX6eZkmwMwrHerrovOiFp2+rWu0U5hntLbz62hQaNrlMXPESmh2sQ7vimGZTfpFaO/ V8hpdHynvWpVVpwnWLG+IlgffTTq2XNE44V81pgEY/PPEyizx6XTm0jgp8xzOT6gftnu jzg/m5MxTdTKvuHUeY1owOiibWqOdyrqU6VYntAVWVUxixAITrEw1oFx0CILvnN1RRaB QZ8N7Cg/6KwxdusEXktuu3a5u05llglzUxVMv6g3XYIpI7rueSDunSudEVeW3QaqAPdw ZaR28Tt4cnHw3xkAEkE99yWM6EITv8xt/P+s1FvmTmwaWOZP8QhWdlSKNCgiELotVcUi 2ZAw== 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=GKyDMjaOWuBNbqDfzZpL8j1YodvsvnbSxaXMQ6TYTTCW6nH3zoNN6n14iw653ZsACv Us1Qh0s3J+5XwWax4rHRqRsOajkpSQT+3U9hRvJjBCM5nO5ILkvcEfvxZYcnt7sn87Lr FHK8Bku5QDk1h0lcC+9TrVSFKx9yZ862k4KHHMFPs699r1+wqHCPsgekMmhNWbRI3G7n reNnro2Z8kUrGZ5hgQdgfesG6S36KCKAormY7vZud72RJ3UGoFmajEs96NjALiTRnDi1 Q/ig9nzj1MzGQo7K/zl20nm+y/hQ1eyIL3ERC5oB7pMLdBbnrs+GV/THF7Bo3gZ7QTBO WDIQ== 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 b9si21046654eda.129.2019.09.16.03.08.45; Mon, 16 Sep 2019 03: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730469AbfIPHXe (ORCPT + 99 others); Mon, 16 Sep 2019 03:23:34 -0400 Received: from mga17.intel.com ([192.55.52.151]:60509 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725776AbfIPHXe (ORCPT ); Mon, 16 Sep 2019 03:23:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Sep 2019 00:23:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,492,1559545200"; d="scan'208";a="188530418" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga003.jf.intel.com with ESMTP; 16 Sep 2019 00:23:30 -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 v3 1/2] dt-bindings: spi: Add support for cadence-qspi IP Intel LGM SoC Date: Mon, 16 Sep 2019 15:23:24 +0800 Message-Id: <20190916072325.32104-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190916072325.32104-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20190916072325.32104-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