mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node
@ 2024-06-28 10:55 Christian Marangi
  2024-06-28 10:55 ` [PATCH v2 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys Christian Marangi
  2024-06-29 17:35 ` [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node Markus Elfring
  0 siblings, 2 replies; 6+ messages in thread
From: Christian Marangi @ 2024-06-28 10:55 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Rafał Miłecki, linux-clk,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek
  Cc: Christian Marangi, Frank Wunderlich, stable

Sata node reference the pciesys with the property mediatek,phy-node
and that is used as a syscon to access the pciesys regs.

Readd the syscon compatible to pciesys node to restore correct
functionality of the SATA interface.

Fixes: 3ba5a6159434 ("arm64: dts: mediatek: mt7622: fix clock controllers")
Reported-by: Frank Wunderlich <frank-w@public-files.de>
Co-developed-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Cc: stable@vger.kernel.org
---
 arch/arm64/boot/dts/mediatek/mt7622.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
index 917fa39a74f8..bb0ec1edbe5b 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
@@ -790,7 +790,7 @@ u2port1: usb-phy@1a0c5000 {
 	};
 
 	pciesys: clock-controller@1a100800 {
-		compatible = "mediatek,mt7622-pciesys";
+		compatible = "mediatek,mt7622-pciesys", "syscon";
 		reg = <0 0x1a100800 0 0x1000>;
 		#clock-cells = <1>;
 		#reset-cells = <1>;
-- 
2.45.1


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

end of thread, other threads:[~2024-07-08 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-28 10:55 [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node Christian Marangi
2024-06-28 10:55 ` [PATCH v2 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys Christian Marangi
2024-07-01  8:49   ` Krzysztof Kozlowski
2024-07-08 19:02   ` Stephen Boyd
2024-06-29 17:35 ` [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node Markus Elfring
2024-06-29 17:58   ` Frank Wunderlich

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

all inboxes | Powered by JetHome®