dt-bindings: Add opp table for ahb device

Support opp table for ahb devices.

Change-Id: If9dc6cb6cc62641c6e2ca2bd75395a688667ae58
This commit is contained in:
Biao Long 2021-04-06 10:10:58 +08:00
commit bdf6aea9db

View file

@ -300,16 +300,21 @@
< 1286400 >;
};
ahb_bw_opp_table: ahb-bw-opp-table {
compatible = "operating-points-v2";
BW_OPP_ENTRY( 19, 8); /* 144 MB/s */
BW_OPP_ENTRY( 50, 8); /* 381 MB/s */
BW_OPP_ENTRY( 100, 8); /* 762 MB/s */
BW_OPP_ENTRY( 133, 8); /* 1014 MB/s */
};
ahb_clk: qcom,ahb-clk-src {
compatible = "devfreq-simple-dev";
clocks = <&gcc APSS_AHB_CLK_SRC>;
clock-names = "devfreq_clk";
governor = "powersave";
freq-tbl-khz =
< 19200 >,
< 50000 >,
< 100000 >,
< 133330 >;
qcom,bus-width = <8>;
operating-points-v2 = <&ahb_bw_opp_table>;
};
cpubw: qcom,cpubw {
@ -339,10 +344,10 @@
cpuahb-cpufreq {
target-dev = <&ahb_clk>;
cpu-to-dev-map =
< 200000 19200 >,
< 384000 50000 >,
< 787200 100000 >,
< 1286400 133330 >;
< 200000 144 >,
< 384000 381 >,
< 787200 762 >,
< 1286400 1014 >;
};
};