mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-11-02 09:05:37 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
40
drivers/soc/samsung/pwrcal/S5E7870/S5E7870-rae.c
Normal file
40
drivers/soc/samsung/pwrcal/S5E7870/S5E7870-rae.c
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#include "../pwrcal-rae.h"
|
||||
#include "S5E7870-sfrbase.h"
|
||||
|
||||
#ifdef PWRCAL_TARGET_LINUX
|
||||
|
||||
struct v2p_sfr v2psfrmap[] = {
|
||||
DEFINE_V2P(CMU_CPUCL0_BASE, 0x10900000),
|
||||
DEFINE_V2P(CMU_CPUCL1_BASE, 0x10800000),
|
||||
DEFINE_V2P(CMU_FSYS_BASE, 0x13730000),
|
||||
DEFINE_V2P(CMU_G3D_BASE, 0x11460000),
|
||||
DEFINE_V2P(CMU_ISP_BASE, 0x144D0000),
|
||||
DEFINE_V2P(CMU_MFCMSCL_BASE, 0x12CB0000),
|
||||
DEFINE_V2P(CMU_MIF_BASE, 0x10460000),
|
||||
DEFINE_V2P(CMU_PERI_BASE, 0x101F0000),
|
||||
DEFINE_V2P(CMU_DISPAUD_BASE, 0x148D0000),
|
||||
|
||||
DEFINE_V2P(PMU_CPUCL0_BASE, 0x10920000),
|
||||
DEFINE_V2P(PMU_CPUCL1_BASE, 0x10820000),
|
||||
DEFINE_V2P(PMU_FSYS_BASE, 0x13740000),
|
||||
DEFINE_V2P(PMU_G3D_BASE, 0x11470000),
|
||||
DEFINE_V2P(PMU_ISP_BASE, 0x144E0000),
|
||||
DEFINE_V2P(PMU_MFCMSCL_BASE, 0x12CC0000),
|
||||
DEFINE_V2P(PMU_MIF_BASE, 0x10470000),
|
||||
DEFINE_V2P(PMU_PERI_BASE, 0x101E0000),
|
||||
DEFINE_V2P(PMU_ALIVE_BASE, 0x10480000),
|
||||
|
||||
DEFINE_V2P(DREX0_BASE, 0x10400000),
|
||||
DEFINE_V2P(DREX0_PF_BASE, 0x10410000),
|
||||
DEFINE_V2P(DREX0_SECURE_BASE, 0x10420000),
|
||||
DEFINE_V2P(DREX0_PF_SECURE_BASE, 0x10430000),
|
||||
DEFINE_V2P(DREXPHY0_BASE, 0x10440000),
|
||||
|
||||
DEFINE_V2P(SYSREG_CPUCL0_BASE, 0x10910000),
|
||||
DEFINE_V2P(SYSREG_CPUCL1_BASE, 0x10810000),
|
||||
DEFINE_V2P(SYSREG_G3D_BASE, 0x11450000),
|
||||
};
|
||||
|
||||
int num_of_v2psfrmap = sizeof(v2psfrmap) / sizeof(v2psfrmap[0]);
|
||||
void *spinlock_enable_offset = (void *)PMU_CPUCL0_BASE;
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue