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: 9307201 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 CE10260487 for ; Wed, 31 Aug 2016 13:14:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5CC928EE7 for ; Wed, 31 Aug 2016 13:14:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A9B0928F23; Wed, 31 Aug 2016 13:14:00 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 33C4028EE7 for ; Wed, 31 Aug 2016 13:14:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bf5JZ-0003DC-Dr; Wed, 31 Aug 2016 13:12:25 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bf5JT-00035C-DR for linux-arm-kernel@lists.infradead.org; Wed, 31 Aug 2016 13:12:22 +0000 Received: by mail-pf0-x229.google.com with SMTP id y134so19558682pfg.0 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=AeyCGkidVpjXKCcRL2G2BKfnzQsmZWlLU4kCQ/EDPDqVNtoVfpW6h/rzFod7mQ0mLv p5Eu6Xb7RmLQ3PymbAYft9sStDxRJnqsxEQloSLIJytJtdUVocxwUVlkzPSf6w+xcVJD BjlPSJn1Et0cOgWAJYtEysNdm88Z7V4VIhDhQaEBslI9RqlxxVuF1VjpwftrA162k945 5jtfJy3IvlD00mJckicTK2IToK1p3/yG3zG/crS2IyOGkB+17RAxpB2OGKUrCCscb0wk eZczNbeOTv1pIhAGvEpdd8gAF/i+RFg0o6TiZkoJclz1NbBFZUaZV6c02/9uLttFgNhn asaQ== X-Gm-Message-State: AE9vXwNCnpgoGYq/zxNRgJ2ak/DZpVq2cVW9qnU3z2pY5mD+j8ftF6Vw5Pe1yWTvrZlg+qNH 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160831_061219_554324_173A2859 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Ulf Hansson , Guodong Xu , linux-kernel@vger.kernel.org, Jaehoon Chung , Jinguojun , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 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(+) 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>;