imx6/imx8-apalis: add can power-up delay on ixora board
Subsystems (3)
cover imx6/imx8-apalis: add can power-up delay on ixora board
From: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms. This series adds mentioned delay for iMX6 and iMX8 Apalis SoM variants.
Andrejs Cainikovs (2):
arm64: dts: imx8-apalis: add can power-up delay on ixora board
ARM: dts: imx6q-apalis: add can power-up delay on ixora board
arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts | 2 ++ arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 2 ++ 2 files changed, 4 insertions(+)
Signature · 1 line
2.34.1
PATCH 1/2 arm64: dts: imx8-apalis: add can power-up delay on ixora board
From: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms.
--- arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi +2 -0
@@ -68,6 +68,7 @@ reg_can1_supply: regulator-can1-supply { gpio = <&lsio_gpio5 22 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-name = "can1_supply"; + startup-delay-us = <1000>; }; reg_can2_supply: regulator-can2-supply {
@@ -77,6 +78,7 @@ reg_can2_supply: regulator-can2-supply { gpio = <&lsio_gpio2 8 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-name = "can2_supply"; + startup-delay-us = <1000>; }; reg_usb_host_vbus: regulator-usb-host-vbus {
Signature · 1 line
2.34.1
PATCH 2/2 ARM: dts: imx6q-apalis: add can power-up delay on ixora board
In reply to Andrejs CainikovsFrom: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms.
--- arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts +2 -0
@@ -76,6 +76,7 @@ reg_can1_supply: regulator-can1-supply { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enable_can1_power>; regulator-name = "can1_supply"; + startup-delay-us = <1000>; }; reg_can2_supply: regulator-can2-supply {
@@ -85,6 +86,7 @@ reg_can2_supply: regulator-can2-supply { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enable_can2_power>; regulator-name = "can2_supply"; + startup-delay-us = <1000>; }; };
Signature · 1 line
2.34.1
Re: [PATCH v1 2/2] ARM: dts: imx6q-apalis: add can power-up delay on ixora board
Quoted 6 lines · Andrejs Cainikovs
From: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms.
Why is only the iMX6 change required for stable?
Shawn
Quoted 28 lines
Signed-off-by Andrejs Cainikovs <[email protected]>--- arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/nxp/imx/imx6q-apalis-ixora-v1.2.dts +2
-0@@ -76,6 +76,7 @@ reg_can1_supply: regulator-can1-supply { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enable_can1_power>; regulator-name = "can1_supply"; + startup-delay-us = <1000>; }; reg_can2_supply: regulator-can2-supply {@@ -85,6 +86,7 @@ reg_can2_supply: regulator-can2-supply { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enable_can2_power>; regulator-name = "can2_supply"; + startup-delay-us = <1000>; }; };Signature · 1 line
2.34.1
Re: [PATCH v1 2/2] ARM: dts: imx6q-apalis: add can power-up delay on ixora board
Quoted 9 lines · Shawn Guo
Quoted 6 lines · Andrejs Cainikovs
From: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms.
Why is only the iMX6 change required for stable?
From what I know currently apalis-imx8 is not yet used in products with a mainline kernel therefore the assumption that the backporting would add very small value, however maybe is better to just backport both to stable.
Francesco
Shawn Guo
AppliedQuoted 9 lines · Andrejs Cainikovs
From: Andrejs Cainikovs <[email protected]>
Newer variants of Ixora boards require a power-up delay when powering up the CAN transceiver of up to 1ms. This series adds mentioned delay for iMX6 and iMX8 Apalis SoM variants.
Andrejs Cainikovs (2):
arm64: dts: imx8-apalis: add can power-up delay on ixora board
ARM: dts: imx6q-apalis: add can power-up delay on ixora board
Applied both, thanks!