1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 2 /* 3 * Header providing constants for Rockchip suspend bindings. 4 * 5 * Copyright (C) 2018, Fuzhou Rockchip Electronics Co., Ltd 6 * Author: XiaoDong.Huang 7 */ 8 #ifndef __DT_BINDINGS_ROCKCHIP_PM_H__ 9 #define __DT_BINDINGS_ROCKCHIP_PM_H__ 10 /******************************bits ops************************************/ 11 12 #ifndef BIT 13 #define BIT(nr) (1 << (nr)) 14 #endif 15 16 #define RKPM_SLP_CTR_VOL_PWM0 BIT(10) 17 #define RKPM_SLP_CTR_VOL_PWM1 BIT(11) 18 19 #endif 20