mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
3d65944517
PD#SWPL-93002 Problem: bring up to console Solution: 1. copy dts related files from kernel 5.4 2. modify the file style to meet the submission requirements 3. modify the CPU register to solve the problem of stuck cpuidle 4. porting clk driver 5. porting pinctrl driver 6. modify the reg of aucpu in dts to solve kernel panic 7. modify secmon dts to solve serror kernel panic Verify: t3 Change-Id: Idf318911e58fdb059bbae1035d390021326870c2 Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
24 lines
545 B
C
24 lines
545 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#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
|