Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933408AbdCaXvS (ORCPT ); Fri, 31 Mar 2017 19:51:18 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34075 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932868AbdCaXvQ (ORCPT ); Fri, 31 Mar 2017 19:51:16 -0400 From: Sergio Prado To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ben-linux@fluff.org, linux-arm-kernel@lists.infradead.org Cc: Sergio Prado Subject: [PATCH v6 0/2] mmc: host: s3cmci: add device tree support Date: Fri, 31 Mar 2017 20:50:54 -0300 Message-Id: <1491004256-13969-1-git-send-email-sergio.prado@e-labworks.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1426 Lines: 39 This series adds support for configuring Samsung's S3C24XX MMC/SD/SDIO controller via device tree. Tested on FriendlyARM mini2440, based on s3c2440 SoC. Changes since v5 (as reported by Arnd Bergmann) - fix module device table name that was causing an error when building the driver as a module Changes since v4 (as suggested by Jaehoon Chung): - using just a flag as a data structure for the driver to check for s3c2400 compatibility Changes since v3 (as suggested by Rob Herring): - describing properties that wasn't documented and removing unnecessary comment in the device tree binding Changes since v2: - struct "s3cmci_drv_data" and flag "is2440" renamed - copying the whole driver data struct instead of only its member so it will be easier to extend the information in the future - using mmc_of_parse() to read "cd-gpios" and "wp-gpios" properties from device tree Changes since v1: - pinctrl description removed from DT binding - unit and label on DT binding renamed to mmc Sergio Prado (2): dt-bindings: mmc: add DT binding for S3C24XX MMC/SD/SDIO controller mmc: host: s3cmci: allow probing from device tree .../devicetree/bindings/mmc/samsung,s3cmci.txt | 42 ++++ drivers/mmc/host/s3cmci.c | 257 ++++++++++----------- 2 files changed, 168 insertions(+), 131 deletions(-) create mode 100644 Documentation/devicetree/bindings/mmc/samsung,s3cmci.txt -- 1.9.1