From patchwork Tue Apr 4 02:04:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9660751 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 8EE0A602B7 for ; Tue, 4 Apr 2017 02:05:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7498428546 for ; Tue, 4 Apr 2017 02:05:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6937C28555; Tue, 4 Apr 2017 02:05:30 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 652A628546 for ; Tue, 4 Apr 2017 02:05:29 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=sKQumIAZcDzlXnTQC/V4plnRG/hACyU7unVOed/C5k0=; b=E0K QbICLuFiq1Hx4KZxsSJdjCJifkBzw5wYmBGMYFKK/Jy17Sv7oTm7lN/V3v6mJ29AGzOxy7gpxCZU0 lMndEuOyxKz1pf8MrRWsGdqWYd/akzDHXNGWnI0oC8kzldsqpCBaLKAcG86+BwBSodrRAKFZH4WYT OXyrtPBhITphndsoMHdJC3NYiDsGuUFkbuAy6VnsYKrgC5NoPXne1pp1TRJPsnmfZVmOTaWbPgOB4 JhgA+KzFWZhVmOHKUe34DE79NubYbbB794MoMwAyBWyrNDTuN+Pwn2zgbOYHPOLBSyY6dXqvr1ytF Gvl7n45uvz0haWa2FoM4WE+y8NGtOeA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cvDqa-0008RI-Rf; Tue, 04 Apr 2017 02:05:28 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cvDqW-0007Qk-QH for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2017 02:05:26 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v3424djM025846; Tue, 4 Apr 2017 11:04:40 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v3424djM025846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1491271480; bh=HCIKpN0ZkQetUdTNrrvMd5XXuXEG9RcuApFXBNIGayM=; h=From:To:Cc:Subject:Date:From; b=1mWQ8GQcjWcpihBtU0vb0HS2WcCK/p1m9agAfABewxbMbqUZC2qzBnDMYQfEkyso2 CGnYvC8B9tBCUtMl2fjCp98WonsDvnPKC/ykpxszne7XcexNmkQ0Tukf8QU48gGC/E 9KXkc4SrpLZcwZrQMpHsKCf3RRCnFRvVV6CF0DW1u2JV7ibmG8GWPigImdfsc8a8SA 3dMz+EUXz0u8TP+J0VTgihOt1j6ox/PqrcKh90X+vh5rsR3PMnpRldzg4Jh4xZgFVB OIbV6d6Vy4y/t47/7KVsgeTj7tBrWMKD1Ss6kOQkeetHIxRsUFZotbr+IFExsG7Z9W NIAwvVH6NJ76A== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: uniphier: add cdns, phy-dll-delay-sdclk(-hsmmc) for eMMC Date: Tue, 4 Apr 2017 11:04:37 +0900 Message-Id: <1491271477-19806-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170403_190525_242329_CD49FE3E X-CRM114-Status: UNSURE ( 8.14 ) 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: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring 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 Adjust the PHY parameters for more stable access to the eMMC device. Set the SDCLK output delay value to 21 (including HS200/400 modes). Signed-off-by: Masahiro Yamada --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 2 ++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi index 42f1803..25a525c 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi @@ -313,6 +313,8 @@ cdns,phy-input-delay-legacy = <4>; cdns,phy-input-delay-mmc-highspeed = <2>; cdns,phy-input-delay-mmc-ddr = <3>; + cdns,phy-dll-delay-sdclk = <21>; + cdns,phy-dll-delay-sdclk-hsmmc = <21>; }; usb0: usb@5a800100 { diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi index e4499ff..c85e6e2 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi +++ b/arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi @@ -387,6 +387,8 @@ cdns,phy-input-delay-legacy = <4>; cdns,phy-input-delay-mmc-highspeed = <2>; cdns,phy-input-delay-mmc-ddr = <3>; + cdns,phy-dll-delay-sdclk = <21>; + cdns,phy-dll-delay-sdclk-hsmmc = <21>; }; soc-glue@5f800000 {