Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp600527imm; Fri, 28 Sep 2018 03:53:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV62t/kV3x7KNz2MZCvNtGB2sU1R4a04/VajEf2fTxQRHDihyvuzm8QOeImnGsbHTw0A+GlFf X-Received: by 2002:a63:69c3:: with SMTP id e186-v6mr14364970pgc.431.1538132024202; Fri, 28 Sep 2018 03:53:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538132024; cv=none; d=google.com; s=arc-20160816; b=e6jl05rX2dVPTOtjHh+NA16uUHFtAuzzg6GwOEcBB/rtjPgrQem9wXdd8ULI75l3p+ x6MplSHQXk5NGLAS0KvXTZcHM3s1xHffrz7eYdFVXo5CLIodI25JEiH8RWt48E/CJmlU OhV45iPtSOiDljdH19CitBC52wt7tIgByzL8iKsQHBHipGtCRCtQvmlgOVSDa93TVt/Y 46Hrr2GtBy7x7f9EBNaEFmsDTRF979OwbZH/XWhBYopXv2/KHS4VjIvOZd5fEKKW07MM 4HZY33sX8nWjx1okcWir9bwHeSqBK5PQ9Gf/vSM3NYmm3Tih8AhkPiWB7rPLRwbEpY7M W9tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=DyobNgeLjBKRpuFwKEnUgrDsqQC4hZHlryPoc9X1LtA=; b=NC2zmDFMyleqs+Hdc54IWwjjGd5yVW5bAYnIwQqsmULfJ7GRQLjfspjwvpQtdNrKgy SWjZqGueFV//g3RNXe7/7WEwq0uYAos7Ye3c2Xg0q7OH/gueS4Xx6T+OQA0+L8CiP8Fv JZAgoZhuT3vnHDqL6R2hpSl0iRaA79NqZxIWT1ZNBnWgYdTwG/AHpaTLNKHtbZfEWGLk rFzCHilL28azr0iI1ffgRnKmtmFL5GA+P+Mr9MmXLQrdwwbTB6imJa0z/rJMMmQj8YN7 Igw5TfYXy8Ce4XaDSm/gzxQYJNvrsuntf3p1v4Oc0CpfKAm4360ZtlmCiC3zrKslhRoa htbA== ARC-Authentication-Results: i=1; mx.google.com; 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 p25-v6si4447159pgn.562.2018.09.28.03.53.28; Fri, 28 Sep 2018 03:53:44 -0700 (PDT) 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; 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 S1729442AbeI1RQZ (ORCPT + 99 others); Fri, 28 Sep 2018 13:16:25 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:21431 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729310AbeI1RQZ (ORCPT ); Fri, 28 Sep 2018 13:16:25 -0400 X-UUID: 0a5e809e1b4a44e08d3c24caff1a538c-20180928 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 815567591; Fri, 28 Sep 2018 18:53:10 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Sep 2018 18:53:08 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 28 Sep 2018 18:53:08 +0800 From: Leilk Liu To: Mark Brown CC: Mark Rutland , Matthias Brugger , Sascha Hauer , , , , , , Subject: [PATCH v5 0/3] Add Mediatek SPI slave driver Date: Fri, 28 Sep 2018 18:53:02 +0800 Message-ID: <1538131985-9471-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-TM-SNTS-SMTP: 637B03300602A588C75ED85BA13FF94DB240C029916839CA0985ABF63F0280672000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From 5479c692171dc52990290d88c505c074fa4db7d4 Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Fri, 28 Sep 2018 18:37:40 +0800 Subject: [PATCH v5 0/3] Add Mediatek SPI slave driver v5: 1. Fix typos in bindings file. v4: 1. Fix Mark Brown review comment about kconfig & driver. v3: 1. Fix Rob Herring review comment about bindings. 2. remove unused variables in 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): spi: mediatek: add bindings for Mediatek MT2712 soc platform spi: mediatek: add spi slave for Mediatek MT2712 arm64: dts: Add spi slave dts .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 32 ++ arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 + drivers/spi/Kconfig | 10 + drivers/spi/Makefile | 1 + drivers/spi/spi-slave-mt27xx.c | 554 +++++++++++++++++++++ 5 files changed, 608 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt create mode 100644 drivers/spi/spi-slave-mt27xx.c -- 1.9.1