[PATCH 6/9] accel/rocket: Add a new driver for Rockchip's NPU
Zenghui Yu
yuzenghui at huawei.com
Tue Jul 9 00:29:53 PDT 2024
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 at tomeuvizoso.net>
[...]
> +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.
More information about the Linux-rockchip
mailing list