Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.Prune svn:mergeinfo from the new branch, as nothing has been mergedhere.Additional commits post-branch will follow.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Use GPIO pin management API in gpiobacklight- Get rid of hack with re-parenting gpio-leds node to gpiobus- Use gpio_pin_set_active to enable/disable backlight, it automatically takes care of active-low pins
Add GPIO backlight driver compatible with Linux FDT bindings.Brightness is controlled through sysctl dev.gpiobacklight.X.brightness: - any value greater than 0: backlight is on - any value less than or equal to 0: backlight is offFDT bindings docs in Linux tree: Documentation/devicetree/bindings/video/backlight/gpio-backlight.txt