diff mbox series

[v3] soc: qcom: socinfo: Add an ID for sc7180P

Message ID 20220523085437.v3.1.I26eca1856f99e6160d30de6d50ecab60e6226354@changeid
State Accepted
Commit 0f0eca0ccb9b37743466fbd1b388a04ea0307b89
Headers show
Series [v3] soc: qcom: socinfo: Add an ID for sc7180P | expand

Commit Message

Doug Anderson May 23, 2022, 3:54 p.m. UTC
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 number 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>
Reviewed-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
---

Changes in v3:
- s/numbrer/number/

Changes in v2:
- Switch from 407 to 495.

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

Comments

Bjorn Andersson June 27, 2022, 8:02 p.m. UTC | #1
On Mon, 23 May 2022 08:54:57 -0700, 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 number 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.
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: socinfo: Add an ID for sc7180P
      commit: 0f0eca0ccb9b37743466fbd1b388a04ea0307b89

Best regards,
diff mbox series

Patch

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)