* [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase
@ 2022-09-22 8:29 Luca Weiss
2022-09-22 8:29 ` [PATCH v4 2/2] soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs Luca Weiss
2022-10-18 3:05 ` (subset) [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Luca Weiss @ 2022-09-22 8:29 UTC (permalink / raw)
To: linux-arm-msm
Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss,
Dmitry Baryshkov, Caleb Connolly, Jonathan Cameron, Lee Jones,
linux-kernel
There are some IDs that are written in uppercase. For consistency
convert them to lowercase.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
---
Changes since v3:
* reword subject
* pick up tags
include/soc/qcom/qcom-spmi-pmic.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/soc/qcom/qcom-spmi-pmic.h b/include/soc/qcom/qcom-spmi-pmic.h
index 72398ff44719..fde0148d0077 100644
--- a/include/soc/qcom/qcom-spmi-pmic.h
+++ b/include/soc/qcom/qcom-spmi-pmic.h
@@ -29,9 +29,9 @@
#define PM8998_SUBTYPE 0x14
#define PMI8998_SUBTYPE 0x15
#define PM8005_SUBTYPE 0x18
-#define PM660L_SUBTYPE 0x1A
-#define PM660_SUBTYPE 0x1B
-#define PM8150_SUBTYPE 0x1E
+#define PM660L_SUBTYPE 0x1a
+#define PM660_SUBTYPE 0x1b
+#define PM8150_SUBTYPE 0x1e
#define PM8150L_SUBTYPE 0x1f
#define PM8150B_SUBTYPE 0x20
#define PMK8002_SUBTYPE 0x21
--
2.37.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v4 2/2] soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs
2022-09-22 8:29 [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Luca Weiss
@ 2022-09-22 8:29 ` Luca Weiss
2022-10-18 3:05 ` (subset) [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Luca Weiss @ 2022-09-22 8:29 UTC (permalink / raw)
To: linux-arm-msm
Cc: ~postmarketos/upstreaming, phone-devel, Luca Weiss,
Dmitry Baryshkov, Caleb Connolly, Jonathan Cameron, Lee Jones,
linux-kernel
Add more IDs that are found in the downstream msm-4.19 kernel under the
path include/linux/qpnp/qpnp-revid.h.
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
---
Changes since v3:
* reword subject
* pick up tags
include/soc/qcom/qcom-spmi-pmic.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/soc/qcom/qcom-spmi-pmic.h b/include/soc/qcom/qcom-spmi-pmic.h
index fde0148d0077..c47cc71a999e 100644
--- a/include/soc/qcom/qcom-spmi-pmic.h
+++ b/include/soc/qcom/qcom-spmi-pmic.h
@@ -26,6 +26,8 @@
#define PM8901_SUBTYPE 0x0f
#define PM8950_SUBTYPE 0x10
#define PMI8950_SUBTYPE 0x11
+#define PMK8001_SUBTYPE 0x12
+#define PMI8996_SUBTYPE 0x13
#define PM8998_SUBTYPE 0x14
#define PMI8998_SUBTYPE 0x15
#define PM8005_SUBTYPE 0x18
@@ -36,8 +38,17 @@
#define PM8150B_SUBTYPE 0x20
#define PMK8002_SUBTYPE 0x21
#define PM8009_SUBTYPE 0x24
+#define PMI632_SUBTYPE 0x25
#define PM8150C_SUBTYPE 0x26
+#define PM6150_SUBTYPE 0x28
#define SMB2351_SUBTYPE 0x29
+#define PM8008_SUBTYPE 0x2c
+#define PM6125_SUBTYPE 0x2d
+#define PM7250B_SUBTYPE 0x2e
+#define PMK8350_SUBTYPE 0x2f
+#define PMR735B_SUBTYPE 0x34
+#define PM6350_SUBTYPE 0x36
+#define PM2250_SUBTYPE 0x37
#define PMI8998_FAB_ID_SMIC 0x11
#define PMI8998_FAB_ID_GF 0x30
--
2.37.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: (subset) [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase
2022-09-22 8:29 [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Luca Weiss
2022-09-22 8:29 ` [PATCH v4 2/2] soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs Luca Weiss
@ 2022-10-18 3:05 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2022-10-18 3:05 UTC (permalink / raw)
To: linux-arm-msm, luca.weiss
Cc: Dmitry Baryshkov, phone-devel, Jonathan.Cameron, lee.jones,
linux-kernel, caleb.connolly, ~postmarketos/upstreaming
On Thu, 22 Sep 2022 10:29:22 +0200, Luca Weiss wrote:
> There are some IDs that are written in uppercase. For consistency
> convert them to lowercase.
>
>
Applied, thanks!
[1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase
commit: e0b0da53b7bcf4d55ea9506db151b9596703d4e5
[2/2] soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs
commit: 082f9bc60f337fdf4bbb89b5b5d6f8aee9c98d6b
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-18 3:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 8:29 [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Luca Weiss
2022-09-22 8:29 ` [PATCH v4 2/2] soc: qcom: spmi-pmic: add more PMIC SUBTYPE IDs Luca Weiss
2022-10-18 3:05 ` (subset) [PATCH v4 1/2] soc: qcom: spmi-pmic: convert hex numbers to lowercase Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).