Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp583964ima; Fri, 1 Feb 2019 07:48:03 -0800 (PST) X-Google-Smtp-Source: AHgI3IZYkHEn88vfJeMAdSPUe3Ljhx8/HY+JJvDgR6EYPIqvInouLSRknOyihNuGuxgd8r45r75M X-Received: by 2002:a63:5b48:: with SMTP id l8mr2693098pgm.80.1549036083493; Fri, 01 Feb 2019 07:48:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549036083; cv=none; d=google.com; s=arc-20160816; b=JgVA/ISipW12s0zCii+b30Dn4b/443Hc/7xWeT65Tv1Hml3E7ZBGfZNyM5dx+DbhdV yj7ZdBo0mqJVXVplJ4E0zzIxCjn49SsE/uhdGF1Bek+fjd8iks1wWVTGmGn93E5YA0Zb oim1AVcHtHv8wHROlLIONvK0WxHQSgxuNuqkmotmBvWqIc0E4YgAfBZVlSr2DQMF4Hl3 IFWZZoU28eV0fX3D731I2FefjbNjtDtW5ZDJaiS66c2ZGA+6eifROi0REUSy/wrmUViw x2gVi8mDU87jfaNUze9pGaP1eYIsU+SgwIoR5uVMIqhrdZnokphkiOt/9F7J16N2Bqc9 xcaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=XmgG3ZSSQotog+lRrpJIT+MH3wfL09Ivb9bisg7BdDE=; b=0zObnIlS3++n2oq5RKWGEbRkBLDsGS7QbPJREF18RiudfowlKNnzTf60Q+kZyi4jmW E5hjUAsfnF7F3AeHdtc/7eVUZDTfOyGce3LM3Gdz+dvgX4xr+FMyRKc3XVLhpUjmco+M +ZCrKZEUi6gXQBFQvO+I/dTCVCmUlvMkH0e0ymt1XS0bXkcG2qwr0dhE8cpmxXy9Woec Qsq5Rg8bFjgKZwUbRRZdFZS3uwumm14vuKO1xfpqsxDcEAlWI6OWwGipX3GirTnqerj0 svCWwI/PE6OjlP4dqotcgZDCXCFH8iWjLz4lQ2XHZOcGqCSgQ7lpFRd1Nzhab/Kfc2/m YDkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OptQj0lK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si7557909plo.363.2019.02.01.07.47.48; Fri, 01 Feb 2019 07:48:03 -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=@kernel.org header.s=default header.b=OptQj0lK; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731151AbfBAPpW (ORCPT + 99 others); Fri, 1 Feb 2019 10:45:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:48148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727308AbfBAPpU (ORCPT ); Fri, 1 Feb 2019 10:45:20 -0500 Received: from bbrezillon (91-160-177-164.subs.proxad.net [91.160.177.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 80B8D20855; Fri, 1 Feb 2019 15:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549035920; bh=1K/k12ABv52m0qd2+Gjk2G3Nr+pRmZ0USUlT5Q1Pg30=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OptQj0lKWEsy67XyHkIXeh9Sw1fvpLZ6rXPJxaZtCTetGDkppo/9YNmrFg9HtDp5y fmVlPt5pBcKiN04zMZcHPMLp/WOk9pl1KGRLr/Y35+CEZXqwKk9HEnyQUmCSTuVrEx xOidvpWILdjEZeLozsotqRPtTo3ThLNp0XlQ9wZE= Date: Fri, 1 Feb 2019 16:45:08 +0100 From: Boris Brezillon To: Cc: , , , , , , , , , Subject: Re: [PATCH v2 10/10] spi: atmel-quadspi: add support for sam9x60 qspi controller Message-ID: <20190201164508.4d1b214d@bbrezillon> In-Reply-To: <8b935a95-0aaa-3430-e2c2-f5793fd9cf11@microchip.com> References: <20190131161515.21605-1-tudor.ambarus@microchip.com> <20190131161515.21605-11-tudor.ambarus@microchip.com> <20190131173207.56481a42@bbrezillon> <947f148d-3fd8-4e7d-4301-9d67715fbf7d@microchip.com> <20190201085739.775add3f@bbrezillon> <8b935a95-0aaa-3430-e2c2-f5793fd9cf11@microchip.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Feb 2019 14:49:27 +0000 wrote: > > >>>> +#define QSPI_IFR_APBTFRTYP_READ BIT(24) > > > > And this one would be > > > > define QSPI_IFR_SAM9X60_READ_TRSFR BIT(24) > > I prefer letting this bit named as in the datasheet, QSPI_IFR_APBTFRTYP_READ, > and change it if future versions of the IP will modify its sense. It is a READ > transfer done on APB, it is more generic this way. If you have a strong opinion > on this, please let me know. As you wish.