[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211215103609.9268-3-dejia.shang@armchina.com>
Date: Wed, 15 Dec 2021 18:36:07 +0800
From: Dejia Shang <dejia.shang@...china.com>
To: gregkh@...uxfoundation.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org
Cc: dejia.shang@...china.com, toby.shang@...china.com
Subject: [PATCH 2/4] Documentation: add sysfs entries for Zhouyi NPU
Zhouyi NPU driver provides sysfs interfaces for userspace to
check the status of NPU cores.
Signed-off-by: Dejia Shang <dejia.shang@...china.com>
---
.../ABI/testing/sysfs-devices-platform-armchina-npu | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-armchina-npu
diff --git a/Documentation/ABI/testing/sysfs-devices-platform-armchina-npu b/Documentation/ABI/testing/sysfs-devices-platform-armchina-npu
new file mode 100644
index 000000000000..185819e0010c
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-devices-platform-armchina-npu
@@ -0,0 +1,13 @@
+What: /sys/devices/platform/aipu<n>/disable
+Date: December 2021
+KernelVersion: 5.16
+Contact: Dejia Shang <dejia.shang@...china.com>
+Description:
+ (RW) Read/Set the enable/disable status of the current Zhouyi NPU core
+
+What: /sys/devices/platform/aipu<n>/ext_registers
+Date: December 2021
+KernelVersion: 5.16
+Contact: Dejia Shang <dejia.shang@...china.com>
+Description:
+ (RO) List of Zhouyi NPU external registers and current values inside
--
2.17.1
IMPORTANT NOTICE: The contents of this email and any attachments may be privileged and confidential. If you are not the intended recipient, please delete the email immediately. It is strictly prohibited to disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ©Arm Technology (China) Co., Ltd copyright and reserve all rights. 重要提示:本邮件(包括任何附件)可能含有专供明确的个人或目的使用的机密信息,并受法律保护。如果您并非该收件人,请立即删除此邮件。严禁通过任何渠道,以任何目的,向任何人披露、储存或复制邮件信息或者据此采取任何行动。感谢您的配合。 ©安谋科技(中国)有限公司 版权所有并保留一切权利。
Powered by blists - more mailing lists