-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: Add binding for atmel-usart in SPI mode
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea <radu.pirea@microchip.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
- Loading branch information
Radu Pirea
authored and
Lee Jones
committed
Sep 10, 2018
1 parent
64f3b63
commit a785ce4
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* This header provides macros for AT91 USART DT bindings. | ||
* | ||
* Copyright (C) 2018 Microchip Technology | ||
* | ||
* Author: Radu Pirea <radu.pirea@microchip.com> | ||
* | ||
*/ | ||
|
||
#ifndef __DT_BINDINGS_AT91_USART_H__ | ||
#define __DT_BINDINGS_AT91_USART_H__ | ||
|
||
#define AT91_USART_MODE_SERIAL 0 | ||
#define AT91_USART_MODE_SPI 1 | ||
|
||
#endif /* __DT_BINDINGS_AT91_USART_H__ */ |