John Legend is in negotiations to join the cast of the musical dramedy “La La Land,” starring Ryan Gosling and Emma Stone.

The pic is written and directed by “Whiplash” helmer Damien Chazelle with J.K. Simmons also on board to star.

Gosling is portraying a jazz pianist and Stone will play an aspiring actress in the story, in which the duo fall in love but face difficulties as they become more successful. Chazelle is directing from his own script.

Producers are Fred Berger, Gary Gilbert, Jordan Horowitz and Marc Platt. Lionsgate has dated the film, which will go out under its Summit label, for July 15.

Given Legend’s background as an R&B singer, it can be expected that he will have some sort of musical presence in the film.

Legend has not acted much but did win an Academy Award along with Common for the song “Glory,” which appeared in the Martin Luther King Jr. biopic “Selma.” He made his acting debut in the Samuel L. Jackson pic “Soul Men.”

He is repped by WME and Atomic Music Group. Showbiz 411 first reported the news.