From 69a05a7cf35b901bc451b41bd3c2335a195051fb Mon Sep 17 00:00:00 2001 From: Anil Veshala Veshala Date: Tue, 11 Jan 2022 23:15:27 -0800 Subject: [PATCH] ARM: dts: msm: updating i2c-hub clock entries Upstream common driver votes for m-ahb and s-ahb clocks. For i2c-hub we have only s-ahb clock support, to avoid conflicts with upstream common driver, in i2c-hub dt node added m-ahb clock support, it is just copy of s-ahb clock node only name used as m-ahb. Change-Id: I3bf1e063a51b5880037d3088236dd8aeb02bd321 --- qcom/kalama-qupv3.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qcom/kalama-qupv3.dtsi b/qcom/kalama-qupv3.dtsi index cd534e1b..85f1d893 100644 --- a/qcom/kalama-qupv3.dtsi +++ b/qcom/kalama-qupv3.dtsi @@ -821,8 +821,14 @@ reg = <0x9c0000 0x2000>; #address-cells = <1>; #size-cells = <1>; - clock-names = "s-ahb"; - clocks = <&gcc GCC_QUPV3_I2C_S_AHB_CLK>; + /* Upstream common driver using m-ahb and s-ahb clocks, for i2c-hub HW + * supports only s-ahb clock. To support upstream model we are using both + * the clocks, but for m-ahb clock we defined s-ahb clock node only. + */ + clock-names = "m-ahb", "s-ahb"; + clocks = <&gcc GCC_QUPV3_I2C_S_AHB_CLK>, + <&gcc GCC_QUPV3_I2C_S_AHB_CLK>; + ranges; status = "ok"; qupv3_hub_i2c0: i2c@980000 {