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: 9162785 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 50DFF60831 for ; Tue, 7 Jun 2016 23:02:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4256B2830C for ; Tue, 7 Jun 2016 23:02:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36BD92836E; Tue, 7 Jun 2016 23:02:04 +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 08C612830C for ; Tue, 7 Jun 2016 23:02:02 +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 1bAPzO-00082s-2t; Tue, 07 Jun 2016 23:00:50 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bAPzL-0007rV-EY for linux-arm-kernel@bombadil.infradead.org; Tue, 07 Jun 2016 23:00:47 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bAPkl-0004Bp-8M for linux-arm-kernel@lists.infradead.org; Tue, 07 Jun 2016 22:45:43 +0000 Received: by mail-pf0-x232.google.com with SMTP id c2so9269909pfa.2 for ; Tue, 07 Jun 2016 15:45:20 -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=GDeRRE7Zc0pAyULjwUxrAk7E4VcV/e1d8OS1pWeAEW1X8XMMwiahGmwHsNvJz2Sgm1 X1avyjt1boUA4wbMaD8slk1UiNQuLfPb38wfmkNQDY+/GzFL4u8+5onFcBuyo8vRo9wP 3gU3oIaq518vB2/4Pif8XiZYUWNxNMfRbqv55x550A3v9AlwTm/7Uk549TAagmYYXi9Z 0k3M774i80+MXhY8exsRs1z7e9mqmmSpcRPpodUpo7BTSJD5Y9TaOQTJtgdCvyQqjr22 FXnk4mWejEcVPr2YdT7eEs+ylckpRrEiooJBSpu46UDe3yzc970HpuGWhes3aaUMV1lc 8bTA== X-Gm-Message-State: ALyK8tK5QF/xjkxU+hLQd1ctEfl+uJhk0wInlM43KF2tySWA1pSRpPA1YZCgJ83ZVaDTbGii 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_234543_464987_DB79054A X-CRM114-Status: GOOD ( 11.83 ) 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, 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-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 --- 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"; };