Received: by 10.223.148.5 with SMTP id 5csp6355781wrq; Wed, 17 Jan 2018 12:37:10 -0800 (PST) X-Google-Smtp-Source: ACJfBov9OrLKaA+Pq9tOmT6t2TR0RG8rHACd/VrIBOCABp8R21+D1nAnQlS7ONjra/5MOvepZZ47 X-Received: by 10.84.229.143 with SMTP id c15mr13200624plk.412.1516221430064; Wed, 17 Jan 2018 12:37:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516221430; cv=none; d=google.com; s=arc-20160816; b=B3HXpZbtAJYHBleLsBU7A16BwLx/ziRdWVgK7wWcOeij7YlHR0OuJP31cIraCVu9VY i0Dhhv1Z5E1xVcpUiDBImqFA4mwZ/9r/6UEjTK0vVDyyaDGlGq7i0i/MOW1h+YTuEeiq 3tr8uGoMLP8l5pyZm16HXuSvdD+z2pfM0+w5lIrYtc1oA26u5hlzbk6whXwg5wtbibHk HEhQEISANQQGp5NxyN5b/dWck11p84BeLsltXfu6w7lA3bk3zjle9eAd84DKClsS20Kw ASs+6XUVqoctFWO94f15RWljA4uoQRs0E7WoNmx3yRKZc1Hh4NGoN7JEZcvimiu4dZvW r7kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature:arc-authentication-results; bh=wG/xj1ewieCO7FPDrPlfRF9fXSUb3nwBebRQ+84BWBQ=; b=DjqE/hWYwUeif4POIqNHFlIB5xWvZ3Lhu8VK36Gf7EYnZw9HThjZjjN/XvYWal27OX R9wgZ9VFEGC7bpa3RAtGxUkfE+VIFox2694hawaWtyv8+o4C6e1F9j8/aLwWwSxJOpxC 1p1xRSj0rtmhvYWQEbv4V55zKDFK4EvovgZS1spfZNyg82H6ypyoTc6INqJ2FSUlMDe7 ZB1ihXzJDQHF66WmydSfQpl8JmKz0UG3gpjgZFntiOrs0FJLDC3AUpngghy7mznWOvzl HPciVruuRPCpEmipiw5KtJsGL0vClqvGbXi5FWJhBPO67AJKCECU36WszlPRkOVMI3dh thlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@edited-us.20150623.gappssmtp.com header.s=20150623 header.b=GtlNlhQW; 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 d15si5051940plj.681.2018.01.17.12.36.56; Wed, 17 Jan 2018 12:37:10 -0800 (PST) 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=fail header.i=@edited-us.20150623.gappssmtp.com header.s=20150623 header.b=GtlNlhQW; 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 S1754606AbeAQUgQ (ORCPT + 99 others); Wed, 17 Jan 2018 15:36:16 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:41169 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928AbeAQUgM (ORCPT ); Wed, 17 Jan 2018 15:36:12 -0500 Received: by mail-io0-f193.google.com with SMTP id f6so22322323ioh.8 for ; Wed, 17 Jan 2018 12:36:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edited-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=wG/xj1ewieCO7FPDrPlfRF9fXSUb3nwBebRQ+84BWBQ=; b=GtlNlhQW/GMfHNZ0nPRyAn3hK6V/6POMyFCrLe0BElDhirCDmZ5U6ZVJDSkFgCbNtr qjBZv0QIam7k+SrjX44QlePWjvEwb5b9o+AM9N2y44ju3jyD2y3TCMrpukaNpiNk0kEs 8hdEkAR2yb/X+ES6otTX0iHjloK49K8+PgUDt2HnRH+o0ZWlw27rKQdoyrhsxf2MiP0D QWpK/PphzyJmb9Y2aPEHdk84LyKx9Q+4107vN3erKLp5P+gbo8oHoH49CxzfiJts5APt sv9eb7r3ubGDpOu3OIlwEDBizFcvlpE5a4YLUesh6xc8CuNl5qduxIC3tT5vo9exxMp6 YUbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wG/xj1ewieCO7FPDrPlfRF9fXSUb3nwBebRQ+84BWBQ=; b=ILyRLbb5vuRKnJCe/WXp8TVQk2Lg5EWGpWq7/LgVd0pahfmXfmy5yKd+OGyOXKSlQx pEMEUMEKm2qMFq/vIPAWJvdHuQzy/SkTYRN40cXry3IjI4T0oQzr0t9uFCEvRbtyOcu2 ckODW33xFFa6KHjF7jIjhTy26270gtaheTxPRUcsYxZDkHQVz4qcaLP+lz6zEzg8tLYU kLgfzdWxmezsRTG7lswZn07r+4w05TxCDohbG4cv6eqj2HvBPeKp2YX/GNCgwpj7/uKW jVb1zqBZCl4DVrAmlPUYofad0xXY+f7qgpYwnpo+looOtbYYKe5lCBu+6QQic2aR3afZ 9ATw== X-Gm-Message-State: AKwxytfU0eI7W7Fv2Kw0Q2BOLheNKcdHa16CwLCHCkIcbrkTqpMJa1zz ubdst7MTPM56OUnnRjWlF31CNT2t/d8= X-Received: by 10.107.163.141 with SMTP id m135mr14051488ioe.163.1516221371141; Wed, 17 Jan 2018 12:36:11 -0800 (PST) Received: from debian.hanksspec.com (96-93-231-33-static.hfc.comcastbusiness.net. [96.93.231.33]) by smtp.googlemail.com with ESMTPSA id e84sm2848497iod.76.2018.01.17.12.36.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2018 12:36:10 -0800 (PST) From: oscardagrach Cc: oscardagrach , Wei Xu , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: hikey: Enable HS200 mode on eMMC Date: Wed, 17 Jan 2018 14:35:30 -0600 Message-Id: <20180117203531.17152-1-ryan@edited.us> X-Mailer: git-send-email 2.11.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5 compliant, in addition to supporting a clock of up to 150MHz. The Hikey schematic also indicates the device utilizes 1.8v signaling. Define these parameters in the device tree to enable HS200 mode. Signed-off-by: Ryan Grachek --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index 3aee6123d161..964e43e05ac6 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -299,7 +299,9 @@ /* GPIO blocks 16 thru 19 do not appear to be routed to pins */ dwmmc_0: dwmmc0@f723d000 { + max-frequency = <150000000>; cap-mmc-highspeed; + mmc-hs200-1_8v; non-removable; bus-width = <0x8>; vmmc-supply = <&ldo19>; -- 2.11.0