From patchwork Fri Feb 11 14:31:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Almeida?= X-Patchwork-Id: 12743505 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5DFABC433FE for ; Fri, 11 Feb 2022 14:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233651AbiBKOcH (ORCPT ); Fri, 11 Feb 2022 09:32:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233400AbiBKOcH (ORCPT ); Fri, 11 Feb 2022 09:32:07 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E4BC7; Fri, 11 Feb 2022 06:32:06 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id 7DBE51F46F54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1644589925; bh=29lBVtLy8seRsiUvGY6ScBxlEOXD0OeQ1SR4fDNTO+g=; h=From:To:Cc:Subject:Date:From; b=P+xFUdJd1pjJcLJ67LAEOTBF7c8cxVyrMXEuS6x1NnUx1QMTXDz6ie94RTtFy6UiW RB+AzaifyzS89FtWXnKgZYyfsv4XXkRZpkHzqitAuQmiiTziE3u+YpcDZIwQ67QnC9 +ax6T4uSYJnohU1LePli/0vjjDhmVJ5grhFV9hw/w38hDaWtXKNM8xnAU1WJxfUjjc 0DWWp0mOe6FDHrCrU0tjaaPu6s1HVTOL5MBQn4bSYUuCNQ4LOO6pGTDB0zOImFc3Na FI+1OIkLKvVEWINSE/sGdFl6AcqWX8iU+YQmCuFp5pFmB96Mpe9jhHnJld9jGUXXBh 5S1fIB7slhc0w== From: =?utf-8?q?Andr=C3=A9_Almeida?= To: Sanjay R Mehta , Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Lucas Tanure , Nehal Bakulchandra Shah , Charles Keepax Cc: =?utf-8?q?Andr=C3=A9_Almeida?= Subject: [PATCH v2 0/3] spi: amd: Add support for new controller version Date: Fri, 11 Feb 2022 11:31:52 -0300 Message-Id: <20220211143155.75513-1-andrealmeid@collabora.com> X-Mailer: git-send-email 2.35.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org This series do some cleanup and add support for new controller version, AMDI0062. Change from v1: - Replace `if (version == 2)` with a more extensible switch case. André Almeida (3): spi: amd: Use iopoll for busy waiting spi: amd: Remove needless rom_addr variable spi: amd: Add support for version AMDI0062 drivers/spi/spi-amd.c | 89 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 72 insertions(+), 17 deletions(-)