Message ID | 20230326173511.710749-1-joychakr@google.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1058264vqo; Sun, 26 Mar 2023 10:52:43 -0700 (PDT) X-Google-Smtp-Source: AKy350alKFLfiRjaJjQ3Cf3S9Z+EL0cQn+GtjJFg3a3ZiZNI39v33cgZrGzpf9hJPhV3g63k0CVK X-Received: by 2002:a17:907:1c95:b0:93d:e6c8:ed5e with SMTP id nb21-20020a1709071c9500b0093de6c8ed5emr11292802ejc.20.1679853163741; Sun, 26 Mar 2023 10:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679853163; cv=none; d=google.com; s=arc-20160816; b=KNubUbsRbCLPLgJ+kBOgQAEhyGzRLrvfH39yFhu5OXLy1xQZb4OObmafa0/OEzZ9Za AEyQArADKw9AEEkH254k0Y6WOfgKGMbm0UsJwA0LiduLHs33KBp8Taaw8fE1y49W0K7i NgkoG5DfqkA/5db/kCh2gTCXUSsYJ1gem0Lh/Jbzf6vgCiYUY2l26WqLHG7d1i5F3iGY uKHRrSwvUQOaUnwO38c4gyJoYX1SpWG9Y7KxlICaat5k05Ylukcpx+er0zyWzZN0z2ZB 81PHNJgNtv2vCkt5u7fH+/m1XypBYdLATnWQWqV2npYNCFxnoeEbA1CXgl4hQeEHJgNi t4iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:mime-version:date :dkim-signature; bh=8RaHSVWTJSnn02Olin7w+pvQXlMrY8VwSVjxsNhW3jw=; b=zsEgXfPUxL4Lnc07KPEjQy648amvyro2nhGutKo7k8WC/cS40pArqUNsFagnOST2Ku 5DVKS1pEYfFMCWxqpTROPXE8FI8Ib4Hmy9/POqtDxb5KeoJfwwNoYk2YE5ShC9NfsVNe IpBydC8IQ9mbJRiFZPeI1yDNoRepDDgXJfbINB5MpkLxxdV5ZA7ACJEap27uYDMpAOqZ dhmoq+FF6xLBxYrSZIc/40s6YOFrRk42Zr/TY6qgDXkl2cFBFXwUSdvp1d+UwjscGrY7 meIbImx5ztnWQqm+5zkE2CQgAEgRCwucW81+57xoLzmPDaae4GkrqxEvNzF2Lseisgmh aANQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PHZst7js; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020aa7ccc9000000b005005a10f451si20669730edt.243.2023.03.26.10.52.20; Sun, 26 Mar 2023 10:52:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PHZst7js; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbjCZRf0 (ORCPT <rfc822;makky5685@gmail.com> + 99 others); Sun, 26 Mar 2023 13:35:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbjCZRfZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 26 Mar 2023 13:35:25 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A2ED4C03 for <linux-kernel@vger.kernel.org>; Sun, 26 Mar 2023 10:35:24 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-541888850d4so66582007b3.21 for <linux-kernel@vger.kernel.org>; Sun, 26 Mar 2023 10:35:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1679852123; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=8RaHSVWTJSnn02Olin7w+pvQXlMrY8VwSVjxsNhW3jw=; b=PHZst7jsbRQmhKifgwxo7mStAuo/tpfibTL8fS17ydBfof+K9WnRKB36/a5TOKJ8/t v7ppzG+XE+wbInX2Gj2xRtLzQMVyhiEJ8wi8Noeigcl3jn8Bm6yde690czGaxdXdX606 to18odJKzZiqBdSQOp5yogYYtvELKByEwwgkSZVjwrh2IihvN+d6WCGCa9CrADDbWWuT XRTgEeCTAl9XKjDu4mCPE5di5Ia/OZJ6/MshPIzCtGwnZH9Eyp1Mz7IVINGvDhYDr/cV 5o6DvLaEItsmgWSTnaC9WmxHvtHBparGbDOD1WDLodtn6E3MUZYIs6n8G4e1gN/5BzmR kPfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679852123; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8RaHSVWTJSnn02Olin7w+pvQXlMrY8VwSVjxsNhW3jw=; b=Yb11y37Z5CpXXVIwZaIwnD0ynle7Pppd0Yy+g6qx7VEVttmAVZijHTH89pta6r3mpG y2EDpQf804cDrsqHc+fL4sdattlXw7+38i1BgoTNK+EZBODa1owMvUN6ZamP6x1RIZOv LfVT2H8Q1hMOWlhl0wiEY8DT6Kb3/H5zlfG0YPkx+RvbftC2s2tOcYrA2pczGaxNXX/k 5HlfxwU4qO8/UUC8o5mBbPG53/fz2NIcDJJel89vSNktiCScM/Uddmlx/7UaaNdQqnlg pOWQFRbXfxX0teBcexr5ucOeqq0Hd+ndRIOm4zcK9ozf0EhD5oxhBuZNYMBgBcNSzlXK vVcA== X-Gm-Message-State: AAQBX9ebci0XAdD3zr0TUF0AO4Vql60P0pX3H/exqFbF3XknYJGo+/LV 5kYTi1SlGFEQqIQ+TSghGzPX6jjBgmThWw== X-Received: from joychakr.c.googlers.com ([fda3:e722:ac3:cc00:4f:4b78:c0a8:6ea]) (user=joychakr job=sendgmr) by 2002:a81:a742:0:b0:541:a0cc:2a09 with SMTP id e63-20020a81a742000000b00541a0cc2a09mr4212382ywh.7.1679852123705; Sun, 26 Mar 2023 10:35:23 -0700 (PDT) Date: Sun, 26 Mar 2023 17:35:09 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <20230326173511.710749-1-joychakr@google.com> Subject: [PATCH v3 0/2] spi: dw: DW SPI DMA Driver updates From: Joy Chakraborty <joychakr@google.com> To: Serge Semin <fancer.lancer@gmail.com>, Mark Brown <broonie@kernel.org> Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, manugautam@google.com, rohitner@google.com, Joy Chakraborty <joychakr@google.com> Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761453711158708170?= X-GMAIL-MSGID: =?utf-8?q?1761453711158708170?= |
Series |
spi: dw: DW SPI DMA Driver updates
|
|
Message
Joy Chakraborty
March 26, 2023, 5:35 p.m. UTC
This Patch series adds support for 32 bits per word trasfers using DMA and some defensive checks around dma controller capabilities. --- V1 Changes : Add support for AxSize=4 bytes to support 32bits/word --- V1->V2 Changes : Add dma capability check to make sure address widths are supported --- V2->V3 Changes : Split changes , add DMA direction check and other cosmetic chnages. --- Joy Chakraborty (2): spi: dw: Add 32 bpw support to DW DMA Controller spi: dw: Add dma controller capability checks drivers/spi/spi-dw-dma.c | 67 +++++++++++++++++++++++++++++++--------- drivers/spi/spi-dw.h | 1 + 2 files changed, 53 insertions(+), 15 deletions(-)