Message ID | 20221125075453.268154-1-eugen.hristev@microchip.com |
---|---|
State | Accepted |
Commit | f2d6c888f471837c565719097ca96f8f2b9dd215 |
Delegated to: | Eugen Hristev |
Headers | show |
Series | [1/3] dt-bindings: mfd: add at91-usart.h from Linux | expand |
On 25.11.2022 09:54, Eugen Hristev wrote: > Copy include file dt-bindings/mfd/at91-usart.h from Linux > > Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> > --- > include/dt-bindings/mfd/at91-usart.h | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 include/dt-bindings/mfd/at91-usart.h > > diff --git a/include/dt-bindings/mfd/at91-usart.h b/include/dt-bindings/mfd/at91-usart.h > new file mode 100644 > index 0000000000..2de5bc312e > --- /dev/null > +++ b/include/dt-bindings/mfd/at91-usart.h > @@ -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__ */
On 11/25/22 10:29, Claudiu Beznea - M18063 wrote: > On 25.11.2022 09:54, Eugen Hristev wrote: >> Copy include file dt-bindings/mfd/at91-usart.h from Linux >> >> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> > > Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> > Applied series to u-boot-at91/next , thanks !
diff --git a/include/dt-bindings/mfd/at91-usart.h b/include/dt-bindings/mfd/at91-usart.h new file mode 100644 index 0000000000..2de5bc312e --- /dev/null +++ b/include/dt-bindings/mfd/at91-usart.h @@ -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__ */
Copy include file dt-bindings/mfd/at91-usart.h from Linux Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> --- include/dt-bindings/mfd/at91-usart.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/dt-bindings/mfd/at91-usart.h