2010/1/19 <paul10@xxxxxxxxxxxx>: >> Well, as I understood, GPIO15 drives reset for demod. >> dm1105 driver needs little patching. >> >> > > Igor, > > Not to hassle you, I'm sure you're very busy. Is this something I could > undertake myself? If so, which driver would you recommend I copy from - I > saw on the list that some drivers do their own GPIO management, and others > use a generic GPIO layer. I presume we'd need to use the generic layer? > > Also, from your explanation it sounds like we need to set GPIO 15 to true > before we attempt to attach. Is that correct? From my reading there are > two GPIO registers (8 bits each), so we'd be bit masking bit 7 in the > second GPIO register to 1, then sending that GPIO to the card? > > Thanks for any tips, > > Paul > > > As you can see there is two 32-bit registers. First for values, second for controls. Control means 0 for output and 1 for input. If I remember it is 17 GPIO lines only. /* GPIO Interface */ #define DM1105_GPIOVAL 0x08 #define DM1105_GPIOCTR 0x0c BR Igor -- 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