Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp257203rdb; Thu, 19 Oct 2023 03:50:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMZ/csIhWQ7nLJW856QveFBbOT2MP4r9ZqwOzsaR40jpptUvFCc4FcKT5xkd+jQt9NuLG/ X-Received: by 2002:a05:6a20:4295:b0:161:346a:e7a1 with SMTP id o21-20020a056a20429500b00161346ae7a1mr1900314pzj.5.1697712630236; Thu, 19 Oct 2023 03:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697712630; cv=none; d=google.com; s=arc-20160816; b=D70kO1zeJNM4G5WPxNRMtAbksN7VZ7j9+nAKcyrr8Y5ddAxe8fdoZWxstlrF8JZQ9h PoXljZ/jzSqve5fj9Xg6kbeYuVg9EZPINboJcYXVkph4VoGFib9xBVFcIXCpi7us8E/Y UOsQ4fDTND1YxFcyvCiDsql2XsG4iaPuKlLmRsU0Z841xSewM6TmePj6Trv3aLywZWio 0Ul3tGdV6WrJ9PTZmjAc0n6nSnpDlISMi3tWr/pO42HNV8O+GjYYlBlEmHvgCi3CSzVl AW4Dzu1/4IU7+eYQ/nGNA70KPboLsRLzuNAoNDcnpxNmUnvkol5K+cKveMic6l8auPx7 DnFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=C+gbCa2csUvJih5CA9T+IQ2LilG5fw1D7E53qTqhBP4=; fh=7EyVPEStxLv50kukv5iXc0rqK8dEBepnfjgfsr/5XFo=; b=0GhitFksvo1eve2VFcAjfOm8rCCgjECkabt6WzUroyGeuZuucVFPU31b+skQP3h1RM SZ6I/foghZFB0jAYVt58vqYyXovtTX3yVYlaVI+S2V/3r/oA33ITpOXWa11hspACnSgC 1ANuL7cOsMWUmL/iBH8+o0Px6EzSKbebSeCgv6RpH7rWG8aTIZE3VwkxgRRDcmHeiKVl JOhqtk4NpD85kCig0BJTT/UsiyPzn1g1HOMZkcrDVQJLG0c8oed38S4PPIG80o2TiHEt VXLIEFxfgWRcuRK3XHpEhG0afsZOzmKPJcvE+t8zHXLy81JLfFJCpnhUkkzLOHQCMFDJ hXfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QMDAS958; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q9-20020a655249000000b0059ff7c499c8si4138396pgp.746.2023.10.19.03.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:50:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QMDAS958; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 427F9822CB76; Thu, 19 Oct 2023 03:50:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345224AbjJSKuZ (ORCPT + 99 others); Thu, 19 Oct 2023 06:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232678AbjJSKuW (ORCPT ); Thu, 19 Oct 2023 06:50:22 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6018C124; Thu, 19 Oct 2023 03:50:20 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40651a72807so69764125e9.1; Thu, 19 Oct 2023 03:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697712619; x=1698317419; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=C+gbCa2csUvJih5CA9T+IQ2LilG5fw1D7E53qTqhBP4=; b=QMDAS958Eqejyl7NUWQCplOrmHYKGMBHrRSFMENdJVF73ijRH766H+UYo0Gl/v77E/ E/P8ePTOgkf8i+tylxBcFyj9faDRgHNNlh5ePjE371hWsYUGrB4W7P7Ft7vvXq3kB4I7 O9F4oKpj47gaq6tu65XWiq7WZ9XYlFDyCrynt+JvByrZr+RntiHzpq/tWt5sbRn1YPk5 gBYQZowtKDpzFmgC4zB0Alo6G969lsj/jQefl9XNcHCT3LOHyfKrGUM7m2cbno09yZkz 8/EOrrYPEG7jRLsnKJLeEaUlp6SgQ/sD7dBv7uXug+T677Ph+SwfYD3r93AnrdCP8gNe J2qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697712619; x=1698317419; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C+gbCa2csUvJih5CA9T+IQ2LilG5fw1D7E53qTqhBP4=; b=YtApKpGcLYAuzaesDYkYnJ2jpoUZS9pz7RMWknAek1e367tyZ6Aecw9tCAnkgXmBme UR7wI1bz17PY0mEEwMr2aEji9lvUBeK5arqO6I4ymIOxeGsrW+2Tj9o5vVTd0mhGfEQJ sum7NuWgHsakFcUQ9IezirdnAM4osoxr6WQ6F56Ti4KMQHbdExIyrepwm+uUmSa2hbAR auWj1K9WpRyVVt9O36fLhO7L4NrmgaUGqqSLF+jViqwqIQx0d2FfIhZLKyQEP0WEV/+V LJuIjNxlRlzMZZu8lso2meDkGfAUf9kdw1yf6QRBKIvtDT6rp4DcwuRhDDfETekV8qwm mNvg== X-Gm-Message-State: AOJu0YzJ7FXUalizTL0Gic/Xi4xdSfnz1uU231UcEDEWA8F6H9jfCD5j L8SbnzomolCbiUwjroFWwSY= X-Received: by 2002:a05:600c:1c85:b0:407:5b54:bb10 with SMTP id k5-20020a05600c1c8500b004075b54bb10mr1612242wms.8.1697712618388; Thu, 19 Oct 2023 03:50:18 -0700 (PDT) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id bh9-20020a05600c3d0900b003feae747ff2sm4129511wmb.35.2023.10.19.03.50.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 03:50:17 -0700 (PDT) From: Christian Marangi To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ilia Lin , "Rafael J. Wysocki" , Viresh Kumar , Christian Marangi , Sricharan Ramabadhran , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH v7 0/4] cpufreq: qcom-nvmem: add support for ipq806x Date: Thu, 19 Oct 2023 12:50:07 +0200 Message-Id: <20231019105011.7289-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 03:50:29 -0700 (PDT) This series originally added support also for ipq807x. This part was split and is now merged. This patch was originally dependent of [1] but was later reverted due to compilation problem. [1] had some changes that weren't related to the compilation problem and were just a fixup. This series include these 2 required patches from [1] that are just cleanup and won't cause any problem. These 2 patch were already checked and accepted by maintainers. This small series adds support for ipq806x qcom-cpufreq-nvmem driver. Special function are required to make use of the opp-supported-hw binding by hardcoding custom bits based on the qcom SoC ID. [1] https://lore.kernel.org/linux-pm/20231010063235.rj2ehxugtjr5x2xr@vireshk-i7/T/#t Christian Marangi (2): cpufreq: qcom-nvmem: add support for IPQ8064 ARM: dts: qcom: ipq8064: Add CPU OPP table Dmitry Baryshkov (2): cpufreq: qcom-nvmem: drop pvs_ver for format a fuses cpufreq: qcom-nvmem: also accept operating-points-v2-krait-cpu arch/arm/boot/dts/qcom/qcom-ipq8062.dtsi | 30 ++++++++++ arch/arm/boot/dts/qcom/qcom-ipq8064.dtsi | 67 +++++++++++++++++++++ arch/arm/boot/dts/qcom/qcom-ipq8065.dtsi | 65 ++++++++++++++++++++ drivers/cpufreq/qcom-cpufreq-nvmem.c | 75 ++++++++++++++++++++++-- 4 files changed, 232 insertions(+), 5 deletions(-) -- 2.40.1