Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1536223rdb; Sat, 10 Feb 2024 06:13:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHF8hhnPc3qaEdaWmnc7wGpK2ffp4ky8KsBWc+N2HbCym7mUTDIX7ju7DSrVdyQ2Qp5qi0Z X-Received: by 2002:a0c:e2cc:0:b0:68c:64d3:d98c with SMTP id t12-20020a0ce2cc000000b0068c64d3d98cmr2135942qvl.53.1707574419691; Sat, 10 Feb 2024 06:13:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707574419; cv=pass; d=google.com; s=arc-20160816; b=TcXgAsVTf41tiEJm9lDKGKygmnmrIEF/qPnSB6EeoSyKhlqD1Hbt8KqvBPrOw1qgG6 HF52STjZKZDWUo0nvIPSCXWYjEPAW7SjHTvPEa19aCTjEO9ahEWjHb7D7aEeXRsZXNIy H/fL1D63GDEBPE9LO+BS+Wax8GMD8EJ6knvE77y+T9NstY5pSK74nyqS/4cAEjvDWOR9 a3PFMC+1BUiS2EYvOgWyf6/Uocc9GXukDnqBM3n7YT1jcIDvO9r+V6pWZrFEL0w7SaUf amL12ZnG0WrasBq0P4HG4CeFZXxkGKCb9sKWipH5uNAXQC+6IzU4H98wa7MvxkNU1xOz 9LOA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=8F3YLf/0CElOANZtEglQP+hqxNrNYSl80wrkR4ZnWi8=; fh=BZkgMXLeyXIlkUT9ImAayhEZM+skz+u6oObcj8TIO1M=; b=Puec59s0bFiJ0mWTQzPu7jt6SPTQc3x6muULuHDUh5n8eB3Z+60BxMG7i1B8iiaXzl LBPShJ/9XWWdpqBz0yiOjRkQSs9ey+s6dXV1tGGUK08Bciq0NeWXYVmpjnfU9BMLNXk0 y74IgLzzW6fk7ahWQFlVr+TBWkIAt78FmIq05fu2PJDLQRMYzcnkLnys4Ojp6gyGqY55 Ra40xaALN2r/TuQ577R4xZLGjY3H4YW7J/5i2X/mn6Db4ZvIIa1do4vWeT6I5aak+fot VWf6od7qk+3jIXfs8pOLeJuL58WfN5uXWLYEPvd5cBlQzi6/9lhgFtPtUdf3VhROaBxu WfLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=rjd1A5Yw; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-60416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz X-Forwarded-Encrypted: i=2; AJvYcCXMMi6R76Cn8QZ0RH99iTTnjCdTDfwa5r5acHN/J9pgNxy8+6KxEF2mP0MZCVBm7xflqtegMNgXuuIyPEcAaZS9TFpDPRocn49lYVNCPQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ge14-20020a05621427ce00b0068d053b1395si24416qvb.400.2024.02.10.06.13.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 06:13:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=s1 header.b=rjd1A5Yw; arc=pass (i=1 spf=pass spfdomain=z3ntu.xyz dkim=pass dkdomain=z3ntu.xyz dmarc=pass fromdomain=z3ntu.xyz); spf=pass (google.com: domain of linux-kernel+bounces-60416-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60416-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 67E391C21419 for ; Sat, 10 Feb 2024 14:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6848653E2D; Sat, 10 Feb 2024 14:13:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b="rjd1A5Yw" Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DADD753E03; Sat, 10 Feb 2024 14:13:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707574408; cv=none; b=a3Ltp+T+vvzWLeRIqVvDznObLynDKu8+CrMxz762fqnRvlv1b7GCF3kJzN6tybHBarMX9Ibv+SrSEDMkGybVgwUDAg9Ya6u6wy0fytZ/wzCu3EcB8UOcLZ9zF2djS08MM0aYfn/0xW5Fmqoz15f3qR8ozbE/aAN6FNj74jBpYU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707574408; c=relaxed/simple; bh=k0BTFLmUwPs99wnDROHreAYsJESy48xS/LYqqLEr4a0=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=f0MTfX8G/AbtQ1Cx7UNqQlpJULgaoqAe9S4dyqVSO6fBz3xqekAoLpifdnC/Px438zRqCNpkeh1HBaQB+8uUHT8eE2tKiEsYmBv/bgANGDZKHR0UMYyXJn8z6TFxaZXxtvTB+FfTKHb6mBCKLvLk4lEqGNdfqNKrkJzbG4UG1p8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz; spf=pass smtp.mailfrom=z3ntu.xyz; dkim=pass (1024-bit key) header.d=z3ntu.xyz header.i=@z3ntu.xyz header.b=rjd1A5Yw; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=z3ntu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=z3ntu.xyz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=s1; t=1707574398; bh=k0BTFLmUwPs99wnDROHreAYsJESy48xS/LYqqLEr4a0=; h=From:Subject:Date:To:Cc; b=rjd1A5Ywu7n7HM2uIpGlOd2FuSo1hIcY+at2qg9wwmb97ARaCTRuJvX4bVOtXgvD/ x0g7dWFSVPL07Qzxc8oMgswMk84AzKnMY/czwoHX4Jwnaz5wvgRYMX/6n4CDSAGs4m srb1pRa5fxcSGgVf2Rcxu0AhJBUzdUayJsOLLVHY= From: Luca Weiss Subject: [PATCH 0/3] Add RPMPD support for MSM8974 Date: Sat, 10 Feb 2024 15:12:54 +0100 Message-Id: <20240210-msm8974-rpmpd-v1-0-de9355e6842a@z3ntu.xyz> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGaEx2UC/x3MQQqAIBBA0avErBPULK2rRIvIsWahiUIE4t2Tl m/xf4GMiTDD0hVI+FCmOzSIvoPj2sOJjGwzSC4Vl4Izn72ZtWIp+mjZhMo4HLSSeoTWxISO3v+ 3brV+DaNGL18AAAA= To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Stephan Gerhold , =?utf-8?q?Matti_Lehtim=C3=A4ki?= Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1021; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=k0BTFLmUwPs99wnDROHreAYsJESy48xS/LYqqLEr4a0=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlx4RpGyQjD6B2c76jO4pelr2m8P6IQkQZtJdLu kvN5P3NSJaJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZceEaQAKCRBy2EO4nU3X VjF2D/wO52RLi/5TYtuH1Zdr8fA7quTFv0SyiHlxH3UNVddW5sIJArMzGUokxqtQEwF2Yrcu+JA 8Fl5+bRyONjbzvdUvfAIAQPrZrrWSDD5VZoE/XOdI4+/QuQikfr8VQItU1nYpPMG8Bx/N/MdEQj sG8LIP4W/mGWoTpl/OnRKtBeia9zoOKPYFtSwqmtTFV/I47HOdoY+5m1XwM7vRAMqpLVgRnuXbV 0Mfi8GDM6zpgOU73Zk/XmdX2TTP3ozB2rOQO5mDO7m904+BNA6RmqUm8tfLLdXaCYZLlZpKHOTM XX9WA2r+Kdcm8U1c+sFZHQnK2qTZ/Vx0mNN923FUmTicXOQ5d/ipoX56s13N8+ri/3tffj3HwFV cnqnM4dQUZ3uNjPUuDRD0TuA76o61vNp+x17muC4dpXLgHwzKi7E067uWaeBk8S21bJxzLKZA+z 0dlQ6x+wpEG4xR/9F98xUGY9fJSvEqwlaWOd7HyTeTN1mWLPevOr15ObG296x+7Rqhv+Cm28Tmq 8HiiBXxR/fl/bQV39YdzVv49u/STVbfM/n+5ku0EfOkuEehOgPCzOfekVe2c/aedPBiXod1ukSV nyo9NTMNt4oLt0K0xdx3LDfreg4nyz+ttJcSIBqQ7hIThtIpVeqn8GbWmU5D1bts+8mm/XzHwuH UVJMCyP4oOnwqGQ== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD Add driver support for the RPM power domains found on the different MSM8974 devices. Devicetree integration will come at a later point since also some mostly remoteproc drivers need to be adjusted. Also the MX power domains on this SoC seems to work quite a bit differently, we'd need to send raw voltages to it, so these are ignored in this series. Signed-off-by: Luca Weiss --- Luca Weiss (3): dt-bindings: power: rpmpd: Add MSM8974 power domains pmdomain: qcom: rpmpd: Add MSM8974+PM8841 power domains pmdomain: qcom: rpmpd: Add MSM8974PRO+PMA8084 power domains .../devicetree/bindings/power/qcom,rpmpd.yaml | 2 + drivers/pmdomain/qcom/rpmpd.c | 107 +++++++++++++++++++++ include/dt-bindings/power/qcom-rpmpd.h | 8 ++ 3 files changed, 117 insertions(+) --- base-commit: 6e3fa474051f3d276ea708bdb8e8e1f66d1d3ee5 change-id: 20240210-msm8974-rpmpd-6e48fe374275 Best regards, -- Luca Weiss