From patchwork Mon Jun 20 17:56:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 9188385 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 917AB607D1 for ; Mon, 20 Jun 2016 18:02:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 866B72780C for ; Mon, 20 Jun 2016 18:02:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B2F327C14; Mon, 20 Jun 2016 18:02:25 +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 379102780C for ; Mon, 20 Jun 2016 18:02:25 +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 1bF3Wi-0008P9-Kb; Mon, 20 Jun 2016 18:02:24 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bF3Vb-0007EW-Pa for linux-rockchip@lists.infradead.org; Mon, 20 Jun 2016 18:01:17 +0000 Received: by mail-pa0-x22e.google.com with SMTP id wo6so16597807pac.3 for ; Mon, 20 Jun 2016 11:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=nFLC0vn/u5fdwcPILwD1CBjL86df4E0tnalQ/2DjM5k=; b=CbRWBawwEQr6nbV24tchzc8cTr8HksyfCz8jOBVjvS/5hFEb93RhyI1X8bCT8NHpbS roB7Jtruf8ud0K/YjEGJKSpqQzgJIa6VpRM0ghJzzXF2P2ST4duZ1d95/Am2gJu82hO5 T9o3BdrE6CF0qDnDOD9x8l3hvfHhmGa9NGwd4= 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:in-reply-to :references; bh=nFLC0vn/u5fdwcPILwD1CBjL86df4E0tnalQ/2DjM5k=; b=ISxbeVP8J9Ox4MZzLzGtt0ypFD8aW4C4FsjgwIDKOpShWNySSze3bjYxn+vb9lCo47 0uTxealYQ3DVvQSwfVFc+9elz686ekPsHsRmXbTbpLvfFRjhV5dTWETa4vrAD8RlbS1K xt7iHLwrNE3Fw3pqNz/xV5/h88Hb5ajGSMYeLL0+wur0L+5C1hxB786R1YbUwkGHkIjE uyGsHZ6EupRJ26Y+qGASLLERBKBTtjxfJKzagwxK4d+2z9ZJscR1gGxAe1D3r7+aqUyA jKQspqvX/KC5ZChPKbaUO+BaXh8HnxIEcpdtdflV8wV01oPoVeMTa+zfGlui29Z5WJ2m qTgg== X-Gm-Message-State: ALyK8tLSWyjdn1KjalqbV3G4vkl8Kp5pDgRu3Ccdgsqiv9tZec8I6W6s8JStO93cQ78E0W/5 X-Received: by 10.66.138.110 with SMTP id qp14mr23119686pab.135.1466445657278; Mon, 20 Jun 2016 11:00:57 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id c189sm60250353pfg.19.2016.06.20.11.00.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jun 2016 11:00:56 -0700 (PDT) From: Douglas Anderson To: ulf.hansson@linaro.org, Heiko Stuebner Subject: [PATCH v3 15/15] arm64: dts: rockchip: Provide emmcclk to PHY for rk3399 Date: Mon, 20 Jun 2016 10:56:54 -0700 Message-Id: <1466445414-11974-16-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1466445414-11974-1-git-send-email-dianders@chromium.org> References: <1466445414-11974-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160620_110116_027462_AFA107CB X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, catalin.marinas@arm.com, shawn.lin@rock-chips.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, groeck@chromium.org, zhengxing@rock-chips.com, briannorris@chromium.org, kishon@ti.com, linux-rockchip@lists.infradead.org, jay.xu@rock-chips.com, wxt@rock-chips.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, adrian.hunter@intel.com, linux-arm-kernel@lists.infradead.org, xzy.xu@rock-chips.com, linux-mmc@vger.kernel.org, Douglas Anderson , galak@codeaurora.org MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Previous changes in this series allowed exposing the card clock from the rk3399 SDHCI device and allowed consuming the card clock in the rk3399 eMMC PHY. Hook things up in the main rk3399 dtsi file. Signed-off-by: Douglas Anderson Tested-by: Heiko Stuebner --- Changes in v3: - Add collected tags Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 1b57e92e0093..004b599ca285 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -225,8 +225,10 @@ assigned-clock-rates = <200000000>; clocks = <&cru SCLK_EMMC>, <&cru ACLK_EMMC>; clock-names = "clk_xin", "clk_ahb"; + clock-output-names = "emmc_cardclock"; phys = <&emmc_phy>; phy-names = "phy_arasan"; + #clock-cells = <0>; status = "disabled"; }; @@ -621,6 +623,8 @@ emmc_phy: phy@f780 { compatible = "rockchip,rk3399-emmc-phy"; reg = <0xf780 0x24>; + clocks = <&sdhci>; + clock-names = "emmcclk"; #phy-cells = <0>; status = "disabled"; };