In Pañcaṅgika Sutta, the Buddha mentions 5 ways to be in “pañcaṅgikassa sammāsamādhissa”. The first 4 ways are jhanas. However the 5th way is as described:
Furthermore, the meditation that is a basis for reviewing is properly grasped, focused on, borne in mind, and comprehended with wisdom by a mendicant.
Puna caparaṁ, bhikkhave, bhikkhuno paccavekkhaṇānimittaṁ suggahitaṁ hoti sumanasikataṁ sūpadhāritaṁ suppaṭividdhaṁ paññāya.
It’s like when someone views someone else. Someone standing might view someone sitting, or someone sitting might view someone lying down.
Seyyathāpi, bhikkhave, aññova aññaṁ paccavekkheyya, ṭhito vā nisinnaṁ paccavekkheyya, nisinno vā nipannaṁ paccavekkheyya.
In the same way, the meditation that is a basis for reviewing is properly grasped, focused on, borne in mind, and comprehended with wisdom by a mendicant.
Evamevaṁ kho, bhikkhave, bhikkhuno paccavekkhaṇānimittaṁ suggahitaṁ hoti sumanasikataṁ sūpadhāritaṁ suppaṭividdhaṁ paññāya.
—
I don’t quite understand what is meant by the english explanation and the simile, paccavekkhaṇānimittaṁ seems like a key word. I’m at least glad that not all the ways for sammāsamādhi require jhana. The last way seem to involve pañña.