Message ID | 20200621213806.551879-4-konradybcio@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Add support for Sony SDM630-based boards | expand |
Hi, I also wanted to send this, but in this form: [PATCH] soc: qcom: socinfo: Add soc information for SDM630/636/660 Add socinfo support for SDM630/636/660. --- drivers/soc/qcom/socinfo.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 5983c6ffb078..398a3c77954e 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -202,8 +202,14 @@ static const struct soc_id soc_id[] = { { 310, "MSM8996AU" }, { 311, "APQ8096AU" }, { 312, "APQ8096SG" }, + { 317, "SDM660" }, + { 318, "SDM630" }, { 321, "SDM845" }, + { 324, "SDA660" }, + { 327, "SDA630" }, { 341, "SDA845" }, + { 345, "SDM636" }, + { 346, "SDA636" }, }; I think it would be great to have all IDs of compatible SoCs at once. I've tested it on my sdm660 by adding some printks in probe: [ 1.609040] socinfo: family = Snapdragon [ 1.609043] socinfo: machine = SDM660 [ 1.619712] socinfo: soc_id = 317 [ 1.630347] socinfo: revision = 1.0 пн, 22 июн. 2020 г. в 00:40, Konrad Dybcio <konradybcio@gmail.com>: > > This patch adds missing soc ID for SDM630. > > Signed-off-by: Konrad Dybcio <konradybcio@gmail.com> > --- > 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 5983c6ffb078..705f142ee588 100644 > --- a/drivers/soc/qcom/socinfo.c > +++ b/drivers/soc/qcom/socinfo.c > @@ -202,6 +202,7 @@ static const struct soc_id soc_id[] = { > { 310, "MSM8996AU" }, > { 311, "APQ8096AU" }, > { 312, "APQ8096SG" }, > + { 318, "SDM630" }, > { 321, "SDM845" }, > { 341, "SDA845" }, > }; > -- > 2.27.0 >
diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 5983c6ffb078..705f142ee588 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -202,6 +202,7 @@ static const struct soc_id soc_id[] = { { 310, "MSM8996AU" }, { 311, "APQ8096AU" }, { 312, "APQ8096SG" }, + { 318, "SDM630" }, { 321, "SDM845" }, { 341, "SDA845" }, };
This patch adds missing soc ID for SDM630. Signed-off-by: Konrad Dybcio <konradybcio@gmail.com> --- drivers/soc/qcom/socinfo.c | 1 + 1 file changed, 1 insertion(+)