From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02CA4C433E1 for ; Wed, 15 Jul 2020 03:44:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE8A4206D5 for ; Wed, 15 Jul 2020 03:44:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BUM59QPF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728592AbgGODoV (ORCPT ); Tue, 14 Jul 2020 23:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728098AbgGODoU (ORCPT ); Tue, 14 Jul 2020 23:44:20 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE2A4C061755 for ; Tue, 14 Jul 2020 20:44:20 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id t6so1902587pgq.1 for ; Tue, 14 Jul 2020 20:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4/SBrzVijxleaEq8AAptBYjj9dMKnx46mBawTUAgxao=; b=BUM59QPFrAAvEdO1KQBDTmXPxgly1HWMoYdopTs9/nR/7mhpWAPtG95gopY8lQ73PG qLNRL1tht9UVjGra/Wmw4f3oOdeoccToTV8nzNXF3SiWZSsiPibGcI/LCroI4q8lSM5T a8UTRzXKlOAvnYumNrG1uhcS3uAzLeU4bu6Qa1rZXOaQDIWfa1M7V5zVG6NI4TCyiaWI a5Yjr/rV850NCmtLEbDkQ1pPOuK0rjf+oneIp522YxsRbmr8rHWpEdAg+ni9uuQjZiSF OnrUg5Un+oUU0gw+5LdqJHrQNUo7/asY4ax5wsUx9r0CWBTWa8zc2Gi5kiW4/pltLgb+ SUQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4/SBrzVijxleaEq8AAptBYjj9dMKnx46mBawTUAgxao=; b=eI5I0+op+xpRXv1dClGE3P6YPgmINRJR7ezQHKFpgNA0Am8JNGogK6zZb0BfJ80lxA Shqcc368zvmGQtL2tRrSvotebO6c3OSg69nqvHzNEdPiDvRJ2lvGF86s1JrbMIZeOhMK +xTRJ18pGuo5O/Fk/LrTG4NMtQkty7V8FbJK87LN2aidPsUQzv705OoV//zYT7VP6tFx rfqyWJ97JqBRXci0kZwRiIh0h2uq+hUZ75kyGPaGMlpi+Xmi3sjmgcsQF39mExhNnnnP DjvqPVjTomDIdQ87ng5qi6ZQfb5gIpCIbceQYWdQF6yOfzAXM5VQKoZXIK+CuwdjTidX m+5g== X-Gm-Message-State: AOAM533yO1B6dpjsBj2TbF4Jl/CKBswSojM9DFSPXR+kJHsYcdzxQMYY qw7Ge8UkhoSkpXUrCmRTg/WZu6c7A0o= X-Google-Smtp-Source: ABdhPJxc0bksLr171Wya+nxw6hqk8SsGcHJa3FowE638dwgY1ToULq8ink4AN2Ndk8zhudgjTw6k0g== X-Received: by 2002:a63:4b1d:: with SMTP id y29mr6308025pga.264.1594784660501; Tue, 14 Jul 2020 20:44:20 -0700 (PDT) Received: from localhost ([122.172.34.142]) by smtp.gmail.com with ESMTPSA id v28sm530817pgc.44.2020.07.14.20.44.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jul 2020 20:44:19 -0700 (PDT) Date: Wed, 15 Jul 2020 09:14:18 +0530 From: Viresh Kumar To: Walter Lozano Cc: rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] cpufreq: imx: Select NVMEM_IMX_OCOTP Message-ID: <20200715034418.fnpoaqynvxlkcype@vireshk-i7> References: <20200714184356.32749-1-walter.lozano@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200714184356.32749-1-walter.lozano@collabora.com> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 14-07-20, 15:43, Walter Lozano wrote: > When probing cpufreq for iMX6 the values in the efuse needs to be > read which requires NVMEM_IMX_OCOTP. If this option is not enabled, > the probe will be deferred forever and cpufreq won't be available. > > This patch forces the selection of the required configuration option. > > Signed-off-by: Walter Lozano > --- > drivers/cpufreq/Kconfig.arm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index c6cbfc8baf72..ce0227c429cf 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -93,6 +93,7 @@ config ARM_IMX6Q_CPUFREQ > tristate "Freescale i.MX6 cpufreq support" > depends on ARCH_MXC > depends on REGULATOR_ANATOP > + select NVMEM_IMX_OCOTP > select PM_OPP > help > This adds cpufreq driver support for Freescale i.MX6 series SoCs. Applied. Thanks. -- viresh