diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2020-03-25 12:11:00 +0100 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2020-03-25 12:11:00 +0100 |
| commit | 30a464a8dfee552e058c8f071a02a91baa79a9ff (patch) | |
| tree | bba01ef3fdafde82f92c9be88de469f19c2d2273 /include/linux | |
| parent | a28e1c0505a09c3a2d81fed1c8453ac2d8d02b3a (diff) | |
| parent | 97551625025320e9d635531625316e43c8ed62b0 (diff) | |
| download | cachepc-linux-30a464a8dfee552e058c8f071a02a91baa79a9ff.tar.gz cachepc-linux-30a464a8dfee552e058c8f071a02a91baa79a9ff.zip | |
Merge tag 'gpio-updates-for-v5.7-part4' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into devel
gpio updates for v5.7 part 4
- improve comments in the uapi header
- fix documentation issues
- add a warning to gpio-pl061 when the IRQ line is not configured
- allow building gpio-mxc and gpio-mxs with COMPILE_TEST enabled
- don't print an error message when an optional IRQ is missing in gpio-mvebu
- fix a potential segfault in gpio-hammer
- fix a couple typos and coding style issues in gpio tools
- provide a new flag in gpio-mmio and use it in mt7621 to fix an issue with
the controller ignoring value setting when a GPIO is in input mode
- slightly refactor gpio_name_to_desc()
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/gpio/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 6ef05bccc0a6..ed65e00ee977 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -572,6 +572,7 @@ int bgpio_init(struct gpio_chip *gc, struct device *dev, #define BGPIOF_BIG_ENDIAN_BYTE_ORDER BIT(3) #define BGPIOF_READ_OUTPUT_REG_SET BIT(4) /* reg_set stores output value */ #define BGPIOF_NO_OUTPUT BIT(5) /* only input */ +#define BGPIOF_NO_SET_ON_INPUT BIT(6) int gpiochip_irq_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hwirq); |
