soc: qcom: socinfo: Add an ID for sc7180P
authorDouglas Anderson <dianders@chromium.org>
Mon, 23 May 2022 15:54:57 +0000 (08:54 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 25 Jun 2022 19:52:39 +0000 (14:52 -0500)
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>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220523085437.v3.1.I26eca1856f99e6160d30de6d50ecab60e6226354@changeid
drivers/soc/qcom/socinfo.c

index cee579a..c2c879c 100644 (file)
@@ -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)