Skip to content

Commit

Permalink
dt-bindings: soc: xilinx: ai-engine-npi: Add the binding for AIE NPI
Browse files Browse the repository at this point in the history
This is the binding for AIE NPI space. This is a temporary or
non-standard way by representing privileged NPI space as a device
to non-secure world.

Signed-off-by: Hyun Kwon <[email protected]>
Reviewed-by: Wendy Liang <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
xlnx-hyunkwon authored and Michal Simek committed Apr 9, 2019
1 parent 80cbf97 commit 898a40b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Xilinx AI Engine NPI
--------------------

The Xilinx AI Engine NPI space is where the privileged operations for AI Engine
device are handled, such as reset and pll. The space is typically meant to be
owned by platform management software, and this space is accessible only when
the platform management software grants the access. Thus, this dt binding only
works in such configuration, and in case the platform locks the access,
the non-secure software fails to access the device.

This is a temporary solution to allow direct access to NPI space.

Required properties:

- compatible: Must be "xlnx,ai-engine-npi"
- reg: Physical base address and length of the registers set for the device.

Example:

aie-npi@f70a0000 {
compatible = "xlnx,ai-engine-npi";
reg = <0x0 0xf70a0000 0x0 0x1000>;
};
5 changes: 5 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -15414,6 +15414,11 @@ F: Documentation/driver-api/uio-howto.rst
F: drivers/uio/
F: include/linux/uio*.h

USERSPACE I/O (UIO) DRIVER FOR XILINX AI ENGINE NPI
M: Hyun Kwon <[email protected]>
S: Maintained
F: Documentation/devicetree/bindings/soc/xilinx/xlnx,ai-engine-npi.txt

UTIL-LINUX PACKAGE
M: Karel Zak <[email protected]>
L: [email protected]
Expand Down

0 comments on commit 898a40b

Please sign in to comment.