gem0_rx till gem3_rx  and gem_tsu are missing from set rate function.
Add them, so that they can be set from pmu firmware via clock framework.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.s...@amd.com>
---

 drivers/clk/clk_zynqmp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/clk_zynqmp.c b/drivers/clk/clk_zynqmp.c
index be0ee50e0e..27479391e1 100644
--- a/drivers/clk/clk_zynqmp.c
+++ b/drivers/clk/clk_zynqmp.c
@@ -718,6 +718,8 @@ static ulong zynqmp_clk_set_rate(struct clk *clk, ulong 
rate)
        switch (id) {
        case gem0_ref ... gem3_ref:
        case gem0_tx ... gem3_tx:
+       case gem0_rx ... gem3_rx:
+       case gem_tsu:
        case qspi_ref ... can1_ref:
        case usb0_bus_ref ... usb3_dual_ref:
                return zynqmp_clk_set_peripheral_rate(priv, id,
-- 
2.17.1

Reply via email to