Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6429590imm; Mon, 27 Aug 2018 16:02:09 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb21Yxaxev4MugbGNLXjO7frbaKijqOL6BqrMoXyZUdVs5LkvNhut81wuNa6iB3Hz55U5q7 X-Received: by 2002:a63:4e5f:: with SMTP id o31-v6mr14004805pgl.256.1535410929400; Mon, 27 Aug 2018 16:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535410929; cv=none; d=google.com; s=arc-20160816; b=m4ekPNV1U82xfU6EvzHGkhjOd3ZDbwXKDpgirgqKf8iJEcR9j1SDunvf2yKpX5Yisy gMnrLQq1F1Tw9ifWvJBaatI4/0RW9/t+RMI2RUNMFMZXMae8PD3iOFLZ1xHIty8/lVr4 9JbNu7YMsF8vMo3SLBMpd4zsh5XH0iHvyhUGtN25a8LpD4PLaa4cfddpNEO/8sqMcJ7p FSiximE+OXDNkttBtoaT9B2tiX6wMFJlmr4R3bJIkB8Vf7o+Q541jggjPzD3vOVFfhZy yLkx1Db/bIk5I1J5DUeE5CnWs5FtHZoaklAcUN2TIGsmvEUh7xK/jwK5T/6H+ntBncFa 1x1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=8aArcR8Vt7dJ6QkZNgj3HyIKPsdPwVuSXRBkakVU7ng=; b=OcUW1MYMrpdGEWC2FceJoWVjS5ct83jBCJebdgl4o895bxEc3f78PLcgSd5hBAajIH Jb1UX/M3HlAm6xzpbA8kO2D3plQmh/pjmVgyYzYlUXIcR/csnoqtUQaAT5LGJNkLN8/f pZ+amtqudH/E10fbFxmITbUFE1TEHEK2B2QQoedGcRRAwapPtTP0tTvcta8yNxD3PY8h b2qQIzmcuSGa40V8wYEnarUROWEerBfO7aUJ/WSqeZcOI1ZnY612k0ryAv1F4hL8p3ln /RXT/0316IjAX1g9IwJakmVyicjDOUBnDF7fSW/Nzz/pqXmZ46Lxp4GcNvYQ9Xc8iO6N ZnpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HtXitLMW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u186-v6si478672pfu.263.2018.08.27.16.01.53; Mon, 27 Aug 2018 16:02:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HtXitLMW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727448AbeH1CtX (ORCPT + 99 others); Mon, 27 Aug 2018 22:49:23 -0400 Received: from mail-ua1-f66.google.com ([209.85.222.66]:45015 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbeH1CtW (ORCPT ); Mon, 27 Aug 2018 22:49:22 -0400 Received: by mail-ua1-f66.google.com with SMTP id m11-v6so404380uao.11 for ; Mon, 27 Aug 2018 16:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8aArcR8Vt7dJ6QkZNgj3HyIKPsdPwVuSXRBkakVU7ng=; b=HtXitLMWU6BekUCYGjjuV6lusCSRNRrh1jm4xUo1NH+w4ygaYGf2/IXSHntCh+Ft99 DtEC66yjB4ETdUfC6ch+lsgbdwAq5hvJ7CAqIVX2ei74J4DGicYHGDH/7SghR33ZP3Xf 96CzJHcBnd9wgeHQeRZ+rbxFa/eaXCPC6Umh4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8aArcR8Vt7dJ6QkZNgj3HyIKPsdPwVuSXRBkakVU7ng=; b=LR3xjtND1X/ul7ZqNTQPXUIZbJ0foCVnezhxK98iz6+Gk6QsHmjd0Jw6X3uFT02WEQ A72igROyQ8Vd7jitBYCv+iVZOFtItFcTx7EaJ6V4H7LjyXs7YuxsRrSkg+c3DbBTQaj0 JwrIltWBNBT6b2F8CLbbDQc4/WDI92DuiHWJEOB3cN5tztmexZzToOz09IruqY5gIdrA B/N6XCMWWf+DDjD/YdujXTxsPRCcnTBEHhdytZ3brD2qsYHUTdUQHSzTd2k6iqIr0xr8 157v/NO17Z9VWnVyMfFbl1qz27Wk8wPsfbMxIsr9I3VZNGV4n1QrxzMPKrCsNkmjLRHf N2LQ== X-Gm-Message-State: APzg51BhIC2/yzeUFIHRriClHdi2sbtlk/DLgEQ0xFXP1o+ZnwO0ZKOk MMMPnniFGlgvmp828Ak10Lmv/Qeu9stycw== X-Received: by 2002:ab0:4a2:: with SMTP id 31-v6mr9853339uaw.151.1535410839494; Mon, 27 Aug 2018 16:00:39 -0700 (PDT) Received: from mail-vk0-f52.google.com (mail-vk0-f52.google.com. [209.85.213.52]) by smtp.gmail.com with ESMTPSA id s123-v6sm150717vke.37.2018.08.27.16.00.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Aug 2018 16:00:39 -0700 (PDT) Received: by mail-vk0-f52.google.com with SMTP id s6-v6so344754vks.4 for ; Mon, 27 Aug 2018 16:00:38 -0700 (PDT) X-Received: by 2002:a1f:a803:: with SMTP id r3-v6mr9143498vke.8.1535410838586; Mon, 27 Aug 2018 16:00:38 -0700 (PDT) MIME-Version: 1.0 References: <1534834341-18345-1-git-send-email-akshu.agrawal@amd.com> In-Reply-To: <1534834341-18345-1-git-send-email-akshu.agrawal@amd.com> From: Daniel Kurtz Date: Mon, 27 Aug 2018 17:00:27 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] clk: x86: Set default parent to 48Mhz To: Akshu Agrawal Cc: Alexander.Deucher@amd.com, Mike Turquette , sboyd@kernel.org, rafael.j.wysocki@intel.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 21, 2018 at 12:53 AM Akshu Agrawal wrote: > > System clk provided in ST soc can be set to: > 48Mhz, non-spread > 25Mhz, spread > To get accurate rate, we need it to set it at non-spread > option which is 48Mhz. > > Signed-off-by: Akshu Agrawal Reviewed-by: Daniel Kurtz > --- > drivers/clk/x86/clk-st.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/x86/clk-st.c b/drivers/clk/x86/clk-st.c > index fb62f39..3a0996f 100644 > --- a/drivers/clk/x86/clk-st.c > +++ b/drivers/clk/x86/clk-st.c > @@ -46,7 +46,7 @@ static int st_clk_probe(struct platform_device *pdev) > clk_oscout1_parents, ARRAY_SIZE(clk_oscout1_parents), > 0, st_data->base + CLKDRVSTR2, OSCOUT1CLK25MHZ, 3, 0, NULL); > > - clk_set_parent(hws[ST_CLK_MUX]->clk, hws[ST_CLK_25M]->clk); > + clk_set_parent(hws[ST_CLK_MUX]->clk, hws[ST_CLK_48M]->clk); > > hws[ST_CLK_GATE] = clk_hw_register_gate(NULL, "oscout1", "oscout1_mux", > 0, st_data->base + MISCCLKCNTL1, OSCCLKENB, > -- > 1.9.1 >