Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/pl111: Add all registers to debugfs

This adds all the main control registers to the debugfs
register file. This was helpful for my debugging so it will
likely help others as well.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170908124709.4758-2-linus.walleij@linaro.org

+6
+6
drivers/gpu/drm/pl111/pl111_debugfs.c
··· 22 22 REGDEF(CLCD_TIM2), 23 23 REGDEF(CLCD_TIM3), 24 24 REGDEF(CLCD_UBAS), 25 + REGDEF(CLCD_LBAS), 25 26 REGDEF(CLCD_PL111_CNTL), 26 27 REGDEF(CLCD_PL111_IENB), 28 + REGDEF(CLCD_PL111_RIS), 29 + REGDEF(CLCD_PL111_MIS), 30 + REGDEF(CLCD_PL111_ICR), 31 + REGDEF(CLCD_PL111_UCUR), 32 + REGDEF(CLCD_PL111_LCUR), 27 33 }; 28 34 29 35 int pl111_debugfs_regs(struct seq_file *m, void *unused)