Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.
Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.
Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
GPU RBCPR clocks needs to registered separately, as GFX CPR would require
the rbcpr clocks to register the regulator handle.
Change-Id: I59def76e7dd69600be8faf47eb867a97ab04739e
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Following are the changes made:
1. Add CLK_IGNORE_UNUSED flag for some clocks which are not
supposed to be disabled at late_init_level.
2. Fix clock measure debug mux value for mmcc clocks.
3. Add mmss_mdss_byte1_intf_div_clk for mdp.
4. Fix usb ref clocks to branch voted.
Change-Id: I06396c73f7855acfac283abe576e0b4cc1a92bd5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
qpnp_pin_debugfs_create() is going through all the child nodes
to create debugfs entries whereas the allocation for q_spec is
made only for available child nodes. This leads to a null pointer
access when CONFIG_GPIO_QPNP_PIN_DEBUG is selected in defconfig.
Fix it by using number of gpios available under each gpio chip
which was populated from the available child count already.
Change-Id: I17cbeeba158d34180763087103da4b03e01f7c90
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add 710MHz to A540 GPU power level on msmcobaltv2 as per
the hardware recommendation.
CRs-Fixed: 1085733
Change-Id: Iceff8329caf939ad3b34d6a750f056026853c76a
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
Add pinctrl configuration in device tree to support USB type-C
analog audio on msm8998 target.
CRs-Fixed: 1102048
Change-Id: I8d531ecb8bf267ddcc1cd0702c62728dd6317118
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
SDM660 has LPI (and not SSC) which uses "rwlc" and "rwlm"
as the regulator resource names. Use the same.
Change-Id: I88038d0b7ae5b73e03154cf0d03c16a2fd69fc5e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>