From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753921AbdBTQSn (ORCPT ); Mon, 20 Feb 2017 11:18:43 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49290 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752148AbdBTQSk (ORCPT ); Mon, 20 Feb 2017 11:18:40 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A3E55607E8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kimran@codeaurora.org Subject: Re: [PATCH v8 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver To: Stephen Boyd References: <1484063310-8367-1-git-send-email-kimran@codeaurora.org> <20170217223639.GB25384@codeaurora.org> Cc: andy.gross@linaro.org, david.brown@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org From: Imran Khan Message-ID: <01f6c5c7-3385-a27f-053f-8b554620a427@codeaurora.org> Date: Mon, 20 Feb 2017 21:48:33 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20170217223639.GB25384@codeaurora.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> 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: >> +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