Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1265728ybv; Thu, 6 Feb 2020 00:46:31 -0800 (PST) X-Google-Smtp-Source: APXvYqxU4/atOH50oEXVQAFqb8y2zA1mVQWCQ8daOrltGxuuFz0qF+hMbkABP1K0E7QO1910FPqD X-Received: by 2002:a9d:23b5:: with SMTP id t50mr28529421otb.122.1580978790988; Thu, 06 Feb 2020 00:46:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580978790; cv=none; d=google.com; s=arc-20160816; b=0dDojc8ALyezl7QInnXdvstJuz99wNrSzd8arjyz4wuIl7rdbj2bszR2jGWM52Sb4C f7vD/+aSnaewLAvmwIryV2CR7AlTIH8UgGk0IRTid+MPwO11dVVHzXGVFNjJaWZ64jSQ sM9tpLiKZQHbdH3mPQRm/p6BZv7TqTkJrB7xIECd8aCnPn2S8E/bnRqVJ/cwfgC3sHRJ KvQrHwQCO+qqFdSbeb4Vzizm9WYqgW16/roviwRgXglWGL5Oyi6UEgZWepknBJqgVsub tO6VWy5NEU6i9vhpr4rJ4ilf7HJLqh5QH+u1zRaSUpoXEiEA2R1vYTEi52icOfvRM07g yDPw== 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=wHMzzdNcx5RlxuI3hSgHWmzifyCl/PTTXZRqGI2clPQ=; b=rYh9c5Q+JfKPZm66QWWNM19YV9iaz+oh72eWlO4QNX4hzQrvyH5eFlXtBluiIXXxHF tcSlVUCij7Dzz+/HAX8IXG0NRq0epb9uFA4E9gKg6/gecjHtnGJgimnEM4Xa0kQ1TI+a lqLzXLIiEldUoTVirYWz5aTSCATvLYVLXDDDaqGQsftY6FuG26BUGc2omgJ8xD5avZxy Z2yKcqrsy0PwybkvbD1MmXtegMULstl1XnZZwEFMVlQwFFjT0d4OdZk6KZakcfggU/3H 5sY355TsuVywWhE81qxt3iTcyJ8ZnKX1wpXPOzQ8ZqMq+qSGRwPOG1a9Wl3u14+iUm4w 365w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D64mGAuM; 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 x20si1773580oix.155.2020.02.06.00.46.18; Thu, 06 Feb 2020 00:46:30 -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=@gmail.com header.s=20161025 header.b=D64mGAuM; 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 S1727966AbgBFIp2 (ORCPT + 99 others); Thu, 6 Feb 2020 03:45:28 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36221 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727738AbgBFIp1 (ORCPT ); Thu, 6 Feb 2020 03:45:27 -0500 Received: by mail-pf1-f196.google.com with SMTP id 185so2759869pfv.3; Thu, 06 Feb 2020 00:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wHMzzdNcx5RlxuI3hSgHWmzifyCl/PTTXZRqGI2clPQ=; b=D64mGAuMmnR2djNUWp5EZ7ubeKQnN6ZYsoV0ViYEt0JDt+r2Jsql3hBBWbx++lAZ7T Ada7ebyqIuMTibgrGITxYzL1l7naC3KI4Eu/vOvU/LLzZG46XGs7bhyJS3LvJZmpmKJA TEaVK3m3SaPGQ3KuE/DM8T2PkUhWReIFHXycGGuOGptfcxxzSGFjH5/sbf3Poc+nHpJP IAL6iW0Xlm7pbKB31qo1hJsDRuWFR1wjJrKCelGmb8hwLEBv7CLuSFVl9g4D1fPU9aR0 rVAtVSekNL6FKjPLO3ZteeM9OnbxwyEFN8xJZSKpbX0I9JmphszodLrc21bltHJOP72O AboQ== 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=wHMzzdNcx5RlxuI3hSgHWmzifyCl/PTTXZRqGI2clPQ=; b=IcdXxjMUrWxLXRG9YIn978egS7zID/KkuxVfH5ZL0nduIkufBQcV+10T8gcmbaX4qT Phjr1iN6cRHR4jpx75vjRwg81881/++oscLXC+4FQMLA0QrziKGe4sfCVvnildiQGkYi xUud/HpyPpfMkIADw5rqeuryB5kJOjlgTsKbrN3RyCwheZQlYPzVFOkFxBYj8w+73DpE YL/IkBRvBwDuKmx9I4T2oeZlVFvZjydi9DOLiJgQhQRkBjoS0Ks6lNZpbXINEdnKCipZ njMi1pzVl7AeAn03pitNMCryETAUhYQ9nxoM4hzDniSCt7+kyOQexs0B58E7idsCnYNv CVEQ== X-Gm-Message-State: APjAAAXpttBwucfZKWpHKQ0v7MjgO5ZjZp4WKZR5I0v6yc+wUyb7LQUP tPS+zhFiNzwZK478UeEBC0nPP6Gg3vbpQQ== X-Received: by 2002:a63:30c2:: with SMTP id w185mr2516068pgw.307.1580978727038; Thu, 06 Feb 2020 00:45:27 -0800 (PST) Received: from localhost.localdomain ([240e:379:947:2855::fa3]) by smtp.gmail.com with ESMTPSA id 6sm2638370pgh.0.2020.02.06.00.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Feb 2020 00:45:26 -0800 (PST) From: Chuanhong Guo To: linux-spi@vger.kernel.org Cc: Mark Brown , linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , devicetree@vger.kernel.org, Chuanhong Guo Subject: [PATCH resend 0/2] spi: add driver for ar934x spi controller Date: Thu, 6 Feb 2020 16:44:41 +0800 Message-Id: <20200206084443.209719-1-gch981213@gmail.com> X-Mailer: git-send-email 2.24.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 controller is a superset of the already supported qca,ar7100-spi. Besides the bit-bang mode in spi-ath79.c, this new controller added a new "shift register" mode, allowing faster spi operations. This mode doesn't need all the bit-bang code in spi-ath79.c and needs a different clock setup, so I decided to write a new driver for it instead of extending current spi-ath79 driver. Resend the patchset because I forgot to CC documentation maintainers Chuanhong Guo (2): spi: add driver for ar934x spi controller dt-binding: spi: add bindings for spi-ar934x .../bindings/spi/qca,ar934x-spi.yaml | 40 +++ drivers/spi/Kconfig | 7 + drivers/spi/Makefile | 1 + drivers/spi/spi-ar934x.c | 230 ++++++++++++++++++ 4 files changed, 278 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/qca,ar934x-spi.yaml create mode 100644 drivers/spi/spi-ar934x.c -- 2.24.1