* [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes
@ 2022-04-20 8:12 Alexander Shiyan
2022-04-20 8:12 ` [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators Alexander Shiyan
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Alexander Shiyan @ 2022-04-20 8:12 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Shawn Guo, Alexander Shiyan
Updates UART nodes to adopt generic DMA bindings.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/boot/dts/imx51.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi
index 56c8d87864c3..1e20a6639e42 100644
--- a/arch/arm/boot/dts/imx51.dtsi
+++ b/arch/arm/boot/dts/imx51.dtsi
@@ -215,6 +215,8 @@ uart3: serial@7000c000 {
clocks = <&clks IMX5_CLK_UART3_IPG_GATE>,
<&clks IMX5_CLK_UART3_PER_GATE>;
clock-names = "ipg", "per";
+ dmas = <&sdma 43 5 1>, <&sdma 44 5 2>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -426,6 +428,8 @@ uart1: serial@73fbc000 {
clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
<&clks IMX5_CLK_UART1_PER_GATE>;
clock-names = "ipg", "per";
+ dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;
+ dma-names = "rx", "tx";
status = "disabled";
};
@@ -436,6 +440,8 @@ uart2: serial@73fc0000 {
clocks = <&clks IMX5_CLK_UART2_IPG_GATE>,
<&clks IMX5_CLK_UART2_PER_GATE>;
clock-names = "ipg", "per";
+ dmas = <&sdma 16 4 1>, <&sdma 17 4 2>;
+ dma-names = "rx", "tx";
status = "disabled";
};
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
@ 2022-04-20 8:12 ` Alexander Shiyan
2022-04-20 8:12 ` [PATCH 3/5] ARM: dts: i.MX51: digi-connectcore-som: Update PMIC voltages Alexander Shiyan
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Shiyan @ 2022-04-20 8:12 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Shawn Guo, Alexander Shiyan
VGEN1, VGEN2 and GPO1 regulators are not used on SOM.
Let's remove these entries.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
index 7d4970417dce..20e89cc4c838 100644
--- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
+++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
@@ -102,18 +102,6 @@ vcam_reg: vcam {
regulator-always-on;
};
- vgen1_reg: vgen1 {
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
- regulator-always-on;
- };
-
- vgen2_reg: vgen2 {
- regulator-min-microvolt = <3150000>;
- regulator-max-microvolt = <3150000>;
- regulator-always-on;
- };
-
vgen3_reg: vgen3 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
@@ -124,8 +112,6 @@ vusb_reg: vusb {
regulator-always-on;
};
- gpo1_reg: gpo1 { };
-
gpo2_reg: gpo2 { };
gpo3_reg: gpo3 { };
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/5] ARM: dts: i.MX51: digi-connectcore-som: Update PMIC voltages
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
2022-04-20 8:12 ` [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators Alexander Shiyan
@ 2022-04-20 8:12 ` Alexander Shiyan
2022-04-20 8:12 ` [PATCH 4/5] ARM: dts: i.MX51: digi-connectcore-som: Setup usbotg vbus-supply Alexander Shiyan
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Shiyan @ 2022-04-20 8:12 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Shawn Guo, Alexander Shiyan
This patch updates the PMIC voltages according to the module's
datasheet to match both commercial and industrial variants of the module.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
index 20e89cc4c838..04a47200fc73 100644
--- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
+++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
@@ -34,22 +34,22 @@ pmic: mc13892@0 {
regulators {
sw1_reg: sw1 {
- regulator-min-microvolt = <1000000>;
+ regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1100000>;
regulator-boot-on;
regulator-always-on;
};
sw2_reg: sw2 {
- regulator-min-microvolt = <1225000>;
- regulator-max-microvolt = <1225000>;
+ regulator-min-microvolt = <1175000>;
+ regulator-max-microvolt = <1275000>;
regulator-boot-on;
regulator-always-on;
};
sw3_reg: sw3 {
- regulator-min-microvolt = <1200000>;
- regulator-max-microvolt = <1200000>;
+ regulator-min-microvolt = <1150000>;
+ regulator-max-microvolt = <1350000>;
regulator-boot-on;
regulator-always-on;
};
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/5] ARM: dts: i.MX51: digi-connectcore-som: Setup usbotg vbus-supply
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
2022-04-20 8:12 ` [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators Alexander Shiyan
2022-04-20 8:12 ` [PATCH 3/5] ARM: dts: i.MX51: digi-connectcore-som: Update PMIC voltages Alexander Shiyan
@ 2022-04-20 8:12 ` Alexander Shiyan
2022-04-20 8:12 ` [PATCH 5/5] ARM: dts: i.MX51: digi-connectcore-jsk: Use usb-nop-xceiv usbphy for USB1 Alexander Shiyan
2022-04-24 13:34 ` [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Shiyan @ 2022-04-20 8:12 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Shawn Guo, Alexander Shiyan
The VBUS on usbotg is connected to the PMIC SWBST, let's reflect
that in the bindings.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
index 04a47200fc73..f0809a16a2ce 100644
--- a/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
+++ b/arch/arm/boot/dts/imx51-digi-connectcore-som.dtsi
@@ -184,6 +184,7 @@ &nfc {
&usbotg {
phy_type = "utmi_wide";
disable-over-current;
+ vbus-supply = <&swbst_reg>;
/* Device role is not known, keep status disabled */
};
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/5] ARM: dts: i.MX51: digi-connectcore-jsk: Use usb-nop-xceiv usbphy for USB1
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
` (2 preceding siblings ...)
2022-04-20 8:12 ` [PATCH 4/5] ARM: dts: i.MX51: digi-connectcore-som: Setup usbotg vbus-supply Alexander Shiyan
@ 2022-04-20 8:12 ` Alexander Shiyan
2022-04-24 13:34 ` [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Alexander Shiyan @ 2022-04-20 8:12 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Shawn Guo, Alexander Shiyan
Add node describing the USB1 usbphy.
Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
---
arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts
index aab8d6f137c3..10cae7c3a879 100644
--- a/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts
+++ b/arch/arm/boot/dts/imx51-digi-connectcore-jsk.dts
@@ -13,6 +13,13 @@ / {
chosen {
stdout-path = &uart1;
};
+
+ usbphy1: usbphy1 {
+ compatible = "usb-nop-xceiv";
+ clocks = <&clks IMX5_CLK_USB_PHY_GATE>;
+ clock-names = "main_clk";
+ #phy-cells = <0>;
+ };
};
&esdhc1 {
@@ -63,6 +70,7 @@ &usbotg {
&usbh1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
+ fsl,usbphy = <&usbphy1>;
dr_mode = "host";
phy_type = "ulpi";
disable-over-current;
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
` (3 preceding siblings ...)
2022-04-20 8:12 ` [PATCH 5/5] ARM: dts: i.MX51: digi-connectcore-jsk: Use usb-nop-xceiv usbphy for USB1 Alexander Shiyan
@ 2022-04-24 13:34 ` Shawn Guo
4 siblings, 0 replies; 6+ messages in thread
From: Shawn Guo @ 2022-04-24 13:34 UTC (permalink / raw)
To: Alexander Shiyan; +Cc: linux-arm-kernel
On Wed, Apr 20, 2022 at 11:12:02AM +0300, Alexander Shiyan wrote:
> Updates UART nodes to adopt generic DMA bindings.
>
> Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Applied all, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-04-24 13:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20 8:12 [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Alexander Shiyan
2022-04-20 8:12 ` [PATCH 2/5] ARM: dts: i.MX51: digi-connectcore-som: Remove unused regulators Alexander Shiyan
2022-04-20 8:12 ` [PATCH 3/5] ARM: dts: i.MX51: digi-connectcore-som: Update PMIC voltages Alexander Shiyan
2022-04-20 8:12 ` [PATCH 4/5] ARM: dts: i.MX51: digi-connectcore-som: Setup usbotg vbus-supply Alexander Shiyan
2022-04-20 8:12 ` [PATCH 5/5] ARM: dts: i.MX51: digi-connectcore-jsk: Use usb-nop-xceiv usbphy for USB1 Alexander Shiyan
2022-04-24 13:34 ` [PATCH 1/5] ARM: dts: imx51: Add generic DMA bindings for UART nodes Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).