Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp331287ybl; Fri, 23 Aug 2019 01:20:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWv5pFibXa1VoMbipL+kuN1DR1xixJz8rdkxMmCfh/bCzr2N9nNaa8OrJ6Wiktq1KAPDUT X-Received: by 2002:a65:60cd:: with SMTP id r13mr2945482pgv.315.1566548406626; Fri, 23 Aug 2019 01:20:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566548406; cv=none; d=google.com; s=arc-20160816; b=wezBofhdSqqoAViyXCeiTAb7NnRB6nKuv8M2B3qk2BoZidj9pVBT3ollIPAKLcO7cO 38YiTDC9TlvVmYypExZLGyujRd0rOZfPaqzcXNeUPcGhsYn/TvO/4alEFAoyjGDgZZd9 rEcws7hJIxF1eMraX2IW9ubbAq5QyiWJyzwMkZ76aDW1LBnXlSkZj0CqEROzKo7j0qbt JkM3aqX0+6JlETWZNemDKjpKglH0UIk94j89L2pyuXPvmRjBwplQ7KSgLziDuG72BWA4 we7Rl1ME4TBftq977g+YoZmPgE0NNvhnqfRcYqSMCKNxBNDaHkZTe2q3uUT9ic84VWX4 URCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=HPPqPWkNsX2zIZkcp2fxF4eaN/KGop5jbrLhh+yilBU=; b=DskG0cDslrtSsoLrOQ4IPEhfNp1L+JWXkMt8E1YWixPcovQHvllmPA3M2cVyiO8HJi 2ZCACpvU4eXC42kkB+bh2oxQmPIoxdN2E2SHiHLqZHymrsLVA41H7t7YacDbBJ3rQihw 1FvnvEBB3gEitF9wR/QOQiTsjFAlg/6e92q/QdmPyyEe7R5ASVuTvToI7YOqZedrbhmK hGgp0S6wmi4BrQDyfufyZfI9I4adCGXxDT0F8BV3x7sM/+2hFGFKAOMG/ZGHeNa9v4uh o20p90ZB6MCllSNR5fbF/RbTehAcTleph+92sxNwh9X2U65G3DEL1nxBsWRsE7Zyx0SQ NAvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZGhish2A; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si1365214pgh.434.2019.08.23.01.19.51; Fri, 23 Aug 2019 01:20:06 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=ZGhish2A; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390344AbfHVVPw (ORCPT + 99 others); Thu, 22 Aug 2019 17:15:52 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46216 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390231AbfHVVPv (ORCPT ); Thu, 22 Aug 2019 17:15:51 -0400 Received: by mail-wr1-f68.google.com with SMTP id z1so6684172wru.13; Thu, 22 Aug 2019 14:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=HPPqPWkNsX2zIZkcp2fxF4eaN/KGop5jbrLhh+yilBU=; b=ZGhish2AOhYKSO7ScnFNPLsvysA/Gn9ttIusTALCvk7ny3jbb8EfBkkR+w8llK6YZj kL0HpZ5ipo+5wACm4qkX0j80O33Od7ZHousGzPsOEbJZjp3ieq1IoEr3AYfAHNTAmFFs 1Zlm67Eh3IwuTy+QAOZbEZZPXpVwzUsyFWyHxSddQ+mK/VZQIM260DYBr5FFhcAJYl61 DmEYOpL6sDP8AXrHKnFqle+vDk+Hvr8F/Cz5R2jWqiuo1B2A0QJsIxEfuaR/x2JczJV/ FOJ0y8LdGb6SVBuKjs0kNse2v8/T+ApIHc86b4/ltRGPP51dMEdOvuW0qjjvIMgK+CO4 lFlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HPPqPWkNsX2zIZkcp2fxF4eaN/KGop5jbrLhh+yilBU=; b=eT2TBIlOHtKKJuxARx//RYbM/L3DAJfiP4rNDe4eVDA1hBSRbBjVOAcF51IfpKDz62 NvOV1LARrn/Ju+0cRhRizSPzvXUL+5qUeG3pqLdyd0gTZ6Ifzlpze6mzygefsrAlhGqJ uolUmMwrg1utms2U2DkN3mSqyHGDVKEY+HyORoZ3Y6sINtHx4ECGTBYDJmTcDlueV19X rp2u8dLQmRMKSI3LdkL+5CikpLiOCAKVlpAN99Ul/3MbNKhl0YRI/v4F/ECKCKbx8TIh 20GMtMrY1ZM69Cb37Zgu4v/rYfuH6PlblTL1igCFaDo6UvE0b7+w/uz5EM9JYxUdgFUa MB5g== X-Gm-Message-State: APjAAAVhlDr5JCl6v3k4BiNHQWBfPNEOGLWy73mrThqupLOENThUO4+y wFqJqm9EnfWpoZsxOXU33qY= X-Received: by 2002:a5d:62c1:: with SMTP id o1mr935622wrv.293.1566508549118; Thu, 22 Aug 2019 14:15:49 -0700 (PDT) Received: from localhost.localdomain ([86.126.25.232]) by smtp.gmail.com with ESMTPSA id g197sm578488wme.30.2019.08.22.14.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Aug 2019 14:15:48 -0700 (PDT) From: Vladimir Oltean To: broonie@kernel.org Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, Vladimir Oltean Subject: [PATCH v2 0/5] Poll mode for NXP DSPI driver Date: Fri, 23 Aug 2019 00:15:09 +0300 Message-Id: <20190822211514.19288-1-olteanv@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series makes the EOQ and TCFQ operating modes of spi-fsl-dspi work when no platform IRQ is defined in the DT. The NXP LS1021A-TSN board needs this setting for performance reasons, and I am adding the corresponding DTS patch to this series to avoid runtime errors that may occur if the DTS and the driver patches part ways and get included through separate trees. The series also contains a bug fix for the shared IRQ of the DSPI driver. I am going to respin a version of it as a separate patch for inclusion in stable trees, independent of this patchset. Vladimir Oltean (5): spi: spi-fsl-dspi: Reduce indentation level in dspi_interrupt spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours spi: spi-fsl-dspi: Remove impossible to reach error check spi: spi-fsl-dspi: Use poll mode in case the platform IRQ is missing ARM: dts: ls1021a-tsn: Use the DSPI controller in poll mode arch/arm/boot/dts/ls1021a-tsn.dts | 1 + drivers/spi/spi-fsl-dspi.c | 128 ++++++++++++++++++------------ 2 files changed, 78 insertions(+), 51 deletions(-) -- 2.17.1