Its the ECU which controls the Idling speed. The engine RPM is monitored by the crankshaft position sensor which plays a vital role in the engine timing functions for fuel injection, sparks and valve timing.
Experts like Xulfiqar, JZ and waisayahemd can tell u the best. 
Get your valve clearance done if u are having issues with RPM.