The former AC Milan star is pleased that the flamboyant coach is considering him for the first team once more, and is eagerly anticipating Sunday's Clasico
The Brazil international appeared to be on his way out of the Spanish capital during the summer transfer window, with rumours circulating that former club AC Milan had lined up a move for him.
However, Kaka eventually stayed put, and the 30-year-old impressed on Wednesday when handed a rare start in the 4-1 Champions League win over Ajax.
"I think I am heading in the right direction. Wednesday, I showed that the work I have been doing is paying off and I am regaining the confidence of the coach," he told Uefa.com.
"And that's what I always hoped would happen. I want to gain his trust, play more, and bit by bit I think things will turn out the way they should."
The attacking midfielder then looked ahead to this weekend's La Liga encounter against Barcelona, and stressed a vital game awaits Madrid.
"And now we can look forward to giving our all in the Clasico [on Sunday] because it's a crucial match for us."
Sunday's match at Camp Nou is scheduled to kick off at 19:50CET.