Idle is controlled by the pcm. Generally @ 600 rpm or so with A/C off and @ 850 with it on. If not idling then time to clean the circuits in the TB and clean or replace the IAC.
the PCM controls the idle speed. Period. *some* throttle bodies have a minimum-airflow factory adjustment, but that does not affect the idle speed (but if you muck with it you CAN cause an CEL code)..
Bad battery can cause a p0505 FYI.. adaptive idle settings get lost and the PCM decides it can't control the idle.. What are the symptoms (aside from the code)?
Welcome to the best Dodge Durango Forum around, where you can find a great Dodge Durango Wiki and discuss the reliability of the different trim levels including the GT and SRT!