From: Michael Tretter Date: Mon, 9 Nov 2020 13:48:18 +0000 (+0100) Subject: soc: xilinx: vcu: add missing register NUM_CORE X-Git-Tag: accepted/tizen/unified/20230118.172025~8242^2~2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b1c9b8441aa94a549a90fa3d42687ccbad3eade;p=platform%2Fkernel%2Flinux-rpi.git soc: xilinx: vcu: add missing register NUM_CORE The H.264/H.265 Video Codec Unit v1.2 documentation describes this register as follows: Number of encoders core used for the provided configuration This is required for configuring the VCU encoder buffer. Signed-off-by: Michael Tretter Reviewed-by: Hyun Kwon Link: https://lore.kernel.org/r/20201109134818.4159342-5-m.tretter@pengutronix.de Signed-off-by: Michal Simek --- diff --git a/include/linux/mfd/syscon/xlnx-vcu.h b/include/linux/mfd/syscon/xlnx-vcu.h index d3edec4..ff7bc36 100644 --- a/include/linux/mfd/syscon/xlnx-vcu.h +++ b/include/linux/mfd/syscon/xlnx-vcu.h @@ -32,6 +32,7 @@ #define VCU_BUFFER_B_FRAME 0x5c #define VCU_WPP_EN 0x60 #define VCU_PLL_CLK_DEC 0x64 +#define VCU_NUM_CORE 0x6c #define VCU_GASKET_INIT 0x74 #define VCU_GASKET_VALUE 0x03