merged tip source code from eva-kernel.lnx.1.0,
and verify the promotion flow.
Change-Id: I031508fd8a23995a166506f3d190e5e228eb13c2
Signed-off-by: Yu SI <ysi@codeaurora.org>
re-order the mmrm deregister call in core release sequence;
set eva mmrm client structure ptr to NULL after deregister;
re-arrange the error handling code;
in mmrm dereg check if clk enabled before call set value to 0,
since already set value to 0 once when unprepare & disable clk.
Change-Id: Ia89919e219ffda94a19b5214e91f1b3adc575086
Signed-off-by: Yu SI <ysi@codeaurora.org>
Removed the logging which access mmrm eva client
structure after calling mmrm deregister.
Change-Id: I467c147bd76b980971b0ca512212292e572b1b18
Signed-off-by: Yu SI <ysi@codeaurora.org>
set clk value to 0 with mmrm api when disable and
unprepare clk
Change-Id: Ia14042abf5dc0b6798869ad95e22b4c12a973881
Signed-off-by: Yu SI <ysi@codeaurora.org>
set clock value to 0 before call mmrm_client_deregister,
fixed an issue that peak cur value overshoot between SSRs.
Change-Id: I2b884614f0c9e1b19d63102277cad7b951fdd908
Signed-off-by: Yu SI <ysi@codeaurora.org>
added call back function for notifier
when throttling case happen.
Change-Id: If8fc1c12ea087b7478e47f905184c0413764a0a7
Signed-off-by: Yu SI <ysi@codeaurora.org>
obtain clock id from deviceTree file
then parse in clock_info structure.
Change-Id: I2c15b1c1d20ac12c0334b82534b9ad5633569d11
Signed-off-by: Yu SI <ysi@codeaurora.org>
integrated mmrm api
added make file and kbuild support
code ready, enable flow.
Change-Id: Ic7da142bc68e60312ee9a12128847be8ed27a685
Signed-off-by: Yu SI <ysi@codeaurora.org>