From patchwork Fri Jul 6 07:20:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 10510931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 55D846024A for ; Fri, 6 Jul 2018 07:23:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E0FE284C5 for ; Fri, 6 Jul 2018 07:23:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 317DC284D1; Fri, 6 Jul 2018 07:23:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D08FA284D4 for ; Fri, 6 Jul 2018 07:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NgKGEnFyt17RqWs8Pbeq8SeZUL8PtaYim00m5dHrE1c=; b=eiKWtT7W5fxFnj kepKolohiRgkzQAELxL5QUrksT8rciGy1rk9w3Dn4bZ0Wiyp6aPep04W8jD/7IKFUO4/eP+wjAVfY vhcoguDBiqI5Ol7/OfCsj/CjfuxaRdbPeLMOMsNvgwfekqQMVWFis4uGNm9vIs1V33DtFq0KfyWk0 cekIrtDNfeG1ldHhuwFaOkAibXzY9mbt+HecQgHVW3pH18CT9m2cgegkNfG+mhcPneOquXrC2yMz+ WmYyC40kdsBX88I5DOgUgecIZIsBrQsBiqfTHVkzofO9CPGmLUHDlcmiury8ZbImjENPXTqyTXXJf Zb/v8g3cszMM4EWAtvbg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbL52-00077x-MS; Fri, 06 Jul 2018 07:23:00 +0000 Received: from mail-eopbgr690074.outbound.protection.outlook.com ([40.107.69.74] helo=NAM04-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbL4z-00076w-LW for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2018 07:22:58 +0000 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=WKM3ncUMyh3smaU21IA9M6YQ66ocHt71rYK5a1TobJ4=; b=oXgGLIZV3jYNU9o+fuk4j6qxYgup33MAwbQn9PoE7CWEIZCpHqmCfei/bJfIhMxiWvIYas4unPA0ZYtwlLbH9LpAJoSmxfDFoOyFrBZBRm5ZkXa9LSTjk/Rwpp53iDZPXFd0XuLpfLZPKlPgEPdiNCv88FxqxDs12JAZsJW0tqs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by DM5PR03MB2636.namprd03.prod.outlook.com (2603:10b6:3:43::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.24; Fri, 6 Jul 2018 07:22:42 +0000 Date: Fri, 6 Jul 2018 15:20:47 +0800 From: Jisheng Zhang To: Ulf Hansson , Rob Herring , Mark Rutland , Adrian Hunter Subject: [PATCH v2 1/2] dt: bindings: Add bindings for SDHCI Synopsys DWC MSHC Message-ID: <20180706152047.0b0a4944@xhacker.debian> In-Reply-To: <20180706151930.78b3024b@xhacker.debian> References: <20180706151930.78b3024b@xhacker.debian> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TY1PR01CA0193.jpnprd01.prod.outlook.com (2603:1096:403::23) To DM5PR03MB2636.namprd03.prod.outlook.com (2603:10b6:3:43::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6948047b-3e11-4105-9c32-08d5e31144a5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DM5PR03MB2636; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2636; 3:QEF6BHdDtVhGf6lhHLlQRwXDAKRbspDNXmF6PEpBHWXT5ly0aA1zMPMtoaTgEsErvlTzdMV312xzhl3s67ZEUS6i4h2hp4u8Dhj4mIB5nuGaEbdBgD5dBmAsnAxlwT5C25Z4EswpPdBV5OZeEGehZo5LnXVzGPOqkH4b0ltC3KNM2nYM7bKz7UbDFPJd1rpQrHx1q3+Cr6yxQ/pXNYr7K/hKMPmkVBmUgU+IuBXLtTLIPHOp6+FPly3rZggbBel1; 25:jLmXLvJTMKR2gbXw/Agsx5ieW6CKjKVbF/1kpsILU25pk7H9NPzlpFCbC+E/F+aH0cdq1cjT8VueYC+F173nWfNiCKgCexqJw/pieXKIg0v1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q71ynfO8da1JYrK0+CIB2qgecbgwZqxqW1ts+Y5XceW5C+UgXp0VGmh/vuMRkIgEHL/LjefgKw0WRDEsiYjdPHmTwl4VXFYwayu5Uq3Ws7SsJCXUUK5KKVKBbBvJG52S5RPTDuyLVeXdpvqcRvooiAiMJXcuCiXivmIn+6V5Zi52SjKuuyyGedfxLoH+rXEFn0cgA0SeAbGLIGPP8h4QBoGzzyzgSnVp9niDb7xIAGi3UfCkzCaqtxbkT+iKZMjw== 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)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:DM5PR03MB2636; BCL:0; PCL:0; RULEID:; SRVR:DM5PR03MB2636; X-Forefront-PRVS: 0725D9E8D0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(376002)(346002)(366004)(39860400002)(396003)(199004)(189003)(7736002)(478600001)(230700001)(97736004)(47776003)(14444005)(66066001)(52116002)(6506007)(16526019)(186003)(386003)(26005)(86362001)(7696005)(54906003)(316002)(50466002)(72206003)(53936002)(9686003)(55016002)(33896004)(76176011)(110136005)(5660300001)(105586002)(8676002)(81156014)(8936002)(81166006)(1076002)(3846002)(50226002)(4326008)(6116002)(23726003)(25786009)(2906002)(7416002)(956004)(446003)(106356001)(305945005)(476003)(486006)(11346002)(68736007)(39210200001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2636; 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: =?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jSgmclNnsCmyDocFUWxYI0Mgp37veNbIIG0JUqburPoX4hUXDMZyYA724cw0DU3Bls05wDvPCeLx+kVJ3dzfmZ/rJgANQm7GBe/CXyk7hVk6tO5Hu2s41WQsUqxUjvU11jYirN68kYk/EV8gAqr+U3txSQ1NtV0t43tFMJDPLGwkELm0J9A44tSs/f+W410eTMOXLcJ6JKvpbRFPFE2MmieeEg2HoeNVPv9hvRAnOhzK3nl8H57hawDM3d5s8Eo663+nr0Gljqqs+hJlfvCmDFNkJ9y2WWHMEdVMd6DL0gn8JCPM7uL3Zp1MIbZ/7D37xeqmp/CH8LPEE/Q==; 5:ZeafyloDBZq4xZY69dlJOnCO3gTAoIlW/d/4hzi5K2MJ2yQ9gy5xI+L0MNvpRmIH61wK5V0Q7qYohXiIH1GHdVENeHtBm6HJrphGikyk2oAo70v0s0WJ4plR7Er14/g7KYKpXwhDzGPz5VFzokcCQv9zplK1iMb/LTnnkXRYTW8=; 24:FZ/ICon8Q+JjzcaoE+oO87+Pkcs8OmqvFPdUG12VM6Z41EwtRd0dSPqikxvPm892+fLdsYEmzI5TqQskdZmTeN1WS4HaS4gAXKfxBfWJqh0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2636; 7:4nDWZSDKbStJuZajoiSws6J2ks1jldr96Xmk9Ms3vDWNSDj2k7Cl51OS8xQzR+TLFUp4yJbPbVbW80Qsnq3WLG6b+nK3kJhQgAd8ODIjOQdCoDPpTd7lT2rghSUcHTTnaml1iZinT7jtARdefJMVPS4VotHZ1jU0lO7sOhYVOLmK0fVHsLgrT12qG0UGC5cmLfx1zMuduBmuxAmYMphTLpzhbmXhwkYcf1ezy3t/UTsNr5JDPgRygru8RL6wTJHD X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2018 07:22:42.2134 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6948047b-3e11-4105-9c32-08d5e31144a5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2636 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180706_002257_729864_1D6B43AE X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Manjunath M B , Prabu Thangamuthu , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Synopsys SDHCI compatible DesignWare Cores Mobile Storage Host Controller can support eMMC/SD/SDIO. Add the bindings. Signed-off-by: Jisheng Zhang --- .../bindings/mmc/sdhci-of-dwcmshc.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt diff --git a/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt new file mode 100644 index 000000000000..ee4253b33be2 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/sdhci-of-dwcmshc.txt @@ -0,0 +1,20 @@ +* Synopsys DesignWare Cores Mobile Storage Host Controller + +Required properties: +- compatible: should be one of the following: + "snps,dwcmshc-sdhci" +- reg: offset and length of the register set for the device. +- interrupts: a single interrupt specifier. +- clocks: Array of clocks required for SDHCI; requires at least one for + core clock. +- clock-names: Array of names corresponding to clocks property; shall be + "core" for core clock and "bus" for optional bus clock. + +Example: + sdhci2: sdhci@aa0000 { + compatible = "snps,dwcmshc-sdhci"; + reg = <0xaa0000 0x1000>; + interrupts = ; + clocks = <&emmcclk>; + bus-width = <8>; + }