From patchwork Thu Jul 10 08:18:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 4521831 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 97247BEEAA for ; Thu, 10 Jul 2014 08:20:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CFB182026F for ; Thu, 10 Jul 2014 08:20:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E28872021B for ; Thu, 10 Jul 2014 08:20:42 +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 1X59Z0-0001hc-Tw; Thu, 10 Jul 2014 08:18:46 +0000 Received: from mail-wg0-f41.google.com ([74.125.82.41]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X59Yy-0001cH-03 for linux-arm-kernel@lists.infradead.org; Thu, 10 Jul 2014 08:18:44 +0000 Received: by mail-wg0-f41.google.com with SMTP id z12so64850wgg.12 for ; Thu, 10 Jul 2014 01:18:21 -0700 (PDT) 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=WzKM+vCNntHIMQUw83VD7WjScnxDKYSkfxEoft/6tLc=; b=SSfcXTkQkqvnODwh9KuPgJs+u+L5ciEEActMCRxxFoR8FGYTBnCRoEy6dHxZt2FTsS LMbx8e5ZY9M+1/N4LI5qJnONOS+95NFA+XYS+VJbTuL3mNw0EvYdFBnoVotoxdye64m5 1YWWxVRAbW5Vt3tyjgq9J6TKqdapPsiwUP2MSPlVB/3241wfSOhU3SUWOIQRhEEDJSt7 /aiPXowUYNgmeizmYCDcCjVak8a+ThNuPf6NJD8R5VwAQG3wk6rJ++w39CK1mCNT6QMq LtG0QFODNvJ7Yf+GgSzzYctE8BwS79lHKjKF919pIfjwYeEAipkFMx5VT4TH/ORZp7q6 j7cw== X-Gm-Message-State: ALoCoQnsara4g9glli4RduoVE59oswCzOxju9jAy0V4vmTZIkTY9Z+feQZe2+0iErk2mO4vMNTb0 X-Received: by 10.180.81.234 with SMTP id d10mr1211421wiy.79.1404980301742; Thu, 10 Jul 2014 01:18:21 -0700 (PDT) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-99-228-46.as13285.net. [2.99.228.46]) by mx.google.com with ESMTPSA id v17sm108750997wjr.33.2014.07.10.01.18.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jul 2014 01:18:20 -0700 (PDT) From: Srinivas Kandagatla To: Mike Turquette Subject: [PATCH v2 1/2] clk: qcom: add clocks necessary for apq8064 sdcc Date: Thu, 10 Jul 2014 09:18:13 +0100 Message-Id: <1404980293-6072-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404980193-5967-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1404980193-5967-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140710_011844_184302_C17D8C83 X-CRM114-Status: GOOD ( 10.26 ) X-Spam-Score: -0.7 (/) Cc: linux-arm-msm@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, Srinivas Kandagatla , Kumar Gala , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds clocks necessary for SD card controller on apq8064 SOC. Without this patch the clocks are not visible to the sdcc driver. Signed-off-by: Srinivas Kandagatla Reviewed-by: Kumar Gala --- drivers/clk/qcom/gcc-msm8960.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8960.c b/drivers/clk/qcom/gcc-msm8960.c index f4ffd91..4cb2927 100644 --- a/drivers/clk/qcom/gcc-msm8960.c +++ b/drivers/clk/qcom/gcc-msm8960.c @@ -2876,6 +2876,18 @@ static struct clk_regmap *gcc_apq8064_clks[] = { [GSBI7_QUP_SRC] = &gsbi7_qup_src.clkr, [GSBI7_QUP_CLK] = &gsbi7_qup_clk.clkr, [GSBI7_H_CLK] = &gsbi7_h_clk.clkr, + [SDC1_SRC] = &sdc1_src.clkr, + [SDC1_CLK] = &sdc1_clk.clkr, + [SDC2_SRC] = &sdc2_src.clkr, + [SDC2_CLK] = &sdc2_clk.clkr, + [SDC3_SRC] = &sdc3_src.clkr, + [SDC3_CLK] = &sdc3_clk.clkr, + [SDC4_SRC] = &sdc4_src.clkr, + [SDC4_CLK] = &sdc4_clk.clkr, + [SDC1_H_CLK] = &sdc1_h_clk.clkr, + [SDC2_H_CLK] = &sdc2_h_clk.clkr, + [SDC3_H_CLK] = &sdc3_h_clk.clkr, + [SDC4_H_CLK] = &sdc4_h_clk.clkr, }; static const struct regmap_config gcc_msm8960_regmap_config = {