From patchwork Mon Jun 13 23:04:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 9174647 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 3E3C16075D for ; Mon, 13 Jun 2016 23:06:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3005326861 for ; Mon, 13 Jun 2016 23:06:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24A8F2723E; Mon, 13 Jun 2016 23:06:40 +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 DBF5826861 for ; Mon, 13 Jun 2016 23:06:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCawJ-0005Wv-0X; Mon, 13 Jun 2016 23:06:39 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCavB-0004SC-Fe for linux-rockchip@bombadil.infradead.org; Mon, 13 Jun 2016 23:05:29 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by merlin.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bCav9-0002P0-UC for linux-rockchip@lists.infradead.org; Mon, 13 Jun 2016 23:05:28 +0000 Received: by mail-pf0-x233.google.com with SMTP id t190so50491337pfb.3 for ; Mon, 13 Jun 2016 16:05:08 -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=e50Wt5PFrszclOaUMBIfHdt7Y2SqoCRlzmqGHfqc8Hc=; b=LyEpDg93pwfdDOA0qsiZe5G59OAiVFemszjjskhUoTNFlub9pY0E1ftoN+FJqiAP/V ZQ16jroItVnBbevHmWOmlQ93nFNPF87pCX2ZYNYTOksZx5O4+761mrRdC3h+oilHi4/N nAtq8YRG2cStdlgRcQv5gSOBfCY6Ht+8LTsag= 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=e50Wt5PFrszclOaUMBIfHdt7Y2SqoCRlzmqGHfqc8Hc=; b=QZczRVdK5fNQykX21zEL2obmW7rt5IFfpPB+mSEq7gu63Er5NlRXe8ux8I3BKupcRW X5sfhNOHEAQ+cupUxzexxeiKshYx8ACW/hQTnHYnYF6Gz8NUzABQxtQx9kwxHvrZ2Q3G ieFanKgI0/0+CQgs7nA8ZphR5EyRpufp7A/Keh4rJXb4a9Zx/pbgdBwPEheVYYahGFXu KfDHq9mvHKYjDRHIoYlpl2sf+heWasujs7Jc1deHKlfiA95l69NExoPnGeGFf7tgrAyE fm8lLTSRW41r32zRbxMpteAkCMhdUcZuUY3VucM3vLxYJ4oUOm7PgHfVTcgz5kwZxzoj pWcg== X-Gm-Message-State: ALyK8tKVkgZz4z4DRb28jkvcD1oQBwf7PvLirLYwFuT2Zi3OZyBGv1qDZXYiRP2Ps6vElsnA X-Received: by 10.98.111.137 with SMTP id k131mr24651377pfc.136.1465859107521; Mon, 13 Jun 2016 16:05:07 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id pk18sm8906434pab.27.2016.06.13.16.05.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jun 2016 16:05:06 -0700 (PDT) From: Douglas Anderson To: ulf.hansson@linaro.org, kishon@ti.com, Heiko Stuebner , robh+dt@kernel.org Subject: [PATCH v2 11/11] arm64: dts: rockchip: Provide emmcclk to PHY for rk3399 Date: Mon, 13 Jun 2016 16:04:35 -0700 Message-Id: <1465859076-4868-12-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1465859076-4868-1-git-send-email-dianders@chromium.org> References: <1465859076-4868-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160613_190528_071002_2C789046 X-CRM114-Status: GOOD ( 10.05 ) 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, devicetree@vger.kernel.org, xzy.xu@rock-chips.com, linux-kernel@vger.kernel.org, zhengxing@rock-chips.com, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, catalin.marinas@arm.com, shawn.lin@rock-chips.com, briannorris@chromium.org, linux-mmc@vger.kernel.org, adrian.hunter@intel.com, will.deacon@arm.com, Douglas Anderson , linux-rockchip@lists.infradead.org, galak@codeaurora.org, jay.xu@rock-chips.com, linux-arm-kernel@lists.infradead.org, wxt@rock-chips.com 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 --- 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"; };