From patchwork Tue Sep 3 05:30:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 172770 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5187951ily; Mon, 2 Sep 2019 22:31:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwF8JOscnT1xvXSYxgPiPapRYI2acWv0YeS9J6+Gs77ePfvkCWPZ88aYKd7eJl5ohZEA9tr X-Received: by 2002:a17:90a:c20e:: with SMTP id e14mr17530033pjt.0.1567488666830; Mon, 02 Sep 2019 22:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567488666; cv=none; d=google.com; s=arc-20160816; b=nXgGZPcpwRVJCTtudhl+D9gnFSfkaPHtajqq/6Fnc0KshAEmSJ581Dl7ZMPWqP91o5 8Rk8q76ZbJKNAa2GoSDcd0ytZMeYtFhyctAbx4kkuDYJil9kbrDuDQ7Su5tmb8ilEY7C qBkzMgk0ELbJFEkbB/y1n6LQSlxB9O6XqQUbZbIRbe88VvfeVd8Y548fl+6UbYwAq7gP pF2WTspg1J/H+l55gZESKZ3DtWkCSa+WKpswcMfcR6XhogSGi/nspJbvpy7A7aEK8S/1 XFQQpo6l3apnRug5GBVLZRf/mBVzog0huNZynTF58SwQf4gTbKjKnfassbXlJjpLQMTs nmgQ== 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; bh=ghm1eLGJ1KtAvyU02r+JmloX/tQXp4fBl9NhKJUc36E=; b=lUADQSq2qtmk3Glq8ovHguwddsHs8YTWmyRIqYGIwZdfhrtXMJCyPhitJg1pD5FYKo OChmUcTH7UA5wkriSk6qarbeImM7iQqPNcV8jk69DwVVx8swDHL82W+67YZbjF6fdw5M 6P9FN8YVinbl8bg7v/BKWohwxPrWsUZTf0G0fq0J3aWZnlQFGoJ+THOJpxrycRy5Jyru L/b4BkldZbiorUY474CEJaXohYby7zxqN4ki9/xErbjH6jJYQ2ZtjxP3C936ORNbl8lH Ya0zubcrm05vFutZyolZUN7+hkNJEg7TDlc4L6FO4R2X8EaGcnK/lqU2BZpCWoKrB8/O ilZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-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 h5si13876014pjs.91.2019.09.02.22.31.06; Mon, 02 Sep 2019 22:31:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-spi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-spi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726016AbfICFbG (ORCPT + 1 other); Tue, 3 Sep 2019 01:31:06 -0400 Received: from mx.socionext.com ([202.248.49.38]:49352 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbfICFbG (ORCPT ); Tue, 3 Sep 2019 01:31:06 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 03 Sep 2019 14:31:04 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id DA5F918028D; Tue, 3 Sep 2019 14:31:04 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Tue, 3 Sep 2019 14:31:04 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id B002D1A0E9F; Tue, 3 Sep 2019 14:31:04 +0900 (JST) Received: from hamster.e01.socionext.com (unknown [10.213.134.20]) by yuzu.css.socionext.com (Postfix) with ESMTP id 860471204B3; Tue, 3 Sep 2019 14:31:04 +0900 (JST) From: Keiji Hayashibara To: broonie@kernel.org, yamada.masahiro@socionext.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: masami.hiramatsu@linaro.org, jaswinder.singh@linaro.org, linux-kernel@vger.kernel.org, hayashibara.keiji@socionext.com Subject: [PATCH 0/3] spi: uniphier: introduce polling mode and fix bug Date: Tue, 3 Sep 2019 14:30:58 +0900 Message-Id: <1567488661-11428-1-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org This series introduces new polling mode and fixes bug. - Introduce new polling mode for short size transfer. Either the estimated transfer time is estimated to exceed 200us, or polling loop actually exceeds 200us, it switches to irq mode. - Fix a bug of register overwrite. - Minor corrections. Keiji Hayashibara (3): spi: uniphier: fix wrong register overwrite spi: uniphier: remove unnecessary code spi: uniphier: introduce polling mode drivers/spi/spi-uniphier.c | 85 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 68 insertions(+), 17 deletions(-) -- 2.7.4