include: dt-bindings: mfd: add atmel flexcom include file
Add dt-bindings include file for Atmel Flexcom hardware block. This file is copied from Linux kernel. It is used in devicetrees from Linux. Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
This commit is contained in:
parent
0c66872f99
commit
0d58dafd64
@ -312,6 +312,7 @@ F: arch/arm/mach-at91/
|
||||
F: board/atmel/
|
||||
F: drivers/cpu/at91_cpu.c
|
||||
F: drivers/misc/microchip_flexcom.c
|
||||
F: include/dt-bindings/mfd/atmel-flexcom.h
|
||||
F: drivers/timer/mchp-pit64b-timer.c
|
||||
|
||||
ARM NEXELL S5P4418
|
||||
|
15
include/dt-bindings/mfd/atmel-flexcom.h
Normal file
15
include/dt-bindings/mfd/atmel-flexcom.h
Normal file
@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* This header provides macros for Atmel Flexcom DT bindings.
|
||||
*
|
||||
* Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com>
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__
|
||||
#define __DT_BINDINGS_ATMEL_FLEXCOM_H__
|
||||
|
||||
#define ATMEL_FLEXCOM_MODE_USART 1
|
||||
#define ATMEL_FLEXCOM_MODE_SPI 2
|
||||
#define ATMEL_FLEXCOM_MODE_TWI 3
|
||||
|
||||
#endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */
|
Loading…
Reference in New Issue
Block a user