Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp141049rdg; Tue, 10 Oct 2023 06:34:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgtiqpcf68uCdH0RuvskfWMemms3ypu7OxW9iYCsAZp1o5t1OxUxU4Gsxhui+Q885X3YyB X-Received: by 2002:a05:6a00:138e:b0:68f:c2f7:cef0 with SMTP id t14-20020a056a00138e00b0068fc2f7cef0mr25219301pfg.4.1696944861752; Tue, 10 Oct 2023 06:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696944861; cv=none; d=google.com; s=arc-20160816; b=gwcPylq3X5dhVFhf+9Ecgu4sS4e8FVFhH3bfCnH3q+BUKiX24eJgOMAeYHGJm0+sN2 4iJFmDkVlEBXFHmkxQsism+jmJDcVPkQyHz2l5eko+U9xNwZLWml9psBoRXyfM2utWAL Y6EJqdzBZ1oPETqu+J3Lfr87l3lhm2fus1OYXcp8vo3r35XjJgi3OMa8TubqV3gQ/qx5 Ps/Q3nvr3420THvemO/eMpeLXf3lla+nLsPUoy8uMWzC7bzowTWfXMsQZR5YRlFJVCdW cD01yI7Mtw/IgPRxh9MWR4QBuUSTs5OAKHHJJnj/pjBC56va8WFK+qYYlTnej88u6wim vypQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=u3ufIXJTPDUi37xaLcqz/JBb6qC8rajJx6bDQbsS0J0=; fh=WumJSOs86538J6O+v1EYmEbp48U6uSUVgif+puYuoDc=; b=Md/RCyd84CXc2kdDN52YhHOFm0Iy7N7dVI3liJdQ+fQ8U4oVjJfVeVrpXSVkKs8gio ob/ab71gtLNtnteMwQ8jdouWwe2E7n/AUeCmnTKWMF45Zkk5znfvrHDQ2/7YoLYkXBiZ hoIXGtmU96GPbDLZvFXUrHi76g+APcsXEDI+I53N83pyUL+j57kxI3xdPiBgG01LPLvO hvMmogUTAidnuGPv2bSi4oJ0/+WzXM/HvXrzw4xIS5cxO8GnmwhxFWWDWZz2xBqcIgxr KIYKx/5bcshM793FnuzdwmDVwJUwNKjrDE9doM1TVc8k4KO8hTTw8eZS1g5QRcUCWv7t t5eA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ElIIARZi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id f9-20020a056a00228900b0068fbd3713desi10167684pfe.107.2023.10.10.06.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 06:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ElIIARZi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 33330807C857; Tue, 10 Oct 2023 06:34:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232338AbjJJNeL (ORCPT + 99 others); Tue, 10 Oct 2023 09:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232328AbjJJNeK (ORCPT ); Tue, 10 Oct 2023 09:34:10 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF612B6 for ; Tue, 10 Oct 2023 06:34:08 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c1807f3400so69203401fa.1 for ; Tue, 10 Oct 2023 06:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696944847; x=1697549647; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=u3ufIXJTPDUi37xaLcqz/JBb6qC8rajJx6bDQbsS0J0=; b=ElIIARZi+gjhG5QuyVguoYsd8Apv1+991gibzG3e6XtnvwBQuWni0ctTDtF6P6IfKX cMKIMdMeM7Fa0o1qLt6UaqufAcFtIgB137r4MDUNZLoWQ0ctgenGWe9rg6jQrcDvnCvC +XVUpaejSva0sR3d7+3IKq9XygWUpSe8TyEPHTv27I4E3ci4Z/+LNfowWDxQ16oacQDJ GSbIMNEXIjNLaEy1b10MKpKhnaEmdSO97bqmE8JgzmVvBYmgM/xTrJme2bFR/ChnKqqK 6ysJrjPjs+8thv7pb7Es4RLCuJf42jZVDfuCjXRGLPqZZn6aJ/JbVzKB5ihDge5BHdu3 mO1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696944847; x=1697549647; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u3ufIXJTPDUi37xaLcqz/JBb6qC8rajJx6bDQbsS0J0=; b=ubSIpxK50GvTHgTA+P4W8IHxZEGxbEh55lus6fnVmIANzAUTd7+JudnqP/p+mnoYsC FtuBtIg8ILU9Fs1/UZDPKN+1PNxZfmzjCEJKw7LRHCsgpCSygiRef0tqxY966JBAGlG7 OhaWWUnFxKhNbdihrsYrhYsU0r0yrE7MvN+ZSs/FaYVin4u3Ut6jF9+72uRDkWtAkVSt +L6guaCCfcsNPQ+4pN0Ut6w8MDRrM0PsK/+YqNvvTwWz8OHe680/S5UF9WSxeN/G5bcZ VvxSBbPBQBXLTB2OtdhfoUVbqnkUHzBAAKdlfeK4yGFE1SoknomQpqUgl67L1sLNdVUr bibg== X-Gm-Message-State: AOJu0YzGFjxIkNk5YTJ8ke+4TYxSszZXcWmxnP+cNnCzN0vdsKSAyR59 RFfi46oDm6WmQM83LAPs+xacNCZ3ajcBq2/USu8= X-Received: by 2002:a2e:90c3:0:b0:2c0:172b:dc2b with SMTP id o3-20020a2e90c3000000b002c0172bdc2bmr11490692ljg.14.1696944846944; Tue, 10 Oct 2023 06:34:06 -0700 (PDT) Received: from [172.30.204.192] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id e9-20020a2e8189000000b002c12630e4d3sm2452017ljg.127.2023.10.10.06.34.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Oct 2023 06:34:06 -0700 (PDT) Message-ID: Date: Tue, 10 Oct 2023 15:34:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/4] cpufreq: qcom-nvmem: add support for IPQ8074 Content-Language: en-US To: Robert Marko , ilia.lin@kernel.org, vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, agross@kernel.org, andersson@kernel.org, rafael@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20230930102218.229613-1-robimarko@gmail.com> From: Konrad Dybcio In-Reply-To: <20230930102218.229613-1-robimarko@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 06:34:19 -0700 (PDT) On 9/30/23 12:21, Robert Marko wrote: > IPQ8074 comes in 2 families: > * IPQ8070A/IPQ8071A (Acorn) up to 1.4GHz > * IPQ8072A/IPQ8074A/IPQ8076A/IPQ8078A (Hawkeye) up to 2.2GHz > > So, in order to be able to share one OPP table lets add support for IPQ8074 > family based of SMEM SoC ID-s as speedbin fuse is always 0 on IPQ8074. > > IPQ8074 compatible is blacklisted from DT platdev as the cpufreq device > will get created by NVMEM CPUFreq driver. > > Signed-off-by: Robert Marko > --- > Changes in v4: > * Add support for IPQ8174 (Oak) family > > Changes in v3: > * Use enum for SoC versions > > Changes in v2: > * Print an error if SMEM ID is not part of the IPQ8074 family > and restrict the speed to Acorn variant (1.4GHz) > > drivers/cpufreq/cpufreq-dt-platdev.c | 1 + > drivers/cpufreq/qcom-cpufreq-nvmem.c | 45 ++++++++++++++++++++++++++++ > 2 files changed, 46 insertions(+) > > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c > index 2016d47889c0..157c91b9962c 100644 > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > @@ -180,6 +180,7 @@ static const struct of_device_id blocklist[] __initconst = { > { .compatible = "ti,am62a7", }, > > { .compatible = "qcom,ipq8064", }, > + { .compatible = "qcom,ipq8074", }, > { .compatible = "qcom,apq8064", }, > { .compatible = "qcom,msm8974", }, > { .compatible = "qcom,msm8960", }, Generally this lands in a separate commit, but I guess since Viresh takes changes to both of the files, it's even better.. Acked-by: Konrad Dybcio Konrad