diff mbox series

soc: qcom: socinfo: Add SM8550-adjacent PMICs

Message ID 20230830-topic-pm8550abcxyz-v1-1-3c3ef3d92d51@linaro.org
State Accepted
Commit 3b1eba1882b74c0e9b9f158ee027e309b1df4782
Headers show
Series soc: qcom: socinfo: Add SM8550-adjacent PMICs | expand

Commit Message

Konrad Dybcio Aug. 30, 2023, 2:42 a.m. UTC
Many of the PMICs were missing, add some of them often coupled with
SM8550.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Please somebody double-check, this was sorta reverse-engineered..
---
 drivers/soc/qcom/socinfo.c | 6 ++++++
 1 file changed, 6 insertions(+)


---
base-commit: ae782d4e2bf53b0b642ae860794f7a39470f995a
change-id: 20230830-topic-pm8550abcxyz-73346b3ab9a6

Best regards,

Comments

Neil Armstrong Aug. 31, 2023, 10:08 a.m. UTC | #1
Hi,

On 30/08/2023 04:42, Konrad Dybcio wrote:
> Many of the PMICs were missing, add some of them often coupled with
> SM8550.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Please somebody double-check, this was sorta reverse-engineered..
> ---
>   drivers/soc/qcom/socinfo.c | 6 ++++++
>   1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
> index 497cfb720fcb..067d28924ca2 100644
> --- a/drivers/soc/qcom/socinfo.c
> +++ b/drivers/soc/qcom/socinfo.c
> @@ -117,6 +117,12 @@ static const char *const pmic_models[] = {
>   	[55] = "PM2250",
>   	[58] = "PM8450",
>   	[65] = "PM8010",
> +	[69] = "PM8550VS",
> +	[70] = "PM8550VE",
> +	[71] = "PM8550B",
> +	[72] = "PMR735D",
> +	[73] = "PM8550",
> +	[74] = "PMK8550",

I checked and those IDs are correct:

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

>   };
>   
>   struct socinfo_params {
> 
> ---
> base-commit: ae782d4e2bf53b0b642ae860794f7a39470f995a
> change-id: 20230830-topic-pm8550abcxyz-73346b3ab9a6
> 
> Best regards,
Bjorn Andersson Sept. 14, 2023, 4:04 p.m. UTC | #2
On Wed, 30 Aug 2023 04:42:43 +0200, Konrad Dybcio wrote:
> Many of the PMICs were missing, add some of them often coupled with
> SM8550.
> 
> 

Applied, thanks!

[1/1] soc: qcom: socinfo: Add SM8550-adjacent PMICs
      commit: 3b1eba1882b74c0e9b9f158ee027e309b1df4782

Best regards,
diff mbox series

Patch

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 497cfb720fcb..067d28924ca2 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -117,6 +117,12 @@  static const char *const pmic_models[] = {
 	[55] = "PM2250",
 	[58] = "PM8450",
 	[65] = "PM8010",
+	[69] = "PM8550VS",
+	[70] = "PM8550VE",
+	[71] = "PM8550B",
+	[72] = "PMR735D",
+	[73] = "PM8550",
+	[74] = "PMK8550",
 };
 
 struct socinfo_params {