public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] Revert v6.2-rc1 and later "ARM: dts: bcm2835-rpi: Use firmware clocks for display"
@ 2025-01-18 15:43 H. Nikolaus Schaller
  2025-01-18 16:04 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: H. Nikolaus Schaller @ 2025-01-18 15:43 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui,
	Scott Branden
  Cc: Broadcom internal kernel review list, devicetree,
	linux-rpi-kernel, linux-arm-kernel, linux-kernel, letux-kernel,
	stable, H. Nikolaus Schaller

This reverts commit d02f02c28f5561cf5b2345f8b4c910bd98d18553.

I tried to upgrade a RasPi 3B+ with Waveshare 7inch HDMI LCD
from 6.1.y to 6.6.y but found that the display is broken with
this log message:

[   17.776315] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_drm_unregister [vc4])
[   17.784034] platform 3f806000.vec: deferred probe pending

Some tests revealed that while 6.1.y works, 6.2-rc1 is already broken but all
newer kernels as well. And a bisect did lead me to this patch.

I could repair several versions up to 6.13-rc7 by doing
this revert. Newer kernels have just to take care of

commit f702475b839c ("ARM: dts: bcm2835-rpi: Move duplicate firmware-clocks to bcm2835-rpi.dtsi")

but that is straightforward.

Fixes: d02f02c28f55 ("ARM: dts: bcm2835-rpi: Use firmware clocks for display")
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/bcm2835-rpi-common.dtsi | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/arch/arm/boot/dts/bcm2835-rpi-common.dtsi b/arch/arm/boot/dts/bcm2835-rpi-common.dtsi
index 4e7b4a592da7c..8a55b6cded592 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-common.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi-common.dtsi
@@ -7,23 +7,6 @@
 
 #include <dt-bindings/power/raspberrypi-power.h>
 
-&firmware {
-	firmware_clocks: clocks {
-		compatible = "raspberrypi,firmware-clocks";
-		#clock-cells = <1>;
-	};
-};
-
-&hdmi {
-	clocks = <&firmware_clocks 9>,
-		 <&firmware_clocks 13>;
-	clock-names = "pixel", "hdmi";
-};
-
 &v3d {
 	power-domains = <&power RPI_POWER_DOMAIN_V3D>;
 };
-
-&vec {
-	clocks = <&firmware_clocks 15>;
-};
-- 
2.47.0



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

* Re: [PATCH] Revert v6.2-rc1 and later "ARM: dts: bcm2835-rpi: Use firmware clocks for display"
  2025-01-18 15:43 [PATCH] Revert v6.2-rc1 and later "ARM: dts: bcm2835-rpi: Use firmware clocks for display" H. Nikolaus Schaller
@ 2025-01-18 16:04 ` Greg KH
  2025-01-18 16:26   ` [Letux-kernel] " H. Nikolaus Schaller
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2025-01-18 16:04 UTC (permalink / raw)
  To: H. Nikolaus Schaller
  Cc: Rob Herring, Krzysztof Kozlowski, Florian Fainelli, Ray Jui,
	Scott Branden, Broadcom internal kernel review list, devicetree,
	linux-rpi-kernel, linux-arm-kernel, linux-kernel, letux-kernel,
	stable

On Sat, Jan 18, 2025 at 04:43:14PM +0100, H. Nikolaus Schaller wrote:
> This reverts commit d02f02c28f5561cf5b2345f8b4c910bd98d18553.

I don't see this git id anywhere in Linus's tree, where did it come
from?  It's also not in linux-next.

thanks,

greg k-h


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

* Re: [Letux-kernel] [PATCH] Revert v6.2-rc1 and later "ARM: dts: bcm2835-rpi: Use firmware clocks for display"
  2025-01-18 16:04 ` Greg KH
@ 2025-01-18 16:26   ` H. Nikolaus Schaller
  0 siblings, 0 replies; 3+ messages in thread
From: H. Nikolaus Schaller @ 2025-01-18 16:26 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: devicetree, Florian Fainelli, Scott Branden, Ray Jui,
	Linux Kernel Mailing List, stable, Rob Herring,
	Broadcom internal kernel review list, linux-rpi-kernel,
	Krzysztof Kozlowski, arm-soc, Discussions about the Letux Kernel

Hi Greg,

> Am 18.01.2025 um 17:04 schrieb Greg KH <gregkh@linuxfoundation.org>:
> 
> On Sat, Jan 18, 2025 at 04:43:14PM +0100, H. Nikolaus Schaller wrote:
>> This reverts commit d02f02c28f5561cf5b2345f8b4c910bd98d18553.

Sorry for the noise. It was reverted from a locally rebased but
otherwise identical copy of

commit 27ab05e1b7e5c5ec9b4f658e1b2464c0908298a6

> 
> I don't see this git id anywhere in Linus's tree, where did it come
> from?  It's also not in linux-next.

I'll send a v2 patch with corrected references.

BR and thanks,
Nikolaus


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

end of thread, other threads:[~2025-01-18 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-18 15:43 [PATCH] Revert v6.2-rc1 and later "ARM: dts: bcm2835-rpi: Use firmware clocks for display" H. Nikolaus Schaller
2025-01-18 16:04 ` Greg KH
2025-01-18 16:26   ` [Letux-kernel] " H. Nikolaus Schaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox