This patch adds device tree support for the netxbig LEDs. This also introduces a additionnal DT binding for the GPIO extension bus (netxbig-gpio-ext) used to configure the LEDs. Since this bus could also be used to control other devices, then it seems more suitable to have it in a separate DT binding.
Showing the changes to include/linux/platform_data (1 of 5 files). Show all
Unified · Split
| @@ -40,6 +40,7 @@ struct netxbig_led { · 39 unmodified lines | ||
| 40 | 40 | int mode_addr; |
| 41 | 41 | int *mode_val; |
| 42 | 42 | int bright_addr; |
| 43 | + int bright_max; | |
| 43 | 44 | }; |
| 44 | 45 | |
| 45 | 46 | struct netxbig_led_platform_data { |