Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp222779oof; Mon, 24 Sep 2018 19:22:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60YfQpAaJhPYU/wOY/81DK/jjvabwy2AGlRvyTsOFF18H+2/BLExJtmo1xWuaXTJwHH/z72 X-Received: by 2002:a17:902:850b:: with SMTP id bj11-v6mr1305417plb.107.1537842159960; Mon, 24 Sep 2018 19:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537842159; cv=none; d=google.com; s=arc-20160816; b=CVn7N/prGu8Au5DuqnWgTCedr78ZGp93CclBaVcOC8CpFwsnCVSrgN3/X+hsDDIrPz jFAcfAqWs37ATIHKjz+lmNOZOV/WPC0u8BbZ+bP4lk+mSFfrYZNRjm1CwoSEXIwZuA25 q+EKHEry51RlR61E5AbAinOiQI4xLoVCyrw28sIS5tHT3s0BCRAM31C9c66g2jGjKvGA rjfgoQndB1a1m9RlVVDbQJlQ7d6vOkk35l1I74xFY5lWSzgC16LEvLdj4anA6P0y3qEz 7e9nzr4HLPRqkn/8RvlBtfc1S1au2SzlHvHcRuGIxTCqB8+L+0WZOBh0QeJJAKyC9tjb CpKQ== 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=c74v00Cvv3isjVOZcvKTVVj0SeyRZW85jHpcDxBXGZ0=; b=sF3zP5DWF4Ne/TCY05GTCsvGMZ9dIeHzdEkGSw9/uGnHhgW0oNroB42aXNRlCiWwuq TgUQJ5e5Y9GlKTJYZHB+d3BVTZMqDqNU9biZNOIw33ttxBE6dMZm/fFqHJtsKLFN1e4b jkbwDj/RXt0rqkB8QMIDdSLgLWVjUDl5JO0cQrI/1t70lP0j0B2HyKixl60ubT/xZCPG mQLufkLkqoZkkT+8+9lowv6IXKoygSi0YdoFYhXXbczcH7JE0OFwMTdqrzZE17J9eNr1 7c8yzmyGIHUwyfRMnWx47UQgZlFxD06zPF49hJQWXhX0JpguT3jwiLqOvix1CvHoLsoQ xkVQ== 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 n1-v6si984400pld.429.2018.09.24.19.22.24; Mon, 24 Sep 2018 19:22:39 -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 S1728007AbeIYI0L (ORCPT + 99 others); Tue, 25 Sep 2018 04:26:11 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:25527 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727816AbeIYI0K (ORCPT ); Tue, 25 Sep 2018 04:26:10 -0400 X-UUID: 152cd9598d4d4199a2e6acb60ac82b63-20180925 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1942760757; Tue, 25 Sep 2018 10:20:47 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 25 Sep 2018 10:20:46 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 25 Sep 2018 10:20:45 +0800 From: Leilk Liu To: Mark Brown CC: Mark Rutland , Matthias Brugger , Sascha Hauer , , , , , , Subject: [PATCH v4 0/3] Add Mediatek SPI slave driver Date: Tue, 25 Sep 2018 10:20:40 +0800 Message-ID: <1537842043-15255-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From 7f2423debd91771a1d3a5ca02cd3990f1417bcb8 Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Tue, 25 Sep 2018 10:11:44 +0800 Subject: Subject: [PATCH v4 0/3] Add Mediatek SPI slave driver 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