devfreq: detect ddr type and add frequency table accordingly
Some targets support different DDR types. Detect the DDR type and populate the frequency table accordingly. OPP framework supports opp-supported-hw bit map which allows the selected frequencies to be added to the opp table based on the hardware version check. Implement the same in the bandwidth monitor device so that the right frequencies would be added to the opp table. This patch also adds checks for the latency based device to detect the DDR type at runtime and add the corresponding frequency map. Change-Id: Ice5a0b14da67b3f2f07e98bc7349220da7d4efdb Signed-off-by:Santosh Mardi <gsantosh@codeaurora.org> Signed-off-by:
Rama Aparna Mallavarapu <aparnam@codeaurora.org>
Loading
Please register or sign in to comment