From patchwork Mon Feb 20 16:47:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Khan, Imran" X-Patchwork-Id: 9583385 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A68276047C for ; Mon, 20 Feb 2017 17:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABED4283C2 for ; Mon, 20 Feb 2017 17:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D91B284E8; Mon, 20 Feb 2017 17:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68978283C2 for ; Mon, 20 Feb 2017 17:24:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754340AbdBTRYn (ORCPT ); Mon, 20 Feb 2017 12:24:43 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:44244 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753657AbdBTRYm (ORCPT ); Mon, 20 Feb 2017 12:24:42 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3EDBE60A51; Mon, 20 Feb 2017 16:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1487609287; bh=XWdbntN0BNETYjEUQyR0RXEGOZvD2eoqnuxQj6WO0gc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GZCYj0bvMzmNOhHlNN9XyweVyuN59F2i2Tp57EQe+hKngpZYkTr3tUSgAUoZv9mc/ dMUuDY5/YU8SnToT3294jUPMt+RDWqW8pKmsmdlFZRchq4n0r/zCy/tT97jbIkY5gW nfyo4/VKaUxD8hVSpEdR9fvmvsTtT9vzlcJOKOLM= Received: from kimran-linux.qualcomm.com (unknown [202.46.23.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kimran@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 04CD860A01; Mon, 20 Feb 2017 16:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1487609286; bh=XWdbntN0BNETYjEUQyR0RXEGOZvD2eoqnuxQj6WO0gc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BitmzQWgX+3xQ31ew5ljtzspGDpfUTK+0uTeBrjmpS50Np4FgPjL4WE74d+SJ6rOX 9buTO76OmC+XWmYSb1jzxpbiPVGS93fsl2SI6TR+1GhTkAeMdcG4A1mSJlWly400Us 9+N9tG8tD9Djcz9Rlrm0CoBhVMYrfd6XhUv8RnOU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 04CD860A01 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 From: Imran Khan To: bjorn.andersson@linaro.org, sboyd@codeaurora.org Cc: agross@codeaurora.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, Imran Khan Subject: [PATCH v10 2/2] Documentation/ABI: Add ABI information for QCOM socinfo driver Date: Mon, 20 Feb 2017 22:17:15 +0530 Message-Id: <1487609235-19458-3-git-send-email-kimran@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1487609235-19458-1-git-send-email-kimran@codeaurora.org> References: <1487609235-19458-1-git-send-email-kimran@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The socinfo ABI document describes the information provided by socinfo driver and the corresponding attributes to access that information. Signed-off-by: Imran Khan --- .../ABI/testing/sysfs-driver-qcom_socinfo | 171 +++++++++++++++++++++ 1 file changed, 171 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-qcom_socinfo diff --git a/Documentation/ABI/testing/sysfs-driver-qcom_socinfo b/Documentation/ABI/testing/sysfs-driver-qcom_socinfo new file mode 100644 index 0000000..cce611f --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-qcom_socinfo @@ -0,0 +1,171 @@ +What: /sys/devices/soc0/accessory_chip +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the id of the accessory chip. + +What: /sys/devices/soc0/adsp_image_crm +What: /sys/devices/soc0/adsp_image_variant +What: /sys/devices/soc0/adsp_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the ADSP image. + +What: /sys/devices/soc0/apps_image_crm +What: /sys/devices/soc0/apps_image_variant +What: /sys/devices/soc0/apps_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the APPS(Linux kernel, rootfs) image. + +What: /sys/devices/soc0/boot_image_crm +What: /sys/devices/soc0/boot_image_variant +What: /sys/devices/soc0/boot_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the Boot(bootloader) image. + +What: /sys/devices/soc0/build_id +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the unique id of current build being used on + the system. + +What: /sys/devices/soc0/cnss_image_crm +What: /sys/devices/soc0/cnss_image_variant +What: /sys/devices/soc0/cnss_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the CNSS image. + +What: /sys/devices/soc0/family +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the family(e.g Snapdragon) of the SoC. + +What: /sys/devices/soc0/foundry_id +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the id of the foundry, where soc was + manufactured. + +What: /sys/devices/soc0/hw_platform +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the type of hardware platform + (e.g MTP, QRD etc) where SoC is being used. + +What: /sys/devices/soc0/machine +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the machine name as given in the DT. + +What: /sys/devices/soc0/mpss_image_crm +What: /sys/devices/soc0/mpss_image_variant +What: /sys/devices/soc0/mpss_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the MPSS image. + +What: /sys/devices/soc0/platform_subtype +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the sub-type of hardware platform + (SKUAA, SKUF etc.) where SoC is being used. + +What: /sys/devices/soc0/platform_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file show the version of the hardware platform. + +What: /sys/devices/soc0/pmic_die_revision +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows revision of PMIC die. + +What: /sys/devices/soc0/pmic_model +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows name of PMIC model. + +What: /sys/devices/soc0/qcom_odm +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the ODM using the SoC. + +What: /sys/devices/soc0/raw_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows raw version of the SoC. + +What: /sys/devices/soc0/revision +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows revision of the SoC. + +What: /sys/devices/soc0/rpm_image_crm +What: /sys/devices/soc0/rpm_image_variant +What: /sys/devices/soc0/rpm_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the RPM image. + +What: /sys/devices/soc0/serial_number +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows serial number of the SoC. + +What: /sys/devices/soc0/soc_id +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the unique numeric id of a Qualcomm SoC. + +What: /sys/devices/soc0/tz_image_crm +What: /sys/devices/soc0/tz_image_variant +What: /sys/devices/soc0/tz_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the TZ image. + +What: /sys/devices/soc0/vendor +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + This file shows the vendor of the SoC. + +What: /sys/devices/soc0/video_image_crm +What: /sys/devices/soc0/video_image_variant +What: /sys/devices/soc0/video_image_version +Date: January 2017 +Contact: linux-arm-msm@vger.kernel.org +Description: + These files respectively show the crm version, variant and + version of the video image.