Re: [PATCH v4 16/16] gpio: Add a way to read 3-way strapping pins

2021-03-04 Thread Tom Rini
On Thu, Feb 04, 2021 at 09:22:09PM -0700, Simon Glass wrote: > Using the internal vs. external pull resistors it is possible to get > 27 different combinations from 3 strapping pins. Add an implementation > of this. > > This involves updating the sandbox GPIO driver to model external and > (weake

Re: [PATCH v4 16/16] gpio: Add a way to read 3-way strapping pins

2021-02-08 Thread Simon Glass
Hi Patrick, On Mon, 8 Feb 2021 at 11:13, Patrick DELAUNAY wrote: > > Hi Simon, > > On 2/5/21 5:22 AM, Simon Glass wrote: > > Using the internal vs. external pull resistors it is possible to get > > 27 different combinations from 3 strapping pins. Add an implementation > > of this. > > > > This in

Re: [PATCH v4 16/16] gpio: Add a way to read 3-way strapping pins

2021-02-08 Thread Patrick DELAUNAY
Hi Simon, On 2/5/21 5:22 AM, Simon Glass wrote: Using the internal vs. external pull resistors it is possible to get 27 different combinations from 3 strapping pins. Add an implementation of this. This involves updating the sandbox GPIO driver to model external and (weaker) internal pull resist

[PATCH v4 16/16] gpio: Add a way to read 3-way strapping pins

2021-02-04 Thread Simon Glass
Using the internal vs. external pull resistors it is possible to get 27 different combinations from 3 strapping pins. Add an implementation of this. This involves updating the sandbox GPIO driver to model external and (weaker) internal pull resistors. The get_value() method now takes account of wh