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.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -2,7 +2,6 @@ · 1 unmodified line | ||
| 2 | 2 | #ifndef __LINUX_GPIO_PROPERTY_H |
| 3 | 3 | #define __LINUX_GPIO_PROPERTY_H |
| 4 | 4 | |
| 5 | −#include <dt-bindings/gpio/gpio.h> /* for GPIO_* flags */ | |
| 6 | 5 | #include <linux/property.h> |
| 7 | 6 | |
| 8 | 7 | #define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \ |