Hello. On Fri, 2008-07-11 at 09:17, Daniel Ribeiro wrote: > Stefan Schmidt escreveu: > > > > On Thu, 2008-07-10 at 23:36, Daniel Ribeiro wrote: > >> Stefan: i have no idea if this should be done this way, we cant > >> define the gpios on ezx_pin_config because it changes from phone to phone, > >> could you please gather some superior advice if we are doing the right > >> thing? > > > > Hmm, my first idea would be to have different tables for the phones and load > > them based on the phone we are running on. I'll ask this on the ml later > > today. > > Seems reasonable, altough it would make 6 copies of the common pins.
I thought more about the of another table for the phone differences. Something along your idea below. > Common: > SSP (pcap and a910 mmc card, only CS differ for a910 MMC, 3 + 1 pins) > SSP2, SSP3 (sound, 8 pins) > PCAP (3 pins) > UDC (6 pins) > UHC (6 pins) > MMC (7 pins) > > Not common: > Keypad (~8 pins) > Flip (1 pin) > EMU Mux (2 pins, 1st gen only) > BP (~3 pins) > Bluetooth wake/reset (3 pins) > Camera (14 pins) > WLAN (4 pins, A910 only) > Sound attenuate (1 pin, a780 only) > > Only keypad seems to differ on a phone-by-phone basis. EMU, BP, > BT and Camera differ on phone generation. > Maybe we should have a common table, a generation table and > a phone table? That was my idea too, just without the generation table. But the generation table makes sense. Do we like to get some feedback on the idea or just try it and see how the feedback on such a patch is? regards Stefan Schmidt
signature.asc
Description: Digital signature
