All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes
@ 2024-04-16 19:06 ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Stefan Wahren

This small series contains 2 changes for the chargebyte Tarragon
boards.

Michael Heimpold (1):
  ARM: dts: imx6ull-tarragon: fix USB over-current polarity

Stefan Wahren (1):
  ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000

 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi | 1 +
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts  | 4 ++--
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts   | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

--
2.34.1


_______________________________________________
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] 12+ messages in thread

* [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes
@ 2024-04-16 19:06 ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Stefan Wahren

This small series contains 2 changes for the chargebyte Tarragon
boards.

Michael Heimpold (1):
  ARM: dts: imx6ull-tarragon: fix USB over-current polarity

Stefan Wahren (1):
  ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000

 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi | 1 +
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts  | 4 ++--
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts   | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts | 2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

--
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 1/2] ARM: dts: imx6ull-tarragon: fix USB over-current polarity
  2024-04-16 19:06 ` Stefan Wahren
@ 2024-04-16 19:06   ` Stefan Wahren
  -1 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Michael Heimpold,
	Stefan Wahren

From: Michael Heimpold <michael.heimpold@chargebyte.com>

Our Tarragon platform uses a active-low signal to inform
the i.MX6ULL about the over-current detection.

Fixes: 5e4f393ccbf0 ("ARM: dts: imx6ull: Add chargebyte Tarragon support")
Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
index 3fdece5bd31f..5248a058230c 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
@@ -805,6 +805,7 @@ &usbotg1 {
 		     &pinctrl_usb_pwr>;
 	dr_mode = "host";
 	power-active-high;
+	over-current-active-low;
 	disable-over-current;
 	status = "okay";
 };
--
2.34.1


_______________________________________________
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] 12+ messages in thread

* [PATCH 1/2] ARM: dts: imx6ull-tarragon: fix USB over-current polarity
@ 2024-04-16 19:06   ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Michael Heimpold,
	Stefan Wahren

From: Michael Heimpold <michael.heimpold@chargebyte.com>

Our Tarragon platform uses a active-low signal to inform
the i.MX6ULL about the over-current detection.

Fixes: 5e4f393ccbf0 ("ARM: dts: imx6ull: Add chargebyte Tarragon support")
Signed-off-by: Michael Heimpold <michael.heimpold@chargebyte.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
index 3fdece5bd31f..5248a058230c 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-common.dtsi
@@ -805,6 +805,7 @@ &usbotg1 {
 		     &pinctrl_usb_pwr>;
 	dr_mode = "host";
 	power-active-high;
+	over-current-active-low;
 	disable-over-current;
 	status = "okay";
 };
--
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
  2024-04-16 19:06 ` Stefan Wahren
@ 2024-04-16 19:06   ` Stefan Wahren
  -1 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Stefan Wahren

Our hardware department recently informed us that, according to
the specification, the QCA7000 should be operated with a
maximum SPI clock frequency of 12 MHz. Even if it appears to work
at a higher frequency, we should not take any risks here. A short
performance test showed no measurable loss of speed.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts  | 4 ++--
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts   | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
index 67007ce383e3..f9bbd589b66d 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
@@ -45,7 +45,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

@@ -63,7 +63,7 @@ &pinctrl_qca700x_mains_rst
 		interrupts = <9 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
index cee223b5f8e1..ef06619d7c86 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
@@ -23,7 +23,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
index 7fd53b7a4372..83db65bf630f 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
@@ -45,7 +45,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

--
2.34.1


_______________________________________________
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] 12+ messages in thread

* [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
@ 2024-04-16 19:06   ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-16 19:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam
  Cc: kernel, imx, devicetree, linux-arm-kernel, Stefan Wahren

Our hardware department recently informed us that, according to
the specification, the QCA7000 should be operated with a
maximum SPI clock frequency of 12 MHz. Even if it appears to work
at a higher frequency, we should not take any risks here. A short
performance test showed no measurable loss of speed.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts  | 4 ++--
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts   | 2 +-
 arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
index 67007ce383e3..f9bbd589b66d 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-master.dts
@@ -45,7 +45,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

@@ -63,7 +63,7 @@ &pinctrl_qca700x_mains_rst
 		interrupts = <9 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
index cee223b5f8e1..ef06619d7c86 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slave.dts
@@ -23,7 +23,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

diff --git a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
index 7fd53b7a4372..83db65bf630f 100644
--- a/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts
@@ -45,7 +45,7 @@ &pinctrl_qca700x_cp_rst
 		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
 		spi-cpha;
 		spi-cpol;
-		spi-max-frequency = <16000000>;
+		spi-max-frequency = <12000000>;
 	};
 };

--
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
  2024-04-16 19:06   ` Stefan Wahren
@ 2024-04-17  3:00     ` Fabio Estevam
  -1 siblings, 0 replies; 12+ messages in thread
From: Fabio Estevam @ 2024-04-17  3:00 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, kernel, imx, devicetree, linux-arm-kernel

Hi Stefan,

On Tue, Apr 16, 2024 at 4:07 PM Stefan Wahren <wahrenst@gmx.net> wrote:
>
> Our hardware department recently informed us that, according to
> the specification, the QCA7000 should be operated with a
> maximum SPI clock frequency of 12 MHz. Even if it appears to work
> at a higher frequency, we should not take any risks here. A short
> performance test showed no measurable loss of speed.

Should this one have a Fixes tag?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
@ 2024-04-17  3:00     ` Fabio Estevam
  0 siblings, 0 replies; 12+ messages in thread
From: Fabio Estevam @ 2024-04-17  3:00 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, kernel, imx, devicetree, linux-arm-kernel

Hi Stefan,

On Tue, Apr 16, 2024 at 4:07 PM Stefan Wahren <wahrenst@gmx.net> wrote:
>
> Our hardware department recently informed us that, according to
> the specification, the QCA7000 should be operated with a
> maximum SPI clock frequency of 12 MHz. Even if it appears to work
> at a higher frequency, we should not take any risks here. A short
> performance test showed no measurable loss of speed.

Should this one have a Fixes tag?

_______________________________________________
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] 12+ messages in thread

* Re: [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
  2024-04-17  3:00     ` Fabio Estevam
@ 2024-04-17 10:44       ` Stefan Wahren
  -1 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-17 10:44 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, kernel, imx, devicetree, linux-arm-kernel

Hi Fabio,

Am 17.04.24 um 05:00 schrieb Fabio Estevam:
> Hi Stefan,
>
> On Tue, Apr 16, 2024 at 4:07 PM Stefan Wahren <wahrenst@gmx.net> wrote:
>> Our hardware department recently informed us that, according to
>> the specification, the QCA7000 should be operated with a
>> maximum SPI clock frequency of 12 MHz. Even if it appears to work
>> at a higher frequency, we should not take any risks here. A short
>> performance test showed no measurable loss of speed.
> Should this one have a Fixes tag?
i'm undecided about that. On the one hand the the former clock
frequencies are wrong, on the other hand we didn't experience any issues
with these frequencies.

_______________________________________________
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] 12+ messages in thread

* Re: [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000
@ 2024-04-17 10:44       ` Stefan Wahren
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wahren @ 2024-04-17 10:44 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, kernel, imx, devicetree, linux-arm-kernel

Hi Fabio,

Am 17.04.24 um 05:00 schrieb Fabio Estevam:
> Hi Stefan,
>
> On Tue, Apr 16, 2024 at 4:07 PM Stefan Wahren <wahrenst@gmx.net> wrote:
>> Our hardware department recently informed us that, according to
>> the specification, the QCA7000 should be operated with a
>> maximum SPI clock frequency of 12 MHz. Even if it appears to work
>> at a higher frequency, we should not take any risks here. A short
>> performance test showed no measurable loss of speed.
> Should this one have a Fixes tag?
i'm undecided about that. On the one hand the the former clock
frequencies are wrong, on the other hand we didn't experience any issues
with these frequencies.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes
  2024-04-16 19:06 ` Stefan Wahren
@ 2024-04-25  6:21   ` Shawn Guo
  -1 siblings, 0 replies; 12+ messages in thread
From: Shawn Guo @ 2024-04-25  6:21 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam, kernel, imx, devicetree,
	linux-arm-kernel

On Tue, Apr 16, 2024 at 09:06:57PM +0200, Stefan Wahren wrote:
> This small series contains 2 changes for the chargebyte Tarragon
> boards.
> 
> Michael Heimpold (1):
>   ARM: dts: imx6ull-tarragon: fix USB over-current polarity
> 
> Stefan Wahren (1):
>   ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000

Applied both, thanks!


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes
@ 2024-04-25  6:21   ` Shawn Guo
  0 siblings, 0 replies; 12+ messages in thread
From: Shawn Guo @ 2024-04-25  6:21 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Fabio Estevam, kernel, imx, devicetree,
	linux-arm-kernel

On Tue, Apr 16, 2024 at 09:06:57PM +0200, Stefan Wahren wrote:
> This small series contains 2 changes for the chargebyte Tarragon
> boards.
> 
> Michael Heimpold (1):
>   ARM: dts: imx6ull-tarragon: fix USB over-current polarity
> 
> Stefan Wahren (1):
>   ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000

Applied both, 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] 12+ messages in thread

end of thread, other threads:[~2024-04-25  6:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 19:06 [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes Stefan Wahren
2024-04-16 19:06 ` Stefan Wahren
2024-04-16 19:06 ` [PATCH 1/2] ARM: dts: imx6ull-tarragon: fix USB over-current polarity Stefan Wahren
2024-04-16 19:06   ` Stefan Wahren
2024-04-16 19:06 ` [PATCH 2/2] ARM: dts: imx6ull-tarragon: Reduce SPI clock for QCA7000 Stefan Wahren
2024-04-16 19:06   ` Stefan Wahren
2024-04-17  3:00   ` Fabio Estevam
2024-04-17  3:00     ` Fabio Estevam
2024-04-17 10:44     ` Stefan Wahren
2024-04-17 10:44       ` Stefan Wahren
2024-04-25  6:21 ` [PATCH 0/2] ARM: dts: imx6ull-tarragon: Minor changes Shawn Guo
2024-04-25  6:21   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.