From patchwork Wed Aug 31 13:10:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 75093 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp329986qga; Wed, 31 Aug 2016 06:12:01 -0700 (PDT) X-Received: by 10.66.74.100 with SMTP id s4mr16927760pav.114.1472649120962; Wed, 31 Aug 2016 06:12:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fa3si50868849pab.34.2016.08.31.06.11.59; Wed, 31 Aug 2016 06:12:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934616AbcHaNL6 (ORCPT + 7 others); Wed, 31 Aug 2016 09:11:58 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36608 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934200AbcHaNL6 (ORCPT ); Wed, 31 Aug 2016 09:11:58 -0400 Received: by mail-pf0-f170.google.com with SMTP id h186so19504192pfg.3 for ; Wed, 31 Aug 2016 06:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KHz5ZMsxeY4m93OsIBOiYUVwhtrhIx2zMnZJKToVqjk=; b=Cp4Fit3twyBOqFf7ipbUDqm0tVrbmwRWbJxlL2f+2kLfZGQ/RAF6FsDt0QAd1tHBzH 9egdaoUE8iBIEZjV7EKw6JGJG/0YXD6ku9G8OUBZlxlPYV8M+4sObHim+at3ZaAefW0j Q0Lxm1o8N2jN7ZnaTFysHH/QzNiZprvyw0ykU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KHz5ZMsxeY4m93OsIBOiYUVwhtrhIx2zMnZJKToVqjk=; b=TYQ/MCMGtBgA+WcZCUZZQs07O/zG78ZFWVegTovkTFKikVLoIJbGRS7Z6Qn4jEMGvH R5aieFzB7i2+QqQZzLKqXpI1dHZHq0LtR/pYbot+AZZXaxTBPDZeicrjQT9F2VOcrBnv rw5YFFN5p3zatTYRc5imIc05VHlswGUPvmh4MHzeWWiXONsLYwPdCL6572PTF0SlpwXR /vScYTDtFCSVpRtqQjSoQb54fkK1XRnB8EDwCJdk2/pw+4HPcxmcS2Vy/iaQftWVNyJ/ WdpazPbVthA58XHDGS8rbfwqkHE4CfpvHQI+bql/xpfK8xT5ZKFHlZbsXUMqdIgLcNM5 7dxA== X-Gm-Message-State: AE9vXwMPOcaVmY6GsVSvzLdVwsmNDPk3xLjGZU7FEFZsZjTbb6NsjdGnz55S8jckWW3Lwi3s X-Received: by 10.98.192.12 with SMTP id x12mr16683922pff.54.1472649117437; Wed, 31 Aug 2016 06:11:57 -0700 (PDT) Received: from localhost.localdomain ([167.160.116.179]) by smtp.gmail.com with ESMTPSA id c66sm65354207pfd.24.2016.08.31.06.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 06:11:56 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Guodong Xu , Ulf Hansson , Jaehoon Chung , Jinguojun Subject: [PATCH] arm64: dts: hi6220: add sd-uhs- properties into dwmmc_1 Date: Wed, 31 Aug 2016 21:10:58 +0800 Message-Id: <1472649058-22364-1-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org With these properties added, sd cards inserted into hikey can work at UHS mode if they have such capability. Note, this depends on HiKey UHS-SD support patch [1] to work properly. If you didn't add this patch, but added sd-uhs- properties into dwmmc_1, then sd cards cannot work. As of this post, patch [1] has been integrated into maintainer's next branch [2]. [1]: [V4] mmc: dw_mmc-k3: UHS-SD card for Hisilicon Hikey, https://patchwork.kernel.org/patch/9262515/ [2]: https://git.linaro.org/people/ulf.hansson/mmc.git next commit a8a5b2909cfc ("mmc: dw_mmc: k3: UHS-SD card for Hisilicon Hikey") cc: Ulf Hansson cc: Jaehoon Chung cc: Jinguojun Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 63608e9..17839db 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -785,6 +785,9 @@ card-detect-delay = <200>; hisilicon,peripheral-syscon = <&ao_ctrl>; cap-sd-highspeed; + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; reg = <0x0 0xf723e000 0x0 0x1000>; interrupts = <0x0 0x49 0x4>; #address-cells = <0x1>;