lkml.org 
[lkml]   [2019]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/5] soc: qcom: Add SoC info driver
Date
This patchset adds SoC info driver which can provide information
such as Chip ID, Chip family and serial number about Qualcomm SoCs
to user space via sysfs. Furthermore, it allows userspace to get
information about custom attributes and various image version
information via debugfs.

The patchset cleanly applies on top of v5.0-rc6.

Changes since v1:
- Align ifdefs to left, remove unnecessary debugfs dir
creation check and fix function signatures in patch 3
- Fix comment for teh case when serial number is not
available in patch 1

Vaishali Thakkar (5):
base: soc: Add serial_number attribute to soc
soc: qcom: Add socinfo driver
soc: qcom: socinfo: Expose custom attributes
soc: qcom: socinfo: Expose image information
base: soc: Export soc_device_register/unregister APIs

Documentation/ABI/testing/sysfs-devices-soc | 7 +
drivers/base/soc.c | 9 +
drivers/soc/qcom/Kconfig | 8 +
drivers/soc/qcom/Makefile | 1 +
drivers/soc/qcom/smem.c | 8 +
drivers/soc/qcom/socinfo.c | 605 ++++++++++++++++++++
include/linux/sys_soc.h | 1 +
7 files changed, 639 insertions(+)
create mode 100644 drivers/soc/qcom/socinfo.c

--
2.17.1

\
 
 \ /
  Last update: 2019-02-20 05:59    [W:0.052 / U:42.516 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site