1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (C) 2025 Icenowy Zheng <uwu@icenowy.me> 4 * 5 * Based on vs_dc_hw.h, which is: 6 * Copyright (C) 2023 VeriSilicon Holdings Co., Ltd. 7 */ 8 9 #ifndef _VS_DC_TOP_H_ 10 #define _VS_DC_TOP_H_ 11 12 #include <linux/bits.h> 13 14 #define VSDC_TOP_RST 0x0000 15 16 #define VSDC_TOP_IRQ_ACK 0x0010 17 #define VSDC_TOP_IRQ_VSYNC(n) BIT(n) 18 19 #define VSDC_TOP_IRQ_EN 0x0014 20 21 #define VSDC_TOP_CHIP_MODEL 0x0020 22 23 #define VSDC_TOP_CHIP_REV 0x0024 24 25 #define VSDC_TOP_CHIP_CUSTOMER_ID 0x0030 26 27 #endif /* _VS_DC_TOP_H_ */ 28