There are early texts which explicitly associate Bodhidharma with the Laṅkāvatāra Sūtra.
In other early texts, the school that would later become known as Chan Buddhism is sometimes referred to as the "Laṅkāvatāra school" (楞伽宗 Léngqié zōng).