Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp364439imu; Fri, 25 Jan 2019 03:47:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN46GimbtKvlZFOtqBH96mpZQdNLDbesu59tJ+sVKHk1H5VBc2qYuX8Z+eb42Cy8Ws+mv+WS X-Received: by 2002:a62:47d9:: with SMTP id p86mr10377975pfi.95.1548416825167; Fri, 25 Jan 2019 03:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548416825; cv=none; d=google.com; s=arc-20160816; b=E3HVoX7NQelMkKoz5H0dCoGGQa4V2Y1erH5NOoXD9MQxYDTWNLEzWLyogwiwfIg8kz 7JPzk9QOsYJl31VBARZuKvjkUEkdJ0CopSk2amA2+pIgZBb9MJF9kb9hujqNuhK76BFL QSdEKBwev4PgFvX3m4h9PbhOnsOoVx5IjL4xKj5TjzEdyQBpSLlc+Wt0WrjrCO/70xv4 f9xWS/ttQR55SJR7t8Sq8Pf4zn4J7+3urmd9bi2OCHou3twlL326TCPn1ZYmV70kdYm1 4ejOZ6xEvAchxxQCFCkmK82U5hijVW6V5K3IhKK18NQf4MLmG1EoR5aKwOJz1OrQ4h5z rsZQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1uZgeytfHcFfoxxwaJPRe+nMKCIYtTyciuS0VyMLAl0=; b=DLuu33fu1/UusC/SIIEQtFSTWh5nMyXQRBKkW6gZjCuBh9/+euSsryo9lPYRkTLHTj XAx8Zn0hsCD1RibtcN8v/FmVf1GXkphz29NSZ0nmXtBFgyuaESb1NA4dxuz23vTaHEhN H336HvxJYy3SUOcBnORO21Sbvdub+Y+ZVpuiM9Ad4RyZEaRE8gAY7mHa75h8rffIOz0D 5JSQBvcX0CMll7vhRU7IVVYLGDnU/jItjds01u+N9YHH3+T8V5fGhIhboVGbrK9+DpKr WEy9EO4CA4iwSQzk/Nr/E2vsO8jrsGVYVWHvpXmlk4UkWyCXGHtpWL3QmtIjyGRHMVgT mccQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@norrbonn-se.20150623.gappssmtp.com header.s=20150623 header.b=hgRyAVQR; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y27si23219698pga.459.2019.01.25.03.46.49; Fri, 25 Jan 2019 03:47:05 -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=@norrbonn-se.20150623.gappssmtp.com header.s=20150623 header.b=hgRyAVQR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbfAYLoe (ORCPT + 99 others); Fri, 25 Jan 2019 06:44:34 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35406 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726095AbfAYLoe (ORCPT ); Fri, 25 Jan 2019 06:44:34 -0500 Received: by mail-lf1-f68.google.com with SMTP id e26so6719534lfc.2 for ; Fri, 25 Jan 2019 03:44:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=norrbonn-se.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1uZgeytfHcFfoxxwaJPRe+nMKCIYtTyciuS0VyMLAl0=; b=hgRyAVQR/JxBzSyWetarj8knMgSFD/WDjVWg2isDKSBIcHphNqDQ6YKu0fQrTStlMB OJs07Os9s+jYwPXfnunj0E6FcqaR8dF9uV/80UzoXBwx96kR28irhLy6ya3hrVoLdpNd vQP/7LPfKv5xGe8crcqx7Lvok3M3alOkkcVsDgPdQqXjGr5cAQdWt6a5BzIF4fO6Ue2E huIAq4YljM0u4Nbo1MQL+pthruIv8YKTrmY5MLHPAvOk43vM8z03RX3iyvGyrobUadz9 Y7zxY+zH9yWQeBraXCCv9Lh3t/4DrBxsF/v/nrmrUsE908AHfEojZjvJqPf10laOE6Sp bQOQ== 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:mime-version :content-transfer-encoding; bh=1uZgeytfHcFfoxxwaJPRe+nMKCIYtTyciuS0VyMLAl0=; b=dLu2In+HP5Dh9rArmMzz5AmvrD0PYfoVG5yGb4QCvbn7duKrCFM6QAdf9bWJlgPyVx wHed9R+V6KG2Fugg3dTbyHCF9Z83DxZzO1lhMzS76zswpXuKSc7bs5uDJRi8TGIsAjCT 5kOMvNJCXDZ7rSx1QiTmQI8lYKA7tpuw/vV34/+SAHWbX8AqxuvPiqsdxDl9b45PoALw togQqdAJe4LrS3+EzRaOuN1V1e6HGRMUvG/pqegjf/ouFUBzSKJD4I5fSZ9vusMzseAp reOJ9+sCpRzVP4bFsyShOAHcbQMsEsnndXlJyiIyTBA8tcWDE9VVSy7xKKDPo/nzue8f bfyA== X-Gm-Message-State: AJcUukdKHA0XnKaXaet05zIz7AphLNkmtwEZbuEbetlPE2ycLdnBo18O Zr+zliwvKGFblaMjVVHtXJm60BhkRGA= X-Received: by 2002:a19:7352:: with SMTP id o79mr8668259lfc.104.1548416672309; Fri, 25 Jan 2019 03:44:32 -0800 (PST) Received: from mimer.lan (h-29-16.A159.priv.bahnhof.se. [79.136.29.16]) by smtp.gmail.com with ESMTPSA id l3-v6sm1490962ljg.21.2019.01.25.03.44.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 03:44:31 -0800 (PST) From: Jonas Bonn To: linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Cc: Jonas Bonn Subject: [PATCH 0/2] spi: support inter-word delays Date: Fri, 25 Jan 2019 12:44:27 +0100 Message-Id: <20190125114429.20066-1-jonas@norrbonn.se> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This short series adds support for SPI inter-word delays and configures the spi-atmel driver to honour the setting. Some SPI slaves are so slow that they are unable to keep up even at the SPI controller's lowest available clock frequency. I have such a configuration where an AVR-based SPI slave is unable to feed the SPI bus fast enough even the SPI master runs at the lowest possible clock speed. Jonas Bonn (2): spi: support inter-word delay requirement for devices spi-atmel: support inter-word delay Documentation/devicetree/bindings/spi/spi-bus.txt | 1 + drivers/spi/spi-atmel.c | 11 ++++++----- drivers/spi/spi.c | 4 ++++ include/linux/spi/spi.h | 1 + 4 files changed, 12 insertions(+), 5 deletions(-) -- 2.19.1