Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp1116947rdg; Fri, 13 Oct 2023 10:39:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHc56mfryJ6JhZ3Xr2FBr9S1YREvqksyM+nXWxw8G3eQSmYnUNa/fcq3ywSJEyzrdOGLYFX X-Received: by 2002:a05:6870:f708:b0:1dc:c65e:ded2 with SMTP id ej8-20020a056870f70800b001dcc65eded2mr29510042oab.12.1697218760843; Fri, 13 Oct 2023 10:39:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697218760; cv=none; d=google.com; s=arc-20160816; b=J02puBzUWgVc92DJWYamlJE/cTpP57LCKiZpa+ODYPBsfIfLqCPIfJJlWmRAnZnH7r r6+G0x5JdzCk//7YGeLk77GyBoi4RUq+weuwSl92KapQVf/GhYCS9h1T2sAPEr1yUfYI dRK0xmql2xubOoIlnh+wNH4o4vEDGqbA+ifMeZu2Rj3Xp2yfFKHsw9nI2G+mOuPj6xqr UFsK3F8f+vPijJNakTO+LFmn6eu0KHO8xiV2rmayOMQX/wJnvi0W7lAiqtaK4i6p5Aox auZujs/Tw8pns/5z8QRC8fibeALwKx5TLAShPn7HyOwAEY3Kua+5zGZyDfYR5J9AmAuN zIAA== 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=QndAysEcjRZb1ANM+BMG6K7yceyFxrhj3DWZc7EYYLs=; fh=h/LCnIzlY3/NFeA4jh8tUKj8KmZMYr9NqtNZOvFXmwI=; b=yPE5HwjRuX9TWqYlLWs+IrV7Z5/ll9gwjA7B+DtfWz4osqwj5zN98AhNhvYHWzLFTl U6rXbYvlVY2RUGMHQG0Au3IdnfvyB6g1socTaJ76W0XWVXkIJxQcEeVlpZUjhxJBSu1d D/LVPetVaFowBWZkvG4Yf/4fTjLHd8Ka1Z7a5oV9UJ/1gmMT+p+ZawC3rohovVfvOEzr SYWlodVCcca4dEZKY9HqEuOoJzqgAQHO4oV8c+gIYHt/rz8Ht9uvj0RfiT+aS0qcAxfE OKvh/hbO+8a14ap+Nq2p0slT3+saJ0cpKCZTPJ/OrRbP2i6rc5LS0b4vEOQ4payEBrJK IOcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JfiQkx++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id q23-20020a635057000000b00578c914490bsi5007563pgl.494.2023.10.13.10.39.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 10:39:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JfiQkx++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id C872B83DD706; Fri, 13 Oct 2023 10:39:17 -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 S229923AbjJMRjG (ORCPT + 99 others); Fri, 13 Oct 2023 13:39:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjJMRjF (ORCPT ); Fri, 13 Oct 2023 13:39:05 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EA1DA9; Fri, 13 Oct 2023 10:39:03 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40537481094so24942685e9.0; Fri, 13 Oct 2023 10:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697218742; x=1697823542; 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=QndAysEcjRZb1ANM+BMG6K7yceyFxrhj3DWZc7EYYLs=; b=JfiQkx++FMKHJRq6Br3TZ0tE4xHbvZ4JfZ9z9/hrTwu/dpLOhbZ00vQNI0KkLvGWP0 IlQHwm0EJaKkcTDFeZwUDutfIknErTAjQj3V23epYHz1hJJUuM0dlCYusCGvKeUsz/TO nIgTaOJvgJpgPjmzA3H46bivIrBa4QNtwvHNHU5A7KngXBTBMpsjOyoLXiCBjyTtrwjP W8W5QNflAT2TriU2zxB4txvGcN/sANeC/hovYsmJJfRPIcoR20UxqznK4mINaYT9wxg5 p82TlW5ZNzaSqn/XiZhh+hRW0hI3gY7xPB/3x1giACheEA3okFBs/7/Pog6jJGbvgya0 Jt3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697218742; x=1697823542; 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=QndAysEcjRZb1ANM+BMG6K7yceyFxrhj3DWZc7EYYLs=; b=t2c0JTK0Hu2WIEjQOn6ha1uj17jvE3Eo0ljPvn4cEjM5OulFPMCbZo8XM9iVU+WY/k HVt2wYcO85Q7YxuqqwrXKx657qNBRGH2gVLUYrJt+o0u/33wOIerFxNe+GdkG5tUmMNT cbC4woePkg4mb1KhgIqMaNoGhrQw5+mndXECYVfkGDBDij/zIW63/6qeCgnjLUCUCBTC 9II5/RmlMzisk6OUdCMbAuxJqcMpZSUkrI4NX9KZfDBe7BGGG+VSFoN/6dywmvSjWYXy F+T61jcI8opkudASTurmZAOq8bpwRAwmekpGhr5xq1TWl8xTclXYIzhEPW4ZLtFzQumM 9M1A== X-Gm-Message-State: AOJu0YwuCLFqPRXNANXfCVXvdSNdzvprSXV6+zycADZHlPtG3Y+3BA5V Qr8W9znJECDhM0pQ7iwFiZE= X-Received: by 2002:a7b:c454:0:b0:403:b6bc:dc83 with SMTP id l20-20020a7bc454000000b00403b6bcdc83mr24373034wmi.38.1697218741480; Fri, 13 Oct 2023 10:39:01 -0700 (PDT) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id j11-20020a05600c42cb00b0040652e8ca13sm692074wme.43.2023.10.13.10.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 10:39:01 -0700 (PDT) From: Christian Marangi To: Ilia Lin , Andy Gross , Bjorn Andersson , Konrad Dybcio , "Rafael J. Wysocki" , Viresh Kumar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Stephen Boyd , Sricharan Ramabadhran , Christian Marangi , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 0/4] cpufreq: qcom-nvmem: add support for ipq806x Date: Fri, 13 Oct 2023 19:38:50 +0200 Message-Id: <20231013173854.7399-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=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 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]); Fri, 13 Oct 2023 10:39:18 -0700 (PDT) The first patch of this series was split to a separate series as it doesn't depend on [1] and can be applied right away, [1] introduced some breaking change to function that ipq806x, ipq807x patch was dropped to permit an easier rebase and merge of both. 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. The qcom-cpufreq-nvmem driver had recent changes to also improve support for apq8064. Because of this, this series depends on a just merged series. Depends on [1]. [1] https://lore.kernel.org/linux-pm/20231010063235.rj2ehxugtjr5x2xr@vireshk-i7/T/#t Christian Marangi (4): dt-bindings: cpufreq: qcom-cpufreq-nvmem: Document krait-cpu dt-bindings: opp: opp-v2-kryo-cpu: Document named opp-microvolt property cpufreq: qcom-nvmem: add support for IPQ8064 ARM: dts: qcom: ipq8064: Add CPU OPP table .../bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 4 +- .../bindings/opp/opp-v2-kryo-cpu.yaml | 22 ++++++ 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 | 67 ++++++++++++++++++- 6 files changed, 253 insertions(+), 2 deletions(-) -- 2.40.1