Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbbEHI4L (ORCPT ); Fri, 8 May 2015 04:56:11 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:40454 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750905AbbEHI4I (ORCPT ); Fri, 8 May 2015 04:56:08 -0400 X-Listener-Flag: 11101 From: To: Mark Rutland , Mark Brown , Matthias Brugger CC: Rob Herring , Pawel Moll , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Leilk Liu , Eddie Huang , Hongzhou Yang , Sascha Hauer , , , , , , , Sascha Hauer Subject: Add Mediatek SPI driver Date: Fri, 8 May 2015 16:55:40 +0800 Message-ID: <1431075343-7887-1-git-send-email-leilk.liu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 628 Lines: 13 Mediatek SPI BUS controller has 3 hardware restrictions: 1. Hw has the restriction that in one transfer, length must be a multiple of 1024, when it's greater than 1024bytes. 2. Hw tx/rx have 4bytes aligned restriction. 3. For MT8173 IC: RX must enable TX, then TX transfer dummy data; TX don't need to enable RX. Some workarounds are done in SPI driver code base on v4.1-rc1. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/