mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P
@ 2022-05-20 22:53 Douglas Anderson
  2022-05-21  4:06 ` Sai Prakash Ranjan
  2022-05-21  5:01 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Douglas Anderson @ 2022-05-20 22:53 UTC (permalink / raw)
  To: Bjorn Andersson, Sai Prakash Ranjan
  Cc: Stephen Boyd, matvore, Douglas Anderson, Andy Gross,
	linux-arm-msm, linux-kernel

Some sc7180 Chromebooks actually have sc7180P (known by many names,
apparently, including possibly sc7180 Pro and sc7185). This is a
sc7180 part that has slightly higher clock speeds.

The official ID numbrer allocated to these devices by Qualcomm is 495
so we'll add an entry to the table for them. Note that currently
shipping BIOS for these devices will actually end up reporting an ID
of 407 due to a bug but eventually a new BIOS will be released which
corrects it to 495.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
---

Changes in v2:
- Switch from 407 to 495.

 drivers/soc/qcom/socinfo.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index cee579a267a6..c2c879ccc6c0 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -332,6 +332,7 @@ static const struct soc_id soc_id[] = {
 	{ 480, "SM8450" },
 	{ 482, "SM8450" },
 	{ 487, "SC7280" },
+	{ 495, "SC7180P" },
 };
 
 static const char *socinfo_machine(struct device *dev, unsigned int id)
-- 
2.36.1.124.g0e6072fb45-goog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P
  2022-05-20 22:53 [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P Douglas Anderson
@ 2022-05-21  4:06 ` Sai Prakash Ranjan
  2022-05-21  5:01 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Sai Prakash Ranjan @ 2022-05-21  4:06 UTC (permalink / raw)
  To: Douglas Anderson, Bjorn Andersson
  Cc: Stephen Boyd, matvore, Andy Gross, linux-arm-msm, linux-kernel

On 5/21/2022 4:23 AM, Douglas Anderson wrote:
> Some sc7180 Chromebooks actually have sc7180P (known by many names,
> apparently, including possibly sc7180 Pro and sc7185). This is a
> sc7180 part that has slightly higher clock speeds.
>
> The official ID numbrer allocated to these devices by Qualcomm is 495
> so we'll add an entry to the table for them. Note that currently
> shipping BIOS for these devices will actually end up reporting an ID
> of 407 due to a bug but eventually a new BIOS will be released which
> corrects it to 495.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---
>
> Changes in v2:
> - Switch from 407 to 495.
>
>   drivers/soc/qcom/socinfo.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
> index cee579a267a6..c2c879ccc6c0 100644
> --- a/drivers/soc/qcom/socinfo.c
> +++ b/drivers/soc/qcom/socinfo.c
> @@ -332,6 +332,7 @@ static const struct soc_id soc_id[] = {
>   	{ 480, "SM8450" },
>   	{ 482, "SM8450" },
>   	{ 487, "SC7280" },
> +	{ 495, "SC7180P" },
>   };
>   
>   static const char *socinfo_machine(struct device *dev, unsigned int id)

Reviewed-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>

-Sai

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P
  2022-05-20 22:53 [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P Douglas Anderson
  2022-05-21  4:06 ` Sai Prakash Ranjan
@ 2022-05-21  5:01 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2022-05-21  5:01 UTC (permalink / raw)
  To: Bjorn Andersson, Douglas Anderson, Sai Prakash Ranjan
  Cc: matvore, Andy Gross, linux-arm-msm, linux-kernel

Quoting Douglas Anderson (2022-05-20 15:53:10)
> Some sc7180 Chromebooks actually have sc7180P (known by many names,
> apparently, including possibly sc7180 Pro and sc7185). This is a
> sc7180 part that has slightly higher clock speeds.
>
> The official ID numbrer allocated to these devices by Qualcomm is 495

s/numbrer/number/

> so we'll add an entry to the table for them. Note that currently
> shipping BIOS for these devices will actually end up reporting an ID
> of 407 due to a bug but eventually a new BIOS will be released which
> corrects it to 495.
>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
> ---

Reviewed-by: Stephen Boyd <swboyd@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-21  5:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 22:53 [PATCH v2] soc: qcom: socinfo: Add an ID for sc7180P Douglas Anderson
2022-05-21  4:06 ` Sai Prakash Ranjan
2022-05-21  5:01 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®