diff options
Diffstat (limited to 'firmware/drivers/pcf50605.c')
-rw-r--r-- | firmware/drivers/pcf50605.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/firmware/drivers/pcf50605.c b/firmware/drivers/pcf50605.c index 64a4d527ea..9192ec11b5 100644 --- a/firmware/drivers/pcf50605.c +++ b/firmware/drivers/pcf50605.c | |||
@@ -103,10 +103,16 @@ void pcf50605_init(void) | |||
103 | 103 | ||
104 | /* PCF5060X_D2REGC1 is set in accordance to the accessory power setting */ | 104 | /* PCF5060X_D2REGC1 is set in accordance to the accessory power setting */ |
105 | 105 | ||
106 | #if defined (IPOD_VIDEO) | ||
106 | /* LCD voltage supply. Defaults: | 107 | /* LCD voltage supply. Defaults: |
107 | * iPod Video = 0xf5 = 3.0V ON | 108 | * iPod Video = 0xf5 = 3.0V ON */ |
108 | * iPod nano = 0xf5 = 3.0V ON */ | ||
109 | pcf50605_write(PCF5060X_D3REGC1, 0xf1); /* 2.6V ON */ | 109 | pcf50605_write(PCF5060X_D3REGC1, 0xf1); /* 2.6V ON */ |
110 | #elif defined (IPOD_NANO) | ||
111 | /* D3REGC has effect on LCD and ATA, leave it unchanged due to possible ATA | ||
112 | * failures. Defaults: | ||
113 | * iPod nano = 0xf5 = 3.0V ON */ | ||
114 | pcf50605_write(PCF5060X_D3REGC1, 0xf5); /* 3.0V ON */ | ||
115 | #endif | ||
110 | 116 | ||
111 | /* PCF5060X_LPREGC1 is leaved untouched as the setting varies over the | 117 | /* PCF5060X_LPREGC1 is leaved untouched as the setting varies over the |
112 | * different iPod platforms. Defaults: | 118 | * different iPod platforms. Defaults: |