Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f922f807 authored by Rohit Vaswani's avatar Rohit Vaswani
Browse files

msm: iomap: fsm9900: Add mapping for the MPM_PSHOLD region



Add an early mapping for the MPM PS_HOLD region to allow
the target to power down or reset.

Change-Id: I6acfdbecf39bfe94d6b26d39078d249832bb2a42
Acked-by: default avatarKaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent f20cd38b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@
#define FSM9900_TLMM_PHYS	0xFD510000
#define FSM9900_TLMM_SIZE	SZ_16K

#define FSM9900_MPM2_PSHOLD_PHYS	0xFC4AB000
#define FSM9900_MPM2_PSHOLD_SIZE	SZ_4K

#ifdef CONFIG_DEBUG_FSM9900_UART
#define MSM_DEBUG_UART_BASE	IOMEM(0xFA760000)
#define MSM_DEBUG_UART_PHYS	0xF9960000
+1 −0
Original line number Diff line number Diff line
@@ -414,6 +414,7 @@ void __init msm_map_fsm9xxx_io(void)
static struct map_desc fsm9900_io_desc[] __initdata = {
	MSM_CHIP_DEVICE(QGIC_DIST, FSM9900),
	MSM_CHIP_DEVICE(TLMM, FSM9900),
	MSM_CHIP_DEVICE(MPM2_PSHOLD, FSM9900),
	{
		.virtual =  (unsigned long) MSM_SHARED_RAM_BASE,
		.length =   MSM_SHARED_RAM_SIZE,