I based it around the datasheet rather than the os. Here's what's happening:
LCD Power Supply ON sequence:
Initial:
{07:4L}DTE=0 (VGH gate output)
{07:01L}D[1:0]=00 (Halt display panel off)
{07:5L}GON=0 (VGH gate output)
//{12:4L?}PON=0 (VGL output) Not documented in the ILI9335 datasheet, WikiTI and the ILI9325 datasheet point to this, I suspect its $06:0L?
set:
{11:012L}VC[2:0]=111 (voltage ratio)
{12:0123L}VRH[3:0]=1100 (amplify rate)
{12:7L}VCIRE=1 (sel ext or int)
{29:012345L}VCM[5:0]=110000 (voltage)
{13:01234H}VDV[5:0]=11000 (amplitude ratio)
//{12:4L?}PON=0 (VGL output)
{10:012H}BT[2:0]=000 (step up voltage)
wait >= 50ms
Set:
{10:012H}BT[2:0]=001 (step up voltage)
//{12:4L?}PON=1 (VGL output)
{10:456L}AP[2:0]=001 (op amp current)
{10:7L}APE=1 (power supply enable)
{11:012H}DC1[2:0]=010 (step up frequency)
{11:456L}DC0[2:0]=010 (step up frequency)
wait >= 80ms
set display registers
set:
{10:4H}SAP=1 (source driver)
{07:01L}D[1:0]=01 (Operate internal)
wait 2 or more frames
{07:5L}GON=1 (VGL gate output)
{07:01L}D[1:0]=11 (Operate normal)
wait 2 or more frames
{07:4L}DTE=1 (Normal gate output)
*Edit:
I've attached the kernel, I will tweak the values a bit, clean it up a little, and send you a copy.