Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
31 lines
1022 B
C
31 lines
1022 B
C
/*
|
|
* Copyright 2008 Openmoko, Inc.
|
|
* Copyright 2008 Simtec Electronics
|
|
* http://armlinux.simtec.co.uk/
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* S3C64XX - modem block registers
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __MACH_S3C64XX_REGS_MODEM_H
|
|
#define __MACH_S3C64XX_REGS_MODEM_H __FILE__
|
|
|
|
#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x))
|
|
|
|
#define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0)
|
|
#define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4)
|
|
#define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8)
|
|
#define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC)
|
|
#define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10)
|
|
#define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14)
|
|
#define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18)
|
|
|
|
#define MIFPCON_INT2M_LEVEL (1 << 4)
|
|
#define MIFPCON_LCD_BYPASS (1 << 3)
|
|
|
|
#endif /* __MACH_S3C64XX_REGS_MODEM_H */
|