From 50c547c640b46fa54da0b7767ef3ee57ef89270d Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sun, 6 Feb 2011 19:33:40 +0000 Subject: M:Robe 500 and TSC2100: Add more to the initialization. Some GPIO initializations are now removed - this will be hanled by the OF or bootloader (when loading from flash). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29220 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/tsc2100.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/tsc2100.h b/firmware/export/tsc2100.h index a0be067409..9566c588df 100644 --- a/firmware/export/tsc2100.h +++ b/firmware/export/tsc2100.h @@ -91,10 +91,6 @@ void tsc2100_keyclick(void); #define VOLUME_MAX 0 #define VOLUME_MIN -630 -/* ts audio control 1*/ -#define TSAC1_PAGE 2 -#define TSAC1_ADDRESS 0x00 - /* ts audio control 2 */ #define TSAC2_PAGE 2 #define TSAC2_ADDRESS 0x04 @@ -111,13 +107,13 @@ void tsc2100_keyclick(void); #define TSAC2_DASTC (1<<1) #define TSAC2_ADGAF (1<<0) /* r only */ -/* ts codec power control */ -#define TSCPC_PAGE 2 -#define TSCPC_ADDRESS 0x05 - -/* ts audio control 3 */ -#define TSAC3_PAGE 2 -#define TSAC3_ADDRESS 0x06 +#define CONTROL_PAGE2 2 +#define TSAC1_ADDRESS 0x00 /* ts audio control 1*/ +#define TSCSC_ADDRESS 0x03 /* Codec Sidetone Control */ +#define TSCPC_ADDRESS 0x05 /* ts codec power control */ +#define TSAC3_ADDRESS 0x06 /* ts audio control 3 */ +#define TSPP1_ADDRESS 0x1b /* PLL Programability */ +#define TSPP2_ADDRESS 0x1c /* PLL Programability */ /* ts audio control 4 */ #define TSAC4_PAGE 2 -- cgit v1.2.3