Changeset 3237


Ignore:
Timestamp:
10/22/07 10:56:29 (6 years ago)
Author:
laforge
Message:

emove double register settings. Not listed in the data-sheet and it works fine
without them. Looks like a copy-and-paste error. (Stefan Schmidt)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/kernel/patches/gta01-jbt6k74.patch

    r3236 r3237  
    3030--- /dev/null 
    3131+++ linux-2.6.22.5-moko/drivers/spi/jbt6k74.c 
    32 @@ -0,0 +1,653 @@ 
     32@@ -0,0 +1,645 @@ 
    3333+/* Linux kernel driver for the tpo JBT6K74-AS LCM ASIC 
    3434+ * 
     
    214214+       rc |= jbt_reg_write(jbt, JBT_REG_BOOSTER_MODE, 0x33); 
    215215+       rc |= jbt_reg_write(jbt, JBT_REG_BOOSTER_FREQ, 0x11); 
    216 +       rc |= jbt_reg_write(jbt, JBT_REG_BOOSTER_FREQ, 0x11); 
    217216+       rc |= jbt_reg_write(jbt, JBT_REG_OPAMP_SYSCLK, 0x02); 
    218217+       rc |= jbt_reg_write(jbt, JBT_REG_VSC_VOLTAGE, 0x2b); 
     
    235234+       rc |= jbt_reg_write(jbt, JBT_REG_GAMMA1_INCLINATION, 0x00); 
    236235+       rc |= jbt_reg_write(jbt, JBT_REG_GAMMA1_BLUE_OFFSET, 0x00); 
    237 +       rc |= jbt_reg_write(jbt, JBT_REG_GAMMA1_BLUE_OFFSET, 0x00); 
    238236+ 
    239237+       if (!qvga) { 
     
    241239+               rc |= jbt_reg_write16(jbt, JBT_REG_HCLOCK_VGA, 0x1f0); 
    242240+               rc |= jbt_reg_write(jbt, JBT_REG_BLANK_CONTROL, 0x02); 
    243 +               rc |= jbt_reg_write16(jbt, JBT_REG_BLANK_TH_TV, 0x0804); 
    244241+               rc |= jbt_reg_write16(jbt, JBT_REG_BLANK_TH_TV, 0x0804); 
    245242+ 
     
    264261+               rc |= jbt_reg_write(jbt, JBT_REG_ASW_TIMING_2_QVGA, 0x0a); 
    265262+       } 
    266 + 
    267 +#if 0 
    268 +       rc |= jbt_reg_write16(jbt, JBT_REG_HCLOCK_QVGA, 0x00ff); 
    269 +       rc |= jbt_reg_write16(jbt, JBT_REG_HCLOCK_QVGA, 0x00ff); 
    270 +#endif 
    271263+ 
    272264+       return rc; 
Note: See TracChangeset for help on using the changeset viewer.