Samsung has entered into an agreement with LG and Apple to supply both companies with new 20nm LPDDR4 DRAM chips for upcoming smartphones. The deal would see Samsung fulfill Apple's demand for memory chips for the next iPhone, while LG would use the components for the G4. According to the Korea Times report:

The agreement comes a few months after Samsung, the world's biggest memory chip supplier, began mass production of the next generation memory chip ― the 8-Gigabit LPDDR4 (low power double data rate) mobile DRAM with 20 nanometers. The so-called LPDDR memory, the most used in mobile devices, is poised to enable a new technological leap for premium smartphones.

Sources familiar with the matter revealed to the publication that not only will Samsung be shipping out components to partnering companies, but that the company will also be installing the in-house DRAM chips inside the Galaxy S6. This deal would also join the order for Samsung to produce the A9 chipset for Apple.

Source: Korea Times