* [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux
@ 2022-11-25 7:54 Eugen Hristev
2022-11-25 7:54 ` [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc Eugen Hristev
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Eugen Hristev @ 2022-11-25 7:54 UTC (permalink / raw)
To: u-boot; +Cc: sergiu.moga, mihai.sain, claudiu.beznea, Eugen Hristev
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
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__ */
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc
2022-11-25 7:54 [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Eugen Hristev
@ 2022-11-25 7:54 ` Eugen Hristev
2022-11-25 8:29 ` [PATCH 2/3] sysreset: at91: add compatible with microchip,sama7g5-rstc Claudiu.Beznea
2022-11-25 7:54 ` [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1 Eugen Hristev
2022-11-25 8:29 ` [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Claudiu.Beznea
2 siblings, 1 reply; 7+ messages in thread
From: Eugen Hristev @ 2022-11-25 7:54 UTC (permalink / raw)
To: u-boot; +Cc: sergiu.moga, mihai.sain, claudiu.beznea, Eugen Hristev
As documented in bindings doc in kernel 6.0:
https://elixir.bootlin.com/linux/v6.0/source/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
drivers/sysreset/sysreset_at91.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/sysreset/sysreset_at91.c b/drivers/sysreset/sysreset_at91.c
index 24b87ee987..6119a29927 100644
--- a/drivers/sysreset/sysreset_at91.c
+++ b/drivers/sysreset/sysreset_at91.c
@@ -59,6 +59,7 @@ static struct sysreset_ops at91_sysreset = {
static const struct udevice_id a91_sysreset_ids[] = {
{ .compatible = "atmel,sama5d3-rstc" },
{ .compatible = "microchip,sam9x60-rstc" },
+ { .compatible = "microchip,sama7g5-rstc" },
{ }
};
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1
2022-11-25 7:54 [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Eugen Hristev
2022-11-25 7:54 ` [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc Eugen Hristev
@ 2022-11-25 7:54 ` Eugen Hristev
2022-11-25 8:28 ` Claudiu.Beznea
2022-11-25 8:29 ` [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Claudiu.Beznea
2 siblings, 1 reply; 7+ messages in thread
From: Eugen Hristev @ 2022-11-25 7:54 UTC (permalink / raw)
To: u-boot; +Cc: sergiu.moga, mihai.sain, claudiu.beznea, Eugen Hristev
Align the DT with current Linux 6.1 tree, wherever possible.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
arch/arm/dts/at91-sama7g5ek.dts | 23 +++++++++++------------
arch/arm/dts/sama7g5.dtsi | 27 ++++++++++++++++-----------
2 files changed, 27 insertions(+), 23 deletions(-)
diff --git a/arch/arm/dts/at91-sama7g5ek.dts b/arch/arm/dts/at91-sama7g5ek.dts
index aed84f15a1..9b247fcaf6 100644
--- a/arch/arm/dts/at91-sama7g5ek.dts
+++ b/arch/arm/dts/at91-sama7g5ek.dts
@@ -45,13 +45,13 @@
};
};
- gpio_keys {
+ gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_key_gpio_default>;
- bp1 {
+ button {
label = "PB_USER";
gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>;
linux,code = <KEY_PROG1>;
@@ -244,8 +244,8 @@
regulators {
vdd_3v3: VDD_IO {
regulator-name = "VDD_IO";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3700000>;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
@@ -264,8 +264,8 @@
vddioddr: VDD_DDR {
regulator-name = "VDD_DDR";
- regulator-min-microvolt = <1300000>;
- regulator-max-microvolt = <1450000>;
+ regulator-min-microvolt = <1350000>;
+ regulator-max-microvolt = <1350000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
@@ -285,8 +285,8 @@
vddcore: VDD_CORE {
regulator-name = "VDD_CORE";
- regulator-min-microvolt = <1100000>;
- regulator-max-microvolt = <1850000>;
+ regulator-min-microvolt = <1150000>;
+ regulator-max-microvolt = <1150000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-always-on;
@@ -306,7 +306,7 @@
vddcpu: VDD_OTHER {
regulator-name = "VDD_OTHER";
regulator-min-microvolt = <1050000>;
- regulator-max-microvolt = <1850000>;
+ regulator-max-microvolt = <1250000>;
regulator-initial-mode = <2>;
regulator-allowed-modes = <2>, <4>;
regulator-ramp-delay = <3125>;
@@ -326,8 +326,8 @@
vldo1: LDO1 {
regulator-name = "LDO1";
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <3700000>;
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-state-standby {
@@ -707,7 +707,6 @@
ck_cd_rstn_vddsel {
pinmux = <PIN_PA0__SDMMC0_CK>,
<PIN_PA2__SDMMC0_RSTN>,
- <PIN_PA14__SDMMC0_CD>,
<PIN_PA11__SDMMC0_DS>;
slew-rate = <0>;
bias-pull-up;
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index d38090d7dd..6388a60e53 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -15,6 +15,7 @@
#include <dt-bindings/clk/at91.h>
#include <dt-bindings/dma/at91.h>
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/mfd/at91-usart.h>
/ {
model = "Microchip SAMA7G5 family SoC";
@@ -195,11 +196,11 @@
<GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
interrupt-controller;
#interrupt-cells = <2>;
gpio-controller;
#gpio-cells = <2>;
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
};
pmc: pmc@e0018000 {
@@ -211,6 +212,13 @@
clock-names = "td_slck", "md_slck", "main_xtal", "main_rc";
};
+ reset_controller: reset-controller@e001d000 {
+ compatible = "microchip,sama7g5-rstc";
+ reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>;
+ #reset-cells = <1>;
+ clocks = <&clk32k 0>;
+ };
+
shdwc: shdwc@e001d010 {
compatible = "microchip,sama7g5-shdwc", "syscon";
reg = <0xe001d010 0x10>;
@@ -229,13 +237,6 @@
clocks = <&clk32k 0>;
};
- reset_controller: rstc@e001d000 {
- compatible = "microchip,sama7g5-rstc", "microchip,sam9x60-rstc";
- reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>;
- #reset-cells = <1>;
- clocks = <&clk32k 0>;
- };
-
clk32k: clock-controller@e001d050 {
compatible = "microchip,sama7g5-sckc", "microchip,sam9x60-sckc";
reg = <0xe001d050 0x4>;
@@ -620,6 +621,7 @@
uart0: serial@200 {
compatible = "atmel,at91sam9260-usart";
reg = <0x200 0x200>;
+ atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
clock-names = "usart";
@@ -668,6 +670,7 @@
uart3: serial@200 {
compatible = "atmel,at91sam9260-usart";
reg = <0x200 0x200>;
+ atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
clock-names = "usart";
@@ -711,6 +714,7 @@
uart4: serial@200 {
compatible = "atmel,at91sam9260-usart";
reg = <0x200 0x200>;
+ atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
clock-names = "usart";
@@ -736,6 +740,7 @@
uart7: serial@200 {
compatible = "atmel,at91sam9260-usart";
reg = <0x200 0x200>;
+ atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
clock-names = "usart";
@@ -884,9 +889,9 @@
#address-cells = <1>;
#size-cells = <0>;
atmel,fifo-size = <32>;
- dmas = <&dma0 AT91_XDMAC_DT_PERID(27)>,
- <&dma0 AT91_XDMAC_DT_PERID(28)>;
- dma-names = "rx", "tx";
+ dmas = <&dma0 AT91_XDMAC_DT_PERID(28)>,
+ <&dma0 AT91_XDMAC_DT_PERID(27)>;
+ dma-names = "tx", "rx";
status = "disabled";
};
};
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1
2022-11-25 7:54 ` [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1 Eugen Hristev
@ 2022-11-25 8:28 ` Claudiu.Beznea
0 siblings, 0 replies; 7+ messages in thread
From: Claudiu.Beznea @ 2022-11-25 8:28 UTC (permalink / raw)
To: Eugen.Hristev, u-boot; +Cc: Sergiu.Moga, Mihai.Sain
On 25.11.2022 09:54, Eugen Hristev wrote:
> Align the DT with current Linux 6.1 tree, wherever possible.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> arch/arm/dts/at91-sama7g5ek.dts | 23 +++++++++++------------
> arch/arm/dts/sama7g5.dtsi | 27 ++++++++++++++++-----------
> 2 files changed, 27 insertions(+), 23 deletions(-)
>
> diff --git a/arch/arm/dts/at91-sama7g5ek.dts b/arch/arm/dts/at91-sama7g5ek.dts
> index aed84f15a1..9b247fcaf6 100644
> --- a/arch/arm/dts/at91-sama7g5ek.dts
> +++ b/arch/arm/dts/at91-sama7g5ek.dts
> @@ -45,13 +45,13 @@
> };
> };
>
> - gpio_keys {
> + gpio-keys {
> compatible = "gpio-keys";
>
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_key_gpio_default>;
>
> - bp1 {
> + button {
> label = "PB_USER";
> gpios = <&pioA PIN_PA12 GPIO_ACTIVE_LOW>;
> linux,code = <KEY_PROG1>;
> @@ -244,8 +244,8 @@
> regulators {
> vdd_3v3: VDD_IO {
> regulator-name = "VDD_IO";
> - regulator-min-microvolt = <1200000>;
> - regulator-max-microvolt = <3700000>;
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> regulator-initial-mode = <2>;
> regulator-allowed-modes = <2>, <4>;
> regulator-always-on;
> @@ -264,8 +264,8 @@
>
> vddioddr: VDD_DDR {
> regulator-name = "VDD_DDR";
> - regulator-min-microvolt = <1300000>;
> - regulator-max-microvolt = <1450000>;
> + regulator-min-microvolt = <1350000>;
> + regulator-max-microvolt = <1350000>;
> regulator-initial-mode = <2>;
> regulator-allowed-modes = <2>, <4>;
> regulator-always-on;
> @@ -285,8 +285,8 @@
>
> vddcore: VDD_CORE {
> regulator-name = "VDD_CORE";
> - regulator-min-microvolt = <1100000>;
> - regulator-max-microvolt = <1850000>;
> + regulator-min-microvolt = <1150000>;
> + regulator-max-microvolt = <1150000>;
> regulator-initial-mode = <2>;
> regulator-allowed-modes = <2>, <4>;
> regulator-always-on;
> @@ -306,7 +306,7 @@
> vddcpu: VDD_OTHER {
> regulator-name = "VDD_OTHER";
> regulator-min-microvolt = <1050000>;
> - regulator-max-microvolt = <1850000>;
> + regulator-max-microvolt = <1250000>;
> regulator-initial-mode = <2>;
> regulator-allowed-modes = <2>, <4>;
> regulator-ramp-delay = <3125>;
> @@ -326,8 +326,8 @@
>
> vldo1: LDO1 {
> regulator-name = "LDO1";
> - regulator-min-microvolt = <1200000>;
> - regulator-max-microvolt = <3700000>;
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> regulator-always-on;
>
> regulator-state-standby {
> @@ -707,7 +707,6 @@
> ck_cd_rstn_vddsel {
> pinmux = <PIN_PA0__SDMMC0_CK>,
> <PIN_PA2__SDMMC0_RSTN>,
> - <PIN_PA14__SDMMC0_CD>,
> <PIN_PA11__SDMMC0_DS>;
> slew-rate = <0>;
> bias-pull-up;
> diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
> index d38090d7dd..6388a60e53 100644
> --- a/arch/arm/dts/sama7g5.dtsi
> +++ b/arch/arm/dts/sama7g5.dtsi
> @@ -15,6 +15,7 @@
> #include <dt-bindings/clk/at91.h>
> #include <dt-bindings/dma/at91.h>
> #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/mfd/at91-usart.h>
>
> / {
> model = "Microchip SAMA7G5 family SoC";
> @@ -195,11 +196,11 @@
> <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
> <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
> <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
> - clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
> interrupt-controller;
> #interrupt-cells = <2>;
> gpio-controller;
> #gpio-cells = <2>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 11>;
> };
>
> pmc: pmc@e0018000 {
> @@ -211,6 +212,13 @@
> clock-names = "td_slck", "md_slck", "main_xtal", "main_rc";
> };
>
> + reset_controller: reset-controller@e001d000 {
> + compatible = "microchip,sama7g5-rstc";
> + reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>;
> + #reset-cells = <1>;
> + clocks = <&clk32k 0>;
> + };
> +
> shdwc: shdwc@e001d010 {
> compatible = "microchip,sama7g5-shdwc", "syscon";
> reg = <0xe001d010 0x10>;
> @@ -229,13 +237,6 @@
> clocks = <&clk32k 0>;
> };
>
> - reset_controller: rstc@e001d000 {
> - compatible = "microchip,sama7g5-rstc", "microchip,sam9x60-rstc";
> - reg = <0xe001d000 0xc>, <0xe001d0e4 0x4>;
> - #reset-cells = <1>;
> - clocks = <&clk32k 0>;
> - };
> -
> clk32k: clock-controller@e001d050 {
> compatible = "microchip,sama7g5-sckc", "microchip,sam9x60-sckc";
> reg = <0xe001d050 0x4>;
> @@ -620,6 +621,7 @@
> uart0: serial@200 {
> compatible = "atmel,at91sam9260-usart";
> reg = <0x200 0x200>;
> + atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
> interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&pmc PMC_TYPE_PERIPHERAL 38>;
> clock-names = "usart";
> @@ -668,6 +670,7 @@
> uart3: serial@200 {
> compatible = "atmel,at91sam9260-usart";
> reg = <0x200 0x200>;
> + atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
> interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&pmc PMC_TYPE_PERIPHERAL 41>;
> clock-names = "usart";
> @@ -711,6 +714,7 @@
> uart4: serial@200 {
> compatible = "atmel,at91sam9260-usart";
> reg = <0x200 0x200>;
> + atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
> interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&pmc PMC_TYPE_PERIPHERAL 42>;
> clock-names = "usart";
> @@ -736,6 +740,7 @@
> uart7: serial@200 {
> compatible = "atmel,at91sam9260-usart";
> reg = <0x200 0x200>;
> + atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
> interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&pmc PMC_TYPE_PERIPHERAL 45>;
> clock-names = "usart";
> @@ -884,9 +889,9 @@
> #address-cells = <1>;
> #size-cells = <0>;
> atmel,fifo-size = <32>;
> - dmas = <&dma0 AT91_XDMAC_DT_PERID(27)>,
> - <&dma0 AT91_XDMAC_DT_PERID(28)>;
> - dma-names = "rx", "tx";
> + dmas = <&dma0 AT91_XDMAC_DT_PERID(28)>,
> + <&dma0 AT91_XDMAC_DT_PERID(27)>;
> + dma-names = "tx", "rx";
> status = "disabled";
> };
> };
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] sysreset: at91: add compatible with microchip,sama7g5-rstc
2022-11-25 7:54 ` [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc Eugen Hristev
@ 2022-11-25 8:29 ` Claudiu.Beznea
0 siblings, 0 replies; 7+ messages in thread
From: Claudiu.Beznea @ 2022-11-25 8:29 UTC (permalink / raw)
To: Eugen.Hristev, u-boot; +Cc: Sergiu.Moga, Mihai.Sain
On 25.11.2022 09:54, Eugen Hristev wrote:
> As documented in bindings doc in kernel 6.0:
> https://elixir.bootlin.com/linux/v6.0/source/Documentation/devicetree/bindings/reset/atmel,at91sam9260-reset.yaml
>
> Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
> drivers/sysreset/sysreset_at91.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/sysreset/sysreset_at91.c b/drivers/sysreset/sysreset_at91.c
> index 24b87ee987..6119a29927 100644
> --- a/drivers/sysreset/sysreset_at91.c
> +++ b/drivers/sysreset/sysreset_at91.c
> @@ -59,6 +59,7 @@ static struct sysreset_ops at91_sysreset = {
> static const struct udevice_id a91_sysreset_ids[] = {
> { .compatible = "atmel,sama5d3-rstc" },
> { .compatible = "microchip,sam9x60-rstc" },
> + { .compatible = "microchip,sama7g5-rstc" },
> { }
> };
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux
2022-11-25 7:54 [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Eugen Hristev
2022-11-25 7:54 ` [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc Eugen Hristev
2022-11-25 7:54 ` [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1 Eugen Hristev
@ 2022-11-25 8:29 ` Claudiu.Beznea
2022-12-21 15:15 ` Eugen.Hristev
2 siblings, 1 reply; 7+ messages in thread
From: Claudiu.Beznea @ 2022-11-25 8:29 UTC (permalink / raw)
To: Eugen.Hristev, u-boot; +Cc: Sergiu.Moga, Mihai.Sain
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__ */
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux
2022-11-25 8:29 ` [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Claudiu.Beznea
@ 2022-12-21 15:15 ` Eugen.Hristev
0 siblings, 0 replies; 7+ messages in thread
From: Eugen.Hristev @ 2022-12-21 15:15 UTC (permalink / raw)
To: Claudiu.Beznea, u-boot; +Cc: Sergiu.Moga, Mihai.Sain
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 !
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-12-21 15:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-25 7:54 [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Eugen Hristev
2022-11-25 7:54 ` [PATCH 2/3] sysreset: at91: add compatible with microchip, sama7g5-rstc Eugen Hristev
2022-11-25 8:29 ` [PATCH 2/3] sysreset: at91: add compatible with microchip,sama7g5-rstc Claudiu.Beznea
2022-11-25 7:54 ` [PATCH 3/3] ARM: dts: at91: sama7g5/sama7g5ek: align DT with kernel 6.1 Eugen Hristev
2022-11-25 8:28 ` Claudiu.Beznea
2022-11-25 8:29 ` [PATCH 1/3] dt-bindings: mfd: add at91-usart.h from Linux Claudiu.Beznea
2022-12-21 15:15 ` Eugen.Hristev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox