]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: rockchip: rk3568: Add dummy I2S1_MCLKOUT_TX clock support
authorJonas Karlman <jonas@kwiboo.se>
Mon, 17 Apr 2023 19:07:25 +0000 (19:07 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:16:01 +0000 (15:16 +0800)
A RK3568 device tree pmic node can reference the I2S1_MCLKOUT_TX clock
in assigned-clocks, add dummy support to set parent of this clock to the
rk3568 cru driver.

Fixes probe of pmic driver and missing regulators on affected boards,
rk3568-evb and rk3568-rock-3a.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/clk/rockchip/clk_rk3568.c

index 1c6adc56f91351bc8435b962fb12ac65a1a92a6b..cefc263971a632a1408a5a96afd874a020b8e87d 100644 (file)
@@ -2838,6 +2838,8 @@ static int rk3568_clk_set_parent(struct clk *clk, struct clk *parent)
        case ACLK_RKVDEC_PRE:
        case CLK_RKVDEC_CORE:
                return rk3568_rkvdec_set_parent(clk, parent);
+       case I2S1_MCLKOUT_TX:
+               break;
        default:
                return -ENOENT;
        }