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: 9780639 X-Patchwork-Delegate: sboyd@codeaurora.org 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 C749E602DA for ; Mon, 12 Jun 2017 09:41:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BA6542858F for ; Mon, 12 Jun 2017 09:41:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AF337285B6; Mon, 12 Jun 2017 09:41:33 +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 3A1F92858F for ; Mon, 12 Jun 2017 09:41:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752383AbdFLJlc (ORCPT ); Mon, 12 Jun 2017 05:41:32 -0400 Received: from mail-wr0-f172.google.com ([209.85.128.172]:35572 "EHLO mail-wr0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751994AbdFLJlb (ORCPT ); Mon, 12 Jun 2017 05:41:31 -0400 Received: by mail-wr0-f172.google.com with SMTP id q97so90010612wrb.2 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=qnXPSdbJ0uIjrzmyTM7s1aZkxS0nEgTQ27jggV5R0rjpXXfQbAbMB0XKleRInCbQLF RzU7+SenhzwTEHK2OjK1psxOVQI+db8oRlVd6NxdfaBRJ7+FU4b2IeI6V0ECUNAja07s WK18anQ1BohPxi/slhQ5x0OTmejqnpZRHpR4bv0L/UMqpMXDrmzRp5wW7nZ+uBuTjm1y fykM0W7edP7+y5g1fJukFOqQw499+aX0FoPI8xRZU+zM1pl8FFemqwo+E5IYXnIDgZvx f/Z8V0UBQszZmqXZ5cu5yYCROarLs7qW9pW87uhnqBI2406NmiMehRCtRABjZDIgeKB2 XlBA== X-Gm-Message-State: AODbwcDysW3afZZA5R13DAX8rLM0u+fpLSyxLDhBsrWcDVx+h+MwaX3H 6KqDmEJ2DJtme+SF 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-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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), { }