Hi Jagan, On Thu, May 18, 2017 at 5:30 AM, Jagan Teki <jagannadh.t...@gmail.com> wrote:
> I think this backlight IMX_GPIO_NR(1, 21) gpio is related to board > code here in U-boot, couldn't see the node related to this on dts. In U-Boot MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 is used to as GPIO and when it is at 1, it sets the backlight with the maximum bright. In the mainline kernel dts we describe this pin as described as MX6QDL_PAD_SD1_DAT3__PWM1_OUT and it is used as PWM to drive the backlight. Ideally we should also have PWM, backlight support in DM, but if this is not avalaible today we can use the method you proposed. Regards, Fabio Estevam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot