1 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
2 +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
10 - clock-frequency = <200000>;
12 - pinctrl-0 = <&i2c4_pins>;
13 - pinctrl-names = "default";
16 + * The i2c device on gsbi4 should not be enabled.
17 + * On ipq806x designs gsbi4 i2c is meant for exclusive
18 + * RPM usage. Turning this on in kernel manifests as
19 + * i2c failure for the RPM.
23 gsbi5: gsbi@1a200000 {
24 --- a/drivers/clk/qcom/gcc-ipq806x.c
25 +++ b/drivers/clk/qcom/gcc-ipq806x.c
27 .parent_names = gcc_pxo_pll8,
30 - .flags = CLK_SET_PARENT_GATE,
31 + .flags = CLK_SET_PARENT_GATE | CLK_IGNORE_UNUSED,
38 .ops = &clk_branch_ops,
39 - .flags = CLK_SET_RATE_PARENT,
40 + .flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED,
45 .hw.init = &(struct clk_init_data){
46 .name = "gsbi1_h_clk",
47 .ops = &clk_branch_ops,
48 - .flags = CLK_IS_ROOT,
49 + .flags = CLK_IS_ROOT | CLK_IGNORE_UNUSED,