On Thu, 03 Jun 2010 16:04:07 +0200, Davor Emard <davoremard@xxxxxxxxx>
wrote:
Didn't have time to look for gpios, tomorrow I will have. But I can
tell that this change is not working for me:
case SAA7134_BOARD_VIDEOMATE_T750:
dev->has_remote = SAA7134_REMOTE_GPIO;
saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8082c000, 0x8082c000);
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x8082c000, 0x0080c000);
break;
Thanx for testing it out, If it doesn't work, try this:
saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, /* keep */ 0x8082c000, /* keep
*/ 0x8082c000);
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, /* keep */ 0x8082c000, /* modify
*/ 0x0080c000);
modify only the indicated number, try 0, try 0x8082c000 and if
you have time try all combinations of bits 0x8082c000 optionally set to 0
e.g. 0x8002c000, 0x8080c000, 0x80828000, 0x0080c000 etc...
It is possible that you and I don't have same revision of the
card and you need a slightly different initialization procedure.
If you get something to work for your card then I can try it back at
mine there's a changes that we get a common setup which works for both.
OK, do I need to do cold boot or reboot anytime I try different gpio value?
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html