diff mbox series

[v2] clk: zynqmp: enable topsw_lsbus clock

Message ID 20231204084515.9488-1-venkatesh.abbarapu@amd.com
State Accepted
Commit 4f340244b974d52c48e01cb845cfe8315f7e5764
Delegated to: Michal Simek
Headers show
Series [v2] clk: zynqmp: enable topsw_lsbus clock | expand

Commit Message

Abbarapu, Venkatesh Dec. 4, 2023, 8:45 a.m. UTC
Display port is using topsw_lsbus clock, it is failing
while enabling the clock, so enable the topsw_lsbus clock.

Signed-off-by: Sreekanth Sunnam <sreekanth.sunnam@amd.com>
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
---
Changes in v2:
- Fixed the name to Sreekanth Sunnam.
---
 drivers/clk/clk_zynqmp.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michal Simek Dec. 13, 2023, 3:48 p.m. UTC | #1
On 12/4/23 09:45, Venkatesh Yadav Abbarapu wrote:
> Display port is using topsw_lsbus clock, it is failing
> while enabling the clock, so enable the topsw_lsbus clock.
> 
> Signed-off-by: Sreekanth Sunnam <sreekanth.sunnam@amd.com>
> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
> ---
> Changes in v2:
> - Fixed the name to Sreekanth Sunnam.
> ---
>   drivers/clk/clk_zynqmp.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c
> index 1cfe0e25b1..c059b9e8e6 100644
> --- a/drivers/clk/clk_zynqmp.c
> +++ b/drivers/clk/clk_zynqmp.c
> @@ -844,6 +844,7 @@ static int zynqmp_clk_enable(struct clk *clk)
>   		break;
>   	case qspi_ref ... can1_ref:
>   	case lpd_lsbus:
> +	case topsw_lsbus:
>   		clkact_shift = 24;
>   		mask = 0x1;
>   		break;

Applied.
M
diff mbox series

Patch

diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c
index 1cfe0e25b1..c059b9e8e6 100644
--- a/drivers/clk/clk_zynqmp.c
+++ b/drivers/clk/clk_zynqmp.c
@@ -844,6 +844,7 @@  static int zynqmp_clk_enable(struct clk *clk)
 		break;
 	case qspi_ref ... can1_ref:
 	case lpd_lsbus:
+	case topsw_lsbus:
 		clkact_shift = 24;
 		mask = 0x1;
 		break;