Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1481898imm; Fri, 6 Jul 2018 00:32:26 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcBwLEnwRIJRPxrYdoLOGA6luvET/gOKOxmNMHAXoy307zceDcbMlV9yNBaWUiBvLUC/hsT X-Received: by 2002:a17:902:8:: with SMTP id 8-v6mr9451028pla.287.1530862346646; Fri, 06 Jul 2018 00:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530862346; cv=none; d=google.com; s=arc-20160816; b=Zqt/C6PD2hVdTQR7y2ziGy21lWEmkF0B7QPkt+vSJCoopZ4Kc/vT0QMv8m944Qurpy AVz80yt1gN8A5SVjoN8gplNYAsYW345C+l1HohCunIGNb+tP7F7JgM/ylU0xpI1qds7B 6+LbFgZTL09OLuImg0b8ZeSqK+MQQahE9xl31hGG3g7LjGW962JyGGARqa7dBC+fh8Jo SObG26IIcIXuFsegn67fKGhnlyyIFRDS3ANfWoncdRoIA8Y97I3rXgWzoYpazl6BOXSi WXMajpnW77KHNJbiB8asAKs3IW6NUnoXREs4WJ7UxruJwfQNHDompLkBi89LuD48+NpH 6BkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=BmprZku8IAxuzfQCR2y+4VCJFCOq3VFsVxFd+MVe2NQ=; b=zstQsn/GHr/f9sou9tlicl9WK6JCKY1RkFYQGi7pZaCRhgo0awy1snjyJGA95hUQrY AIC2ryVX/dT54R+BssYmWwAJM+yoI7a3KlbbbJvvJVSl11vZ0W/tWI40JNMv2R4ya5wI oLP2EZhMCJWqMAGuBgmXR8ZXl7GFu5wu3KxCI4vFFwU0gwy8t/hqbPRZmUYbADLWL3ZZ E1JFuRaLjX8xvcFGSBpNEOdqR6Ive4NGNa0j/+Byyy1DFHgDOYbweYC3zcgRxX2yI0bn xtsPU9IQA9F5ZsF2sYYUVdbJLv85y+0rj34eZnIJ+i4DpXs3+sTATFrAYMRTv/U5/ehR 9ptw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=xRKoAVKA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1-v6si7535150pld.424.2018.07.06.00.32.10; Fri, 06 Jul 2018 00:32:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=xRKoAVKA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753519AbeGFHVc (ORCPT + 99 others); Fri, 6 Jul 2018 03:21:32 -0400 Received: from mail-eopbgr710085.outbound.protection.outlook.com ([40.107.71.85]:35808 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753216AbeGFHVa (ORCPT ); Fri, 6 Jul 2018 03:21:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BmprZku8IAxuzfQCR2y+4VCJFCOq3VFsVxFd+MVe2NQ=; b=xRKoAVKAW+05kp+EcNm961qyIY8DvGHh5eyGkFf0kMgPnhlfXcrt4jb20vFWVknI9aPyoZ3NLpJjd9MEgqzXFpEZrCXtfNMnRm+wPK77oYDusNaA+9SPwL302xn5lgd0J8IDlPP1J9ee6AdMPhvP87zw1L4YyTZGRDhZ37vLQRk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by CY4PR03MB2632.namprd03.prod.outlook.com (2603:10b6:903:75::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.930.18; Fri, 6 Jul 2018 07:21:25 +0000 Date: Fri, 6 Jul 2018 15:19:30 +0800 From: Jisheng Zhang To: Ulf Hansson , Rob Herring , Mark Rutland , Adrian Hunter Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Prabu Thangamuthu , Manjunath M B Subject: [PATCH v2 0/2] mmc: add SDHCI OF Synopsys DWC MSHC dirver Message-ID: <20180706151930.78b3024b@xhacker.debian> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TY2PR06CA0010.apcprd06.prod.outlook.com (2603:1096:404:42::22) To CY4PR03MB2632.namprd03.prod.outlook.com (2603:10b6:903:75::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2a0a2cd8-1a42-45f0-71c0-08d5e31116a5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020);SRVR:CY4PR03MB2632; X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2632;3:nvKmYCA5mSFIBlM39trjdwTN61Grw7LvW+jzUoTLhLxGlgb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LuQphYk5T0V/589XoasneXcop6plKXWP+4tyt5upY4P+G0h/IZaS8XBV9fS0CNhDESw+smxCHMef/ytuV3O6xVUKyNDy2ezIj4PNFY+RJ+zuzozFTuZq6O2pouGOAR1OmGXTG9D/6j60ndZdgIFcAkUZxfxZEhxRroPOwoZ6y5sYW4MvB7I4IEygMHSCYunV+EJiSWYlIufuofQpwNqNAR/jMNkDUz4UWDUeSp/PCy3jenuA8ob5B97oPk6KNEaFgcjoD0LVJkGtEbuU7K1E6CuBP20/kjGAHc+cKDB;4:RfwHiWfvgEqrHKIV3DY3vEUSV4hywvROj8RvSshd4XMcJVQ0ld9qXpxGLa9F04R7dCB1FbyxbXbKCof+qVDg6LmO9BXzAfHTJdw/rUeKXFyLsd1HJ1rh2cjAitRjQJo6Ctbk0Fp06rlRR/xLnnRHNCpja//r0ohGYAQqmbm76pJ9i8zdD7AcdevxQCsLqeBsqbkEQJNOmX46l4ylgWwcp9TZ9rSi2uz9ryyNYfh1VMBSJ8YT2WvGQ/WpaJI8RGa3Homes2TERh69VTbmUWe1WQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231254)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:CY4PR03MB2632;BCL:0;PCL:0;RULEID:;SRVR:CY4PR03MB2632; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39850400004)(346002)(396003)(376002)(366004)(136003)(199004)(189003)(16526019)(186003)(6116002)(50466002)(97736004)(3846002)(23726003)(106356001)(230700001)(2906002)(53936002)(1076002)(105586002)(386003)(26005)(316002)(6506007)(52116002)(33896004)(7696005)(54906003)(110136005)(7416002)(72206003)(7736002)(305945005)(478600001)(68736007)(50226002)(86362001)(47776003)(5660300001)(8936002)(81166006)(81156014)(8676002)(55016002)(956004)(486006)(476003)(25786009)(66066001)(9686003)(4326008)(14444005)(6666003)(217873001)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR03MB2632;H:xhacker.debian;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR03MB2632;23:381cY3odVcrqwizVRD5NQl7r279NoJ/i3zrVcZ6I/?= =?us-ascii?Q?2TatLc7uAo3W5acp68SGmgD08k7vJCjfL6VkPDN1vH1TQd+4xgEIXeU1CJvS?= =?us-ascii?Q?9n5Ec3tnDD4lJJWr8UlSLPp1RAWdPkLqCAMUSohVutjVlZoFKznI10uIkaU1?= =?us-ascii?Q?68eA98p23oz3L7pp259VSZiEYt4zNufvuF+G5IqjW1wJGx9RB9634ZNLaMeu?= =?us-ascii?Q?lLOCt+xQgwpP8CXxs92eFeT7cZTrFw3brrK4dsx26AaNlWznc+CFGUXD8ZOg?= =?us-ascii?Q?W2rNVYCFhrGAwnnSjU+JNDE7B1DKaCpmsxkUB2bqIToakCYpfTFn1N/9KCDX?= =?us-ascii?Q?tBOIzKREcqQM5eLsfDvxAcFKd6+QC2Q+XPitVTfIvMQR2EIU0siC3wWflxVj?= =?us-ascii?Q?dO4fm4VPp4NQOulcxyYsB0fgI9vsCLlSOu4OF5PUaqvShQ6u5ZdyR0Xw9Y6K?= =?us-ascii?Q?Edg7MS8Byw70YiZH14zDpPOrqgEKupoEbch18lKLRT2rRBumQJbK0FbcyoRP?= =?us-ascii?Q?L8j6Ozo8aaDjBuCzRsGWcJSKfQNV+Hkb7CQvD7LNhi6hkMy4MqY9lJx9sQUC?= =?us-ascii?Q?qzPektSi2drrVaDy/k/OhiD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KokfVmG5yAUc4l9RCFEZxcxq8vUQ/lndkrd/Wh0bRLZP8iNsHCDBXl+iB/uzhtQBA3jLcG9QTmWsPJ1ucpoDxT0z4vW73rLRHiYUeUD/GHz/k1aXW+wutQxFx8= X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2632;6:DgoKaJW6Qn7n028E49bdDQ1GFuJYU7ds83OF/N3mxIQgXvXJNUUaRC9BfYw4TEuEhFtNe0SkNoOYn5BiVGUvr1TyAHxwDFFQflTyNYT+5OIlxGfNPC51yMec0VF0L49R9TzUitzdY4V2MHjxd//Txffb16LIaWMtbSw/G2yliE1skWuyC5L9dmyMdJV5A4rav2KL/u/Uqjrh7E7LEGeuQ192SOIGKcsooA80YJbijBs2M5LgTaZAr0ZVD3yAWsHP5cZEEieC6Or4abYL7cm3DBy3E4n1EZoAfRM7uNbiUq+ZJkDS+xt6w25TI6rPAAhic435UcXvKyq8c97tOhixxM9PzCbPwOSnn5lhMKgR05stbjBJz6DYrnrTfN3I5J1i8xXO8If7aEGzK2TRbBV9Mr2caVpLzlfCuCyFuyS84W4RTkW7uioxbYkNcPXmMcNKgXAGb+W3wSd1TKkvKjJAvw==;5:gujXU3nf5L8qXeXZYiuoTRhv/lS6XIM+pfv9xC4o/tTnukabglX7O9OvXKbS1I9OGmG0YeKQqVVSE7URv07WGNyFtbZi+viElHtQTc97tWGM5dKAfaNpu+8XnpmZ6X9jT4iwx/tfNPAXdleNWBeZHISh6/2SGf4R6sAjQTyfP18=;24:qJb4zLCHJVToTSIrxhD0Scwjkh1xehLjTrSPu38dFUHrwteKNwzo6nInvorptKJ4prMgWUo/T5/nEVrxJ4zkprjqco8gWEo18K72sezoXlY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2632;7:em2ry6n4jNHS3GKqs+QEgeK7dDYicyeBwfWv6zobVj9KZxOQr4uL1UDH+NUApdaqCPK5rpEkRLb3ndMNfd+wUjrjsa5g5V1dW9jnf2Lv4O23Y5QVbvoLcJLFz72F28oOxwPgYTgKmDnKu4agYVGKBYho+KMMyRZGWWDJ9JKB7VUcLsQWjgzl+ReRQhyX49KlFO5z04askNp5Jd4ZMEww7NENueJcQ+F8BDc/B76fk7lFd/ItBf8h0VI+kR7pFdOY X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 07:21:25.1993 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2a0a2cd8-1a42-45f0-71c0-08d5e31116a5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2632 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for Synopsys SDHCI compatible DesignWare Cores Mobile Storage Host Controller which can support eMMC/SD/SDIO. Since v1: - move the dt bindings into a separate patch Jisheng Zhang (2): dt: bindings: Add bindings for SDHCI Synopsys DWC MSHC mmc: sdhci-of-dwcmshc: add SDHCI OF Synopsys DWC MSHC dirver .../bindings/mmc/sdhci-of-dwcmshc.txt | 20 +++ drivers/mmc/host/Kconfig | 11 ++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/sdhci-of-dwcmshc.c | 116 ++++++++++++++++++ 4 files changed, 148 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt create mode 100644 drivers/mmc/host/sdhci-of-dwcmshc.c -- 2.18.0