[PATCH v2] Staging: fbtft: Switch to the gpio descriptor interface

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jan 15 15:02:31 UTC 2019


On Tue, Jan 15, 2019 at 10:17:09AM +0530, Nishad Kamdar wrote:
> This switches the fbtft driver to use GPIO descriptors
> rather than numerical gpios:
> 
> Utilize the GPIO library's intrinsic handling of OF GPIOs
> and polarity. If the line is flagged active low, gpiolib
> will deal with this.
> 
> Remove gpios from platform device structure. Neither assign
> statically numbers to gpios in platform device nor allow
> gpios to be parsed as module parameters.
> 
> Signed-off-by: Nishad Kamdar <nishadkamdar at gmail.com>
> Changes in v2:
>  - Merge all patches in a single patch. This is because the
>    first patch changes par->gpio from an int to a pointer
>    so all the checks have to be updated in the same patch.
>    Otherwie it breaks 'git bisect'.

The "v2" information goes below the --- line please.

Also, I got 2 copies of this, both different, so I have no idea which to
apply.  Please fix up and resend a v3.

thanks,

greg k-h


More information about the dri-devel mailing list