From patchwork Thu Sep 14 06:54:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Otto_Pfl=C3=BCger?= X-Patchwork-Id: 13384670 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 33BA2EDE98A for ; Thu, 14 Sep 2023 06:55:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235071AbjINGz1 (ORCPT ); Thu, 14 Sep 2023 02:55:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233682AbjINGz0 (ORCPT ); Thu, 14 Sep 2023 02:55:26 -0400 Received: from srv01.abscue.de (abscue.de [89.58.28.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 684DCCCD; Wed, 13 Sep 2023 23:55:21 -0700 (PDT) Received: from srv01.abscue.de (localhost [127.0.0.1]) by spamfilter.srv.local (Postfix) with ESMTP id 676831C3D96; Thu, 14 Sep 2023 08:55:18 +0200 (CEST) Received: from fluffy-mammal.fritz.box (dslb-092-072-000-199.092.072.pools.vodafone-ip.de [92.72.0.199]) by srv01.abscue.de (Postfix) with ESMTPSA id 044411C0119; Thu, 14 Sep 2023 08:55:17 +0200 (CEST) From: =?utf-8?q?Otto_Pfl=C3=BCger?= To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, =?utf-8?q?Otto_Pfl?= =?utf-8?q?=C3=BCger?= Subject: [PATCH v3 0/3] pmdomain: qcom: rpmpd: Add MSM8917 and similar SoCs Date: Thu, 14 Sep 2023 08:54:20 +0200 Message-Id: <20230914065422.5452-1-otto.pflueger@abscue.de> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add RPM power domain definitions for the Qualcomm MSM8917, MSM8937 and QM215 SoCs. These SoCs all have the same power domains (VDDCX and VDDMX in voltage level mode), but different regulators are needed for QM215 because it is used with a PM8916 PMIC instead of a PM8937 PMIC. --- Changes in v3: - Sort compatibles in device tree binding documentation (suggested by Krzysztof) - Rebase on latest next with genpd subsystem renamed to pmdomain Changes in v2: - Fix typo in patch description: VDDMD -> VDDMX - Split MSM8917 and QM215 changes (suggested by Konrad) - Remove redundant qcom,msm8937-rpmpd entry from rpmpd_match_table and use a fallback compatible instead (suggested by Konrad) Otto Pflüger (3): dt-bindings: power: rpmpd: Add MSM8917, MSM8937 and QM215 pmdomain: qcom: rpmpd: Add MSM8917 power domains pmdomain: qcom: rpmpd: Add QM215 power domains .../devicetree/bindings/power/qcom,rpmpd.yaml | 79 ++++++++-------- drivers/pmdomain/qcom/rpmpd.c | 91 +++++++++++++++++++ include/dt-bindings/power/qcom-rpmpd.h | 21 +++++ 3 files changed, 155 insertions(+), 36 deletions(-) base-commit: 98897dc735cf6635f0966f76eb0108354168fb15