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: 9174675 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 487796075D for ; Mon, 13 Jun 2016 23:08:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AD4D26861 for ; Mon, 13 Jun 2016 23:08:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F74F2723E; Mon, 13 Jun 2016 23:08: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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D56EE26861 for ; Mon, 13 Jun 2016 23:08:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422689AbcFMXIZ (ORCPT ); Mon, 13 Jun 2016 19:08:25 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:36851 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423870AbcFMXFI (ORCPT ); Mon, 13 Jun 2016 19:05:08 -0400 Received: by mail-pf0-f180.google.com with SMTP id t190so50491354pfb.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=axGCExIkU8RN2WRLQ131vB/gQmEoAr9BAaljsvynYu7tCuWAdKioaWDnwK6uEZeMjb klVEQip5+kBTves1jy0d/V6vpdHNqhan/hayAkdn9w8pKt9yubbwrz8igoSFn5bXTtol 4dAiBlfUh7Ed2mi8cK5/Hdb8NqSZn7JSI1OlPb1AuN2CHKuZAG3CqtZbh+vr8gEZJFA7 y9jHI+qZHWQo2/aN6c50wesztYj8insSSXpq+kjdpSEtyQLKC4HgX5GLJ+DiW7u0lECW YJIjZJ+gwV+C2J1Gyxfx1iZ6oCmukElGu1+/Z54i57deSaTFdkeCMCatPs4v46DRvMyJ yGMw== X-Gm-Message-State: ALyK8tJ/NSAy1N3RBwHcjxkijLgx5tHGOb12NSqFeLZtTZOywLVqdh4F3RxvBc3TFCsXRNL7 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 Cc: shawn.lin@rock-chips.com, xzy.xu@rock-chips.com, briannorris@chromium.org, adrian.hunter@intel.com, linux-rockchip@lists.infradead.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Douglas Anderson , pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, jay.xu@rock-chips.com, zhengxing@rock-chips.com, wxt@rock-chips.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.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> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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"; };