Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-05-20 Thread Laurent Pinchart
On Tuesday 20 May 2008 02:31, David Brownell wrote: > On Tuesday 15 April 2008, Laurent Pinchart wrote: > > Or maybe some kind of gpio_set_option() with flags specific to the > > controller ? This could be used to enable open-drain outputs or internal > > pull-ups for instance. > > That presumes

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-05-20 Thread Laurent Pinchart
Hi David, On Tuesday 20 May 2008 02:25, David Brownell wrote: > On Tuesday 15 April 2008, Laurent Pinchart wrote: > > I'm implementing flow control and modem control lines support in the > > cpm_uart driver. > > > > The implementation is based on the GPIO lib. Modem control lines are > > described

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-05-19 Thread David Brownell
On Tuesday 15 April 2008, Laurent Pinchart wrote: > Or maybe some kind of gpio_set_option() with flags specific to the > controller ? This could be used to enable open-drain outputs or internal > pull-ups for instance. That presumes that the pin config is associated with the GPIO controller, rat

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-05-19 Thread David Brownell
On Tuesday 15 April 2008, Laurent Pinchart wrote: > I'm implementing flow control and modem control lines support in the > cpm_uart driver. > > The implementation is based on the GPIO lib. Modem control lines are > described in the device tree as GPIO resources and accessed through the OF > GPIO bi

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-04-15 Thread Anton Vorontsov
On Tue, Apr 15, 2008 at 03:47:41PM +0200, Laurent Pinchart wrote: > On Tuesday 15 April 2008 15:40, Anton Vorontsov wrote: > > On Tue, Apr 15, 2008 at 03:22:33PM +0200, Laurent Pinchart wrote: > > > Hi everybody, > > > > > > I'm implementing flow control and modem control lines support in the > >

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-04-15 Thread Laurent Pinchart
On Tuesday 15 April 2008 15:40, Anton Vorontsov wrote: > On Tue, Apr 15, 2008 at 03:22:33PM +0200, Laurent Pinchart wrote: > > Hi everybody, > > > > I'm implementing flow control and modem control lines support in the > > cpm_uart driver. > > > > The implementation is based on the GPIO lib. Modem

Re: [RFC] GPIO-based flow control in the cpm_uart driver

2008-04-15 Thread Anton Vorontsov
On Tue, Apr 15, 2008 at 03:22:33PM +0200, Laurent Pinchart wrote: > Hi everybody, > > I'm implementing flow control and modem control lines support in the cpm_uart > driver. > > The implementation is based on the GPIO lib. Modem control lines are > described > in the device tree as GPIO resour

[RFC] GPIO-based flow control in the cpm_uart driver

2008-04-15 Thread Laurent Pinchart
Hi everybody, I'm implementing flow control and modem control lines support in the cpm_uart driver. The implementation is based on the GPIO lib. Modem control lines are described in the device tree as GPIO resources and accessed through the OF GPIO bindings. The I/O ports have to be initialize