Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp573110ybx; Wed, 30 Oct 2019 01:15:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAIPOs72Q70VevHRRi6Uhf47mQcrnOWNGNb23NA3izVDyOFgUyq3+SFnCUcEEky/M/09WF X-Received: by 2002:a17:906:5407:: with SMTP id q7mr7711418ejo.24.1572423324015; Wed, 30 Oct 2019 01:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572423324; cv=none; d=google.com; s=arc-20160816; b=0i3w5mQUMC3Q8qF1ww/TEpchIm9Lr2poxz1WVi80HZ11+gwMnfotYbQZZ3z+Zt+NT2 BU2Mpv6PSHjp4ZY4k7d2PPDkmd/R9xUfT41X4UnsE7JA8Fn8Nb9oXASfPyt2uG9uRP7x SZ8rbAruJVDTtFdNtSfL2Xd9P2R9sXDtuoqt8nofAvopeTonEklrNIUsUv18Uq+jMrRL QK6/c5djthcc/yn5fgvbd/KQjWamI4D2boYZtVXrMGT2fsit2QPw5vRBQNt+ZCv9zyye g+QXxYFe6c5OHWn4m4FyV5fYD/W8ERoLqTHADfGim6R04N6K5XVbYQCGteXrhXsO6MYE FU/w== 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=DsxC91tyEkbB7cnBYJ1aOJNRwgLgZu0f07JAaORsbPE=; b=lJAtjgDXKPJRR7Jx5pQ3LNnTGG1Ehd4TbdFAdUBp1Gk6v4/VDsfNfE/JrnykyYWiCz ha/HysEx1GnJ4Vn8P8OsmO3kGwpUWQTT5ZX8qt21r0WQPuOD1lJyNgzlKjGiv0Q2bzvc 5W42QwFD+f5ViSX76Mjiqcl5xq+cFat8vRqMCqU/csx7l9t6L9uAvtrr7MEivMy4gFGe s3CLjamwDGyojQsINt7KRHeTnAGuq6TYepXjdZVFlYQ2Ekw7EYvCs2fZde0wF8g7iD9S sVuuZZGmKOBFrAal8oMHxJXcaBwZdRVeDxbpzzFBGn9VCL960lRAmSf3Zjab+ZodndjK CapQ== 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 w20si1005705edc.397.2019.10.30.01.15.00; Wed, 30 Oct 2019 01:15:24 -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 S1726455AbfJ3IME (ORCPT + 99 others); Wed, 30 Oct 2019 04:12:04 -0400 Received: from mga12.intel.com ([192.55.52.136]:19426 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbfJ3IMD (ORCPT ); Wed, 30 Oct 2019 04:12:03 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2019 01:12:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,246,1569308400"; d="scan'208";a="351233369" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by orsmga004.jf.intel.com with ESMTP; 30 Oct 2019 01:12:00 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: broonie@kernel.org, vigneshr@ti.com, robh+dt@kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v2 1/2] dt-bindings: spi: Add schema for Cadence QSPI Controller driver Date: Wed, 30 Oct 2019 16:11:54 +0800 Message-Id: <20191030081155.29947-2-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191030081155.29947-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20191030081155.29947-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 Add dt-bindings documentation for Cadence-QSPI controller to support spi based flash memories. Signed-off-by: Ramuthevar Vadivel Murugan --- .../devicetree/bindings/spi/cadence,qspi.yaml | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/cadence,qspi.yaml diff --git a/Documentation/devicetree/bindings/spi/cadence,qspi.yaml b/Documentation/devicetree/bindings/spi/cadence,qspi.yaml new file mode 100644 index 000000000000..295501f01e5e --- /dev/null +++ b/Documentation/devicetree/bindings/spi/cadence,qspi.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/spi/cadence,qspi.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Cadence QSPI Flash Controller support + +maintainers: + - Ramuthevar Vadivel Murugan + +allOf: + - $ref: "spi-controller.yaml#" + +description: | + Add support for the Cadence QSPI controller,This controller is + present in the Intel LGM, Altera SoCFPGA and TI SoCs and this driver + has been tested On Intel's LGM SoC. + +properties: + compatible: + const: cadence,qspi + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clocks-names: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - reset-names + +examples: + - | + spi@ec000000 { + compatible = "cadence,qspi"; + reg = <0xec000000 0x100>; + clocks = <&cgu0 LGM_CLK_QSPI>, <&cgu0 LGM_GCLK_QSPI>; + clock-names = "qspi"; + resets = <&rcu0 0x10 1>; + reset-names = "qspi"; + #address-cells = <1>; + #size-cells = <0>; + + flash: flash@1 { + compatible = "spi-nand", "jedec, spi-nor"; + reg = <1>; + spi-max-frequency = <10000000>; + }; + }; + -- 2.11.0