From patchwork Wed Dec 6 12:11:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10095749 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 ACCAF605B4 for ; Wed, 6 Dec 2017 12:14:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F74229CE0 for ; Wed, 6 Dec 2017 12:14:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 941C429CE2; Wed, 6 Dec 2017 12:14:29 +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 4A94C29CE1 for ; Wed, 6 Dec 2017 12:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751904AbdLFMO1 (ORCPT ); Wed, 6 Dec 2017 07:14:27 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41310 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752060AbdLFMN5 (ORCPT ); Wed, 6 Dec 2017 07:13:57 -0500 Received: by mail-wr0-f193.google.com with SMTP id z18so3652120wrb.8 for ; Wed, 06 Dec 2017 04:13:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MKr7Su+E8KFEwTeA3ab8oOfO5SGE8DdWs9/I5UFDxZY=; b=LFgw4p2WUc1o/QmUB5frLrderZIIlnvy0z6SK4wSVcEoM9OnsSa3nNjn+qb96Ke94O CsCqgk4N6MBR1oje6iP8BuE5a+2XqRn10spuocsEaUiBHNy/yBflHZWrEsLSdN29Jqfq Kgx2O11hyes3SWCkVphhM0ee40GnlYbgrI9cU= 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:in-reply-to :references; bh=MKr7Su+E8KFEwTeA3ab8oOfO5SGE8DdWs9/I5UFDxZY=; b=RNQcBTv9lUs2YICAvAJqk1wgyVUd097kIcdGUwDahtfuP5fSTv/Xc/BucVOXdekXrp 0Bcm4G2nJ0wHt7GDqWOtrV7T5VWidygmlhCf3/Uuq/dnk5+xbALl3mAyiEL1Isgeue38 B2RxM+5S6PkWF3pC5ySgbZV2MJF8/U9t3/d+Xfz2Y0882uzAY3LVH5VvsgKo/kdAZz9l sTIB5m13aKr55JRJ9Vyaq3JOVXrIs7GpdQJREmz2LGir72pTqC51G0cnG7+3e5fIcS6I diqcEa2cMiX3JVMRb65nYluH6zZwy1wAPoLgC7dmonTxJwZY/FvugtJbnCDZsX5n/u+J pA/A== X-Gm-Message-State: AJaThX63rxRwHnKx2iM7B4sdYT5Y5IK9F/o4MZUnj7GDIPkp6lXDzQVU Mr/YubVn+5/0AUG14rvSK4E0AA== X-Google-Smtp-Source: AGs4zMY478pEE0HGHJzBBWBi1YL6XRrA9sz7qYLE5R7nOsnNck3+rk0KskTxbchbXgYHG74EQ0zHZg== X-Received: by 10.223.165.67 with SMTP id j3mr20798473wrb.181.1512562436364; Wed, 06 Dec 2017 04:13:56 -0800 (PST) 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 a8sm2768469wmh.41.2017.12.06.04.13.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Dec 2017 04:13:55 -0800 (PST) From: srinivas.kandagatla@linaro.org To: sboyd@codeaurora.org, linux-clk@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/2] clk: qcom: msm8916: add 12.288 MHz support to codec dig clk Date: Wed, 6 Dec 2017 12:11:39 +0000 Message-Id: <20171206121139.18936-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171206121139.18936-1-srinivas.kandagatla@linaro.org> References: <20171206121139.18936-1-srinivas.kandagatla@linaro.org> 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 From: Srinivas Kandagatla This patch adds 12.288 MHz suport to codec digital clk, this clock. Some external PA requires a 12.288 MHz to work. 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 d973aeaab943..d6c7f50ba86a 100644 --- a/drivers/clk/qcom/gcc-msm8916.c +++ b/drivers/clk/qcom/gcc-msm8916.c @@ -1436,6 +1436,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(12288000, P_XO, 1, 16, 25), F(19200000, P_XO, 1, 0, 0), F(11289600, P_EXT_MCLK, 1, 0, 0), { }