From patchwork Sun Jan 28 01:32:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 767571 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 A2FC01378 for ; Sun, 28 Jan 2024 01:32:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706405577; cv=none; b=jFahxsX1xS4ZflZ1K/OX6f/TAu878IeO5cRnmEflZoc7GZm+Bzi2eGiJZMw3eCMsXXclZSmVUF5LI58G+OY/WyGdxA7upoTc3Ls11m18treznOHTvk/ATYhb9NQfc+MwiJu6DjNFZnDsEcOYjBM/8Y2UJ4QLh2os4y76I8FHpq0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706405577; c=relaxed/simple; bh=V1od66KS+dMJTSlsL7+zUxXYhGjHTLLmLk+FNtFMc6I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hBH1DXMvCQaD2EgUasuV9sJZvjTCYPt2QIhRLE8vq7p550yMB9oxC4dFeVCVFc1MM4I3847tRc8jPlCA6h+Fnw8JAmtKs1mz3nSW3pH94T/sGRZH3v67Y992yy8G3ubIJGpq86h/kc1/PGHiacYYNhWOoh2rIOJKngWDAmCD4LE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=H0bdGeaC; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="H0bdGeaC" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2cf593af2ebso4979721fa.1 for ; Sat, 27 Jan 2024 17:32:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706405574; x=1707010374; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Q9Q1aDcdV3en2hsifnnhB9yh7irCpTeewTvcz663l94=; b=H0bdGeaCS7EfRHYDunaq8JBv/oangP1LiEPBBRXCFBxvaxWz+xovNzLt+FYm4IQp9B +9I6qz9fNkIzfO9D9QS6hpKuDJKt40PvsUlVJnqQWp47U+lMmVSzB1rIL5p+lUWIotGH lLWFjGsv0IVqvlf5KyD6PUwDvjBe+slEvNCSD8PtbEfikXS5REjzQGautCDpvdopDnKr ibf22Z7wJZDd9Ng5ciJJCAdotHHF/s9bpwoGIxICo5cEpSep503xVaRpQN3eMWw4BB3V Ki2wUVJsRKtDylO5n2eVaS5/ACgLc+uiMFdG18v+T2Sn0LGZJB++jV0TIB7nnR+jkCNG 2wVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706405574; x=1707010374; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q9Q1aDcdV3en2hsifnnhB9yh7irCpTeewTvcz663l94=; b=Z9ay/S9srs9RtZZ2NkjUDF95kYjl010h8X+s0TahhfBoHADWAWKcdcWe+VEwFipe3E 37Hvyv9iKJV8buTYqBTMyVEV1SxEOQu2D4CQaVF9N26EvdZ4FFwhx5SNKDcS1GtG8mTy 2GvwrZa//ebm42eQ8/Rl6Ms1Dm3yigyQ+NhUGgUF+m0NSAx/V7riuNe/JiKFUZbvliMD 23i+O+KqlNfvxrgf7daE7XDaC2K/nvfL/sRm1UDahfMkHrKuce1CTidyWzjXJEqOv9CW TF7z9zibaf26gcFUcqYgAWBjo2yVBbOPpZu8POSfD5dQ/KHuwvdWYkEA2LrLZtszSI6E iqzg== X-Gm-Message-State: AOJu0YzEnsg0LS6onj1fF8p5AGwJmfX5a3tb2+XqL702GJvCqG8yMUlf BAPhJXy51j2e3UyekTAjn31aetVnwoMhyJ7ObFIkUlBezHeGMUIR3VvFfdddsAo= X-Google-Smtp-Source: AGHT+IHLO6glY04uC4NRSwyItmx+x+A+WJRwKmKVGhltrUkgg0UhI1y6V+7kgeY6pW9SQR7L08KRnA== X-Received: by 2002:a2e:9ad7:0:b0:2cf:2e75:be93 with SMTP id p23-20020a2e9ad7000000b002cf2e75be93mr1089351ljj.2.1706405573842; Sat, 27 Jan 2024 17:32:53 -0800 (PST) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id y14-20020a2e95ce000000b002cef959509asm662150ljh.24.2024.01.27.17.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 17:32:53 -0800 (PST) From: Dmitry Baryshkov Date: Sun, 28 Jan 2024 03:32:44 +0200 Subject: [PATCH v2 1/2] soc: qcom: socinfo: rename PM2250 to PM4125 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240128-pm2250-pm4125-rename-v2-1-d51987e9f83a@linaro.org> References: <20240128-pm2250-pm4125-rename-v2-0-d51987e9f83a@linaro.org> In-Reply-To: <20240128-pm2250-pm4125-rename-v2-0-d51987e9f83a@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1482; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=V1od66KS+dMJTSlsL7+zUxXYhGjHTLLmLk+FNtFMc6I=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlta7EBPWtGw9ZujPQxSkG/vsIWEvwBDFtsBKcJ e69wBD43WOJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZbWuxAAKCRCLPIo+Aiko 1TpLB/9XEwUpkM+c9GesGr+FNrb6rMhajWf+j6jTkjm+EUBVfvsDCAhBFRpgBvIpZskZWRWriJ2 Y9M6Ama/K00x6FvLAXtK6nEAIoXytmvI1jqM078nDFFo2eQ+ff2eNokdA+1g4m3uZ2jAlu+cFdL wuIF/tLlLJCB/mxE7y3oKrB+SM/IKaIwyrhz7IRSq7RgHQFQ7jqOY4ZK2qiAmSJQmKbg4HhJwnD pgRKJDb4P2/yt44ZT3zO96D/3CmuozUzrCv1cVvLuu0gfMeBP2qtur4TrGnMnqzJ4WMK/BuYdgF /RWEy9eRK3H3aVQXFO7z40pGIfyroDQSDUlQ7iVYPhD6mEEv X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A It seems, the only actual mentions of PM2250 can be found are related to the Qualcomm RB1 platform. However even RB1 schematics use PM4125 as a PMIC name. Rename PM2250 to PM4125 to follow the documentation. Fixes: 082f9bc60f33 ("soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs") Fixes: 112d96fd2927 ("soc: qcom: socinfo: Add some PMICs") Acked-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- drivers/soc/qcom/socinfo.c | 2 +- include/soc/qcom/qcom-spmi-pmic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 6349a0debeb5..a980020ab854 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -124,7 +124,7 @@ static const char *const pmic_models[] = { [50] = "PM8350B", [51] = "PMR735A", [52] = "PMR735B", - [55] = "PM2250", + [55] = "PM4125", [58] = "PM8450", [65] = "PM8010", [69] = "PM8550VS", diff --git a/include/soc/qcom/qcom-spmi-pmic.h b/include/soc/qcom/qcom-spmi-pmic.h index 17a0a8c3d656..a62d500a6fda 100644 --- a/include/soc/qcom/qcom-spmi-pmic.h +++ b/include/soc/qcom/qcom-spmi-pmic.h @@ -49,7 +49,7 @@ #define PMK8350_SUBTYPE 0x2f #define PMR735B_SUBTYPE 0x34 #define PM6350_SUBTYPE 0x36 -#define PM2250_SUBTYPE 0x37 +#define PM4125_SUBTYPE 0x37 #define PMI8998_FAB_ID_SMIC 0x11 #define PMI8998_FAB_ID_GF 0x30 From patchwork Sun Jan 28 01:32:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 767570 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (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 A66561392 for ; Sun, 28 Jan 2024 01:32:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706405578; cv=none; b=IC1nEsFRT01C5YV7H9p+qosMA85v7KHPuhHw7xoveQBdkyXNgEQoS2Mv0zDnE4B5tQfbIkTCmColfEjXxkXnM/hP+5abb0pZtu/9SiVJ8clt1hTIM+NmtVDaXk4zvYgi3XKi9o1WVaANiZ6C8Gwhl44kjVo5jeTPkxKDD6HEYMM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706405578; c=relaxed/simple; bh=WzRV5UwguRg3yqh8XhEyWybsBQ89ZMhXxPJg2bTcmR8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KlOxCOyyUCv8761eHHbx6nmtQolCNjtJczjp9VSHHgZ3uYUTOD2F61be+H3sJYf7EcKytEgS23AQH73cZB8No+PX33IbZ8wMsFnqOqzxtWb5MhGzYm+P26kvv4wNXFxd8xO2GJdBRhVqJk9heOn6R0kmn6YXM9hUcN/4Rr/HB0I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HDS5NeEf; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HDS5NeEf" Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2cf1288097aso22128281fa.0 for ; Sat, 27 Jan 2024 17:32:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706405574; x=1707010374; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=V4ZziGlR1loZQXW8MveG0VqbDBWt6oy23J9j7qs10Ew=; b=HDS5NeEf6obStOPQkxNOJLfPnqtAnHsVNwLPHXh1MNAHLRfKFlMEz7iAfz+8ahJJJF SOP3A5j31yPwejBF27vEH8jLQcPJb1yOT1vrIAzRbrRkdzWkqROGBzfzlGCnRk07f4xa FsRBuP4TRRtuCVMTl88+FfnIB8Stijjp7VcY10Opp9ikFIMqAmA5Ca2RZOBKVATD2BKL 5lMZParxaJBtH3Cd8SnRF5mjBffBDTbt7UmSkGVX0a0eEmgVw+oCn4oVcH8MGZSQoONK zk6gES5jOcsHC7AvIpw+j5H2BQHIDYVe7gexIgBjXcFf0kxwW3ARQRN5rYdHcOOWh4c2 2uLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706405574; x=1707010374; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V4ZziGlR1loZQXW8MveG0VqbDBWt6oy23J9j7qs10Ew=; b=E7kIduTVFXHBHOqPqvJLubVYT7qilqda71phPfIodfkA8I1Ag9uv7XL2IokBo0qeIM FMg99E3pnN+Ae5KZrmvsJP9NqDgfz1iA0l6SfzflyHqXPOvkWmQoxdOMvPL/Z8ql0EUn O3dUKGgszIXWhJgan26iQhYDkiQxJe4Edo4ieah7v5UvA68I8i44eKk//cEahBU3Ven3 353Puv4dVC2nVBk/vjh9gLkrZ2rZgv7dS+Aj9LdnFSoeHAz9y7c85PRDVJ5FAHc0Suml VDcDeY7gc9zQ3D2KAqlnldCcueS6U7TAj48Qp4xoS8lRRB+AGTYMdDRabOoFzMsAl2Yh Q/uw== X-Gm-Message-State: AOJu0YwcSYFwSvbGiJKiOZTTwmRdAYAL+xOQ7NYKvd7Axj4IdR7CftZL ZCvp2+mT1bazNlZKp0UtdX/pJWJm6cDJZEIM1SjKjOGSnJqBQnmInz1zYuKFgEk= X-Google-Smtp-Source: AGHT+IGGE1L2E1TqJMhsTk56JyfTn7DXk6r0hSMOmWRnntSr7eZN2z39cO1UFocnQ7nI6stHFNV+9g== X-Received: by 2002:a2e:9b9a:0:b0:2ce:e49:5b38 with SMTP id z26-20020a2e9b9a000000b002ce0e495b38mr1693406lji.29.1706405574495; Sat, 27 Jan 2024 17:32:54 -0800 (PST) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id y14-20020a2e95ce000000b002cef959509asm662150ljh.24.2024.01.27.17.32.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 17:32:54 -0800 (PST) From: Dmitry Baryshkov Date: Sun, 28 Jan 2024 03:32:45 +0200 Subject: [PATCH v2 2/2] arm64: dts: qcom: rename PM2250 to PM4125 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240128-pm2250-pm4125-rename-v2-2-d51987e9f83a@linaro.org> References: <20240128-pm2250-pm4125-rename-v2-0-d51987e9f83a@linaro.org> In-Reply-To: <20240128-pm2250-pm4125-rename-v2-0-d51987e9f83a@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=9063; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=WzRV5UwguRg3yqh8XhEyWybsBQ89ZMhXxPJg2bTcmR8=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlta7EsYYPJDxosOWIqD8YuRnqAlnjj268Phlgy bKea2DUDfqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZbWuxAAKCRCLPIo+Aiko 1QKHB/48eT5/J/X8dd4lHU4EKXNEk5UcQAgWXmakmLuOFX9+nd7j68A5uOuSeB/Em9H3ZyG0E2s y7Susc2Kt7zG2o7AfUlkjDSz/qPVxBvq3V5n+qpygrmhPCNAk3MDb5JBSAmViHjliMRRD7H5IUq TrzQR9Vzmok4ddqMd7gM3etdfemAxsA2rjCTvB1r5gwIQKPXhyFItnsV/YOjHviUXxJvFxYOjRP 652FupBydj1hLs6/NsmeCQMoIw/2FDSB3ROwraFZ2GO6WJtv3hcA4GoImEdsGzHN+lmZ+06iX0+ gcspgSVl1MmIoVu3pkRRLqlISZdMfqM2/4/1CAqKYR40dexo X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A It seems, the only actual mentions of PM2250 can be found are related to the Qualcomm RB1 platform. However even RB1 schematics use PM4125 as a PMIC name. Rename PM2250 to PM4125 to follow the documentation. Note, this doesn't change the compatible strings. There was a previous argument regarding renaming of compat strings. Fixes: c309b9a54039 ("arm64: dts: qcom: Add initial PM2250 device tree") Acked-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- .../boot/dts/qcom/{pm2250.dtsi => pm4125.dtsi} | 8 +-- arch/arm64/boot/dts/qcom/qrb2210-rb1.dts | 78 +++++++++++----------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm2250.dtsi b/arch/arm64/boot/dts/qcom/pm4125.dtsi similarity index 91% rename from arch/arm64/boot/dts/qcom/pm2250.dtsi rename to arch/arm64/boot/dts/qcom/pm4125.dtsi index 5f1d15db5c99..d886a9e4b091 100644 --- a/arch/arm64/boot/dts/qcom/pm2250.dtsi +++ b/arch/arm64/boot/dts/qcom/pm4125.dtsi @@ -19,7 +19,7 @@ pon@800 { compatible = "qcom,pm8916-pon"; reg = <0x800>; - pm2250_pwrkey: pwrkey { + pm4125_pwrkey: pwrkey { compatible = "qcom,pm8941-pwrkey"; interrupts-extended = <&spmi_bus 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; linux,code = ; @@ -27,7 +27,7 @@ pm2250_pwrkey: pwrkey { bias-pull-up; }; - pm2250_resin: resin { + pm4125_resin: resin { compatible = "qcom,pm8941-resin"; interrupts-extended = <&spmi_bus 0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; debounce = <15625>; @@ -43,11 +43,11 @@ rtc@6000 { interrupts-extended = <&spmi_bus 0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; - pm2250_gpios: gpio@c000 { + pm4125_gpios: gpio@c000 { compatible = "qcom,pm2250-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; - gpio-ranges = <&pm2250_gpios 0 0 10>; + gpio-ranges = <&pm4125_gpios 0 0 10>; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; diff --git a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts index aa53b6af6d9c..64b2ab286279 100644 --- a/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts +++ b/arch/arm64/boot/dts/qcom/qrb2210-rb1.dts @@ -7,7 +7,7 @@ #include #include "qcm2290.dtsi" -#include "pm2250.dtsi" +#include "pm4125.dtsi" / { model = "Qualcomm Technologies, Inc. Robotics RB1"; @@ -226,7 +226,7 @@ &mdss { }; &mdss_dsi0 { - vdda-supply = <&pm2250_l5>; + vdda-supply = <&pm4125_l5>; status = "okay"; }; @@ -239,7 +239,7 @@ &mdss_dsi0_phy { status = "okay"; }; -&pm2250_resin { +&pm4125_resin { linux,code = ; status = "okay"; }; @@ -263,23 +263,23 @@ regulators { compatible = "qcom,rpm-pm2250-regulators"; vdd_s3-supply = <&vph_pwr>; vdd_s4-supply = <&vph_pwr>; - vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply = <&pm2250_s3>; + vdd_l1_l2_l3_l5_l6_l7_l8_l9_l10_l11_l12-supply = <&pm4125_s3>; vdd_l4_l17_l18_l19_l20_l21_l22-supply = <&vph_pwr>; - vdd_l13_l14_l15_l16-supply = <&pm2250_s4>; + vdd_l13_l14_l15_l16-supply = <&pm4125_s4>; /* * S1 - VDD_APC * S2 - VDD_CX */ - pm2250_s3: s3 { + pm4125_s3: s3 { /* 0.4V-1.6625V -> 1.3V (Power tree requirements) */ regulator-min-microvolt = <1352000>; regulator-max-microvolt = <1352000>; regulator-boot-on; }; - pm2250_s4: s4 { + pm4125_s4: s4 { /* 1.2V-2.35V -> 2.05V (Power tree requirements) */ regulator-min-microvolt = <2072000>; regulator-max-microvolt = <2072000>; @@ -288,7 +288,7 @@ pm2250_s4: s4 { /* L1 - VDD_MX */ - pm2250_l2: l2 { + pm4125_l2: l2 { /* LPDDR4X VDD2 */ regulator-min-microvolt = <1136000>; regulator-max-microvolt = <1136000>; @@ -296,7 +296,7 @@ pm2250_l2: l2 { regulator-boot-on; }; - pm2250_l3: l3 { + pm4125_l3: l3 { /* LPDDR4X VDDQ */ regulator-min-microvolt = <616000>; regulator-max-microvolt = <616000>; @@ -304,14 +304,14 @@ pm2250_l3: l3 { regulator-boot-on; }; - pm2250_l4: l4 { + pm4125_l4: l4 { /* max = 3.05V -> max = 2.7 to disable 3V signaling (SDHCI2) */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <2700000>; regulator-allow-set-load; }; - pm2250_l5: l5 { + pm4125_l5: l5 { /* CSI/DSI */ regulator-min-microvolt = <1232000>; regulator-max-microvolt = <1232000>; @@ -319,7 +319,7 @@ pm2250_l5: l5 { regulator-boot-on; }; - pm2250_l6: l6 { + pm4125_l6: l6 { /* DRAM PLL */ regulator-min-microvolt = <928000>; regulator-max-microvolt = <928000>; @@ -327,7 +327,7 @@ pm2250_l6: l6 { regulator-boot-on; }; - pm2250_l7: l7 { + pm4125_l7: l7 { /* Wi-Fi CX/MX */ regulator-min-microvolt = <664000>; regulator-max-microvolt = <664000>; @@ -338,20 +338,20 @@ pm2250_l7: l7 { * L9 - VDD_LPI_MX */ - pm2250_l10: l10 { + pm4125_l10: l10 { /* Wi-Fi RFA */ regulator-min-microvolt = <1304000>; regulator-max-microvolt = <1304000>; }; - pm2250_l11: l11 { + pm4125_l11: l11 { /* GPS RF1 */ regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; regulator-boot-on; }; - pm2250_l12: l12 { + pm4125_l12: l12 { /* USB PHYs */ regulator-min-microvolt = <928000>; regulator-max-microvolt = <928000>; @@ -359,7 +359,7 @@ pm2250_l12: l12 { regulator-boot-on; }; - pm2250_l13: l13 { + pm4125_l13: l13 { /* USB/QFPROM/PLLs */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -367,7 +367,7 @@ pm2250_l13: l13 { regulator-boot-on; }; - pm2250_l14: l14 { + pm4125_l14: l14 { /* SDHCI1 VQMMC */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -376,7 +376,7 @@ pm2250_l14: l14 { regulator-always-on; }; - pm2250_l15: l15 { + pm4125_l15: l15 { /* WCD/DSI/BT VDDIO */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -385,38 +385,38 @@ pm2250_l15: l15 { regulator-boot-on; }; - pm2250_l16: l16 { + pm4125_l16: l16 { /* GPS RF2 */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-boot-on; }; - pm2250_l17: l17 { + pm4125_l17: l17 { regulator-min-microvolt = <3000000>; regulator-max-microvolt = <3000000>; }; - pm2250_l18: l18 { + pm4125_l18: l18 { /* VDD_PXn */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; - pm2250_l19: l19 { + pm4125_l19: l19 { /* VDD_PXn */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; }; - pm2250_l20: l20 { + pm4125_l20: l20 { /* SDHCI1 VMMC */ regulator-min-microvolt = <2400000>; regulator-max-microvolt = <3600000>; regulator-allow-set-load; }; - pm2250_l21: l21 { + pm4125_l21: l21 { /* SDHCI2 VMMC */ regulator-min-microvolt = <2960000>; regulator-max-microvolt = <3300000>; @@ -424,7 +424,7 @@ pm2250_l21: l21 { regulator-boot-on; }; - pm2250_l22: l22 { + pm4125_l22: l22 { /* Wi-Fi */ regulator-min-microvolt = <3312000>; regulator-max-microvolt = <3312000>; @@ -433,8 +433,8 @@ pm2250_l22: l22 { }; &sdhc_1 { - vmmc-supply = <&pm2250_l20>; - vqmmc-supply = <&pm2250_l14>; + vmmc-supply = <&pm4125_l20>; + vqmmc-supply = <&pm4125_l14>; pinctrl-0 = <&sdc1_state_on>; pinctrl-1 = <&sdc1_state_off>; pinctrl-names = "default", "sleep"; @@ -446,8 +446,8 @@ &sdhc_1 { }; &sdhc_2 { - vmmc-supply = <&pm2250_l21>; - vqmmc-supply = <&pm2250_l4>; + vmmc-supply = <&pm4125_l21>; + vqmmc-supply = <&pm4125_l4>; cd-gpios = <&tlmm 88 GPIO_ACTIVE_LOW>; pinctrl-0 = <&sdc2_state_on &sd_det_in_on>; pinctrl-1 = <&sdc2_state_off &sd_det_in_off>; @@ -518,8 +518,8 @@ &usb { }; &usb_qmpphy { - vdda-phy-supply = <&pm2250_l12>; - vdda-pll-supply = <&pm2250_l13>; + vdda-phy-supply = <&pm4125_l12>; + vdda-pll-supply = <&pm4125_l13>; status = "okay"; }; @@ -528,17 +528,17 @@ &usb_dwc3 { }; &usb_hsphy { - vdd-supply = <&pm2250_l12>; - vdda-pll-supply = <&pm2250_l13>; - vdda-phy-dpdm-supply = <&pm2250_l21>; + vdd-supply = <&pm4125_l12>; + vdda-pll-supply = <&pm4125_l13>; + vdda-phy-dpdm-supply = <&pm4125_l21>; status = "okay"; }; &wifi { - vdd-0.8-cx-mx-supply = <&pm2250_l7>; - vdd-1.8-xo-supply = <&pm2250_l13>; - vdd-1.3-rfa-supply = <&pm2250_l10>; - vdd-3.3-ch0-supply = <&pm2250_l22>; + vdd-0.8-cx-mx-supply = <&pm4125_l7>; + vdd-1.8-xo-supply = <&pm4125_l13>; + vdd-1.3-rfa-supply = <&pm4125_l10>; + vdd-3.3-ch0-supply = <&pm4125_l22>; qcom,ath10k-calibration-variant = "Thundercomm_RB1"; status = "okay"; };