Message ID | BYAPR20MB2472717D5AC20E7702329996BCF79@BYAPR20MB2472.namprd20.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-spi-owner@kernel.org> 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 D2638C433EF for <linux-spi@archiver.kernel.org>; Fri, 22 Apr 2022 15:57:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385848AbiDVQAY (ORCPT <rfc822;linux-spi@archiver.kernel.org>); Fri, 22 Apr 2022 12:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381209AbiDVQAU (ORCPT <rfc822;linux-spi@vger.kernel.org>); Fri, 22 Apr 2022 12:00:20 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2051.outbound.protection.outlook.com [40.92.18.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C3295DA5E; Fri, 22 Apr 2022 08:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U3mPCAcYAUBDc2YKR+tQ21mixuCGB3sBySkLcCAdQBRjmooamvqLZO0YvZ9r7yFO4IHL6+aD5rF+dBE3C5IzLRaw5sD8Z4W6QKiFCPdko/l4QVGWmV4VSKGp9zeBCBOe3Tkk0o6/avyA+8RqMhgOFFO0kJ7MEqX8lgg6sVNeuAci20/+uShNzfl27tD1d9Arzdgg7Jl7Lf2Y+MK5aete/cfJmZo6PQ1AB5e0U9m6i3BQ1ZqUOKm90PFc5xcrb6bMqN/odoZf0N4MBvh5kaLhUtGJyl2zdnq1LzM/Rz0RN75JBJA/+UGvLGdY02jHmKg7YpTXVorbuKCMUC0eBfvGAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=g/nkuKY6fOKGmnQLLGSq3ReQr9gJ5aTylkHMaLhGwyY=; b=ECysYfKRHMUOG0HuOgg7S2gaAJt9w2pbG736dToFnVyTBvGLo7vm35ZJO60j+CBKDwF6JFfZWYY6kr1LnCQbwxbENLUSrWKeQ+8ETHVeqJBmED3Gi+raLpji6wAvpM/UHWkFEeipyc/16F+o35GCK1o9uElMk/faIp4x3vOvyAxNH3C0tHYUEwt3yDlvZ5xKFc+10AZk6CCt+/fgsQ5vVxog53Itn5dmTCD1rWrdzkwTrjBD3xouL3IRCpxJ6xUkHCA6i18JTpyCY4fU61mGV+BrpRr6Wve5Dzru/JjZyVEEMvSnI+mY/ruc4eV8VnMxKylYyWD3d7xoKcJhAU4urg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g/nkuKY6fOKGmnQLLGSq3ReQr9gJ5aTylkHMaLhGwyY=; b=sY7TDSZ9aJ7ZkjsN0b0AT/3qwO2BUIiAfH7mUrD+rssH52m2DgowFZVTI5wk9pkeOUaxjpc6TFNB1NzZs+MGHiUgAyhuhdS7Z8HaPbjPaq5LWekysAGjs2rs5obWwNB4v3gYdZsXmv7lq6Ji+rXp1kHQqv78vDVs27waz5Ln0+o+dV127z+WQhuAgFR7tQKO3nbcKJFvOL/KfiGGTAcovc7qA1h24Gzq0y7hAyVmPOpeSUG6QwFDxkbxB1OR5BICRf0+s8N00/H2uEMO437rCHWVldVomSmmYYoaPA1nOtZ6YEqPPNZivxhskxLpEjGRHmELKaN9fvOSwrjB/cjl1Q== Received: from BYAPR20MB2472.namprd20.prod.outlook.com (2603:10b6:a03:155::16) by CY4PR2001MB0917.namprd20.prod.outlook.com (2603:10b6:903:d6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.15; Fri, 22 Apr 2022 15:57:25 +0000 Received: from BYAPR20MB2472.namprd20.prod.outlook.com ([fe80::3480:160a:eb92:d6e3]) by BYAPR20MB2472.namprd20.prod.outlook.com ([fe80::3480:160a:eb92:d6e3%6]) with mapi id 15.20.5186.015; Fri, 22 Apr 2022 15:57:25 +0000 From: icenowy@outlook.com To: Mark Brown <broonie@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Maxime Ripard <mripard@kernel.org> Cc: linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Icenowy Zheng <icenowy@aosc.io> Subject: [PATCH 4/4] spi: sun6i: add support for R329 SPI controllers Date: Fri, 22 Apr 2022 23:56:39 +0800 Message-ID: <BYAPR20MB2472717D5AC20E7702329996BCF79@BYAPR20MB2472.namprd20.prod.outlook.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220422155639.1071645-1-icenowy@outlook.com> References: <20220422155639.1071645-1-icenowy@outlook.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [MGFqH9QJANVe0BzP0KPvht+S9gJKbyRg] X-ClientProxiedBy: HK0PR01CA0059.apcprd01.prod.exchangelabs.com (2603:1096:203:a6::23) To BYAPR20MB2472.namprd20.prod.outlook.com (2603:10b6:a03:155::16) X-Microsoft-Original-Message-ID: <20220422155639.1071645-5-icenowy@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bfea3a30-45df-4fad-b1bf-08da2478cb0b X-MS-TrafficTypeDiagnostic: CY4PR2001MB0917:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3Md5mcrh3B8WOSwFTddObXMg27FbduhwK8YlquuBIhVoJCOwRFegAwd6fSkOZv9j8rLHdq5DAMcL5ILerLMeyQmAntm1S3XvJp/rbZytNs8552Zx9OjpH97iQ5cwiApuno7t6Iztv9TgKqzUT04e/vG95ySXu+3L8KXzST6G+qgGfipAd0isnZ2uDXFwg4Ecw9Vu0GV9D19GOLY3ClGAYF6G1RX/B8d8vmFvIc6NgIzbqrEhAC8x+5S7rTdQ4lC3Oq7NtVaT9DjBFMtYQKIVNjCg9isF24cy5DFm8zTxp0j7eySE+3yXzgI7PisFtdTvkA+SeIoTvB5AGcmZTlz/xg6u8guNENHfw23E49RwNrOPBNmhgZm2N2fIi/U3QiMWAFLHegtGha3bdCCnG4PNagcUetOtThiJ6uC1dSSkQa3J0fRsYUh3hdQ/AwwQCY+8zxT0A039XpvNezIgc0ckSH9c0YvwVXAOFrlyKlERN5sxv5oGlXxQaRis0TI55IkRuYEupLpSZv4igUt3PSL1R1Qf4dtXvN7VC3AbPZ072zZ1YiXG8/QuJ17N3gUIR++FVahG4BZLC2cECtXQ2MB6xQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XVN7wxGmEM+/QD/C6r1JWjXvcLHF9LPH+j4Eax4bZC2FHpsoJ4/WMdkVetonmGsdYlf0D8DjYm/XUH2v9VpBY18oybi4f5JVGtPB6YPCrcY/p4EYEOi0CtjgSiTleVCAaPXgnTMLC8Ti1GicPrLmhqdDgK2gELl+XBOgT7WjyuQuoLIuN1Mufuj8M5l6uU9IXQyD92SO/10NJXA00jBmN6/fJuT/4NSX61mfNBKfrnl8UXXEM8+Ssu7vgK6wZPn8BYFbtGpLScJAe65+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5PjQG7EdMvTWSPsUsKdSwunO+Nuu62ZWDl9nMeRa/pCc21znSVxT6TT7BOhTwymgfiSBcQyzYx6vkJOF8UHbTb9MosmtnI/hE0wbb7A/MKjlLxhwQDg= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bfea3a30-45df-4fad-b1bf-08da2478cb0b X-MS-Exchange-CrossTenant-AuthSource: BYAPR20MB2472.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2022 15:57:25.1625 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR2001MB0917 Precedence: bulk List-ID: <linux-spi.vger.kernel.org> X-Mailing-List: linux-spi@vger.kernel.org |
Series |
[1/4] dt-bindings: spi: sun6i: add DT bindings for Allwinner R329 SPI
|
expand
|
diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c index fc81afc3a963..c4bd8ea31b43 100644 --- a/drivers/spi/spi-sun6i.c +++ b/drivers/spi/spi-sun6i.c @@ -716,9 +716,21 @@ static const struct sun6i_spi_cfg sun8i_h3_spi_cfg = { .has_clk_ctl = true, }; +static const struct sun6i_spi_cfg sun50i_r329_spi_cfg = { + .fifo_depth = SUN8I_FIFO_DEPTH, +}; + static const struct of_device_id sun6i_spi_match[] = { { .compatible = "allwinner,sun6i-a31-spi", .data = &sun6i_a31_spi_cfg }, { .compatible = "allwinner,sun8i-h3-spi", .data = &sun8i_h3_spi_cfg }, + { + .compatible = "allwinner,sun50i-r329-spi", + .data = &sun50i_r329_spi_cfg + }, + { + .compatible = "allwinner,sun50i-r329-spi-dbi", + .data = &sun50i_r329_spi_cfg + }, {} }; MODULE_DEVICE_TABLE(of, sun6i_spi_match);