Re: [PATCH 2/2] soc: qcom: socinfo: Add sysfs attributes for fields in v2-v6

From: Trilok Soni
Date: Wed Jan 11 2023 - 18:58:17 EST


On 1/11/2023 3:19 PM, Dmitry Baryshkov wrote:
On 11/01/2023 10:21, Naman Jain wrote:
Add support in sysfs custom attributes for fields in socinfo version
v2-v6. This is to support SoC based operations in userland scripts
and test scripts. Also, add name mappings for hw-platform type to
make the sysfs information more descriptive.

Please include a patch documenting your additions to Documentation/ABI/testing/sysfs-devices-soc. Please describe usecases for new attributes and their applicability to non-Qualcomm boards.

Note, that testing scripts can access debugfs entries without any issues.

The commit text mentions the "userland" scripts and it could mean the product OS like Android or Yocto having the applications using these /sysfs entries. Naman, please clarify if the vendor application layer in the Android is using these Entries to make decisions based on the platforms / soc information?

---Trilok Soni