aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul HENRYS <paul.henrys_ext@softathome.com>2022-03-17 10:29:47 +0100
committerTom Rini <trini@konsulko.com>2022-04-11 11:39:19 -0400
commit877de2a369aaeebe7fb0a2f8f1438255d249c6c0 (patch)
treed5b222914c17c2b7012bab465c4c78afe9eed180 /include/linux
parent5fa973eb2880d8173f99ae68e015e10ab8f89c4b (diff)
downloadu-boot-877de2a369aaeebe7fb0a2f8f1438255d249c6c0.zip
u-boot-877de2a369aaeebe7fb0a2f8f1438255d249c6c0.tar.gz
u-boot-877de2a369aaeebe7fb0a2f8f1438255d249c6c0.tar.bz2
drivers: led: bcm6858: Set a default brightness when probing LEDs
When probing the LEDs, a default brightness is set based on settings from the U-Boot device tree, i.e. the 'default-brightness' property of the LED nodes. If that property is not present, the default maximum brightness is set. This should make sure the LED controller's registers affecting the brightness are correctly initialized and should give a consistent behaviour. Signed-off-by: Paul HENRYS <paul.henrys_ext@softathome.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions