[iMX6]How can we set LCD brightness in mxcfb_ioctl()

cancel
Showing results for 
Search instead for 
Did you mean: 

[iMX6]How can we set LCD brightness in mxcfb_ioctl()

503 Views
yaolinchang
Contributor I

Hi All,

     We have to add ioctl about brightness setting in mxcfb_ioctl().

However, we can't get "struct backlight_device" to call

backlight_update_status(struct backlight_device).

How can we do?

Thanks

Best Regards,

Yao

Labels (1)
0 Kudos
1 Reply

85 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi YaoLin

birghtness support is explained in

iMX6Q display adjustment

as for backlight, it is provided by driver pwm-backlight

Re: i.mx6 pwm-backlight

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos