From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FEA728505C; Tue, 22 Jul 2025 22:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753225159; cv=none; b=ICvhjFNLqEmFGYi4LCo9D00bIvSHGCU57ZBABnE1aLdfW/cz3Ikm+lsnMwtd4IUfVYQGWT9A8/KmpjppYu8y/rFL9cZqZhbknVA0e1WDCETDFb5I05xIW0DS5wrocuE3I9VFau3YEhxlm3JmbpB8go/GBnnlpRM0mtVzXJWbNLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753225159; c=relaxed/simple; bh=MfICkfXMWCF9NlybbsMcp/Dwcx+IdC0bFbu+PNYcl/o=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=piueig8UtxP4oqS+wEGoPV16KgvAHIaS38llmM4YY+6iiWXy36WLLi4GEAPXWLtsAtdu9vDARYniCEV+fU/UhPT5TpdEIQCvp/29rSEKt7kRJYVu/E22k/DrKUPCcJs/wmQ2YFOMjd7Rx4e0B6D/R22AAXRsk0yaBRxDt+YsqAY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Vym2qzur; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vym2qzur" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E35DEC4CEEB; Tue, 22 Jul 2025 22:59:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753225159; bh=MfICkfXMWCF9NlybbsMcp/Dwcx+IdC0bFbu+PNYcl/o=; h=From:Subject:Date:To:Cc:From; b=Vym2qzurrN+nyVhZaDuWfyNWYBe30J4TiLDbfkuX5fR3cbVo3ZIXDW0XJT0k3DIgW AOpo4p+Id4Ie4GX2+1pdVJ7PuuA5gCBZN8OjUPlmbtInuB3edX+q9C2WBLi+0QuiG9 dOWp6ILP/1d79lYMPWsHkR7FRqf82twodpyA2of/6ovfrwmSYvglyHaysMLL+EFn0y wUM52EMoAiGE03WcN7IlD0+sMj3Ug4eaVyCJ2VNm5ZCjrs8dnbvXhuT7Tz23xUujjp 9XIXuhk43zGRhRmXTo6K2GxXe7u6ZI9WvJIXFQWqh3g2lrKBbx2cwg4f4Z1IsACPAM ouBSglhe0jerg== From: "Rob Herring (Arm)" Subject: [PATCH RFC 0/2] accel: Add Arm Ethos-U NPU Date: Tue, 22 Jul 2025 17:58:55 -0500 Message-Id: <20250722-ethos-v1-0-cc1c5a0cbbfb@kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAK8XgGgC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI1MDc0NT3dSSjPxiXeO0lBRjy9Q0szRDSyWg2oKi1LTMCrA50UpBbs5KsbW 1APW9Sm5cAAAA X-Change-ID: 20250715-ethos-3fdd39ef6f19 To: Tomeu Vizoso , Krzysztof Kozlowski , Conor Dooley , Oded Gabbay , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , Robin Murphy , Steven Price Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org X-Mailer: b4 0.15-dev The Arm Ethos-U65/85 NPUs are designed for edge AI inference applications[0]. The driver works with Mesa Teflon. WIP support is available here[1]. The UAPI should also be compatible with the downstream driver stack[2] and Vela compiler though that has not been implemented. Testing so far has been on i.MX93 boards with Ethos-U65. Support for U85 is still todo. Only minor changes on driver side will be needed for U85 support. A git tree is here[3]. Rob [0] https://www.arm.com/products/silicon-ip-cpu?families=ethos%20npus [1] https://gitlab.freedesktop.org/tomeu/mesa.git ethos [2] https://gitlab.arm.com/artificial-intelligence/ethos-u/ [3] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git ethos Signed-off-by: Rob Herring (Arm) --- Rob Herring (Arm) (2): dt-bindings: npu: Add Arm Ethos-U65/U85 accel: Add Arm Ethos-U NPU driver .../devicetree/bindings/npu/arm,ethos.yaml | 79 +++ MAINTAINERS | 9 + drivers/accel/Kconfig | 1 + drivers/accel/Makefile | 1 + drivers/accel/ethos/Kconfig | 10 + drivers/accel/ethos/Makefile | 4 + drivers/accel/ethos/ethos_device.h | 186 ++++++ drivers/accel/ethos/ethos_drv.c | 412 ++++++++++++ drivers/accel/ethos/ethos_drv.h | 15 + drivers/accel/ethos/ethos_gem.c | 707 +++++++++++++++++++++ drivers/accel/ethos/ethos_gem.h | 46 ++ drivers/accel/ethos/ethos_job.c | 527 +++++++++++++++ drivers/accel/ethos/ethos_job.h | 41 ++ include/uapi/drm/ethos_accel.h | 262 ++++++++ 14 files changed, 2300 insertions(+) --- base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 change-id: 20250715-ethos-3fdd39ef6f19 Best regards, -- Rob Herring (Arm)