leds-pwm: software limit on brightness level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I'm using the leds-pwm driver and want to put a software limit on the
brightness level.
I checked the max-brightness property, but according to the source,
it defines the value for which the duty cycle = 100%.
 
In contrast with:
  /Documentation/devicetree/bindings/leds/backlight/common.yaml 
The max-brightness definition, the led-pwm documentation isn't so
specific on this topic.
Hence, I wonder if max-brightness aims to set the duty cycle = 100%,
and if so, how could I implement a solution to set a software limit on
brightness level?

Thanks,
Vitor Soares




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux