mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
dt-bindings: soc: rockchip: add define for rockchip amp
Signed-off-by: Tony Xie <tony.xie@rock-chips.com> Change-Id: Ie4225d2b17b9f6180a1bbfc489c485562d5d2fe4
This commit is contained in:
7
include/dt-bindings/soc/rockchip-amp.h
Normal file
7
include/dt-bindings/soc/rockchip-amp.h
Normal file
@@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
||||
#ifndef _DT_BINDINGS_SOC_ROCKCHIP_AMP_H
|
||||
#define _DT_BINDINGS_SOC_ROCKCHIP_AMP_H
|
||||
|
||||
#define CPU_GET_AFFINITY(cpu, cluster) ((cpu) << 0 | ((cluster) << 8))
|
||||
#define GIC_AMP_IRQ_CFG_ROUTE(_irq, _prio, _aff) (_irq) (_prio) (_aff)
|
||||
#endif
|
||||
Reference in New Issue
Block a user