The flags in the software node properties are supposed to be the GPIO lookup flags, which are provided by gpio/machine.h, as the software nodes are the kernel internal thing and doesn't need to rely to any of ABIs.
Unified · Split
| @@ -2,7 +2,6 @@ · 1 unmodified line | |||
| 2 | #ifndef __LINUX_GPIO_PROPERTY_H | 2 | #ifndef __LINUX_GPIO_PROPERTY_H |
| 3 | #define __LINUX_GPIO_PROPERTY_H | 3 | #define __LINUX_GPIO_PROPERTY_H |
| 4 | 4 | ||
| 5 | #include <dt-bindings/gpio/gpio.h> /* for GPIO_* flags */ | ||
| 6 | #include <linux/property.h> | 5 | #include <linux/property.h> |
| 7 | 6 | ||
| 8 | #define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \ | 7 | #define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \ |