lkml.org 
[lkml]   [2017]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver
From
Date
On 2/18/2017 4:06 AM, Stephen Boyd wrote:
> On 01/10, Imran Khan wrote:
>> The socinfo ABI document describes the information provided
>> by socinfo driver and the corresponding attributes to access
>> that information.
>>
>> Signed-off-by: Imran Khan <kimran@codeaurora.org>
>> ---
>> Documentation/ABI/stable/sysfs-driver-qcom_socinfo | 147 +++++++++++++++++++++
>
> Perhaps move it to testing instead of stable too?
>
Done.

>> 1 file changed, 147 insertions(+)
>> create mode 100644 Documentation/ABI/stable/sysfs-driver-qcom_socinfo
>>
>> diff --git a/Documentation/ABI/stable/sysfs-driver-qcom_socinfo b/Documentation/ABI/stable/sysfs-driver-qcom_socinfo
>> new file mode 100644
>> index 0000000..f90c142
>> --- /dev/null
>> +++ b/Documentation/ABI/stable/sysfs-driver-qcom_socinfo
>> @@ -0,0 +1,147 @@
>> +What: /sys/devices/soc0/accessory_chip
>> +Date: January 2017
>> +Description:
>> + This file shows the id of the accessory chip.
>
> Please add a contact, linux-arm-msm@vger.kernel.org perhaps?
>

Done. Added linux-arm-msm@vger.kernel.org as contact.
>> +
>> +What: /sys/devices/soc0/adsp_image_crm
>> +What: /sys/devices/soc0/adsp_image_variant
>> +What: /sys/devices/soc0/adsp_image_version
>> +Date: January 2017
>> +Description:

<snip>

>> +What: /sys/devices/soc0/pmic_die_revision
>> +Date: January 2017
>> +Description:
>> + This file shows revision of PMIC die.
>> +
>> +What: /sys/devices/soc0/pmic_model
>> +Date: January 2017
>> +Description:
>> + This file shows name of PMIC model.
>
> This doesn't seem very future proof when there's more than on
> pmic, and really pmic isn't part of the SoC so it's sort of odd
> to have that here in the first place. Any chance we can drop this
> for now?
>
True. It needs some changes when there are more than one PMICs.
But right now I intend to show information about one PMIC and later
on add to that. For example right now we create sysfs attributes
only after finding out that those attributes are supported in socinfo
version currently available. We can use the same approach for socinfo
versions that provide information about multiple PMICs.
Accordingly I will change this document too.
Though PMIC is not part of SoC, but as this information is available
as a part of the same SMEM item, I wanted to make this information
available to user space.
Please let me know if it sounds okay with you?

Thanks and Regards,
Imran


--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a\nmember of the Code Aurora Forum, hosted by The Linux Foundation

\
 
 \ /
  Last update: 2017-02-20 17:19    [W:0.070 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site