mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
arm64: dts: rockchip: rk3568: adjust suspend mode define
Signed-off-by: shengfei Xu <xsf@rock-chips.com> Change-Id: I19744999dcc2f9a1ee2bd332661acc5bf8c83837
This commit is contained in:
parent
a73f42850a
commit
97f2daa2e2
|
|
@ -304,14 +304,16 @@ drm_logo: drm-logo@00000000 {
|
|||
rockchip_suspend: rockchip-suspend {
|
||||
compatible = "rockchip,pm-rk3568";
|
||||
status = "disabled";
|
||||
rockchip,sleep-debug-en = <0>;
|
||||
rockchip,sleep-debug-en = <1>;
|
||||
rockchip,sleep-mode-config = <
|
||||
(0
|
||||
| RKPM_SLP_ARMOFF
|
||||
| RKPM_SLP_PMU_PMUALIVE_32K
|
||||
| RKPM_SLP_PMU_DIS_OSC
|
||||
| RKPM_SLP_ARMOFF_LOGOFF
|
||||
| RKPM_SLP_CENTER_OFF
|
||||
| RKPM_SLP_HW_PLLS_OFF
|
||||
| RKPM_SLP_PMUALIVE_32K
|
||||
| RKPM_SLP_OSC_DIS
|
||||
| RKPM_SLP_PMIC_LP
|
||||
| RKPM_SLP_32K_EXT
|
||||
| RKPM_SLP_32K_PVTM
|
||||
)
|
||||
>;
|
||||
rockchip,wakeup-config = <
|
||||
|
|
|
|||
|
|
@ -14,36 +14,35 @@
|
|||
#define BIT(nr) (1 << (nr))
|
||||
#endif
|
||||
|
||||
#define RKPM_SLP_ARMPD BIT(0)
|
||||
#define RKPM_SLP_WFI BIT(0)
|
||||
#define RKPM_SLP_ARMOFF BIT(1)
|
||||
#define RKPM_SLP_ARMOFF_DDRPD BIT(2)
|
||||
#define RKPM_SLP_CENTER_OFF BIT(2)
|
||||
#define RKPM_SLP_ARMOFF_LOGOFF BIT(3)
|
||||
#define RKPM_SLP_FROM_UBOOT BIT(4)
|
||||
#define RKPM_SLP_ULTRA BIT(5)
|
||||
#define RKPM_SLP_PIN_REVERSE BIT(6)
|
||||
|
||||
/* all plls except ddr's pll */
|
||||
#define RKPM_SLP_PMU_HW_PLLS_PD BIT(8)
|
||||
#define RKPM_SLP_PMU_PMUALIVE_32K BIT(9)
|
||||
#define RKPM_SLP_PMU_DIS_OSC BIT(10)
|
||||
|
||||
#define RKPM_SLP_CLK_GT BIT(16)
|
||||
#define RKPM_SLP_PMIC_LP BIT(17)
|
||||
|
||||
#define RKPM_SLP_32K_EXT BIT(24)
|
||||
#define RKPM_SLP_TIME_OUT_WKUP BIT(25)
|
||||
#define RKPM_SLP_PMU_DBG BIT(26)
|
||||
|
||||
#define RKPM_SLP_PMIC_LP BIT(5)
|
||||
#define RKPM_SLP_HW_PLLS_OFF BIT(6)
|
||||
#define RKPM_SLP_PMUALIVE_32K BIT(7)
|
||||
#define RKPM_SLP_OSC_DIS BIT(8)
|
||||
#define RKPM_SLP_32K_EXT BIT(9)
|
||||
#define RKPM_SLP_32K_PVTM BIT(10)
|
||||
/* the wake up source */
|
||||
#define RKPM_CLUSTER_WKUP_EN BIT(0)
|
||||
#define RKPM_GPIO_WKUP_EN BIT(2)
|
||||
#define RKPM_SDIO_WKUP_EN BIT(3)
|
||||
#define RKPM_SDMMC_WKUP_EN BIT(4)
|
||||
#define RKPM_CPU0_WKUP_EN BIT(0)
|
||||
#define RKPM_CPU1_WKUP_EN BIT(1)
|
||||
#define RKPM_CPU2_WKUP_EN BIT(2)
|
||||
#define RKPM_CPU3_WKUP_EN BIT(3)
|
||||
#define RKPM_GPIO_WKUP_EN BIT(4)
|
||||
#define RKPM_UART0_WKUP_EN BIT(5)
|
||||
#define RKPM_TIMER_WKUP_EN BIT(6)
|
||||
#define RKPM_USB_WKUP_EN BIT(7)
|
||||
#define RKPM_SFT_WKUP_EN BIT(8)
|
||||
#define RKPM_TIME_OUT_WKUP_EN BIT(10)
|
||||
#define RKPM_SDMMC0_WKUP_EN BIT(6)
|
||||
#define RKPM_SDMMC1_WKUP_EN BIT(7)
|
||||
#define RKPM_SDMMC2_WKUP_EN BIT(8)
|
||||
#define RKPM_USB_WKUP_EN BIT(9)
|
||||
#define RKPM_PCIE_WKUP_EN BIT(10)
|
||||
#define RKPM_VAD_WKUP_EN BIT(11)
|
||||
#define RKPM_TIMER_WKUP_EN BIT(12)
|
||||
#define RKPM_PWM0_WKUP_EN BIT(13)
|
||||
#define RKPM_TIMEOUT_WKUP_EN BIT(14)
|
||||
#define RKPM_SFT_WKUP_EN BIT(15)
|
||||
#define RKPM_USB_LINESTATE_WKUP_EN BIT(16)
|
||||
|
||||
#define RKPM_SLP_LDO1_ON BIT(0)
|
||||
#define RKPM_SLP_LDO2_ON BIT(1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user