* [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, 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 related [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
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 ` 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
1 sibling, 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
Add required syscon compatible for mt7622 pciesys. This is required for
SATA interface as the regs are shared.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
Changes v2:
- Fix broken schema example
.../bindings/clock/mediatek,mt7622-pciesys.yaml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.yaml b/Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.yaml
index c77111d10f90..9c3913f9092c 100644
--- a/Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.yaml
+++ b/Documentation/devicetree/bindings/clock/mediatek,mt7622-pciesys.yaml
@@ -14,9 +14,11 @@ maintainers:
properties:
compatible:
- enum:
- - mediatek,mt7622-pciesys
- - mediatek,mt7629-pciesys
+ oneOf:
+ - items:
+ - const: mediatek,mt7622-pciesys
+ - const: syscon
+ - const: mediatek,mt7629-pciesys
reg:
maxItems: 1
@@ -38,7 +40,7 @@ additionalProperties: false
examples:
- |
clock-controller@1a100800 {
- compatible = "mediatek,mt7622-pciesys";
+ compatible = "mediatek,mt7622-pciesys", "syscon";
reg = <0x1a100800 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
--
2.45.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node
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-06-29 17:35 ` Markus Elfring
2024-06-29 17:58 ` Frank Wunderlich
1 sibling, 1 reply; 6+ messages in thread
From: Markus Elfring @ 2024-06-29 17:35 UTC (permalink / raw)
To: Christian Marangi, Frank Wunderlich, linux-mediatek,
linux-arm-kernel, devicetree, linux-clk,
Angelo Gioacchino Del Regno, Conor Dooley, Krzysztof Kozlowski,
Matthias Brugger, Michael Turquette, Rafał Miłecki,
Rob Herring, Stephen Boyd
Cc: stable, LKML
> 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.
…
> Reported-by: Frank Wunderlich …
Was any related information published?
Regards,
Markus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] arm64: dts: mediatek: mt7622: readd syscon to pciesys node
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
0 siblings, 0 replies; 6+ messages in thread
From: Frank Wunderlich @ 2024-06-29 17:58 UTC (permalink / raw)
To: Markus Elfring, Christian Marangi, linux-mediatek,
linux-arm-kernel, devicetree, linux-clk,
Angelo Gioacchino Del Regno, Conor Dooley, Krzysztof Kozlowski,
Matthias Brugger, Michael Turquette, Rafał Miłecki,
Rob Herring, Stephen Boyd
Cc: stable, LKML
Am 29. Juni 2024 19:35:01 MESZ schrieb Markus Elfring <Markus.Elfring@web.de>:
>> 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.
>…
>> Reported-by: Frank Wunderlich …
>
>Was any related information published?
>
>Regards,
>Markus
>
Hi,
I found this while changing uboot to of_upstream and fixed it there (not yet send to mailinglist). As of_upstream uses linux dts,i rechecked if it is broken there too and yes it is.
But i have not sent issue to mailinglist because we fixed it before :)
regards Frank
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
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
1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-01 8:49 UTC (permalink / raw)
To: Christian Marangi, 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
On 28/06/2024 12:55, Christian Marangi wrote:
> Add required syscon compatible for mt7622 pciesys. This is required for
> SATA interface as the regs are shared.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> Changes v2:
> - Fix broken schema example
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/2] dt-bindings: clock: mediatek: add syscon compatible for mt7622 pciesys
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
1 sibling, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2024-07-08 19:02 UTC (permalink / raw)
To: AngeloGioacchino Del Regno, Christian Marangi, Conor Dooley,
Krzysztof Kozlowski, Matthias Brugger, Michael Turquette,
Rafał Miłecki, Rob Herring, devicetree,
linux-arm-kernel, linux-clk, linux-kernel, linux-mediatek
Cc: Christian Marangi
Quoting Christian Marangi (2024-06-28 03:55:41)
> Add required syscon compatible for mt7622 pciesys. This is required for
> SATA interface as the regs are shared.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
Applied to clk-next
^ 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;
as well as URLs for NNTP newsgroup(s).