Not to aid in a revived dead thread, but it's probably worth mentioning Toyota is abandoning their joint-partnership with Subaru and investing a controlling stake in Mazda.
This is significant because it shows how let down\one sided the partnership with Subaru was. Arguably the CVT technology was the only area Toyota benefited because their AWD technology was already excellent as proven with many 90's all-trac products, as is Toyota's engine technology which they did not appear to cross license since no engines other than the joint-developed FRS\BRZ were shared between the two companies.
Mazda, on the other hand, has a lot to offer Toyota with their Skyactiv platform. Mazda also has technology agreements with BMW, like Toyota does for the MkV Supra. Mazda also successfully leased its new MX5 platform to Fiat, I believe.
Toyota, however, offers Mazda something they dearly need after Ford had to divest their stake in the company during the Financial Crisis. I'm not sure a lot of people are actually aware WHY Ford didn't need a government bailout when GM and Chrysler needed billions. One of the primary reasons was Ford had billions invested in Mazda, which Mazda was fortunately able to buy back. This, however, left Mazda with no cash reserves and in a dangerous position, such as not able to survive financial fallout of a possible future recall. Toyota gives them this much needed security in order to avoid possible bankruptcy. Mazda is a tiny company compared to everyone else mentioned here. They make less than a million cars a year. Toyota makes more cars than that in a month.