mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
112 lines
3.3 KiB
Diff
112 lines
3.3 KiB
Diff
From 064f36e61df85cbfd56f032faaa914930b84ac8c Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Wed, 6 Mar 2024 14:26:33 +0000
|
|
Subject: [PATCH 0933/1085] clk: rp1: Reserve pll_audio* for clk_i2s
|
|
|
|
Prevent all clocks except clk_i2s from using the audio PLLs as sources,
|
|
so that clk_i2s may be allowed to change them as needed.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/clk/clk-rp1.c | 26 +++++++++++++-------------
|
|
1 file changed, 13 insertions(+), 13 deletions(-)
|
|
|
|
--- a/drivers/clk/clk-rp1.c
|
|
+++ b/drivers/clk/clk-rp1.c
|
|
@@ -1744,7 +1744,7 @@ static const struct rp1_clk_desc clk_des
|
|
|
|
[RP1_CLK_PWM0] = REGISTER_CLK(
|
|
.name = "clk_pwm0",
|
|
- .parents = {"pll_audio_pri_ph",
|
|
+ .parents = {"", // "pll_audio_pri_ph",
|
|
"pll_video_sec",
|
|
"xosc",
|
|
"clksrc_gp0",
|
|
@@ -1766,7 +1766,7 @@ static const struct rp1_clk_desc clk_des
|
|
|
|
[RP1_CLK_PWM1] = REGISTER_CLK(
|
|
.name = "clk_pwm1",
|
|
- .parents = {"pll_audio_pri_ph",
|
|
+ .parents = {"", // "pll_audio_pri_ph",
|
|
"pll_video_sec",
|
|
"xosc",
|
|
"clksrc_gp0",
|
|
@@ -1788,9 +1788,9 @@ static const struct rp1_clk_desc clk_des
|
|
|
|
[RP1_CLK_AUDIO_IN] = REGISTER_CLK(
|
|
.name = "clk_audio_in",
|
|
- .parents = {"pll_audio",
|
|
- "pll_audio_pri_ph",
|
|
- "pll_audio_sec",
|
|
+ .parents = {"", //"pll_audio",
|
|
+ "", //"pll_audio_pri_ph",
|
|
+ "", //"pll_audio_sec",
|
|
"pll_video_sec",
|
|
"xosc",
|
|
"clksrc_gp0",
|
|
@@ -1811,8 +1811,8 @@ static const struct rp1_clk_desc clk_des
|
|
|
|
[RP1_CLK_AUDIO_OUT] = REGISTER_CLK(
|
|
.name = "clk_audio_out",
|
|
- .parents = {"pll_audio",
|
|
- "pll_audio_sec",
|
|
+ .parents = {"", //"pll_audio",
|
|
+ "", //"pll_audio_sec",
|
|
"pll_video_sec",
|
|
"xosc",
|
|
"clksrc_gp0",
|
|
@@ -1902,7 +1902,7 @@ static const struct rp1_clk_desc clk_des
|
|
[RP1_CLK_ADC] = REGISTER_CLK(
|
|
.name = "clk_adc",
|
|
.parents = {"xosc",
|
|
- "pll_audio_tern",
|
|
+ "", //"pll_audio_tern",
|
|
"clksrc_gp0",
|
|
"clksrc_gp1",
|
|
"clksrc_gp2",
|
|
@@ -1954,7 +1954,7 @@ static const struct rp1_clk_desc clk_des
|
|
"clksrc_gp4",
|
|
"clksrc_gp5",
|
|
"pll_sys",
|
|
- "pll_audio",
|
|
+ "", //"pll_audio",
|
|
"",
|
|
"",
|
|
"clk_i2s",
|
|
@@ -1984,7 +1984,7 @@ static const struct rp1_clk_desc clk_des
|
|
"clksrc_gp4",
|
|
"clksrc_gp5",
|
|
"pll_sys_pri_ph",
|
|
- "pll_audio_pri_ph",
|
|
+ "", //"pll_audio_pri_ph",
|
|
"",
|
|
"",
|
|
"clk_adc",
|
|
@@ -2014,7 +2014,7 @@ static const struct rp1_clk_desc clk_des
|
|
"clksrc_gp4",
|
|
"clksrc_gp5",
|
|
"pll_sys_sec",
|
|
- "pll_audio_sec",
|
|
+ "", //"pll_audio_sec",
|
|
"pll_video",
|
|
"clk_audio_in",
|
|
"clk_dpi",
|
|
@@ -2073,7 +2073,7 @@ static const struct rp1_clk_desc clk_des
|
|
"clksrc_gp2",
|
|
"clksrc_gp3",
|
|
"clksrc_gp5",
|
|
- "pll_audio_tern",
|
|
+ "", //"pll_audio_tern",
|
|
"pll_video_sec",
|
|
"",
|
|
"",
|
|
@@ -2104,7 +2104,7 @@ static const struct rp1_clk_desc clk_des
|
|
"clksrc_gp2",
|
|
"clksrc_gp3",
|
|
"clksrc_gp4",
|
|
- "pll_audio_tern",
|
|
+ "", //"pll_audio_tern",
|
|
"pll_video_sec",
|
|
"clk_eth_tsu",
|
|
"",
|