Skip to content

Commit

Permalink
ARM: dts: i.MX8MP: snps,dis-u2-freeclk-exists-quirk
Browse files Browse the repository at this point in the history
Linux v6.1 adds a snps,gfladj-refclk-lpm-sel-quirk property to the
i.MX8MP DWC3 device tree nodes, which is a superset of the existing
snps,dis-u2-freeclk-exists-quirk property. For this reason, the old
property was dropped breaking some usages of barebox i.MX8MP DWC3.

The proper fix would be supporting this new property, which is already
in next as part of the DWC3 driver sync with the kernel.

Until that lands in master though, let's add back the removed property
to fix the regression. Expectation is that we can revert this commit
as part of v2023.05.0.

Link: #19
Reported-by: Hans Christian Lonstad <hcl@datarespons.com>
Fixes: 32e2176 ("dts: update to v6.1-rc1")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230330113844.3343865-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
  • Loading branch information
a3f authored and saschahauer committed Apr 11, 2023
1 parent 73902ea commit db01bf8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/dts/imx8mp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
};
};

/* Temporary workaround until snps,gfladj-refclk-lpm-sel-quirk is supported */
&usb_dwc3_0 {
snps,dis-u2-freeclk-exists-quirk;
};

&usb_dwc3_1 {
snps,dis-u2-freeclk-exists-quirk;
};

/*
* The DSP reserved memory will collide with the Barebox malloc area for some
* DRAM sizes, even though the DSP itself is disabled in most configurations.
Expand Down

0 comments on commit db01bf8

Please sign in to comment.