From: Dejia Shang <dejia.shang@armchina.com>
To: gregkh@linuxfoundation.org, robh+dt@kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: dejia.shang@armchina.com, toby.shang@armchina.com
Subject: [PATCH 2/4] Documentation: add sysfs entries for Zhouyi NPU
Date: Wed, 15 Dec 2021 18:36:07 +0800 [thread overview]
Message-ID: <20211215103609.9268-3-dejia.shang@armchina.com> (raw)
In-Reply-To: <20211215103609.9268-1-dejia.shang@armchina.com>
Zhouyi NPU driver provides sysfs interfaces for userspace to
check the status of NPU cores.
Signed-off-by: Dejia Shang <dejia.shang@armchina.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@armchina.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@armchina.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. 重要提示:本邮件(包括任何附件)可能含有专供明确的个人或目的使用的机密信息,并受法律保护。如果您并非该收件人,请立即删除此邮件。严禁通过任何渠道,以任何目的,向任何人披露、储存或复制邮件信息或者据此采取任何行动。感谢您的配合。 ©安谋科技(中国)有限公司 版权所有并保留一切权利。
next prev parent reply other threads:[~2021-12-15 11:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 10:36 [PATCH 0/4] misc: add ArmChina Zhouyi NPU driver Dejia Shang
2021-12-15 10:36 ` [PATCH 1/4] " Dejia Shang
2021-12-15 10:50 ` Greg KH
2021-12-15 10:36 ` Dejia Shang [this message]
2021-12-15 10:51 ` [PATCH 2/4] Documentation: add sysfs entries for Zhouyi NPU Greg KH
2021-12-15 10:36 ` [PATCH 3/4] dt-bindings: add vendor-prefix and documentation " Dejia Shang
2021-12-15 10:51 ` Greg KH
2021-12-16 15:29 ` Rob Herring
2021-12-17 6:57 ` Dejia Shang
2021-12-15 10:36 ` [PATCH 4/4] MAINTAINERS: add maintainer info. " Dejia Shang
2021-12-15 10:51 ` Greg KH
2021-12-15 10:50 ` [PATCH 0/4] misc: add ArmChina Zhouyi NPU driver Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211215103609.9268-3-dejia.shang@armchina.com \
--to=dejia.shang@armchina.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=toby.shang@armchina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®