Message ID | 1508749054-28369-1-git-send-email-patrice.chotard@st.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yL9KL3B3gz9sPk for <incoming@patchwork.ozlabs.org>; Mon, 23 Oct 2017 19:57:57 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CE876C21DA1; Mon, 23 Oct 2017 08:57:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1AC07C21C41; Mon, 23 Oct 2017 08:57:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A1BCCC21C2B; Mon, 23 Oct 2017 08:57:46 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) by lists.denx.de (Postfix) with ESMTPS id 51943C21C29 for <u-boot@lists.denx.de>; Mon, 23 Oct 2017 08:57:46 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v9N8nV3W026664; Mon, 23 Oct 2017 10:57:45 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2dqv0rgd3m-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 23 Oct 2017 10:57:45 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DBC5838; Mon, 23 Oct 2017 08:57:44 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C3C211500; Mon, 23 Oct 2017 08:57:44 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 23 Oct 2017 10:57:44 +0200 From: <patrice.chotard@st.com> To: <u-boot@lists.denx.de>, <sjg@chromium.org>, <jh80.chung@samsung.com> Date: Mon, 23 Oct 2017 10:57:29 +0200 Message-ID: <1508749054-28369-1-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-10-23_02:, , signatures=0 Subject: [U-Boot] [PATCH v2 0/5] Extend ARM_PL180_MMCI X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
Extend ARM_PL180_MMCI
|
expand
|
From: Patrice Chotard <patrice.chotard@st.com> Currently this driver is used by VEXPRESS platform which doesn't support Driver Model. ARM_PL180_MMCI IP is embedded on STM32F4 and F7 platforms. In order to add SD support on these 2 STM32 family SoCs, the following reworks are needed: _ update arm_pl180_mmci_init() prototype to make this driver working with DM and none DM platforms _ addapt driver to driver model _ add bus_width device tree support _ add clock support _ add .get_cd callback support This series has been tested internally on both STM32F4 and STM32F7 SoCs family. Future SD support for these 2 platforms will be added soon. v2: _ add defines for clock min and max value in patch 2 _ remove useless return in bus_width switch case in patch 3 Patrice Chotard (5): mmc: arm_pl180_mmci: update arm_pl180_mmci_init() prototype mmc: arm_pl180_mmci: adapt driver to DM usage mmc: arm_pl180_mmci: add bus_width DT property support mmc: arm_pl180_mmci: add clock support mmc: arm_pl180_mmci: add .getcd callback board/armltd/vexpress/vexpress_common.c | 3 +- drivers/mmc/Kconfig | 9 ++ drivers/mmc/arm_pl180_mmci.c | 187 +++++++++++++++++++++++++++++--- drivers/mmc/arm_pl180_mmci.h | 9 +- 4 files changed, 189 insertions(+), 19 deletions(-)