Skip to contentSkip to conversation

Improvement spotted during patch review.

PATCH Applied Linus Walleij 5 participants 14 messages May 8 – May 11

Subsystems (2)

v2 of 3 Applied Latest is v3 →

lore
Share & tools
lore

Linus Walleij

author maintainer
#0 lore raw

v2 cover Improvement spotted during patch review.

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

---
Changes in v2:
- Make a second patch to exclude setting on unidirectional
lines.
- Link to v1: https://patch.msgid.link/20260507-regmap-gpio-sparse-fixed-dir-v1-1-a2e5855e2701@kernel.org

---
Linus Walleij (2):
gpio: regmap: Support sparsed fixed direction
gpio: regmap: Don't set a fixed direction line

 drivers/gpio/gpio-regmap.c  | 40 ++++++++++++++++++++++++++++++++++++----
 include/linux/gpio/regmap.h |  7 +++++++
 2 files changed, 43 insertions(+), 4 deletions(-)

---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260507-regmap-gpio-sparse-fixed-dir-1d5c0d2e2c6f

Best regards,

Signature · 1 line
Linus Walleij <[email protected]>
author maintainer
#1 lore raw

PATCH v2 1/2 gpio: regmap: Support sparsed fixed direction

On some regmapped GPIOs apparently only a sparser selection of the lines (not all) are actually fixed direction.

Support this situation by adding an optional bitmap indicating which GPIOs are actually fixed direction and which are not.

---
 drivers/gpio/gpio-regmap.c  | 37 +++++++++++++++++++++++++++++++++----
 include/linux/gpio/regmap.h |  7 +++++++
 2 files changed, 40 insertions(+), 4 deletions(-)
drivers/gpio/gpio-regmap.c +33 -4
index 9ae4a41a2427..f45a432e8ebe 100644
@@ -31,6 +31,7 @@ struct gpio_regmap {
 	unsigned int reg_clr_base;
 	unsigned int reg_dir_in_base;
 	unsigned int reg_dir_out_base;
+	unsigned long *fixed_direction_sparse;
 	unsigned long *fixed_direction_output;
 
 #ifdef CONFIG_REGMAP_IRQ
@@ -138,6 +139,20 @@ static int gpio_regmap_set_with_clear(struct gpio_chip *chip,
 	return regmap_write(gpio->regmap, reg, mask);
 }
 
+static bool gpio_regmap_fixed_direction(struct gpio_regmap *gpio,
+					unsigned int offset)
+{
+	if (!gpio->fixed_direction_output)
+		return false;
+
+	/* In this case only some GPIOs are fixed as input/output */
+	if (gpio->fixed_direction_sparse &&
+	    !test_bit(offset, gpio->fixed_direction_sparse))
+		return false;
+
+	return true;
+}
+
 static int gpio_regmap_get_direction(struct gpio_chip *chip,
 				     unsigned int offset)
 {
@@ -145,7 +160,7 @@ static int gpio_regmap_get_direction(struct gpio_chip *chip,
 	unsigned int base, val, reg, mask;
 	int invert, ret;
 
-	if (gpio->fixed_direction_output) {
+	if (gpio_regmap_fixed_direction(gpio, offset)) {
 		if (test_bit(offset, gpio->fixed_direction_output))
 			return GPIO_LINE_DIRECTION_OUT;
 		else
@@ -302,12 +317,23 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
 			goto err_free_gpio;
 	}
 
+	if (config->fixed_direction_sparse) {
+		gpio->fixed_direction_sparse = bitmap_alloc(chip->ngpio,
+							    GFP_KERNEL);
+		if (!gpio->fixed_direction_sparse) {
+			ret = -ENOMEM;
+			goto err_free_gpio;
+		}
+		bitmap_copy(gpio->fixed_direction_sparse,
+			    config->fixed_direction_sparse, chip->ngpio);
+	}
+
 	if (config->fixed_direction_output) {
 		gpio->fixed_direction_output = bitmap_alloc(chip->ngpio,
 							    GFP_KERNEL);
 		if (!gpio->fixed_direction_output) {
 			ret = -ENOMEM;
-			goto err_free_gpio;
+			goto err_free_bitmap_sparse;
 		}
 		bitmap_copy(gpio->fixed_direction_output,
 			    config->fixed_direction_output, chip->ngpio);
@@ -329,7 +355,7 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
 
 	ret = gpiochip_add_data(chip, gpio);
 	if (ret < 0)
-		goto err_free_bitmap;
+		goto err_free_bitmap_output;
 
 #ifdef CONFIG_REGMAP_IRQ
 	if (config->regmap_irq_chip) {
@@ -355,8 +381,10 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
 
 err_remove_gpiochip:
 	gpiochip_remove(chip);
-err_free_bitmap:
+err_free_bitmap_output:
 	bitmap_free(gpio->fixed_direction_output);
+err_free_bitmap_sparse:
+	bitmap_free(gpio->fixed_direction_sparse);
 err_free_gpio:
 	kfree(gpio);
 	return ERR_PTR(ret);
@@ -376,6 +404,7 @@ void gpio_regmap_unregister(struct gpio_regmap *gpio)
 
 	gpiochip_remove(&gpio->gpio_chip);
 	bitmap_free(gpio->fixed_direction_output);
+	bitmap_free(gpio->fixed_direction_sparse);
 	kfree(gpio);
 }
 EXPORT_SYMBOL_GPL(gpio_regmap_unregister);
include/linux/gpio/regmap.h +7 -0
index 12d154732ca9..ff00b4aeaf1c 100644
@@ -38,6 +38,12 @@ struct regmap;
  *			offset to a register/bitmask pair. If not
  *			given the default gpio_regmap_simple_xlate()
  *			is used.
+ * @fixed_direction_sparse:
+ *			(Optional) Bitmap representing the GPIO lines that
+ *			make use of the @fixed_direction_output list to
+ *			enforce direction of the GPIO. If this is NULL
+ *			and @fixed_direction_output is defined, ALL GPIOs
+ *			are assumed to be fixed direction (out or in).
  * @fixed_direction_output:
  *			(Optional) Bitmap representing the fixed direction of
  *			the GPIO lines. Useful when there are GPIO lines with a
@@ -89,6 +95,7 @@ struct gpio_regmap_config {
 	int reg_stride;
 	int ngpio_per_reg;
 	struct irq_domain *irq_domain;
+	unsigned long *fixed_direction_sparse;
 	unsigned long *fixed_direction_output;
 
 #ifdef CONFIG_REGMAP_IRQ
Signature · 1 line
2.54.0
Tested-by Reviewed-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] gpio: regmap: Support sparsed fixed direction

Quoted 10 lines · Linus Walleij

On some regmapped GPIOs apparently only a sparser selection of the lines (not all) are actually fixed direction.

Support this situation by adding an optional bitmap indicating which GPIOs are actually fixed direction and which are not.

In addition, it would be fine with me if you merged this together iwth your new patch:

https://lore.kernel.org/lkml/20260508-regmap-gpio-sparse-fixed-dir-v2-2-deee84df3027@kernel.org/

It makes sense and it is logically part of the same change.

I even tested with that change applied, even though I know just by inspection it will do what's desired.

Anyway, for both (or a combined single patch), these apply:

-Alex

Quoted 127 lines
---
  drivers/gpio/gpio-regmap.c  | 37 +++++++++++++++++++++++++++++++++----
  include/linux/gpio/regmap.h |  7 +++++++
  2 files changed, 40 insertions(+), 4 deletions(-)
drivers/gpio/gpio-regmap.c +33 -4
index 9ae4a41a2427..f45a432e8ebe 100644
@@ -31,6 +31,7 @@ struct gpio_regmap {
  	unsigned int reg_clr_base;
  	unsigned int reg_dir_in_base;
  	unsigned int reg_dir_out_base;
+	unsigned long *fixed_direction_sparse;
  	unsigned long *fixed_direction_output;
 
  #ifdef CONFIG_REGMAP_IRQ
@@ -138,6 +139,20 @@ static int gpio_regmap_set_with_clear(struct gpio_chip *chip,
  	return regmap_write(gpio->regmap, reg, mask);
  }
 
+static bool gpio_regmap_fixed_direction(struct gpio_regmap *gpio,
+					unsigned int offset)
+{
+	if (!gpio->fixed_direction_output)
+		return false;
+
+	/* In this case only some GPIOs are fixed as input/output */
+	if (gpio->fixed_direction_sparse &&
+	    !test_bit(offset, gpio->fixed_direction_sparse))
+		return false;
+
+	return true;
+}
+
  static int gpio_regmap_get_direction(struct gpio_chip *chip,
  				     unsigned int offset)
  {
@@ -145,7 +160,7 @@ static int gpio_regmap_get_direction(struct gpio_chip *chip,
  	unsigned int base, val, reg, mask;
  	int invert, ret;
 
-	if (gpio->fixed_direction_output) {
+	if (gpio_regmap_fixed_direction(gpio, offset)) {
  		if (test_bit(offset, gpio->fixed_direction_output))
  			return GPIO_LINE_DIRECTION_OUT;
  		else
@@ -302,12 +317,23 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
  			goto err_free_gpio;
  	}
 
+	if (config->fixed_direction_sparse) {
+		gpio->fixed_direction_sparse = bitmap_alloc(chip->ngpio,
+							    GFP_KERNEL);
+		if (!gpio->fixed_direction_sparse) {
+			ret = -ENOMEM;
+			goto err_free_gpio;
+		}
+		bitmap_copy(gpio->fixed_direction_sparse,
+			    config->fixed_direction_sparse, chip->ngpio);
+	}
+
  	if (config->fixed_direction_output) {
  		gpio->fixed_direction_output = bitmap_alloc(chip->ngpio,
  							    GFP_KERNEL);
  		if (!gpio->fixed_direction_output) {
  			ret = -ENOMEM;
-			goto err_free_gpio;
+			goto err_free_bitmap_sparse;
  		}
  		bitmap_copy(gpio->fixed_direction_output,
  			    config->fixed_direction_output, chip->ngpio);
@@ -329,7 +355,7 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
 
  	ret = gpiochip_add_data(chip, gpio);
  	if (ret < 0)
-		goto err_free_bitmap;
+		goto err_free_bitmap_output;
 
  #ifdef CONFIG_REGMAP_IRQ
  	if (config->regmap_irq_chip) {
@@ -355,8 +381,10 @@ struct gpio_regmap *gpio_regmap_register(const struct gpio_regmap_config *config
 
  err_remove_gpiochip:
  	gpiochip_remove(chip);
-err_free_bitmap:
+err_free_bitmap_output:
  	bitmap_free(gpio->fixed_direction_output);
+err_free_bitmap_sparse:
+	bitmap_free(gpio->fixed_direction_sparse);
  err_free_gpio:
  	kfree(gpio);
  	return ERR_PTR(ret);
@@ -376,6 +404,7 @@ void gpio_regmap_unregister(struct gpio_regmap *gpio)
 
  	gpiochip_remove(&gpio->gpio_chip);
  	bitmap_free(gpio->fixed_direction_output);
+	bitmap_free(gpio->fixed_direction_sparse);
  	kfree(gpio);
  }
  EXPORT_SYMBOL_GPL(gpio_regmap_unregister);
include/linux/gpio/regmap.h +7 -0
index 12d154732ca9..ff00b4aeaf1c 100644
@@ -38,6 +38,12 @@ struct regmap;
   *			offset to a register/bitmask pair. If not
   *			given the default gpio_regmap_simple_xlate()
   *			is used.
+ * @fixed_direction_sparse:
+ *			(Optional) Bitmap representing the GPIO lines that
+ *			make use of the @fixed_direction_output list to
+ *			enforce direction of the GPIO. If this is NULL
+ *			and @fixed_direction_output is defined, ALL GPIOs
+ *			are assumed to be fixed direction (out or in).
   * @fixed_direction_output:
   *			(Optional) Bitmap representing the fixed direction of
   *			the GPIO lines. Useful when there are GPIO lines with a
@@ -89,6 +95,7 @@ struct gpio_regmap_config {
  	int reg_stride;
  	int ngpio_per_reg;
  	struct irq_domain *irq_domain;
+	unsigned long *fixed_direction_sparse;
  	unsigned long *fixed_direction_output;
 
  #ifdef CONFIG_REGMAP_IRQ
#3 lore raw

Re: [PATCH v2 1/2] gpio: regmap: Support sparsed fixed direction

Quoted 25 lines · Alex Elder
Quoted 10 lines · Linus Walleij

On some regmapped GPIOs apparently only a sparser selection of the lines (not all) are actually fixed direction.

Support this situation by adding an optional bitmap indicating which GPIOs are actually fixed direction and which are not.

In addition, it would be fine with me if you merged this together iwth your new patch:

https://lore.kernel.org/lkml/20260508-regmap-gpio-sparse-fixed-dir-v2-2- [email protected]/

It makes sense and it is logically part of the same change.

I even tested with that change applied, even though I know just by inspection it will do what's desired.

Quoted 7 lines

Anyway, for both (or a combined single patch), these apply:

                    -Alex

I had another look at this and I had two more comments. I don't care whether you address them or not, but I thought I'd mention them.

The first is, in gpio_regmap_set_direction(), if a request to set the direction to something that isn't supported (e.g. set the direction to input on an output-only GPIO), shouldn't it return an error to indicate nothing happened? (-EINVAL or -ENOTSUP maybe?)

Doing that might not be as simple as it seems, and maybe you just opted to keep it simple. gpio_regmap_direction_output() calls gpio_regmap_set() before setting the direction, so checking whether it's valid happens later than desired.

The second is a missing blank line that I didn't expect, in gpio_regmap_get_direction(). I mention it in context below.

-Alex

Quoted 33 lines
Quoted 33 lines

---
  drivers/gpio/gpio-regmap.c  | 37 +++++++++++++++++++++++++++++++++---- include/linux/gpio/regmap.h |  7 +++++++

  2 files changed, 40 insertions(+), 4 deletions(-)
drivers/gpio/gpio-regmap.c +14 -0
index 9ae4a41a2427..f45a432e8ebe 100644
@@ -31,6 +31,7 @@ struct gpio_regmap {
       unsigned int reg_clr_base;
       unsigned int reg_dir_in_base;
       unsigned int reg_dir_out_base;
+    unsigned long *fixed_direction_sparse;
       unsigned long *fixed_direction_output;
   #ifdef CONFIG_REGMAP_IRQ
@@ -138,6 +139,20 @@ static int gpio_regmap_set_with_clear(struct 
 gpio_chip *chip,
       return regmap_write(gpio->regmap, reg, mask);
   }
+static bool gpio_regmap_fixed_direction(struct gpio_regmap *gpio,
+                    unsigned int offset)
+{
+    if (!gpio->fixed_direction_output)
+        return false;
+
+    /* In this case only some GPIOs are fixed as input/output */
+    if (gpio->fixed_direction_sparse &&
+        !test_bit(offset, gpio->fixed_direction_sparse))
+        return false;
+
+    return true;
+}
Quoted 8 lines

drivers/gpio/gpio-regmap.c static int gpio_regmap_get_direction(struct · line 162

Quoted 8 lines
drivers/gpio/gpio-regmap.c +1 -0
+
   static int gpio_regmap_get_direction(struct gpio_chip *chip,
                        unsigned int offset)
   {
@@ -145,7 +160,7 @@ static int gpio_regmap_get_direction(struct 
 gpio_chip *chip,
       unsigned int base, val, reg, mask;
       int invert, ret;

This isn't new, but why is there no blank line here?

Quoted 83 lines
Quoted 82 lines
drivers/gpio/gpio-regmap.c +1 -1
-    if (gpio->fixed_direction_output) {
+    if (gpio_regmap_fixed_direction(gpio, offset)) {
           if (test_bit(offset, gpio->fixed_direction_output))
               return GPIO_LINE_DIRECTION_OUT;

          else

drivers/gpio/gpio-regmap.c +0 -0
@@ -302,12 +317,23 @@ struct gpio_regmap *gpio_regmap_register(const 

struct gpio_regmap_config *config
              goto err_free_gpio;
      }
+    if (config->fixed_direction_sparse) {
+        gpio->fixed_direction_sparse = bitmap_alloc(chip->ngpio, +                                GFP_KERNEL);
+        if (!gpio->fixed_direction_sparse) {
+            ret = -ENOMEM;
+            goto err_free_gpio;
+        }
+        bitmap_copy(gpio->fixed_direction_sparse,
+                config->fixed_direction_sparse, chip->ngpio); +    }
+
      if (config->fixed_direction_output) { gpio->fixed_direction_output = bitmap_alloc(chip->ngpio, GFP_KERNEL);
          if (!gpio->fixed_direction_output) {
              ret = -ENOMEM;
-            goto err_free_gpio;
+            goto err_free_bitmap_sparse;
          }
          bitmap_copy(gpio->fixed_direction_output, config->fixed_direction_output, chip->ngpio);

drivers/gpio/gpio-regmap.c +0 -0
@@ -329,7 +355,7 @@ struct gpio_regmap *gpio_regmap_register(const 

struct gpio_regmap_config *config
      ret = gpiochip_add_data(chip, gpio);
      if (ret < 0)
-        goto err_free_bitmap;
+        goto err_free_bitmap_output;
  #ifdef CONFIG_REGMAP_IRQ
      if (config->regmap_irq_chip) {

drivers/gpio/gpio-regmap.c +0 -0
@@ -355,8 +381,10 @@ struct gpio_regmap *gpio_regmap_register(const 

struct gpio_regmap_config *config
  err_remove_gpiochip:
      gpiochip_remove(chip);

drivers/gpio/gpio-regmap.c +1 -1
-err_free_bitmap:
+err_free_bitmap_output:

      bitmap_free(gpio->fixed_direction_output);
+err_free_bitmap_sparse:
+    bitmap_free(gpio->fixed_direction_sparse);
  err_free_gpio:
      kfree(gpio);
      return ERR_PTR(ret);

drivers/gpio/gpio-regmap.c +1 -0
@@ -376,6 +404,7 @@ void gpio_regmap_unregister(struct gpio_regmap *gpio)
       gpiochip_remove(&gpio->gpio_chip);
       bitmap_free(gpio->fixed_direction_output);
+    bitmap_free(gpio->fixed_direction_sparse);
       kfree(gpio);
   }
   EXPORT_SYMBOL_GPL(gpio_regmap_unregister);
include/linux/gpio/regmap.h +7 -0
index 12d154732ca9..ff00b4aeaf1c 100644
@@ -38,6 +38,12 @@ struct regmap;
    *            offset to a register/bitmask pair. If not
    *            given the default gpio_regmap_simple_xlate()
    *            is used.
+ * @fixed_direction_sparse:
+ *            (Optional) Bitmap representing the GPIO lines that
+ *            make use of the @fixed_direction_output list to
+ *            enforce direction of the GPIO. If this is NULL
+ *            and @fixed_direction_output is defined, ALL GPIOs
+ *            are assumed to be fixed direction (out or in).
    * @fixed_direction_output:
    *            (Optional) Bitmap representing the fixed direction of
    *            the GPIO lines. Useful when there are GPIO lines with a
@@ -89,6 +95,7 @@ struct gpio_regmap_config {
       int reg_stride;
       int ngpio_per_reg;
       struct irq_domain *irq_domain;
+    unsigned long *fixed_direction_sparse;
       unsigned long *fixed_direction_output;
   #ifdef CONFIG_REGMAP_IRQ
 
maintainer
#4 lore raw

Re: [PATCH v2 1/2] gpio: regmap: Support sparsed fixed direction

In reply to Linus Walleij

Hi,

Quoted 5 lines · Linus Walleij

On some regmapped GPIOs apparently only a sparser selection of the lines (not all) are actually fixed direction.

Support this situation by adding an optional bitmap indicating which GPIOs are actually fixed direction and which are not.

Thanks, this patch looks good. But could we invert the logic and use fixed_direction_mask as that feels more natural to me?

And for legacy reasons, so we don't have to change the drivers:

if (!fixed_direction_mask && fixed_direction_output)
fixed_direction_mask = ~1

Or we just go ahead and change the two drivers. Up to you.

-michael

author maintainer
#5 lore raw

Re: [PATCH v2 1/2] gpio: regmap: Support sparsed fixed direction

Quoted 10 lines · Michael Walle
Quoted 5 lines · Linus Walleij

On some regmapped GPIOs apparently only a sparser selection of the lines (not all) are actually fixed direction.

Support this situation by adding an optional bitmap indicating which GPIOs are actually fixed direction and which are not.

Thanks, this patch looks good. But could we invert the logic and use fixed_direction_mask as that feels more natural to me?

Sure!

Quoted 1 line

And for legacy reasons, so we don't have to change the drivers:

I don't think any drivers would need changing, the idea was that if the new *sparse bitmap is NULL (as in the old drivers) all lines are assumed to be fixed direction.

But I think your idea is maybe more intuitive so let's try that.

Yours,
Linus Walleij

author maintainer
#6 lore raw

PATCH v2 2/2 gpio: regmap: Don't set a fixed direction line

In reply to Linus Walleij

If a GPIO line has a fixed direction, there is no point in trying to set the direction.

This didn't happen much before because what we supported was all lines input or output and then the implementer would probably not specify the direction registers, but with sparse fixed direction we can have a mixture so let's take this into account.

---
 drivers/gpio/gpio-regmap.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpio/gpio-regmap.c +3 -0
index f45a432e8ebe..52a67dea8107 100644
@@ -203,6 +203,9 @@ static int gpio_regmap_set_direction(struct gpio_chip *chip,
 	unsigned int base, val, reg, mask;
 	int invert, ret;
 
+	if (gpio_regmap_fixed_direction(gpio, offset))
+		return 0;
+
 	if (gpio->reg_dir_out_base) {
 		base = gpio_regmap_addr(gpio->reg_dir_out_base);
 		invert = 0;
Signature · 1 line
2.54.0
maintainer
#7 lore raw

Re: [PATCH v2 2/2] gpio: regmap: Don't set a fixed direction line

Hi,

Quoted 21 lines · Linus Walleij

If a GPIO line has a fixed direction, there is no point in trying to set the direction.

This didn't happen much before because what we supported was all lines input or output and then the implementer would probably not specify the direction registers, but with sparse fixed direction we can have a mixture so let's take this into account.

---
 drivers/gpio/gpio-regmap.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/gpio/gpio-regmap.c +0 -0
index f45a432e8ebe..52a67dea8107 100644

drivers/gpio/gpio-regmap.c static int gpio_regmap_set_direction(struct gpio_chip *chip, · line 208

Quoted 6 lines
drivers/gpio/gpio-regmap.c +3 -0
@@ -203,6 +203,9 @@ static int gpio_regmap_set_direction(struct gpio_chip *chip,
 	unsigned int base, val, reg, mask;
 	int invert, ret;
 
+	if (gpio_regmap_fixed_direction(gpio, offset))
+		return 0;
+

Shall we check if the user wants to set an incorrect direction and return -EINVAL?

-michael

Quoted 3 lines
drivers/gpio/gpio-regmap.c +0 -0
 	if (gpio->reg_dir_out_base) {
 		base = gpio_regmap_addr(gpio->reg_dir_out_base);
 		invert = 0;
#8 lore raw
In reply to Linus Walleij
Quoted 5 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Should I apply it or will Alex just include it in his series?

Bart

author maintainer
#9 lore raw
Quoted 7 lines · Bartosz Golaszewski
Quoted 4 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Should I apply it or will Alex just include it in his series?

I think it's easiest if you just apply it then Alex can just base his patch series off your for-next branch (or cherry-pick those underneath his patch series).

Yours,
Linus Walleij

#10 lore raw
Quoted 7 lines · Linus Walleij
Quoted 6 lines · Bartosz Golaszewski
Quoted 4 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Quoted 8 lines
Quoted 1 line

Should I apply it or will Alex just include it in his series?

I think it's easiest if you just apply it then Alex can just base his patch series off your for-next branch (or cherry-pick those underneath his patch series).

Yours,
Linus Walleij

I'm good with that plan. -Alex

#11 lore raw
In reply to Linus Walleij
Quoted 5 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Applied, thanks!

[1/2] gpio: regmap: Support sparsed fixed direction

      https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec
[2/2] gpio: regmap: Don't set a fixed direction line
      https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>
maintainer
#12 lore raw

Hi,

Quoted 8 lines · Bartosz Golaszewski
Quoted 5 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Quoted 7 lines

Applied, thanks!

[1/2] gpio: regmap: Support sparsed fixed direction

      https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec
[2/2] gpio: regmap: Don't set a fixed direction line
      https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca

Mh, my review comment [1] made it through, didn't it?

-michael

[1] https://lore.kernel.org/linux-gpio/[email protected]/

#13 lore raw
Quoted 19 lines · Michael Walle

Hi,

Quoted 8 lines · Bartosz Golaszewski
Quoted 5 lines · Linus Walleij

Support sparse unidirectional GPIO lines.

To be used in a forthcoming submission.

Quoted 7 lines

Applied, thanks!

[1/2] gpio: regmap: Support sparsed fixed direction

      https://git.kernel.org/brgl/c/ae99219270a3d85ec38eee9458829bd45c11aeec
[2/2] gpio: regmap: Don't set a fixed direction line
      https://git.kernel.org/brgl/c/c3566b4a08707587fd52342f53cda1d7ee2607ca
Quoted 6 lines

Mh, my review comment [1] made it through, didn't it?

-michael

[1] https://lore.kernel.org/linux-gpio/[email protected]/

I missed it, sorry. I'll back these out for now and wait for Linus' respin.

Bart