summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-03-14 16:47:46 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-03-15 09:42:33 +0100
commit61be023775ab1ccef072bd8116f0ccf740bf8708 (patch)
tree5085522983fc0929e854b5b9e53ff8cdccffa2c3 /configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
parent5547488ca9f7c2f29f388bbaf808dfbfa7089796 (diff)
downloadDistroKit-61be023775ab1ccef072bd8116f0ccf740bf8708.tar.gz
DistroKit-61be023775ab1ccef072bd8116f0ccf740bf8708.tar.xz
v7a: barebox update 2020.09.0 -> 2021.02.0
One new patch is required to fix a regression for USB on rpi3. Also USB on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2 config now. For the beaglebone two patches are added fixing a regression related to a dts sync from upstream. All three patches were already sent to the barebox mailing list. Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch')
-rw-r--r--configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch b/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
new file mode 100644
index 0000000..8b08428
--- /dev/null
+++ b/configs/platform-v7a/patches/barebox-2021.02.0/bcm283X-Select-OF-clock-providers.patch
@@ -0,0 +1,30 @@
+From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
+Date: Thu, 11 Mar 2021 13:10:47 +0100
+Subject: [PATCH] bcm283X: Select OF clock providers
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This makes available the fixed clock needed on rpi3 for USB.
+
+USB stopped working when the dwc driver started to require an otg clock.
+
+Fixes: f73ca701bb85 ("usb: dwc2: add clk dependency for probe via oftree")
+Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
+Link: https://lore.pengutronix.de/20210312133030.521569-1-u.kleine-koenig@pengutronix.de
+---
+ arch/arm/Kconfig | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
+index ab0bf030131c..f9be9d42ecff 100644
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -44,6 +44,7 @@ config ARCH_BCM283X
+ select GPIOLIB
+ select CLKDEV_LOOKUP
+ select COMMON_CLK
++ select COMMON_CLK_OF_PROVIDER
+ select CLOCKSOURCE_BCM283X
+ select ARM_AMBA
+ select HAS_DEBUG_LL