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: 9188417 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 66540607D1 for ; Mon, 20 Jun 2016 18:06:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B3A427BFC for ; Mon, 20 Jun 2016 18:06:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C10527C14; Mon, 20 Jun 2016 18:06:20 +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 B288E27BFC for ; Mon, 20 Jun 2016 18:06:19 +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 1bF3Yy-0004bM-R2; Mon, 20 Jun 2016 18:04:44 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bF3Ve-0007EV-56 for linux-arm-kernel@lists.infradead.org; Mon, 20 Jun 2016 18:01:19 +0000 Received: by mail-pa0-x22d.google.com with SMTP id wo6so16597806pac.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=NgTohJ9AIH2fP+8dsqP+UV9FK9AdzVtGUQUnIP54rUWLvei+YQOjwhhHOtcqe9J/nj 825Evdx5RlW1MVHYh9uXWLdUi0vSZq+bdZzWVlV7HcP9/fOoMMeEiQrXFqOldLuG8tNG YGliGuMqVytr8EKXMs7YJ4Eye1a9Zg1JEqUEdOk1Nhp4wFemf254TAojWT/hWesoSLGw U7AS4ODVWOkEwJY4NxbGV288s72vSCpKjj2uuZXl7K9TonHYGj4iLj0m4ohjxVWAQJ0m R5u8G0vQhgiZHAcilcJPZvE/ztf9UadGMESx05+2Xks/k8FiJA0ht4N9MMbC8zrivsAk bUqw== X-Gm-Message-State: ALyK8tIbU12uQkJKX7tFF2teaHXPGw/AeULmFl3do9Pb2TpJA0vrRHSV5Cc22KC6nfJ+Y5VF 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_110118_352157_C1248788 X-CRM114-Status: GOOD ( 10.66 ) 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: 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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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"; };