Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941485AbcJSOTn (ORCPT ); Wed, 19 Oct 2016 10:19:43 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33252 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935195AbcJSOTd (ORCPT ); Wed, 19 Oct 2016 10:19:33 -0400 From: Milo Kim To: Mark Brown , Maxime Ripard , Chen-Yu Tsai Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Milo Kim Subject: [PATCH 0/3] Support H3 SPI controller Date: Wed, 19 Oct 2016 23:02:31 +0900 Message-Id: <20161019140234.13518-1-woogyom.kim@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 26 Allwinner H3 SPI controller has same architecture as A31. So most configuration is identical except one thing - FIFO capacity. A31 H3 ------------------------------------ Number of controllers 4 2 Number of FIFO depth 128 64 Transfer bits 8 8 Register maps are sharable, so sun6i SPI driver is reusable with device configuration. Tested on Nano Pi M1 and SPI slave device is TI LP8860. Milo Kim (3): spi: sun6i: Add binding for Allwinner H3 SPI controller spi: sun6i: Support Allwinner H3 SPI controller spi: sun6i: Use the driver data to get the buffer size .../devicetree/bindings/spi/spi-sun6i.txt | 25 +++++++++++- drivers/spi/Kconfig | 4 +- drivers/spi/spi-sun6i.c | 44 +++++++++++++++------- 3 files changed, 56 insertions(+), 17 deletions(-) -- 2.9.3