From patchwork Sun Aug 27 03:27:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 717483 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2FBC2C83F01 for ; Sun, 27 Aug 2023 03:29:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjH0D2i (ORCPT ); Sat, 26 Aug 2023 23:28:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229948AbjH0D2J (ORCPT ); Sat, 26 Aug 2023 23:28:09 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AADBEDA for ; Sat, 26 Aug 2023 20:28:06 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4ffa6e25ebbso3773950e87.0 for ; Sat, 26 Aug 2023 20:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693106885; x=1693711685; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=48xtmF1RnTb+8jPIXovOcqZJ91keOMez755QP1H58RQ=; b=XWRUrkYylmdHJ+m4eo20x5wpsT8zClDJNCgFw/AyBsMmAzdCWa9qJ7gPcZU9/JLX0v wk1WCbbEpUTPKPUcU0tQYwJhLL6wt+0/NmYq26bbD8E5nZPV54Q0P8dLT/jHh4NRB/5P MkhZwNh/fihWnNKvX5rXIY4RvMbMmBdJmvwokHsiPttOCHLuY8s5yhFItiGYSyUfXGMx jTxAAL2zUYiuKFDeIdF2cdQNDu1kb+AvNGG33xrXDs1q2M8uje+M3QqXIfRzbFvSXJVp +wgR9zp5qtuA2wK5S+90Soh6+sp6yGTnPiLhOk/RoUtWwUGZQ6g3mquIO46rNwquUnRZ ViIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693106885; x=1693711685; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=48xtmF1RnTb+8jPIXovOcqZJ91keOMez755QP1H58RQ=; b=lKLfQ1paAlFFnlHS6R4bNWVhfGrhhPnnpxDjQK05LympcWl3VzgmDY6jDveMrIuFqn 9MWzwofCgqs6ZQxikWTapZlUdikourGuwn6R2B4FFPprMamviqNBQ1MWNzpyhSA8HiEY U29paGKYOnuGRcqf0zM4B9q4yblenOmPEHYrba62v8xEHowhoVPdePFAo30sV+mMfT25 kDD/ijqq3DtHs4qOcyimN19t7ZNTb5skwyhtPoIc5piQbR8VkQTaAOMEZtLACCQvO9Rl Xd0D1Ji73n7MUB9ub94UiJ9EtrEaKo+DVxHFJ5oj8JX5elkLri/7tUgDDIePAR5g9oVQ sp+Q== X-Gm-Message-State: AOJu0YwnYizoqoeJkjV59fi6qFiDHOvl2/knSLO0s3mcEMZihkZG6p70 r0pG1ROb5MBeLXtBIfa70404dQ== X-Google-Smtp-Source: AGHT+IEP1TwgavtqGqI8GF+JZMvSgf4yFA5cu5rgQxO5fBAFgONeasxDuVAOx1984PXjxIsEg9lenw== X-Received: by 2002:a05:6512:3ba2:b0:500:91f6:f129 with SMTP id g34-20020a0565123ba200b0050091f6f129mr6263855lfv.26.1693106884785; Sat, 26 Aug 2023 20:28:04 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id w7-20020ac254a7000000b004fb99da37e3sm955709lfk.220.2023.08.26.20.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 20:28:04 -0700 (PDT) From: Dmitry Baryshkov To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Ilia Lin , Viresh Kumar , Nishanth Menon , Stephen Boyd , Michael Turquette , "Rafael J. Wysocki" , Georgi Djakov Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-clk@vger.kernel.org, Christian Marangi , Stephan Gerhold Subject: [PATCH v4 0/6] cpufreq: qcom-nvmem: support apq8064 cpufreq scaling Date: Sun, 27 Aug 2023 06:27:57 +0300 Message-Id: <20230827032803.934819-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This is a split of APQ8064 cpufreq series, as requested by Viresh. This series includes only opp and cpufreq parts, with the DT and soc parts being split to a separate patchset. Each core has independent power and frequency control. Additionally the L2 cache is scaled to follow the CPU frequencies (failure to do so results in strange semi-random crashes). Core voltage is controlled through the SAW2 devices, one for each core. The L2 has two regulators, vdd-mem and vdd-dig. Dmitry Baryshkov (6): dt-bindings: opp: opp-v2-kryo-cpu: support Qualcomm Krait SoCs cpufreq: qcom-nvmem: create L2 cache device cpufreq: qcom-nvmem: also accept operating-points-v2-krait-cpu cpufreq: qcom-nvmem: drop pvs_ver for format a fuses cpufreq: qcom-nvmem: provide separate configuration data for apq8064 cpufreq: qcom-nvmem: enable core voltage scaling for MSM8960 .../bindings/opp/opp-v2-kryo-cpu.yaml | 12 ++- drivers/cpufreq/qcom-cpufreq-nvmem.c | 80 +++++++++++++++++-- 2 files changed, 81 insertions(+), 11 deletions(-)