From patchwork Tue Jun 7 22:44:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 9162733 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 582D260467 for ; Tue, 7 Jun 2016 22:46:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49AAA28360 for ; Tue, 7 Jun 2016 22:46:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E4AF2836E; Tue, 7 Jun 2016 22:46:42 +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 D6F0028360 for ; Tue, 7 Jun 2016 22:46:41 +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 1bAPlh-0006b5-5T; Tue, 07 Jun 2016 22:46:41 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bAPkh-0005ST-SO for linux-rockchip@lists.infradead.org; Tue, 07 Jun 2016 22:45:41 +0000 Received: by mail-pf0-x235.google.com with SMTP id c2so9269905pfa.2 for ; Tue, 07 Jun 2016 15:45:19 -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=BZvbRwn1nYyycdiGLK3+9mnngvwdWZTWDe/12ZsvSKI=; b=HZoxGmUaEJYbakiWdq82PHJgC2RWXZRB2AEtqBDmfFHaSy4dnQYefrAs+Xkvh5FN8V 5jE1Y4ipFMI4bGbpdb6YCzBF/EGurywCJnl3wj7ifWhN1Cf7QFlSURz7oRI/XThDruok AOiKDgFBi5RoI0g/wt7VY4+uCn+Lqctd+v5LI= 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=BZvbRwn1nYyycdiGLK3+9mnngvwdWZTWDe/12ZsvSKI=; b=Y2C0rdOeuXuesNQbOCalQ9GgecmotXsntqg+7AIDxJWReBomKMHDofKjl1QC/akaIY rh51rQV2sHb6ENln+TMTUMEGjgqeWZhQZRJx3KsfwAxcTcCTgCVxktRNCpSANVGCI0Xb 7pg78Vg4sZp9jk8za4DYtTuOz8rPSgxXxW99JAv5K/+KTNqBDjATDlIZssnSYWZsv1NW 4p+nexZv7ETwjFZ6jnwK24dtNr8XTHCTvziCvuzQ6Ruhux4GXfWx9sHi/q+BDe+CiCDA vcmR9c8qTsebAwofYymsGjnZMK+lF3VaFs2RDXI+3LX4NYuQFMHHghQZf6W9Lxn9qzy9 Fp5A== X-Gm-Message-State: ALyK8tLzmuKDAkFkcpBzQENrGGRxInNXyql5XacYFp0jA7WlicyR7MblEKZL0R3aEcW1e9JF X-Received: by 10.98.89.213 with SMTP id k82mr1878610pfj.99.1465339519048; Tue, 07 Jun 2016 15:45:19 -0700 (PDT) Received: from tictac.mtv.corp.google.com ([172.22.65.76]) by smtp.gmail.com with ESMTPSA id 4sm37641782pfm.15.2016.06.07.15.45.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Jun 2016 15:45:18 -0700 (PDT) From: Douglas Anderson To: ulf.hansson@linaro.org, kishon@ti.com, Heiko Stuebner , robh+dt@kernel.org Subject: [PATCH 11/11] arm64: dts: rockchip: Provide emmcclk to PHY for rk3399 Date: Tue, 7 Jun 2016 15:44:44 -0700 Message-Id: <1465339484-969-12-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1465339484-969-1-git-send-email-dianders@chromium.org> References: <1465339484-969-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160607_154540_194519_2C4DB94D X-CRM114-Status: UNSURE ( 9.78 ) 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, devicetree@vger.kernel.org, xzy.xu@rock-chips.com, linux-kernel@vger.kernel.org, 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 --- 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"; };