- 26 6月, 2022 1 次提交
-
-
由 Douglas Anderson 提交于
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: NDouglas Anderson <dianders@chromium.org> Reviewed-by: NSai Prakash Ranjan <quic_saipraka@quicinc.com> Reviewed-by: NStephen Boyd <swboyd@chromium.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220523085437.v3.1.I26eca1856f99e6160d30de6d50ecab60e6226354@changeid
-
- 20 4月, 2022 1 次提交
-
-
由 Luca Weiss 提交于
MSM8974PRO is commonly used for referring to Snapdragon 801, compared to MSM8974 which is Snapdragon 800. The Snapdragon 801 has three variants with different clock speeds, with the -AA, -AB and -AC suffix. Adjust the names in socinfo to reflect this. Signed-off-by: NLuca Weiss <luca@z3ntu.xyz> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220415195449.617040-1-luca@z3ntu.xyz
-
- 08 4月, 2022 2 次提交
-
-
由 Dmitry Baryshkov 提交于
Add another id for SM8450. Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220228190013.1790617-1-dmitry.baryshkov@linaro.org
-
由 Douglas Anderson 提交于
Add an entry for SC7280 SoC. Signed-off-by: NDouglas Anderson <dianders@chromium.org> Reviewed-by: NSai Prakash Ranjan <quic_saipraka@quicinc.com> Reviewed-by: NStephen Boyd <swboyd@chromium.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220321161546.1.Ifc4270fbe9bad536f08a47696e00cca5a0714abd@changeid
-
- 11 2月, 2022 1 次提交
-
-
由 Bjorn Andersson 提交于
Add SM8350, SC8280XP, SA8540P and one more SM8450 and various PMICs found on boards on these platforms to the socinfo driver. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Tested-by: NVinod Koul <vkoul@kernel.org> Reviewed-by: NVinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20220210051043.748275-1-bjorn.andersson@linaro.org
-
- 21 12月, 2021 2 次提交
-
-
由 Luca Weiss 提交于
Both SoCs are known as 'lagoon' downstream. Add their ids to the socinfo driver. Signed-off-by: NLuca Weiss <luca.weiss@fairphone.com> Reviewed-by: NKonrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211213081111.20217-1-luca.weiss@fairphone.com
-
由 Dmitry Baryshkov 提交于
Add the ID for the Qualcomm SM8450 SoC. Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: NVinod Koul <vkoul@kernel.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211201072745.3969077-8-vkoul@kernel.org
-
- 24 10月, 2021 1 次提交
-
-
由 Bjorn Andersson 提交于
Add PM8150C and SMB2351 to the list of known PMIC models. Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: NBhupesh Sharma <bhupesh.sharma@linaro.org> Link: https://lore.kernel.org/r/20211005024025.2037810-1-bjorn.andersson@linaro.org
-
- 17 10月, 2021 1 次提交
-
-
由 Dmitry Baryshkov 提交于
Add IDs for PMK8001 and PMI8996. They also fall in the list of 'duplicated' IDs, where the same index was used for multiple chips. Fixes: 7fda2b0b ("soc: qcom: socinfo: import PMIC IDs from pmic-spmi") Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211016190607.49866-1-dmitry.baryshkov@linaro.org
-
- 22 9月, 2021 1 次提交
-
-
由 Robert Marko 提交于
IPQ8074 family SoC ID-s are missing, so lets add them based on the downstream driver. Signed-off-by: NRobert Marko <robimarko@gmail.com> Reviewed-by: NKathiravan T <kathirav@codeaurora.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20210905171131.660885-1-robimarko@gmail.com
-
- 13 9月, 2021 1 次提交
-
-
由 Antonio Martorana 提交于
Set qcom_socinfo pointer as data being stored instead of pointer to soc_device structure. Aligns with future calls to platform_get_data() which expects qcom_socinfo pointer. Fixes: efb448d0 ("soc: qcom: Add socinfo driver") Signed-off-by: NAntonio Martorana <amartora@codeaurora.org> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/1629159879-95777-1-git-send-email-amartora@codeaurora.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 20 7月, 2021 1 次提交
-
-
由 Stephen Boyd 提交于
Let's skip printing anything if there's nothing to see. This makes it so the file length is 0 instead of 1, for the newline, and helps scripts figure out if there's anything to see in these files. Cc: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Cc: Douglas Anderson <dianders@chromium.org> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: NDouglas Anderson <dianders@chromium.org> Reviewed-by: NSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Signed-off-by: NStephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20210628030150.2627905-1-swboyd@chromium.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 27 5月, 2021 1 次提交
-
-
由 Luca Weiss 提交于
The driver in drivers/mfd/qcom-spmi-pmic.c has a more complete and more up-to-date list of PMICs with the respective IDs. Use those names for socinfo. Some IDs seem to have been assigned to multiple PMICs so keep that in the name as well. Signed-off-by: NLuca Weiss <luca@z3ntu.xyz> Link: https://lore.kernel.org/r/20210526200843.127916-1-luca@z3ntu.xyzSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 26 5月, 2021 3 次提交
-
-
由 Luca Weiss 提交于
Add the IDs for the following families of chips: 8064, 8226, 8610, 8625Q Signed-off-by: NLuca Weiss <luca@z3ntu.xyz> Link: https://lore.kernel.org/r/20210504203612.95056-1-luca@z3ntu.xyzSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Robert Marko 提交于
ID for IPQ6018 was previously added, but ID-s for rest of the family are missing. So, lets add those based on downstream driver. Signed-off-by: NRobert Marko <robert.marko@sartura.hr> Reviewed-by: NKathiravan T <kathirav@codeaurora.org> Link: https://lore.kernel.org/r/20210517120034.3975027-1-robert.marko@sartura.hrSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Martin Botka 提交于
Add SM6125 SoC ID to the soc_id struct Signed-off-by: NMartin Botka <martin.botka@somainline.org> Link: https://lore.kernel.org/r/20210523212038.736445-2-martin.botka@somainline.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 28 1月, 2021 1 次提交
-
-
由 Dmitry Baryshkov 提交于
Remove extra le32_to_cpu() conversion, data is already converted from le32 to cpu endianness. This fixes two following warnings: drivers/soc/qcom/socinfo.c:322:36: sparse: sparse: cast to restricted __le32 drivers/soc/qcom/socinfo.c:323:36: sparse: sparse: cast to restricted __le32 Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Fixes: 734c78e7 ("soc: qcom: socinfo: add info from PMIC models array") Link: https://lore.kernel.org/r/20210118152236.514776-1-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 21 1月, 2021 2 次提交
-
-
由 Dan Carpenter 提交于
These need to be < ARRAY_SIZE() instead of <= ARRAY_SIZE() to prevent accessing one element beyond the end of the array. Acked-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: NDouglas Anderson <dianders@chromium.org> Reviewed-by: NStephen Boyd <swboyd@chromium.org> Fixes: e9247e2c ("soc: qcom: socinfo: fix printing of pmic_model") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YAf+o85Z9lgkq3Nw@mwandaSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Colin Ian King 提交于
There is an off-by-one array index bounds check on array pmic_models. Fix this by checking using < rather than <= on the array size. Addresses-Coverity: ("Out-of-bounds read") Fixes: 734c78e7 ("soc: qcom: socinfo: add info from PMIC models array") Signed-off-by: NColin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20210118113651.71955-1-colin.king@canonical.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 16 1月, 2021 1 次提交
-
-
由 Konrad Dybcio 提交于
Along with IDs for its derivatives. Signed-off-by: NKonrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210115162728.118249-1-konrad.dybcio@somainline.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 15 1月, 2021 6 次提交
-
-
由 Konrad Dybcio 提交于
Add missing SoC IDs for Snapdragon 835-family platforms. Signed-off-by: NKonrad Dybcio <konrad.dybcio@somainline.org> Tested-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210109163123.147185-2-konrad.dybcio@somainline.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Konrad Dybcio 提交于
Add missing SoC IDs for Snapdragon 630-family platforms. Signed-off-by: NKonrad Dybcio <konrad.dybcio@somainline.org> Tested-by: NAngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Link: https://lore.kernel.org/r/20210109163123.147185-1-konrad.dybcio@somainline.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Stephen Boyd 提交于
There doesn't seem to be any reason to limit this to only root user readable. Let's make it readable by all so that random programs can read the debugfs files in here instead of just root. The information is just that, informational, so this is fine. Reviewed-by: NSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Reviewed-by: NDouglas Anderson <dianders@chromium.org> Cc: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Cc: Douglas Anderson <dianders@chromium.org> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: NStephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20201216071926.3147108-1-swboyd@chromium.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
Add debugfs file showing information from PMIC model array. Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20201222130448.4125297-3-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
Add several PMIC IDs found on Qualcomm RB5 platform. Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20201222130448.4125297-2-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20201222130448.4125297-1-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 22 11月, 2020 1 次提交
-
-
由 Vladimir Lypak 提交于
Add SoC IDs for MSM8953, APQ8053, SDM(SDA)450, SDM(SDA)632. Signed-off-by: NVladimir Lypak <junak.pub@gmail.com> Link: https://lore.kernel.org/r/20201004082223.324019-1-junak.pub@gmail.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 15 9月, 2020 1 次提交
-
-
由 Konrad Dybcio 提交于
Signed-off-by: NKonrad Dybcio <konradybcio@gmail.com> Link: https://lore.kernel.org/r/20200602201229.322578-1-konradybcio@gmail.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 11 9月, 2020 2 次提交
-
-
由 Douglas Anderson 提交于
Add an entry for SC7180 SoC. Reviewed-by: NSai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> Reviewed-by: NStephen Boyd <swboyd@chromium.org> Signed-off-by: NDouglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20200813080345.1.I85bb28f9ea3fa3bf797ecaf0a5218ced4cfaa6e2@changeidSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Kathiravan T 提交于
Add the SoC ID for IPQ6018 variant. Signed-off-by: NKathiravan T <kathirav@codeaurora.org> Link: https://lore.kernel.org/r/1597645830-30409-1-git-send-email-kathirav@codeaurora.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 24 8月, 2020 1 次提交
-
-
由 Gustavo A. R. Silva 提交于
Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary fall-through markings when it is the case. [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-throughSigned-off-by: NGustavo A. R. Silva <gustavoars@kernel.org>
-
- 24 6月, 2020 4 次提交
-
-
由 Dmitry Baryshkov 提交于
Add an entry for SM8250 SoC. Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200525164817.2938638-4-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
To ease debugging socinfo driver for newer chips add debugfs file returning SoC info format version. Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200525164817.2938638-3-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
Print sensible string instead of just "(null)" for unknown PMIC models. Also as we are at it, do not let debugfs handler access past pmic_models array. Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200525164817.2938638-2-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
由 Dmitry Baryshkov 提交于
Add support for newer Qualcomm SoC info structures (up to version 0.15). Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: NDmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20200525164817.2938638-1-dmitry.baryshkov@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 22 6月, 2020 1 次提交
-
-
由 Konrad Dybcio 提交于
This patch adds missing soc ID for SDM630. Signed-off-by: NKonrad Dybcio <konradybcio@gmail.com> Link: https://lore.kernel.org/r/20200622075749.21925-4-konradybcio@gmail.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 12 5月, 2020 1 次提交
-
-
由 Vincent Knecht 提交于
This patch adds missing SoC IDs for MSM8936/39 and their APQ variants. Signed-off-by: NVincent Knecht <vincent.knecht@mailoo.org> Signed-off-by: NKonrad Dybcio <konradybcio@gmail.com> Link: https://lore.kernel.org/r/20200511212733.214464-1-konradybcio@gmail.comSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 14 4月, 2020 1 次提交
-
-
由 Srinivas Kandagatla 提交于
Looks like SoC ID is not exported to sysfs for some reason. This patch adds it! This is mostly used by userspace libraries like Snapdragon Neural Processing Engine (SNPE) SDK for checking supported SoC info. Fixes: efb448d0 ("soc: qcom: Add socinfo driver") Reviewed-by: NStephen Boyd <swboyd@chromium.org> Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200319121418.5180-1-srinivas.kandagatla@linaro.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 10 3月, 2020 1 次提交
-
-
由 Stephen Boyd 提交于
This is a single character that we're printing out. Use seq_putc() for that to simplify the code. Cc: Vaishali Thakkar <vaishali.thakkar@linaro.org> Signed-off-by: NStephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20200309185123.65265-1-swboyd@chromium.orgSigned-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-
- 02 10月, 2019 1 次提交
-
-
由 Srinivas Kandagatla 提交于
This patch adds missing soc ids for sdm845 and sda845 Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
-