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: 9174677 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 29B4F6075D for ; Mon, 13 Jun 2016 23:08:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B85426861 for ; Mon, 13 Jun 2016 23:08:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 102C42723E; Mon, 13 Jun 2016 23:08:47 +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 B4FF526861 for ; Mon, 13 Jun 2016 23:08:46 +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 1bCawv-0006Fj-3J; Mon, 13 Jun 2016 23:07:17 +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 1bCavE-0004Ti-IQ for linux-arm-kernel@bombadil.infradead.org; Mon, 13 Jun 2016 23:05:32 +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 1bCavC-0003ZS-8p for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2016 23:05:31 +0000 Received: by mail-pf0-x232.google.com with SMTP id t190so50491338pfb.3 for ; Mon, 13 Jun 2016 16:05:09 -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=cWKc2Rzz6kmRY8lbQ/tiOpV4VG5GF0yDBr/f/idQceFwR/Zpo05Utk9rr31574yYNF w7o+Js+qctp/OdYuVeNN3VkoNBbZopJZwk5w5pJqegdUcex+XBFl5JllBJ6aVJ1WKDVP K3rlie2u+ZQFdsd+iIqM+ckUw46iEO1KSo578c6BO+WqOf4OWH5P/DwdUfgU6EqpULB+ UQyyCJdhJwLuRQaIhUpZzUxbe2LB3dAuOo3bZqBDNVoygC6z01wwHAFKfS2PSV7W/5CC boxNsfBBsqJYmTQSmUBH8ZuTPl5FxvYwXKj87hoARwuVRxUrDhI/1ccABm+rEzBYBusf Xwyw== X-Gm-Message-State: ALyK8tIJTSuN3j0ikaOr7rWoffjKur4tssDXka+4hPlqpnuTXr0/qvFNNOUDmunOT6Wvi23q 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-20160614_000530_491402_03B6389C X-CRM114-Status: GOOD ( 11.65 ) 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, 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-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 --- 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"; };