Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 65e58b4d authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

drivers: video: backlight: Register thermal cooling device



Backlight display can be a thermal cooling device which can help reduce
the temperature by reducing the screen brightness. To facilitate this
register the backlight as a cooling device with thermal framework.

In order to register a backlight driver as a cooling device the
devicetree should have the property #cooling-cells defined. backlight
framework looks for this property to register the cooling device.

The backlight framework stores the user brightness request for the
backlight and caps the request based on thermal recommendation before
sending it to the driver. Also, when there is a new cap request the
current brightness will be re-evaluated.

Change-Id: I1405ddd6c3cfff99cd84842d3773851168dcfe78
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 1111c4cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment