Re: [U-Boot] [PATCH v2 09/34] gpio: Show inactive GPIOs when explicitly requested

2019-02-19 Thread Simon Glass
On Mon, 18 Feb 2019 at 02:46, Bin Meng wrote: > > Hi Simon, > > On Sun, Feb 17, 2019 at 11:25 AM Simon Glass wrote: > > > > At present the gpio command only shows GPIOs which are marked as in use. > > This makes sense with 'gpio status' since we already have the '-a' flag > > to indicate that all

Re: [U-Boot] [PATCH v2 09/34] gpio: Show inactive GPIOs when explicitly requested

2019-02-18 Thread Bin Meng
Hi Simon, On Sun, Feb 17, 2019 at 11:25 AM Simon Glass wrote: > > At present the gpio command only shows GPIOs which are marked as in use. > This makes sense with 'gpio status' since we already have the '-a' flag > to indicate that all GPIOs should be shown. But when a particular GPIO is > reques

[U-Boot] [PATCH v2 09/34] gpio: Show inactive GPIOs when explicitly requested

2019-02-16 Thread Simon Glass
At present the gpio command only shows GPIOs which are marked as in use. This makes sense with 'gpio status' since we already have the '-a' flag to indicate that all GPIOs should be shown. But when a particular GPIO is requested, it seems better to always display it. At present the request is simpl