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: 120819 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6976578qgn; Wed, 6 Dec 2017 04:14:29 -0800 (PST) X-Google-Smtp-Source: AGs4zMYp3M/kl/Aj28DrysLSvTOaRD0Gf8gbNluoWWrID+Mi3uEMh6Gnd/YqUUYVcmTNogWYU34c X-Received: by 10.159.198.148 with SMTP id g20mr21591325plo.89.1512562468994; Wed, 06 Dec 2017 04:14:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512562468; cv=none; d=google.com; s=arc-20160816; b=tYdrqmp5lR6QAap0ZBWLUI+iog7/OmVFU4elHSWV3F0DBzlLAuEHBFcES1gfeqAquS EW07PhH5Ex8y1c3eecmJwXouO1UuIXKW5iuBNsmMM8K3atympwuFkXXqSwn1sXTBfhFf 3iTzSwFWeJR0qL0sLqp9JD824wE/POBaeGmDAmd0AqUfZI885JFMMrS1giXeXr8LKyAW mnnXfm9KBH/7gNG9plYn+hVUTUcrBTajRklboB2q17K2N0Mow9xwS69v0yrnIAq968eh nt7YROUgj4CZ2/775qJG0qZL2vhy5Z9r5AnaVSpOI9MWAV0JOZaYsfkj6/xGUjSUWWT0 OKgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=FIHp0PIHTp+AIGylV+Ltte1OhUr7o0zk7blT/Im5Gc0=; b=j4i7yr7UgrjKr4suT5EG1p33aRnWi7tNCDWBCkrTtO/4KPYiGQBAi+3uQ/sOA3Lby4 g/QYCaeZCsQBHM24+cawUtycTiUmdaAB2ML7fYgJysz2ILtRad8OADzYBoYCXui975Tf KFnMQzr71wYTvpZrT1Xrb2UsQD5u2CyeaqOj+NY8hqtSFUWUGmQgAuYagl9D9C1hp/pa RAeQBoU0hdIkmBSZW6J3/OGqnBPUbEHOZ/NobAruTbz3g7r1vYxHUSKJ4sQeiiDIbjZn okOBnHo3DTNjJewk/46Fl/NOMu1zmTYqMahOI61s08i+1sxcQ9RkKWR/p/73kzOCac8E GduA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LFgw4p2W; 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 e190si1963817pfe.96.2017.12.06.04.14.28; Wed, 06 Dec 2017 04:14:28 -0800 (PST) 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 header.s=google header.b=LFgw4p2W; 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 S1751888AbdLFMO1 (ORCPT + 10 others); Wed, 6 Dec 2017 07:14:27 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:40938 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752020AbdLFMN5 (ORCPT ); Wed, 6 Dec 2017 07:13:57 -0500 Received: by mail-wr0-f195.google.com with SMTP id q9so3661135wre.7 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=lF6Au+WSqMQfDr/Pmh0AOj2K9coO/MK5Y+B4pgNOjqaGy41l1XCjw9xCFM4uboWQ28 2AsHyTsn/fuACpB7atvGnRCxYi8zxkNSaAmBXkiCVo9ZUmsBvLkMzN9nxgwKHC29lyBU 70Uh9dfUPh1bQMCXASTKKThrmeSrgUFYlAZVU3LylXgDpg4fcDw62Zv5I38ELLAb5i85 /n1xF0lLlr0mGQLEyGzXdTshMlNXXdYG6IN6XVNgVd0LEok5QwmcttmqYthni+5UV/hJ n9lJKmLaWkpCUOG6OdXZxb+oJ5wpNm3TzAEEXz9fikNK56W+LMNHjVITV8h9PAZOhIPQ seRw== X-Gm-Message-State: AJaThX74PYjVE9wDPIfyvFdLlnbu6PoivkOxGm7Kzs3rTzgGStXQjwBi mFqPNwbEHPTZ2u8Xw010uYCXVWn38Ig= 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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(+) -- 2.15.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 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), { }