soc: xilinx: vcu: use bitfields for register definition
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 21 Jan 2021 07:16:56 +0000 (08:16 +0100)
committerStephen Boyd <sboyd@kernel.org>
Tue, 9 Feb 2021 02:31:25 +0000 (18:31 -0800)
commitbc2702027062a5d19d3b606a3e053a86f74047c2
tree7ca7fffb6ed201eb54dc47642a0d61b877d8fd34
parent5a9b1258170836151d7c0465523b7e869a2d21fb
soc: xilinx: vcu: use bitfields for register definition

This makes the register accesses more readable and is closer to what is
usually used in the kernel.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20210121071659.1226489-13-m.tretter@pengutronix.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/soc/xilinx/xlnx_vcu.c