Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp391539ybg; Tue, 9 Jun 2020 03:23:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmYwNi5jkgiuJg5RSzmwpg/VZlFl7c98CuwfqfXQhaZkEkhpE3yh3b14EdUwqpJYXShYG5 X-Received: by 2002:a17:906:a889:: with SMTP id ha9mr25788053ejb.429.1591698219169; Tue, 09 Jun 2020 03:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591698219; cv=none; d=google.com; s=arc-20160816; b=d0X8qzjN4BTk2jpez/XC6BD6xhXu3QPrv5T+XDDX+FlL6HxJfoDPNCRr+JPfFqU+xf y1eL/D5xFIr+JLx1R+iqCN1CcRsVO8H9n4uefDpKVU9jYp3qdM61aUPv+p3J9xIAXwdj XzIR8jsqcXjsLqyJCMS1r1JBfWrTT33rt4g1tOgKdrdzeMesDx2fjmDmg6U79ae9y/dD W5PQ5PDwuYYee6XUFGTm64XT6GBixQ/TrZAr+x+2fbdvzcDlYNcJ466//y2FT8au9TbP cCVvVIvrHpBd8CNtHBUvdkBWHCG5Ba7OfsbJ06zGx7S7QA67V4LtRpS5WzRE1raja1N8 EgDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=6WL2IysJPOQs8IxALy9fl8CUFDe8h79Lz2X0k/SoYJI=; b=C8keVscJowJ4OcukcIqW3kXc+S5HarP8QVo2LL17nrBuHAGdm7wf6moCT1lIm4CdXM UT/yS+PuNHnp4CTHknU7Y99fz41Ow943fYHff1UEJUVZ2DY/e1eeufjQv/h0vMy5fnVK jfWamAamXL1X5WPTwSMrwZX1GUTMBNgxLs7BzpV6OiBA4H44OsaHQgN40SrEAlQ65fNh k9fMzmVpKMoFoLlbS/9EJ2jpgncGWOaR8KCDMPfwaQtqEcdcNUMds/EaxG1hfG4tLPR3 TVS6XpL3ZT5YmoYs0eudVb4rXsIZNB+MDIpGZn5EcjrQM/K7IKg0tH7/n1s1ASkENHxv Kv4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=s+wfFT6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si10334073ejw.326.2020.06.09.03.23.16; Tue, 09 Jun 2020 03:23:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=s+wfFT6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728835AbgFIKUi (ORCPT + 99 others); Tue, 9 Jun 2020 06:20:38 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:36372 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726937AbgFIKUf (ORCPT ); Tue, 9 Jun 2020 06:20:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1591698036; x=1623234036; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Jog8U1hg1Jb0yOPntlrXCpHzhFdDi4nx+A8hEzkfpIc=; b=s+wfFT6T4QWxS5bq8yxTT0Co2z5aDLAunK4vm3qRizlZQ4rqyafhZboy cwa+yQ/lu1ZlnEKSlcAR7JYxejO1Q8NlvD6mxABrwjesJnIdwXFfBSM2+ IZNX6c0zI7M3ikx3UGLQAWQUIY59PjmlSkPX/f6/dUi86b4D+vebxXjWc CZa6Z+34+AnT9vQGWA8katR00yWcP7TXgYEHLa2keMHF2XLfQikaNYF9f l1g0wab5Kugc2S1TUBKlRAD/ZA0P7sEgEJsBRvxfz4v+ynt8VewMTh9yA r2UmAsgYVcR45HvKw8cejm0VVY88yj2fxs80Uj917Q1S+S9UU147kxgcD Q==; IronPort-SDR: GsUomaDlsyMFGql6N5vKCKqggAS8YTeM8rMEysweN7jreEtYgmsUT9SR7LCgT5iWJHn6yq+KBr JcYdSIakI6+vBex31IJhOeiKfHKihHDKm5ZCOwUH9fhXnWy/KxRxYbqgxwXcGeAWeTj3Y+odJK WRJUbXsCdmC398dPnffw8iYmYxC69HKWzjaaP1porxdM6EcDPHCYk+l9UA4wNtGvaF0mszvqg1 LF4sySzldi0r2v3DJPvEH+Uwo+SxpKpKRZ/BwGM8uILdf+uSuYToyvvj9qTX+bn1nswG3MFKYk 6/g= X-IronPort-AV: E=Sophos;i="5.73,491,1583218800"; d="scan'208";a="78723000" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jun 2020 03:20:35 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Tue, 9 Jun 2020 03:20:34 -0700 Received: from soft-dev15.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Tue, 9 Jun 2020 03:20:32 -0700 From: Lars Povlsen To: Ulf Hansson , Adrian Hunter CC: Lars Povlsen , Microchip Linux Driver Support , , , , Subject: [PATCH v2 0/3] mmc: Adding support for Microchip Sparx5 SoC Date: Tue, 9 Jun 2020 12:20:05 +0200 Message-ID: <20200609102008.10530-1-lars.povlsen@microchip.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an add-on series to the main SoC Sparx5 series (Message-ID: <20200608123024.5330-1-lars.povlsen@microchip.com>) It adds eMMC support for Sparx5, by adding a driver for the SoC SDHCI controller, DT configuration and DT binding documentation. Changes in v2: - Changes in driver as per review comments - Drop debug code - Drop sysfs code - Minor cosmetics Lars Povlsen (3): dt-bindings: mmc: Add Sparx5 SDHCI controller bindings sdhci: sparx5: Add Sparx5 SoC eMMC driver arm64: dts: sparx5: Add Sparx5 eMMC support .../mmc/microchip,dw-sparx5-sdhci.yaml | 57 ++++ arch/arm64/boot/dts/microchip/sparx5.dtsi | 24 ++ .../boot/dts/microchip/sparx5_pcb125.dts | 23 ++ .../boot/dts/microchip/sparx5_pcb134_emmc.dts | 23 ++ .../boot/dts/microchip/sparx5_pcb135_emmc.dts | 23 ++ drivers/mmc/host/Kconfig | 13 + drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-sparx5.c | 274 ++++++++++++++++++ 8 files changed, 438 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/microchip,dw-sparx5-sdhci.yaml create mode 100644 drivers/mmc/host/sdhci-of-sparx5.c -- Cc: Microchip Linux Driver Support Cc: linux-mmc@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org