[U-Boot] [PATCH v5 20/33] ARM: i.MX6: sabresd: Add dm_gpio_* for backlight

Fabio Estevam festevam at gmail.com
Thu May 18 10:38:01 UTC 2017


Hi Jagan,

On Thu, May 18, 2017 at 5:30 AM, Jagan Teki <jagannadh.teki at 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


More information about the U-Boot mailing list