Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934579AbdC3PcD (ORCPT ); Thu, 30 Mar 2017 11:32:03 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36765 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933729AbdC3Pby (ORCPT ); Thu, 30 Mar 2017 11:31:54 -0400 From: Jan Glauber To: Ulf Hansson Cc: David Daney , "Steven J . Hill" , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Glauber Subject: [PATCH v13 0/6] Cavium MMC driver Date: Thu, 30 Mar 2017 17:31:22 +0200 Message-Id: <20170330153128.22842-1-jglauber@cavium.com> X-Mailer: git-send-email 2.9.0.rc0.21.g7777322 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2960 Lines: 82 Hi Ulf, we have a bug on some Octeon plattforms so I removed the Octeon driver for now (but kept the DT bindings for it). We'll submit the Octeon driver later when we've fixed the issue. Changes to v12: - dts: use generic "mmc-slot" for slots - dts: mention deprecated power gpio - Rename driver files - Use hardcoded voltage instead of mmc_of_parse_voltage() - Phase out gpiod usage from cavium.c - Change DT property scan order - Clean up bus_width setting - Use GPIOLIB depend for ThunderX driver - ThunderX: Remove TODO - ThunderX: Move platform pointers to host struct - Check slot node compatible string - Remove gpio includes from ThunderX driver Changes to v11: - Fix build error and kill IS_ENABLED() by using an offset per arch - Added Rob's ACK for the DT bindings - Removed obsolete voltage-ranges from DT example - Replace pci_msix_enable() with pci_alloc_irq_vectors() - Remove superior hardware comment - Prefixed probe/removal functions with of_ - Merged OF parsing code into one function, change order of property lookup and simplify code - Removed slot->sclock, no need to store it there - Substituted now invisible mmc_card_blockaddr() - Use new 3.3V CAP for DDR - Update Copyright - Allow set_ios to set clock to zero - Converted bitfields to shift-n-mask logic - Improved error codes after receiving error interrupt - Added ifndef guards to header - Add meaningful interrupt names - Remove stale mmc_host_ops prototype Changes to v10: - Renamed files to get a common prefix - Select GPIO driver in Kconfig - Support a fixed regulator - dts: fixed quotes and re-ordered example - Use new MMC_CAP_3_3V_DDR instead of 1_8V hack - Use blksz instead of now internal mmc_card_blockaddr - Added some maintainers Previous versions: v10: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1295316.html v9: http://marc.info/?l=linux-mmc&m=147431759215233&w=2 Cheers, Jan ------- Jan Glauber (6): dt-bindings: mmc: Add Cavium SOCs MMC bindings mmc: cavium: Add core MMC driver for Cavium SOCs mmc: cavium: Add MMC PCI driver for ThunderX SOCs mmc: cavium: Add scatter-gather DMA support mmc: cavium: Support DDR mode for eMMC devices MAINTAINERS: Add entry for Cavium MMC driver .../devicetree/bindings/mmc/cavium-mmc.txt | 57 + MAINTAINERS | 8 + drivers/mmc/host/Kconfig | 10 + drivers/mmc/host/Makefile | 2 + drivers/mmc/host/cavium-thunderx.c | 198 ++++ drivers/mmc/host/cavium.c | 1090 ++++++++++++++++++++ drivers/mmc/host/cavium.h | 215 ++++ 7 files changed, 1580 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/cavium-mmc.txt create mode 100644 drivers/mmc/host/cavium-thunderx.c create mode 100644 drivers/mmc/host/cavium.c create mode 100644 drivers/mmc/host/cavium.h -- 2.9.0.rc0.21.g7777322