From patchwork Thu Jul 26 07:09:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keiji Hayashibara X-Patchwork-Id: 10545307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 01606112E for ; Thu, 26 Jul 2018 07:09:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E197E2A9AC for ; Thu, 26 Jul 2018 07:09:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5E8A2ACB2; Thu, 26 Jul 2018 07:09:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 987BB2A9AC for ; Thu, 26 Jul 2018 07:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=wJlrPwX2mxM8Tb1we9dJ02l1fg5aJJFyRMSRuLU8Cxo=; b=C5m 5ARkuOSMRD0QNtmFX9BykafNncQwraFijegoxrehJOBObvhsk/0gzeEAusTUFJBnj9rRxMTpRqUsH IJ5D9zR2RZ1Hh1jX42wH13+imlimVChGNfEK2isgf5oP1U+f6W3Zk5QcdmYOWHrYcrqcC52eAlyPb 2wtBNgmgBNE71DAZtZ0qWerpO58I00NrLzqklcZLZDVy9+DtIGEqMviI6TCH+iuirFJ5CETfXlVOm s1UBovvi+x/afsF6522CGVkz9V5Lt0Q9NPgYOd4RInMsOshu3F51v0J7d7XT0rG7Gv+ISVCk+IPwU APjZXUZcd5JNem2/O5UPDL3g1npVMCQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaOy-00048v-U6; Thu, 26 Jul 2018 07:09:32 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiaOm-0003yA-Tx for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2018 07:09:22 +0000 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 26 Jul 2018 16:09:05 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 237CE1800A9; Thu, 26 Jul 2018 16:09:06 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 26 Jul 2018 16:09:06 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id B9C3A1A01BB; Thu, 26 Jul 2018 16:09:05 +0900 (JST) From: Keiji Hayashibara To: broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, yamada.masahiro@socionext.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/2] add SPI controller driver for UniPhier SoCs Date: Thu, 26 Jul 2018 16:09:01 +0900 Message-Id: <1532588943-19481-1-git-send-email-hayashibara.keiji@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180726_000921_084097_BD19D2C1 X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jaswinder.singh@linaro.org, linux-kernel@vger.kernel.org, masami.hiramatsu@linaro.org, hayashibara.keiji@socionext.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for SPI controller driver implemented on UniPhier SoCs. Changes since v1: - modify not to config SPI in master->setup method. - fix internal bug of uniphier_spi_fill_tx_fifo(). - replace macro of BYTES_PER_WORD to inline function. - use IRQ_NONE in irq handler. - modify the handling of word size in uniphier_spi_send() and uniphier_spi_recv(). - modify help in Kconfig. - other trivial change. Keiji Hayashibara (1): spi: add SPI controller driver for UniPhier SoC Kunihiko Hayashi (1): dt-bindings: spi: add DT bindings for UniPhier SPI controller .../devicetree/bindings/spi/spi-uniphier.txt | 22 + drivers/spi/Kconfig | 13 + drivers/spi/Makefile | 1 + drivers/spi/spi-uniphier.c | 539 +++++++++++++++++++++ 4 files changed, 575 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-uniphier.txt create mode 100644 drivers/spi/spi-uniphier.c