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

drm/aspeed: Add AST2600 chip support

Add AST2600 chip support and setting.

Signed-off-by: Tommy Haung <tommy_huang@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://patchwork.freedesktop.org/patch/msgid/20220302024930.18758-5-tommy_huang@aspeedtech.com

authored by

Tommy Haung and committed by
Joel Stanley
e41d27ea 5e2421ce

+9
+9
drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
··· 83 83 .scan_line_max = 128, 84 84 }; 85 85 86 + static const struct aspeed_gfx_config ast2600_config = { 87 + .dac_reg = 0xc0, 88 + .int_clear_reg = 0x68, 89 + .vga_scratch_reg = 0x50, 90 + .throd_val = CRT_THROD_LOW(0x50) | CRT_THROD_HIGH(0x70), 91 + .scan_line_max = 128, 92 + }; 93 + 86 94 static const struct of_device_id aspeed_gfx_match[] = { 87 95 { .compatible = "aspeed,ast2400-gfx", .data = &ast2400_config }, 88 96 { .compatible = "aspeed,ast2500-gfx", .data = &ast2500_config }, 97 + { .compatible = "aspeed,ast2600-gfx", .data = &ast2600_config }, 89 98 { }, 90 99 }; 91 100 MODULE_DEVICE_TABLE(of, aspeed_gfx_match);