From patchwork Mon Jun 12 09:41:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 103608 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp107232qgd; Mon, 12 Jun 2017 02:41:34 -0700 (PDT) X-Received: by 10.98.81.199 with SMTP id f190mr4369342pfb.109.1497260494097; Mon, 12 Jun 2017 02:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497260494; cv=none; d=google.com; s=arc-20160816; b=RmKLIMVyTLaqgDhYHmEZDzlsS39ACvPWPBdJOfiCfBpjo6VyfQT/oXk+wsHTuI/zi3 I56ckIMX4PBG3sk9IkW8OrP0nh0YZYx2wwIfDOSiBZQUTuY2GLcqgBco4XZ1k41+NXrh tJnnyUc9C4HlOv7vlF/DsQazdp3CNm6j5u7YM6hzFN9SKlhsvKq+qADSy0/X8k4fhM8L GurTjFwQ+Q7JaLHMcahRZisrnDWkT0XsvdQF9cBTX+Y1HaXqUDpZfOKjyxKe6OTNVWIu I8WKrr0L8n6Br0zYd59xqfxFtH/tkwOvh5zgTcv3FmyOTRP5MN1sm7HhFX/Ad/mnTyd0 KnQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=uI/QIfPYy7BoGVozfsobI6ijWyl3YZJgMTja47KHMxY=; b=V6j5EpIlLTiPCsPTKwZheBz9WjXqup0naZlDiJ/4I7Bvpsio4RTU+iznCmKMVssJX+ /qvHddczEGETpV11PNgG6l6rPsLCkUu7/uhnn7BjNJwa56uwta9oyTGhy9kZewV7WzKb mcB7lz6Z9aQWv314pRTRKITR69jsHGAbtxBgamP7bD5XEQqDrlUhcQHmu/MUa0VLXIkS VZYfTMhHPEmYMdu4hDX6dNq4VhEuf9yDyB8jxJlvbPfw1tyYz02V2tTqTB14Pp8EdKdn LrucdH+L/lNXtE4Zt46aB/fYYFpFyrai7hreMY7DDmw7DKu+JnQZeBx/RTRyKwoY6tZ/ bsQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si6810801plk.160.2017.06.12.02.41.33; Mon, 12 Jun 2017 02:41:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbdFLJlc (ORCPT + 10 others); Mon, 12 Jun 2017 05:41:32 -0400 Received: from mail-wr0-f176.google.com ([209.85.128.176]:36526 "EHLO mail-wr0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012AbdFLJlb (ORCPT ); Mon, 12 Jun 2017 05:41:31 -0400 Received: by mail-wr0-f176.google.com with SMTP id v111so89912241wrc.3 for ; Mon, 12 Jun 2017 02:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=+8KYsPqvYbByHIQ5StfpXDH/u8WSjQo5DItT3dHw67Y=; b=MvmmfLJeP+ibGP1DAx6CxcXgARYkTgvNDLoBA8rfX/0JIAbEjYJEYO2j/R/A4fXamX VfmVXqZ5I3ofctrSXH6ciPihJWP/Fy5a1xOhud/uR8LWig47F1u9ZOGlujtd7wSot2Dy 3E8f70y2QSc+FBjYFJlKJuK34I4TdL4rI/RmE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=+8KYsPqvYbByHIQ5StfpXDH/u8WSjQo5DItT3dHw67Y=; b=O7ckD1eLf8jGSPnLZfMLw+oVUI/ecLQq/QzkDou+UXa/nBf4v/JVwn70nFRy1XBAaG 1GJ2QNGg/P0ASnGiTgEnLdCfZhKCGOVZMgWvWl7YKGjTveaHDGzHwY9YLrpGYYvweTIi kV1mZMyKXj57TElMwSnzKZRIfADVXQ1zuv83MMLTSki1a9U7KtcaN4963OYYCYg4EdrP LFyabmlsvCgIuDAZwaXemZwKZ2VUoGrbEtGDPb9j6LZ8qWJtUMauA8bFlPq5EIqEUJ56 7e3d6X9BFSF41q04Kvvyb4u5jgXh3qBCyX+6NA7/evf3FlVMQKfjkIiiszfq2/AWYpkF 177A== X-Gm-Message-State: AODbwcC8ia3tAxO7LmmsGuNeu2EkECiyhbDDEMpgKB9OAy3Qx8hcrdKn MBem40CBQ7XHbJao X-Received: by 10.223.139.81 with SMTP id v17mr7183797wra.70.1497260490286; Mon, 12 Jun 2017 02:41:30 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id m187sm7379662wmb.10.2017.06.12.02.41.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 02:41:29 -0700 (PDT) From: Srinivas Kandagatla To: Stephen Boyd , linux-clk@vger.kernel.org Cc: Andy Gross , Michael Turquette , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH] clk: gcc-msm8916: add support to 9.6MHz codec clk Date: Mon, 12 Jun 2017 10:41:22 +0100 Message-Id: <20170612094122.6770-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MCLK for internal audio codec is expected to be at 9.6MHz by default. This patch adds support to 9.6MHz to make the default case possible. Signed-off-by: Srinivas Kandagatla --- drivers/clk/qcom/gcc-msm8916.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clk/qcom/gcc-msm8916.c b/drivers/clk/qcom/gcc-msm8916.c index 628e6ca276ec..2cfe7000fc60 100644 --- a/drivers/clk/qcom/gcc-msm8916.c +++ b/drivers/clk/qcom/gcc-msm8916.c @@ -1430,6 +1430,7 @@ static struct clk_branch gcc_ultaudio_stc_xo_clk = { }; static const struct freq_tbl ftbl_codec_clk[] = { + F(9600000, P_XO, 2, 0, 0), F(19200000, P_XO, 1, 0, 0), F(11289600, P_EXT_MCLK, 1, 0, 0), { }