Re: [PATCH 5/7] media: verisilicon: Add Rockchip VPU720 JPEG decoder
From: "Sascha Hauer" <s.hauer@pengutronix.de>
Date: 2026-08-20 10:04:10
Also in:
linux-devicetree, linux-media, linux-rockchip, lkml
On 2026-08-19 11:48, Nicolas Dufresne wrote:
Hi Sascha, Le mercredi 19 août 2026 à 12:37 +0200, Sascha Hauer a écrit :quoted
+/* ------------------------------------------------------------------ */ +/* Register byte offsets from dec_base */ +/* ------------------------------------------------------------------ */ + +/* REG0: IP version / product ID */ +#define VDPU720_REG_VERSION 0x000 +#define VDPU720_PROD_NUM GENMASK(31, 16) +#define VDPU720_BIT_DEPTH BIT(8)Can you share a dump and share these register reset values. Looking at the layout, clearly its highly modified, but probably derived from VSI multi-codec, but I'm thinking perhaps we'll learn more from that. Its always nice to justify when adding more chips that are not strictly VSI designs (or maybe it is) to the hantro dirver.
Here's a full register dump right after reset: 00000000: db1f0005 00000004 00120000 00000000 00000010: 00004400 00000000 00000000 00000000 00000020: 00000000 00000000 00000000 00000000 00000030: 00000000 00000000 00000000 00000000 00000040: 000000ff 00000000 00000000 00000000 00000050: 00000000 00000000 00000000 00000000 00000060: 00000000 00000000 00000000 00000000 00000070: 00000000 00000000 000000a8 00000001 00000080: 00200000 00080f06 00000000 00000000 00000090: 00000000 00000000 00000000 00000000 000000a0: 00040000 00001556 00000000 00000000 000000b0: 00000000 00000000 00000000 00000000 ... 000003f0: 00000000 00000000 00000000 00000000 Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |