1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __SOC_MEDIATEK_MT8173_MIPI_H__ 4 #define __SOC_MEDIATEK_MT8173_MIPI_H__ 5 6 #include <soc/addressmap.h> 7 #include <types.h> 8 9 struct mipi_rx_regs { 10 uint32_t rev0[19]; 11 uint32_t mipi_rx_ana4c; 12 uint32_t mipi_rx_ana50; 13 uint32_t rev1; 14 }; 15 16 check_member(mipi_rx_regs, mipi_rx_ana4c, 0x4c); 17 check_member(mipi_rx_regs, rev1, 0x54); 18 19 static struct mipi_rx_regs *const mt8173_mipi = (void *)(ANA_MIPI_CS1_BASE); 20 21 #endif /* __SOC_MEDIATEK_MT8173_MIPI_H__ */ 22