Re: [PATCH v3] gpio: Use separate bitfield array to indicate GPIO is claimed

2023-08-15 Thread Tom Rini
On Wed, Aug 02, 2023 at 01:26:02AM +0200, Marek Vasut wrote: > The current gpio-uclass design uses name field in struct gpio_dev_priv as > an indicator that GPIO is claimed by consumer. This overloads the function > of name field and does not work well for named pins not configured as GPIO > pins.

Re: [PATCH v3] gpio: Use separate bitfield array to indicate GPIO is claimed

2023-08-02 Thread Simon Glass
On Tue, 1 Aug 2023 at 17:26, Marek Vasut wrote: > > The current gpio-uclass design uses name field in struct gpio_dev_priv as > an indicator that GPIO is claimed by consumer. This overloads the function > of name field and does not work well for named pins not configured as GPIO > pins. > > Introd

[PATCH v3] gpio: Use separate bitfield array to indicate GPIO is claimed

2023-08-01 Thread Marek Vasut
The current gpio-uclass design uses name field in struct gpio_dev_priv as an indicator that GPIO is claimed by consumer. This overloads the function of name field and does not work well for named pins not configured as GPIO pins. Introduce separate bitfield array as the claim indicator. This unbr