mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/tegra-public-dts.git
synced 2025-12-22 17:28:39 +03:00
Sync the DT binding headers for tegra234 which are required for SOC and platform DTS/DTSI from kernel V6.3-rc5. Bug 4078385 Change-Id: I96ee533ae752879ca8a3f06a732180c631cce228 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168925 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
24 lines
536 B
C
24 lines
536 B
C
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
|
|
/*
|
|
* This header provides constants for the ARM GIC.
|
|
*/
|
|
|
|
#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
|
|
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
|
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
/* interrupt specifier cell 0 */
|
|
|
|
#define GIC_SPI 0
|
|
#define GIC_PPI 1
|
|
|
|
/*
|
|
* Interrupt specifier cell 2.
|
|
* The flags in irq.h are valid, plus those below.
|
|
*/
|
|
#define GIC_CPU_MASK_RAW(x) ((x) << 8)
|
|
#define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
|
|
|
|
#endif
|