From patchwork Tue May 14 10:26:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 1099393 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=microchip.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=microchiptechnology.onmicrosoft.com header.i=@microchiptechnology.onmicrosoft.com header.b="Vz6BZgUo"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 453DPd31KFz9sNp for ; Tue, 14 May 2019 20:26:45 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2956CC21DF3; Tue, 14 May 2019 10:26:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 07675C21F67; Tue, 14 May 2019 10:26:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AF061C21F67; Tue, 14 May 2019 10:26:13 +0000 (UTC) Received: from esa6.microchip.iphmx.com (esa6.microchip.iphmx.com [216.71.154.253]) by lists.denx.de (Postfix) with ESMTPS id 593C3C21E7F for ; Tue, 14 May 2019 10:26:09 +0000 (UTC) Received-SPF: Pass (esa6.microchip.iphmx.com: domain of Tudor.Ambarus@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="Tudor.Ambarus@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa6.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa6.microchip.iphmx.com; envelope-from="Tudor.Ambarus@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa6.microchip.iphmx.com; spf=Pass smtp.mailfrom=Tudor.Ambarus@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dkim=pass (signature verified) header.i=@microchiptechnology.onmicrosoft.com; dmarc=pass (p=none dis=none) d=microchip.com X-IronPort-AV: E=Sophos;i="5.60,468,1549954800"; d="scan'208";a="30375021" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 14 May 2019 03:26:05 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.49) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 14 May 2019 03:26:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector1-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZgbH/jYuFB8CYkmJiflpxgds2LByszrOLa3ntCKwd3g=; b=Vz6BZgUoU+TEsFWCNcilRcgY1dTUy+ixyfEk/zBQfvz2TceSZlcWW6UqPXHWIXYqiyj5QjUoHeZ/Izo+DvZVF2dDmDzVw+txw+0G3/pNo0l8ezP/Dp7anHoSDuRk+MV7HTx6knjMACJiWZYeM/8Szh6gWyZxlGWAhlmUhFLvqu0= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB1618.namprd11.prod.outlook.com (10.172.22.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.20; Tue, 14 May 2019 10:26:03 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::35b3:7af:7216:8808]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::35b3:7af:7216:8808%10]) with mapi id 15.20.1878.024; Tue, 14 May 2019 10:26:03 +0000 From: To: , , Thread-Topic: [U-Boot][PATCH v3 01/10] dt-bindings: spi: add bindings for Atmel QSPI driver Thread-Index: AQHVCj9uupHSYJ7jVEa8p/vGaH2mNg== Date: Tue, 14 May 2019 10:26:03 +0000 Message-ID: <20190514102545.30066-2-tudor.ambarus@microchip.com> References: <20190514102545.30066-1-tudor.ambarus@microchip.com> In-Reply-To: <20190514102545.30066-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1P195CA0008.EURP195.PROD.OUTLOOK.COM (2603:10a6:800:d0::18) To BN6PR11MB1842.namprd11.prod.outlook.com (2603:10b6:404:101::18) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.9.5 x-originating-ip: [94.177.32.154] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64efb8c1-6f14-4bad-e043-08d6d85690d0 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:BN6PR11MB1618; x-ms-traffictypediagnostic: BN6PR11MB1618: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-forefront-prvs: 0037FD6480 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(366004)(136003)(39860400002)(396003)(189003)(199004)(11346002)(6486002)(186003)(6436002)(8936002)(81166006)(81156014)(8676002)(446003)(7736002)(76176011)(50226002)(52116002)(26005)(2616005)(6636002)(71190400001)(14454004)(71200400001)(476003)(6512007)(5660300002)(316002)(486006)(64756008)(3846002)(1076003)(6116002)(256004)(2906002)(66556008)(73956011)(66446008)(305945005)(66476007)(66946007)(478600001)(102836004)(107886003)(2501003)(36756003)(72206003)(386003)(6506007)(99286004)(110136005)(54906003)(86362001)(25786009)(4326008)(53936002)(68736007)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1618; H:BN6PR11MB1842.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: microchip.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8MjrUsI4XpBfo6TWVBhliyb7i6/3dj41aVgf4uEQ34pcN51GIMon2e0GBsiFL3Lpgu+GzPYS7jTybaNJw7qm9JaVx3oAgXPFUemS33/hmK8sOyjwpDLpzXzOkp7QK0nfpatW/YCA29AdNGJIvxW8kv0TADigCbU7oJ2F5/o9JxRW7SBq7mUgcl/uAImNad+YGljigGsPa5gisssD6wOxjouL3Kdw7rF19Wry2C/6/wNExXhVGycUeAxMh3YuuqGKcBSVQX0LoD1ESg+nBwDTIFDAOdKfoO5cpk3f5v/OggFqlOQ3zCVv+v2eiq2ySICnEnbcIi0w0MkuCufN+DPt5wtlXyNfUxdzf0lkcRebicRUKlktgAHWBOswTfzGbfXTgENIE4zdO+l/xk1gpgkW+am7H1slCXRv18Z3kLFM1lU= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 64efb8c1-6f14-4bad-e043-08d6d85690d0 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2019 10:26:03.2733 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1618 X-OriginatorOrg: microchip.com Cc: Nicolas.Ferre@microchip.com, u-boot@lists.denx.de, Cyrille.Pitchen@microchip.com, bugalski.piotr@gmail.com, sr@denx.de Subject: [U-Boot] [PATCH v3 01/10] dt-bindings: spi: add bindings for Atmel QSPI driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Tudor Ambarus Describe the DT bindings for the driver of the Atmel QSPI controller. Taken form linux v5.1-rc5. Signed-off-by: Tudor Ambarus --- v3: no change v2: no change doc/device-tree-bindings/spi/atmel-quadspi.txt | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 doc/device-tree-bindings/spi/atmel-quadspi.txt diff --git a/doc/device-tree-bindings/spi/atmel-quadspi.txt b/doc/device-tree-bindings/spi/atmel-quadspi.txt new file mode 100644 index 000000000000..7c40ea694352 --- /dev/null +++ b/doc/device-tree-bindings/spi/atmel-quadspi.txt @@ -0,0 +1,37 @@ +* Atmel Quad Serial Peripheral Interface (QSPI) + +Required properties: +- compatible: Should be one of the following: + - "atmel,sama5d2-qspi" + - "microchip,sam9x60-qspi" +- reg: Should contain the locations and lengths of the base registers + and the mapped memory. +- reg-names: Should contain the resource reg names: + - qspi_base: configuration register address space + - qspi_mmap: memory mapped address space +- interrupts: Should contain the interrupt for the device. +- clocks: Should reference the peripheral clock and the QSPI system + clock if available. +- clock-names: Should contain "pclk" for the peripheral clock and "qspick" + for the system clock when available. +- #address-cells: Should be <1>. +- #size-cells: Should be <0>. + +Example: + +spi@f0020000 { + compatible = "atmel,sama5d2-qspi"; + reg = <0xf0020000 0x100>, <0xd0000000 0x8000000>; + reg-names = "qspi_base", "qspi_mmap"; + interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>; + clocks = <&pmc PMC_TYPE_PERIPHERAL 52>; + clock-names = "pclk"; + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_spi0_default>; + + m25p80@0 { + ... + }; +};