Message ID | 1536025906-24422-1-git-send-email-leilk.liu@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-spi-owner@kernel.org> 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 A2128112B for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 4 Sep 2018 01:52:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FD3A28F9B for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 4 Sep 2018 01:52:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83E7228FA5; Tue, 4 Sep 2018 01:52:11 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 252E028F9B for <patchwork-linux-spi@patchwork.kernel.org>; Tue, 4 Sep 2018 01:52:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726377AbeIDGOy (ORCPT <rfc822;patchwork-linux-spi@patchwork.kernel.org>); Tue, 4 Sep 2018 02:14:54 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:3382 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726263AbeIDGOw (ORCPT <rfc822;linux-spi@vger.kernel.org>); Tue, 4 Sep 2018 02:14:52 -0400 X-UUID: bfdf9bb11e44404484eb5b0b369ca62c-20180904 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from <leilk.liu@mediatek.com>) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 7816604; Tue, 04 Sep 2018 09:51:52 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 4 Sep 2018 09:51:50 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 4 Sep 2018 09:51:50 +0800 From: Leilk Liu <leilk.liu@mediatek.com> To: Mark Brown <broonie@kernel.org> CC: Mark Rutland <mark.rutland@arm.com>, Matthias Brugger <matthias.bgg@gmail.com>, Sascha Hauer <s.hauer@pengutronix.de>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-spi@vger.kernel.org>, <linux-mediatek@lists.infradead.org>, <mengqi.zhang@mediatek.com>, <yt.shen@mediatek.com> Subject: [PATCH v2 0/3] Add Mediatek SPI slave driver Date: Tue, 4 Sep 2018 09:51:43 +0800 Message-ID: <1536025906-24422-1-git-send-email-leilk.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-spi.vger.kernel.org> X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series | Add Mediatek SPI slave driver | expand |
From c211d55c612b1fb43e3a5f137e8cacbd347beee5 Mon Sep 17 00:00:00 2001 From: Leilk Liu <leilk.liu@mediatek.com> Date: Tue, 4 Sep 2018 09:38:00 +0800 Subject: [PATCH v2 0/3] Add Mediatek SPI slave driver v2: 1. Fix Sean Wang review comment. 2. remove unused register and offset define. 3. update bindings file with assigned-clocks and assigned-clocks-parents. v1: This series are based on 4.19-rc1 and provide three patches to add mediatek spi slave driver. Leilk Liu (3): spis: mediatek: add bindings for Mediatek MT2712 soc platform spis: mediatek: add spi slave for Mediatek MT2712 arm64: dts: Add spi slave dts .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 35 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 12 + drivers/spi/Kconfig | 8 + drivers/spi/Makefile | 1 + drivers/spi/spi-slave-mt27xx.c | 557 +++++++++++++++++++++ 5 files changed, 613 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt create mode 100644 drivers/spi/spi-slave-mt27xx.c