soc: qcom: socinfo: create soc_id table from bindings
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 30 Aug 2022 06:57:43 +0000 (09:57 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:19:40 +0000 (13:19 -0500)
commit34ec89e68db2682469a9a51d9ed4022ee3992389
tree244f251070e81146c9b54a4a6de1a96a946ba302
parenta79a4b3097bc28b0b617c4994c9fe4a4e1d00096
soc: qcom: socinfo: create soc_id table from bindings

The Qualcomm SoC ID values are encoded in few places: DTS files,
Devicetree bindings (both used by some of Qualcomm bootloaders or tools)
and in soc_id table of socinfo driver.  Do not duplicate the actual
values in the last one but use the constants from the bindings.

Tested by comparing output object file (exactly the same).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220830065744.161163-3-krzysztof.kozlowski@linaro.org
drivers/soc/qcom/socinfo.c