Re: [PATCH V1 2/3] Documentation: gpio: Add details of open-drainconfiguration

From: Laxman Dewangan
Date: Thu Feb 16 2012 - 03:30:59 EST


On Thursday 16 February 2012 03:55 AM, Linus Walleij wrote:
Have you though about support for lines that are pulled low instead of
high? Those aren't as common, but it is conceivable that some
hardware would need it.
So if the idea is (if I get it correctly) that this thing is an input
sometimes and open drain/collector output sometimes, then
open source/emitter for the inverse situation is an equally valid
case right? In that case I think it'd be best to add both.

The COH901 driver for U300 supports open source/emitter
BTW.


Yes, I can add the open source also but like to be in incremental change. Not together with open drain.
We can go with:
- open drain core driver support.
- open drain sysfs interface support
- open source core driver support
- open source sysfs interface.

I have already changes for the first 2 which we can review/apply,
Meanwhile I will work on open source support.

Does it look good?

Yours,
Linus Walleij

--
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/