From patchwork Thu Jan 31 16:15:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10790921 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11AE191E for ; Thu, 31 Jan 2019 16:21:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 054CB315DE for ; Thu, 31 Jan 2019 16:21:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 031DC31600; Thu, 31 Jan 2019 16:21:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 87E85315EA for ; Thu, 31 Jan 2019 16:21:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UBejjhn0XPe9uXyxuM56HmuoRk2/ra8ncJELq01PBEM=; b=qAYvSTGWUuUiQI XMzyK8khuuOx00YnFuDW5/WZozbzlMXr5DU41fK/Q6CKxo96se+mswMwLy/Iiu8LPYTf7ZMwO89eI Ei2+mb7cAX3cfAxxlthySIvIYjND4PP6Q4qN3peCig0TLD8jmTiBPpdRofHW1KVUtarTuuRKsbSrp Ed3/xt4CxB0KtT9xHW/jW/DfCIqjZzXCLgs0OWQV2/jCBeVUw1g+mSq5fUbWWhVc95V/q+2b8pJ5h E6DP1+WXosxQCMXq2rl4xGqpX3okeS+4qUtBqmMbbxKhtp4bvlK2eHcOlegImeJgSzpSKO1w5KmfY I5k/48rDl65A6dedONKA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpF61-0001Ob-Mr; Thu, 31 Jan 2019 16:21:45 +0000 Received: from esa6.microchip.iphmx.com ([216.71.154.253]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gpF0J-0003Is-1m; Thu, 31 Jan 2019 16:16:06 +0000 X-IronPort-AV: E=Sophos;i="5.56,545,1539673200"; d="scan'208";a="23261587" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES128-SHA; 31 Jan 2019 09:15:50 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.37) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 31 Jan 2019 09:15:49 -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=aHTEbk25x9Flb/D9oAqFzjCnfnPfDNCVNyoxiVHJRFY=; b=kmjXea1iXNcDPQhH3r1wIthJbWPZqUf5y5r6vzaoFRuY0z2CY6vC+L3Xar9LZorhJ3R9nAvr/I+U3q0AoxZObvGdAPb6VRxi7xAsnlbLauvnyPRW107jDclXKoJHMfIR2K4Z0mAR/C5wTAhwUMvwLpT+JM8drdWok46I2KURK8k= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB1315.namprd11.prod.outlook.com (10.173.32.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.16; Thu, 31 Jan 2019 16:15:49 +0000 Received: from BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::847:4296:13b9:fc9f]) by BN6PR11MB1842.namprd11.prod.outlook.com ([fe80::847:4296:13b9:fc9f%8]) with mapi id 15.20.1580.017; Thu, 31 Jan 2019 16:15:48 +0000 From: To: , , , , , , Subject: [PATCH v2 09/10] dt-bindings: spi: atmel-quadspi: QuadSPI driver for Microchip SAM9X60 Thread-Topic: [PATCH v2 09/10] dt-bindings: spi: atmel-quadspi: QuadSPI driver for Microchip SAM9X60 Thread-Index: AQHUuYA6/sbMtxDVkEiSqq8xQrDUkg== Date: Thu, 31 Jan 2019 16:15:48 +0000 Message-ID: <20190131161515.21605-10-tudor.ambarus@microchip.com> References: <20190131161515.21605-1-tudor.ambarus@microchip.com> In-Reply-To: <20190131161515.21605-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR02CA0046.eurprd02.prod.outlook.com (2603:10a6:802:14::17) To BN6PR11MB1842.namprd11.prod.outlook.com (2603:10b6:404:101::18) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tudor.Ambarus@microchip.com; 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-microsoft-exchange-diagnostics: 1; BN6PR11MB1315; 6:u4O2tOQpcV+ANXfMWsremsxm8LFC1CyDUt0LSuoyOGzmKgp2nBRzfXDWx3CXKZQWEs0X3t5x3Hul2AMXrG8/yKGvZyCgnYrlypNw6oymVVHAYBminVKBWOGuR3o6OJ8RpmbKeyQgGkZ7ASbDWbcEmgMnszAIiW9/W2/DraWtZQplLLyzDiC7f9KTEkJWbsPEJUxpFTAcYjDuIT3Lg5sx/HPbskAXRj39hqNWYWth9OmJNXgzJkVZDxgAEtLEbBaJKVl7UheMuxLSd+a53zmH/UvdzL98Ry3XXpjiQGuhdwy1peXTaYozelyt/A4fxWWGjl3T3sU/oh2N1bFiHCjYHjZ27M1C8sQFZQPHOdddEnyl5Qj0RjpMXKRVirPlxkBLnsQCzjdaqdaSUQfRX0c14gCwWZa8hwKOSRt6Oe/KUSFjc+FUtxwF45S2lgvMyZwQdBjIL37/IWq0a/Gfq5WgEA==; 5:6GyLMcrm6BKPgM+2ASW5AyXuf4dfF3KzcO0QzSRKz7ILUweiLfPakd1K54s7Py7lErrC/u7vxJBJW9KtahlyJA/JTXPsDAwk3UeMs5nxN+9yS1121biJ8Rvhljfdg7WMZabl/k9NhQ/Sfvfp/pbm7KCP18zYczqUagNq3pumOBTxtWUqA7pS8R1mqNFebYgKmUSxLjKPepn01JiPeJ/fkw==; 7:iIfUyM7QQmGsUcVC+koNtjiNIl3ZBWFWLDSYlMpo7vw5+jVjLg6n+EvoLeCe/DBiC5iFL894+fT+0IfpDFaZThLU6fn6FC1YsRBO3w2D0JNyj8tnAh3/VpQqtGuBUJuLSbwlOdKwnAO4RECiRFKsBg== x-ms-office365-filtering-correlation-id: b1d275ca-f8d4-40ae-9c9b-08d687975cb6 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:BN6PR11MB1315; x-ms-traffictypediagnostic: BN6PR11MB1315: x-microsoft-antispam-prvs: x-forefront-prvs: 09347618C4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(39860400002)(136003)(366004)(199004)(189003)(6116002)(186003)(3846002)(107886003)(68736007)(386003)(6436002)(7736002)(76176011)(305945005)(105586002)(86362001)(256004)(14444005)(6506007)(52116002)(4326008)(106356001)(102836004)(26005)(99286004)(50226002)(8936002)(6486002)(2501003)(72206003)(1076003)(2906002)(446003)(11346002)(2616005)(97736004)(476003)(316002)(486006)(14454004)(54906003)(53936002)(110136005)(25786009)(8676002)(81166006)(81156014)(71190400001)(66066001)(71200400001)(7416002)(478600001)(6512007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR11MB1315; H:BN6PR11MB1842.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: 6Hqda2Mdy2C40dD/T8YL5+t+awRPcs4XfTyUChhsFhh8CuXMhgA+Vr+PM2fwxEKg6cFn0d2HPbdn3y6UQ8+Duj6PWbfY5+BeWcTu58b2srcC2ufpzOMg+y0l8MVreDhfycV8hTbah6D0ewM/sZJi4dyId4O7q9Oge8uTsLTg4xFJg2dhHmIBHQr9Uxc+D0NQLk+CK0x357HC7/Jke/auV6JIwsbLc4Ayomt0/l5PG6juIz1CXsZOrnjSU9XGi/f/K0S+S58CMNaXi2+VrBRIvnntdOe4KrJ3LSoc9ZElcF5x6WcXt7xcZ2gekOu+BU4EYozxIYcMnGHxk5unT/R6joqkt4jBYa0UBU8ixtqtTwU8/kH3iMkIpqv2By7CSNqTFvLPgKaxa6yNbFqp/f2OlmPbJCF2Ag4dJsoUKzjG7iU= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b1d275ca-f8d4-40ae-9c9b-08d687975cb6 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2019 16:15:46.5610 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1315 X-OriginatorOrg: microchip.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190131_081551_591328_DFD9AA49 X-CRM114-Status: UNSURE ( 9.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Tudor.Ambarus@microchip.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tudor Ambarus The sam9x60 qspi controller uses 2 clocks, one for the peripheral register access, the other for the qspi core and phy. Both are mandatory. Signed-off-by: Tudor Ambarus --- v2: - make "pclk" mandatory even for sama5d2. Unnamed clk will be supported in the driver. - drop unneeded example Documentation/devicetree/bindings/spi/atmel-quadspi.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/atmel-quadspi.txt b/Documentation/devicetree/bindings/spi/atmel-quadspi.txt index e9dae6264d89..f949f9197636 100644 --- a/Documentation/devicetree/bindings/spi/atmel-quadspi.txt +++ b/Documentation/devicetree/bindings/spi/atmel-quadspi.txt @@ -1,14 +1,22 @@ * Atmel Quad Serial Peripheral Interface (QSPI) Required properties: -- compatible: Should be "atmel,sama5d2-qspi". +- 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: The phandle of the clock needed by the QSPI controller. +- clocks: - "atmel,sama5d2-qspi": the phandle of the clock needed by the + QSPI controller. + - "microchip,sam9x60-qspi": should reference the peripheral + and system QSPI clocks. +- clock-names: Should contain: + - "pclk" for the peripheral clock + - "qspick" for the system clock, when available (sam9x60) - #address-cells: Should be <1>. - #size-cells: Should be <0>.