1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot /* 3*c66ec88fSEmmanuel Vadot * Samsung Exynos PPMU event types for counting in regs 4*c66ec88fSEmmanuel Vadot * 5*c66ec88fSEmmanuel Vadot * Copyright (c) 2019, Samsung Electronics 6*c66ec88fSEmmanuel Vadot * Author: Lukasz Luba <l.luba@partner.samsung.com> 7*c66ec88fSEmmanuel Vadot */ 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_PMU_EXYNOS_PPMU_H 10*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_PMU_EXYNOS_PPMU_H 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadot #define PPMU_RO_BUSY_CYCLE_CNT 0x0 13*c66ec88fSEmmanuel Vadot #define PPMU_WO_BUSY_CYCLE_CNT 0x1 14*c66ec88fSEmmanuel Vadot #define PPMU_RW_BUSY_CYCLE_CNT 0x2 15*c66ec88fSEmmanuel Vadot #define PPMU_RO_REQUEST_CNT 0x3 16*c66ec88fSEmmanuel Vadot #define PPMU_WO_REQUEST_CNT 0x4 17*c66ec88fSEmmanuel Vadot #define PPMU_RO_DATA_CNT 0x5 18*c66ec88fSEmmanuel Vadot #define PPMU_WO_DATA_CNT 0x6 19*c66ec88fSEmmanuel Vadot #define PPMU_RO_LATENCY 0x12 20*c66ec88fSEmmanuel Vadot #define PPMU_WO_LATENCY 0x16 21*c66ec88fSEmmanuel Vadot #define PPMU_V2_RO_DATA_CNT 0x4 22*c66ec88fSEmmanuel Vadot #define PPMU_V2_WO_DATA_CNT 0x5 23*c66ec88fSEmmanuel Vadot #define PPMU_V2_EVT3_RW_DATA_CNT 0x22 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot #endif 26