Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp1260241ima; Fri, 1 Feb 2019 20:08:07 -0800 (PST) X-Google-Smtp-Source: AHgI3IZQVLGCaMSvcQW8yax7fMK4I7zEe7jDnfjmE/hQfU00UO3mGnMingDIxTxcHMEML0vKSIPQ X-Received: by 2002:a63:ee4c:: with SMTP id n12mr4832315pgk.21.1549080486963; Fri, 01 Feb 2019 20:08:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549080486; cv=none; d=google.com; s=arc-20160816; b=zc6ns2R80cZxd59NuxxXLoD9qXK6Fsj6DRKf7BoAffP62qSZxjPU1E3MyQ/Xojw1Ko q2PKJm6JoFFL2C31nLLBum4Ia+LOoBA9DDrpyfV+N54mvQBwXhtMGBEurfqX8Jy9XZxM Lr+cvSsWt0alTX+pKOypgVgMjd8OGdvp13sLLpM9h/LdgX/VGOkH6IG6HXU2/l5xd6vs VLNHjpzK9EEIn8J4kBvd41yOpsVMEaFhSH9bzo0XPkUDPV66SxZ+pm2gCo8QoFmRd1tC vb1UvgkxtgZJO5uHYTs0STmrpsL1vyQWazzxHJENav0daq41iHAicTT6aJn8owCz7Tnc 1HhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=+K4qrmUG13QF8xawF1typSHjAy3QdbYQsMd+k3rAD9c=; b=hYgI1/AGV3UCSS+ZX70oRe9X35eL3ghqjtw5BhjNPKLkxfchAQDu3YBuCTiOOKKBpD hJrNL1GeIa5Z8hkU5iWeuQj5bBDT+pMjsGjP5BwkWLnuYi7uI7lzlqxD4eKqq1J+ul4Z H2SHw3sFUEPfB9G6zncYRXmjH5t6si1L2RDKTXj6gKW7Vd3Kuok4bszxZCDI9Dfmxv0v qIKs9YXeXewQRSowDat+auMTmhozAcD0Hw5oD0H/htSP3mIMOGUjuJdH/q7T/hrELeW6 l9+RkFk1nPyfmCDD/EDfwtnEi5yz5Bg7cOWb2C5ZUs58iFhfx2z3OjfHw15xWxbryOWi pqig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=IikPHFbh; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j135si8809818pgc.517.2019.02.01.20.07.17; Fri, 01 Feb 2019 20:08:06 -0800 (PST) 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; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector1-microchiptechnology-onmicrosoft-com header.b=IikPHFbh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbfBBEHP (ORCPT + 99 others); Fri, 1 Feb 2019 23:07:15 -0500 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:25474 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbfBBEHO (ORCPT ); Fri, 1 Feb 2019 23:07:14 -0500 X-IronPort-AV: E=Sophos;i="5.56,550,1539673200"; d="scan'208";a="25777616" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Feb 2019 21:07:13 -0700 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.76.107) with Microsoft SMTP Server (TLS) id 14.3.352.0; Fri, 1 Feb 2019 21:07:12 -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=+K4qrmUG13QF8xawF1typSHjAy3QdbYQsMd+k3rAD9c=; b=IikPHFbh8Y+cVEJhvxzUjGjKvt6rEaa7JlRxHVUieJptM/pBpRy5fT16dbkyOqg8ltM1dfktLy7DvAJE18JtWDtU6ddlxzzIeaRkLA4NOK4Msx48SnzJ62v1KcC1gM0/ZG3rmPwNlyMUpZ8bcfl8LG2LE8hdYdQab6fYydhJ+vk= Received: from BN6PR11MB1842.namprd11.prod.outlook.com (10.175.98.146) by BN6PR11MB1300.namprd11.prod.outlook.com (10.173.26.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.17; Sat, 2 Feb 2019 04:07:11 +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; Sat, 2 Feb 2019 04:07:10 +0000 From: To: , , , , , , , , CC: , , , , , Subject: [PATCH v3 00/13] spi: atmel-quadspi: introduce sam9x60 qspi controller Thread-Topic: [PATCH v3 00/13] spi: atmel-quadspi: introduce sam9x60 qspi controller Thread-Index: AQHUuqzF5TXyT2EVDU+lmQWhqx0xYg== Date: Sat, 2 Feb 2019 04:07:10 +0000 Message-ID: <20190202040653.1217-1-tudor.ambarus@microchip.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR09CA0062.eurprd09.prod.outlook.com (2603:10a6:802:28::30) 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: [188.25.201.137] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR11MB1300;6:9J8lUHzCzmLFF3pz6NoouT0jz9vPk0ekTRx8+yIMiphWS8Ubb0wffY+EU8zgHX6N3lDbtqQ37oo3G4RDsLNq8qkJ/CriwG4PGZrom0fC92LvtxTLD3TsC7+U3McH9alcM1gEWom77Bqo8NphD7LG2F/B8Ioy60hiTBo5VMmxdLd8fce9KaN7ey4bW2qkSfms8GJjUhssGBUCFWFl37UwPk3gqBG8ENtwrkI643QMezz2lehORji+gxnNGN8Q4gra4jZcMYxvNe/2LgfsG9wcgiwqv8Z6WC+RfszGHhpTSvznrN8R4Xk4IUvJuvNUpuHqgWFcJ3haphc9gzJIcuDBjLZfh1zE1khXe1P5LlxFY7oUPqPidpvGCuuCQDc529ZTeA/9xuHuYMScp/oy3hofoD1d3xPYnw02AMdU8kL3+o2Uyu3OA0YfsW/9q2hrd+Rdmx+lbi7B+1jSUDHnnOf6Fg==;5:PRWxzhOxbpo69AgTN/3Ix+qSMJ0XOD8kyamuhW7Yhf58ayISfA8+g3sXVLQ3RP+fdPwJ8gxMFygxy1PeZseDgSCDG93Ju/4zuDzlKhKo+1KT26cp0xeQl2eYtYE7NDqNgC75EiN7lFxIQwgpP+LeOIgm16M8p7+yXLwJS8rUDO24WufI1OFZlF7cIbPVqzPKx/r/TPD1Xn506V8EnE27xw==;7:mnQDyrSEFsBUyC70iprPkl31ZJbJP+MnxIvlK5r6NRNqH6TrtA9f15GjEaNK8o49qpdJHEtfDTxs87kUHgF5XSVUpAmUg4q1V0IzdHNiFrvwfw75m/j6cUmux107UyIEhiU+1cXx9Wl6DLBcty5v2A== x-ms-office365-filtering-correlation-id: 09c945a9-45a2-401e-274e-08d688c3e751 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020);SRVR:BN6PR11MB1300; x-ms-traffictypediagnostic: BN6PR11MB1300: x-microsoft-antispam-prvs: x-forefront-prvs: 09368DB063 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(376002)(366004)(346002)(136003)(396003)(199004)(189003)(14454004)(52116002)(50226002)(105586002)(6436002)(102836004)(72206003)(81156014)(81166006)(2906002)(26005)(7736002)(478600001)(3846002)(6116002)(53936002)(256004)(14444005)(106356001)(8936002)(68736007)(36756003)(97736004)(107886003)(4326008)(39060400002)(2616005)(99286004)(476003)(86362001)(66066001)(71200400001)(7416002)(71190400001)(6486002)(6512007)(316002)(110136005)(1076003)(305945005)(186003)(8676002)(2501003)(25786009)(486006)(54906003)(386003)(6506007);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR11MB1300;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: coIbVsbgwFz7sAu3g4KopIkgmc2XLh47L7c86C73V41PGqM/luOXE/98vW0YcCxBwfvdLeKPfsSeWTSujNwhCFAKJHmq9+txVq3eKP9KroJ+mBnvLe0vxBiLqHPSzEvg+owsuhb6y+q3exfRuWl3iWw6MnmC3q0gF03DY8Mc89GYrqR87RtpDSMNwJTxYdUPW9VpJ8jzozRpj+twiikPnapcwFdRGIvtpGPddLZbrYbgg7burIzRoC2Yk/wOoM6shk4xdy/Hc7ZQb1Sob3D/EvfvZc0Y2pnTgu8651/3Dlp+D4YnXjDloqBTTv/5Wo2HSbEU/poH38MUMFzHOBJQw4XHHsCL3v8wpPYUSmOWyZGqXG41RWY+uAF+OY5Oc5xUtFZhx5et4E1KqLH9fuzdOLV1I9smGfGE5aGRIYSqNKA= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 09c945a9-45a2-401e-274e-08d688c3e751 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2019 04:07:07.9862 (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: BN6PR11MB1300 X-OriginatorOrg: microchip.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tudor Ambarus Patches from 1 to 11 are minor fixes or cosmetics. Patches 12 and 13 introduce the sam9x60 qspi controller. sam9x60 qspi controller tested with sst26vf064b jedec,spi-nor flash. Backward compatibility test done on sama5d2 qspi controller and mx25l25635e jedec,spi-nor flash. The patches are generated on top of for-next branch. v3: - update smm value when different. - treat just regular spi transfers when introducing sam9x60 qspi IP. Mem transfers will be added together with dirmap support. - reorganize the code and change ops functions pointers to avoid code duplication. - rename aq->clk to aq->pclk to indicate that it's a peripheral clock. - drop unused and NOP transfer macros. - add Suggested-by tags, reword some commits. v2: - cache MR value, - drop iomem wrappers, - make "pclk" clock-name mandatory even for sama5d2, - rework clock handling, - reorder setting of register values in set_cfg() calls, - collect R-b tags. Tudor Ambarus (13): spi: atmel-quadspi: cache MR value to avoid a write access spi: atmel-quadspi: order header files inclusion alphabetically spi: atmel-quadspi: drop wrappers for iomem accesses spi: atmel-quadspi: fix naming scheme spi: atmel-quadspi: remove unnecessary cast spi: atmel-quadspi: return appropriate error code spi: atmel-quadspi: switch to SPDX license identifiers spi: atmel-quadspi: drop unused and NOP transfer macros dt-bindings: spi: atmel-quadspi: update example to new clock binding dt-bindings: spi: atmel-quadspi: make "pclk" mandatory spi: atmel-quadspi: add support for named peripheral clock dt-bindings: spi: atmel-quadspi: QuadSPI driver for Microchip SAM9X60 spi: atmel-quadspi: add support for sam9x60 qspi controller .../devicetree/bindings/spi/atmel-quadspi.txt | 12 +- drivers/spi/atmel-quadspi.c | 402 ++++++++++++++---= ---- 2 files changed, 288 insertions(+), 126 deletions(-) --=20 2.9.5