[4/4] soc: qcom: socinfo: add SM8250 entry to soc_id array

Message ID 20200525164817.2938638-4-dmitry.baryshkov@linaro.org
State New
Headers show
Series
  • [1/4] soc: qcom: socinfo: add support for newer socinfo data
Related show

Commit Message

Dmitry Baryshkov May 25, 2020, 4:48 p.m.
Add an entry for SM8250 SoC.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

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

-- 
2.26.2

Comments

Bjorn Andersson May 29, 2020, 2:38 a.m. | #1
On Mon 25 May 09:48 PDT 2020, Dmitry Baryshkov wrote:

> Add an entry for SM8250 SoC.

> 


Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>


Regards,
Bjorn

> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

> ---

>  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 5f98949c7562..3e08cf9836ae 100644

> --- a/drivers/soc/qcom/socinfo.c

> +++ b/drivers/soc/qcom/socinfo.c

> @@ -217,6 +217,7 @@ static const struct soc_id soc_id[] = {

>  	{ 312, "APQ8096SG" },

>  	{ 321, "SDM845" },

>  	{ 341, "SDA845" },

> +	{ 356, "SM8250" },

>  };

>  

>  static const char *socinfo_machine(struct device *dev, unsigned int id)

> -- 

> 2.26.2

>

Patch

diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c
index 5f98949c7562..3e08cf9836ae 100644
--- a/drivers/soc/qcom/socinfo.c
+++ b/drivers/soc/qcom/socinfo.c
@@ -217,6 +217,7 @@  static const struct soc_id soc_id[] = {
 	{ 312, "APQ8096SG" },
 	{ 321, "SDM845" },
 	{ 341, "SDA845" },
+	{ 356, "SM8250" },
 };
 
 static const char *socinfo_machine(struct device *dev, unsigned int id)