From: Vinod Koul <vkoul@kernel.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] soc: qcom: socinfo: Add some more PMICs and SoCs
Date: Thu, 10 Feb 2022 19:14:49 +0530 [thread overview]
Message-ID: <YgUW0SrMgIKWGdqL@matsya> (raw)
In-Reply-To: <20220210051043.748275-1-bjorn.andersson@linaro.org>
On 09-02-22, 21:10, Bjorn Andersson wrote:
> Add SM8350, SC8280XP, SA8540P and one more SM8450 and various PMICs
> found on boards on these platforms to the socinfo driver.
This fixes the unknown ids reported by socinfo debugfs for SM8450 HDK
Tested-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
> drivers/soc/qcom/socinfo.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
> index 6dc0f39c0ec3..8b38d134720a 100644
> --- a/drivers/soc/qcom/socinfo.c
> +++ b/drivers/soc/qcom/socinfo.c
> @@ -104,6 +104,14 @@ static const char *const pmic_models[] = {
> [36] = "PM8009",
> [38] = "PM8150C",
> [41] = "SMB2351",
> + [47] = "PMK8350",
> + [48] = "PM8350",
> + [49] = "PM8350C",
> + [50] = "PM8350B",
> + [51] = "PMR735A",
> + [52] = "PMR735B",
> + [58] = "PM8450",
> + [65] = "PM8010",
> };
> #endif /* CONFIG_DEBUG_FS */
>
> @@ -314,10 +322,14 @@ static const struct soc_id soc_id[] = {
> { 422, "IPQ6010" },
> { 425, "SC7180" },
> { 434, "SM6350" },
> + { 439, "SM8350" },
> + { 449, "SC8280XP" },
> { 453, "IPQ6005" },
> { 455, "QRB5165" },
> { 457, "SM8450" },
> { 459, "SM7225" },
> + { 460, "SA8540P" },
> + { 480, "SM8450" },
> };
>
> static const char *socinfo_machine(struct device *dev, unsigned int id)
> --
> 2.33.1
--
~Vinod
next prev parent reply other threads:[~2022-02-10 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-10 5:10 [PATCH] soc: qcom: socinfo: Add some more PMICs and SoCs Bjorn Andersson
2022-02-10 13:44 ` Vinod Koul [this message]
2022-02-11 17:10 ` patchwork-bot+linux-arm-msm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YgUW0SrMgIKWGdqL@matsya \
--to=vkoul@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox