Re: [PATCH 6/9] accel/rocket: Add a new driver for Rockchip's NPU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024/6/12 21:52, Tomeu Vizoso wrote:
This initial version supports the NPU as shipped in the RK3588 SoC and
described in the first part of its TRM, in Chapter 36.

This NPU contains 3 independent cores that the driver can submit jobs
to.

This commit adds just hardware initialization and power management.

Signed-off-by: Tomeu Vizoso <tomeu@xxxxxxxxxxxxxxx>

[...]

+void rocket_core_reset(struct rocket_core *core)
+{
+	reset_control_assert(core->a_reset);
+	reset_control_assert(core->h_reset);
+
+	udelay(10);
+
+	reset_control_deassert(core->a_reset);
+	reset_control_deassert(core->h_reset);
+}

Seems unused.

+void rocket_core_reset(struct rocket_core *core);

+void rocket_device_reset(struct rocket_device *rdev);

Ditto.




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux