Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp365688pxu; Tue, 1 Dec 2020 13:16:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0UAI7oZNhta7H6oAIF/N/2BLQlqal3Tpz9i6iq7QO3W8c0OUTrFOhtOYf3EJ7hRQHinzu X-Received: by 2002:aa7:d711:: with SMTP id t17mr4990973edq.83.1606857377308; Tue, 01 Dec 2020 13:16:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606857377; cv=none; d=google.com; s=arc-20160816; b=SfiiemoV8G3TfD2leHJvxNxfB1fa/NWeH2LzT8B8Pwwr62Tx9tLcy+w8vPyg529aBG Rt/COA0u/vzvxU6vv0lSStYGRoJq4X+QR3Aj2JrbuF6kpVwIwO+xoHKawafAVFx5YM5j VEasY+N5fZJMml87ERfnX+pLzkIe2njOrxuzAC3fnA0iJ1gtnqEEIz6vRfjldr7iY/WC 0eQC9Rkw7Bn8VK9TzGYwdxWvqWRhzttSugNvf5jtVfHQuE39FNmCoCDgVl/q4Y4oge5M WCMJwunabwiJzQodwJ6lM3ec8bjyWOqnQV+ySK1+r9A9XH4Ksy4nnTirVUx2yBoINSTb Ix9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=/2F5ZwMdeddcrSo5XG0HyncQt1PgABPAL/P/aQrE10E=; b=XDTQ+XpN9udFIR4mz0ENXoQKTW4b9trZwNBkXT1UJtcyAujNg1QCOiC+C4FvrfJu4A t5BGkJ8KQB4qRYgSsCpREwD+knGI9VYrl4UwzhqY3P6q4Rsoetff+Da7uJhjDWJraq6I 7gsFJqQAh2hwkmFHMyS5CqFQ8EtvsdTmyt22Ale4fNkdcrlzq4dAPbhS59AaFnhQ+PqV Nt+6081tc908tZVvbIZv6pitUTEigiBVFzDHvqbuYvTu3PzQcNMiQWma5vo+uFxJPxk8 xOYGwZH5vmfO95I8+66sUn+OpoOvqCOXGL+TPL4irrpKdOHeK1UEC5yncEsdgTRNnbsH bmpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hMBI1jnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m91si692871ede.352.2020.12.01.13.15.53; Tue, 01 Dec 2020 13:16:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hMBI1jnA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388439AbgLAVNc (ORCPT + 99 others); Tue, 1 Dec 2020 16:13:32 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:14567 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387962AbgLAVNb (ORCPT ); Tue, 1 Dec 2020 16:13:31 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 01 Dec 2020 13:12:51 -0800 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 1 Dec 2020 21:12:50 +0000 Received: from skomatineni-linux.nvidia.com (10.124.1.5) by mail.nvidia.com (172.20.187.12) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Tue, 1 Dec 2020 21:12:49 +0000 From: Sowjanya Komatineni To: , , , CC: , , , , Subject: [PATCH v1 2/7] dt-bindings: spi: Add Tegra QSPI device tree binding Date: Tue, 1 Dec 2020 13:12:43 -0800 Message-ID: <1606857168-5839-3-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1606857168-5839-1-git-send-email-skomatineni@nvidia.com> References: <1606857168-5839-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606857171; bh=/2F5ZwMdeddcrSo5XG0HyncQt1PgABPAL/P/aQrE10E=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:X-NVConfidentiality:MIME-Version:Content-Type; b=hMBI1jnAc4qs4XlY2pd8rflTZHDcF2/4KbVlLXRGP+NnbTJjIj5ZTFHJj3/zOQG5D WJEtRmwxM5pWNCO7igI643SO0GsP1k7jXbCRnOnl0avTECnUxWkdotY6L5d3KGCHQW 7ZfnAzzdOTCbgriUQv1c0FB1DlIBrUDXcbOLP6DGBpOzdm2zeW44yjawHpV4igU2zA 8/Ab8sjJBS2gLuQpb1UPJdwdvkHnnLzjl9wWYYRMuwmF7oixsZCa+E8P08q7Ac/Tfw xt+XWjkRPRlOjC912NhZTNKaF91GUj1M2XHqvFdaCn3zX4PpDZ6LwCoOrXrL6NoM6P jO3Rk/Nd32R1w== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds YAML based device tree binding document for Tegra QSPI driver. Signed-off-by: Sowjanya Komatineni --- .../devicetree/bindings/spi/nvidia,tegra-qspi.yaml | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/nvidia,tegra-qspi.yaml diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra-qspi.yaml b/Documentation/devicetree/bindings/spi/nvidia,tegra-qspi.yaml new file mode 100644 index 0000000..038a085 --- /dev/null +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra-qspi.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/spi/nvidia,tegra-qspi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tegra Quad SPI Controller + +maintainers: + - Thierry Reding + - Jonathan Hunter + +properties: + compatible: + enum: + - nvidia,tegra210-qspi + - nvidia,tegra186-qspi + - nvidia,tegra194-qspi + + reg: + items: + - description: QSPI registers + + interrupts: + maxItems: 1 + + clock-names: + items: + - const: qspi + + clocks: + maxItems: 1 + + reset-names: + minItems: 1 + items: + - const: qspi + + resets: + maxItems: 1 + + dmas: + maxItems: 2 + + dma-names: + items: + - const: rx + - const: tx + +required: + - compatible + - reg + - interrupts + - clock-names + - clocks + - reset-names + - resets + +additionalProperties: true + +examples: + - | + #include + #include + #include + + spi@70410000 { + compatible = "nvidia,tegra210-qspi"; + reg = <0x70410000 0x1000>; + interrupts = ; + clocks = <&tegra_car TEGRA210_CLK_QSPI>; + clock-names = "qspi"; + resets = <&tegra_car 211>; + reset-names = "qspi"; + dmas = <&apbdma 5>, <&apbdma 5>; + dma-names = "rx", "tx"; + }; -- 2.7.4