linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes
@ 2021-12-04  1:15 Li Yang
  2021-12-04  1:15 ` [PATCH 2/2] arm64: dts: ls1088a: add snps incr burst type adjustment for usb1 Li Yang
  2021-12-14  8:07 ` [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Li Yang @ 2021-12-04  1:15 UTC (permalink / raw)
  To: Shawn Guo, linux-arm-kernel, linux-kernel; +Cc: Li Yang, Ashish Kumar

ls1088a has a separate reset register block.  Define it in dts and use
it for reboot.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index f891ef6a3754..1eda080b497c 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -206,6 +206,13 @@ sysclk: sysclk {
 		clock-output-names = "sysclk";
 	};
 
+	reboot {
+		compatible = "syscon-reboot";
+		regmap = <&reset>;
+		offset = <0x0>;
+		mask = <0x02>;
+	};
+
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <2>;
@@ -226,6 +233,11 @@ dcfg: dcfg@1e00000 {
 			little-endian;
 		};
 
+		reset: syscon@1e60000 {
+			compatible = "fsl,ls1088a-reset", "syscon";
+			reg = <0x0 0x1e60000 0x0 0x10000>;
+		};
+
 		isc: syscon@1f70000 {
 			compatible = "fsl,ls1088a-isc", "syscon";
 			reg = <0x0 0x1f70000 0x0 0x10000>;
-- 
2.25.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] 3+ messages in thread

* [PATCH 2/2] arm64: dts: ls1088a: add snps incr burst type adjustment for usb1
  2021-12-04  1:15 [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes Li Yang
@ 2021-12-04  1:15 ` Li Yang
  2021-12-14  8:07 ` [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Li Yang @ 2021-12-04  1:15 UTC (permalink / raw)
  To: Shawn Guo, linux-arm-kernel, linux-kernel; +Cc: Li Yang, Pengbo Mu

This property could fix the defect that external usb device
always prints this error log --- 'reset SuperSpeed USB device number n
using xhci_hcd' when system power on.

Signed-off-by: Pengbo Mu <pengbo.mu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 1eda080b497c..3ed1f2c51cad 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -497,6 +497,7 @@ usb1: usb@3110000 {
 			dr_mode = "host";
 			snps,quirk-frame-length-adjustment = <0x20>;
 			snps,dis_rxdet_inp3_quirk;
+			snps,incr-burst-type-adjustment = <1>, <4>, <8>, <16>;
 			status = "disabled";
 		};
 
-- 
2.25.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] 3+ messages in thread

* Re: [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes
  2021-12-04  1:15 [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes Li Yang
  2021-12-04  1:15 ` [PATCH 2/2] arm64: dts: ls1088a: add snps incr burst type adjustment for usb1 Li Yang
@ 2021-12-14  8:07 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2021-12-14  8:07 UTC (permalink / raw)
  To: Li Yang; +Cc: linux-arm-kernel, linux-kernel, Ashish Kumar

On Fri, Dec 03, 2021 at 07:15:36PM -0600, Li Yang wrote:
> ls1088a has a separate reset register block.  Define it in dts and use
> it for reboot.
> 
> Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
> Signed-off-by: Li Yang <leoyang.li@nxp.com>

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

end of thread, other threads:[~2021-12-14  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04  1:15 [PATCH 1/2] arm64: dts: ls1088a: Add reboot nodes Li Yang
2021-12-04  1:15 ` [PATCH 2/2] arm64: dts: ls1088a: add snps incr burst type adjustment for usb1 Li Yang
2021-12-14  8:07 ` [PATCH 1/2] arm64: dts: ls1088a: Add reboot 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).