From patchwork Sun May 17 00:29:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Hutchings X-Patchwork-Id: 473106 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id AC20714012C for ; Sun, 17 May 2015 10:29:40 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459AbbEQA3k (ORCPT ); Sat, 16 May 2015 20:29:40 -0400 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:47307 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293AbbEQA3j (ORCPT ); Sat, 16 May 2015 20:29:39 -0400 Received: from localhost (localhost [127.0.0.1]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTP id 133B0461612; Sun, 17 May 2015 01:29:38 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at ducie-dc1.codethink.co.uk Received: from ducie-dc1.codethink.co.uk ([127.0.0.1]) by localhost (ducie-dc1.codethink.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jrxh4BP4ThZa; Sun, 17 May 2015 01:29:35 +0100 (BST) Received: from [192.168.25.61] (unknown [192.168.25.61]) by ducie-dc1.codethink.co.uk (Postfix) with ESMTPSA id 023534609A8; Sun, 17 May 2015 01:29:34 +0100 (BST) Message-ID: <1431822574.4222.172.camel@xylophone.i.decadent.org.uk> Subject: [PATCH 5/6] ARM: shmobile: lager: Set sdhi and mmcif clock rates From: Ben Hutchings To: Ian Molton , linux-mmc@vger.kernel.org Cc: linux-sh@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@lists.codethink.co.uk, Sergei Shtylyov , Simon Horman Date: Sun, 17 May 2015 01:29:34 +0100 In-Reply-To: <1431822459.4222.166.camel@xylophone.i.decadent.org.uk> References: <1431822459.4222.166.camel@xylophone.i.decadent.org.uk> Organization: Codethink Ltd. X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Ben Dooks [bwh: Fold in fix from Ian Molton] Signed-off-by: Ben Hutchings --- arch/arm/boot/dts/r8a7790-lager.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index aaa4f258e279..343ec0ccc8df 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -413,6 +413,11 @@ vmmc-supply = <&fixedregulator3v3>; bus-width = <8>; non-removable; + + assigned-clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>; + assigned-clock-rates = <97500000>; + max-frequency = <50000000>; + status = "okay"; }; @@ -488,6 +493,9 @@ pinctrl-0 = <&sdhi0_pins>; pinctrl-names = "default"; + assigned-clocks = <&mstp3_clks R8A7790_CLK_SDHI0>; + assigned-clock-rates = <156000000>; + vmmc-supply = <&vcc_sdhi0>; vqmmc-supply = <&vccq_sdhi0>; cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; @@ -498,6 +506,9 @@ pinctrl-0 = <&sdhi2_pins>; pinctrl-names = "default"; + assigned-clocks = <&mstp3_clks R8A7790_CLK_SDHI2>; + assigned-clock-rates = <97500000>; + vmmc-supply = <&vcc_sdhi2>; vqmmc-supply = <&vccq_sdhi2>; cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;