Re: Drivers for selfmade hardware

From: Michael Buesch
Date: Mon Jun 30 2008 - 06:00:52 EST


On Monday 30 June 2008 11:50:15 Hans J. Koch wrote:
> This driver is not only useful for PCI TV cards. With little
> modification, it could be used for bttv chips integrated in embedded
> systems as platform devices. You might have more users than you think
> ;-)

Oh nice. I didn't know that such devices exist. However, these embedded
devices might want to use the original bttv driver and modify that for
generic GPIO support.
This btgpio driver clashes with the bttv driver and the two drivers can't be
used at the same time. That's fine for me, however, as I removed the TV tuner
and more stuff from the card. So I decided to write a stripped-down driver
instead of extending the bttv driver.

But of course, if you still use the card as TV card, we cannot use
all GPIOs for generic GPIOs, as the card uses some of them to communicate
with other chips (That's why I unsoldered the pins). So extending bttv for
generic GPIO support might become hairy with all the different boards with
possibly different GPIO assignments. I didn't want to get into that for now.

But it's nice to know that such devices do exist.

> >
> > So what's the policy? Push to mainline or keep as seperate
> > patch?
>
> Definetly mainline. But don't forget to cc: other relevant
> maintainers/lists (v4l, gpio, maybe linux-embedded).

Ok, nice.

--
Greetings Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/